This repository has been archived by the owner on Jun 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Readme Added ability to drag and move the radio window easily Removed unused file
- Loading branch information
Ciaran Fisher
committed
Sep 6, 2015
1 parent
1b6716f
commit 1603398
Showing
6 changed files
with
135 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,108 @@ | ||
# DCS-SimpleRadio | ||
A simplified version of TARS or ARIES - In-Cockpit radio can be used to control TS3. All aircraft supported | ||
|
||
DCS-SimpleRadio allows a better integration between TeamSpeak 3 and DCS. DCS-SimpleRadio will use the currently selected radio and frequency to decide if others can hear you or not. | ||
|
||
I decided to build this after playing with TARS, and wanted to be able to use more aircraft than TARS currently supports. I started this project with no knowlegde of Windows programming or C# .Net and little knowledege of C/C++ so apologies if the code is terrible but it does work! :) | ||
|
||
If you want to compile or modify it, feel free and the project was built using Visual Studio 2015 - Community Edition. | ||
|
||
Thanks to TownSim, Creator of TARS, [FSF] Ian for DCS-Bios and this GitHub Project (https://github.com/olanykvist/mars) which does a similar thing to this project. | ||
|
||
# Features | ||
- Full radio integration with all clickable cockpit aircraft (except Hawk & C-101) | ||
- Working Volume Control - A10C radio starts with all radio volumes at 0! | ||
- Working Frequency Control | ||
- Maximum of 3 radios supported per aircraft | ||
- FC3 Aircraft have 3 radios controllable by hotkeys or the optional DCS-SimpleRadio.exe porgram | ||
- Stand alone optional radio status panel | ||
- Ability to hear others and talk to them when not currently in game or not in an aircraft (hotkey to disable this if you want) | ||
- Ability to force the Radio system on when spectating, Ground Commanding or JTAC | ||
|
||
# Known Limitations | ||
- On some US radios the currently selected preset radio channel selector doesnt seem to work, as in all the frequencies are the same... | ||
- No Signal degredation or line of sight limitations to broadcasts unlike TARS | ||
- Guard Frequencies not yet implemented | ||
|
||
# Installation | ||
|
||
- First download the latest release from https://github.com/ciribob/DCS-SimpleRadio/releases and Download DCS-SimpleRadio.zip, you dont need to download the sources and extract the files somewhere. | ||
|
||
- Run the installer for the "2015 VC Redist x86" and "2015 VC Redist x64" package. The plugin may not work if you don't perform this step! | ||
|
||
NOTE: If the installer fails, try downloading the original installer from Microsoft here: http://www.microsoft.com/en-us/download/details.aspx?id=48145 | ||
|
||
- If you have the 64-bit version of Teamspeak (Teamspeak EXE is called: ts3client_win64.exe): | ||
|
||
- Copy "DCS-SimpleRadio-x64.dll" to your 64-bit Teamspeak "Plugins" folder, located in your root TS3 folder. | ||
|
||
- If you have the 32-bit version of Teamspeak: | ||
- Copy the "DCS-SimpleRadio-x86.dll" to your 32-bit Teamspeak "Plugins" folder. | ||
|
||
- Copy whats inside the "Scripts" folder to "C:\Users\<Your User>\Saved Games\DCS\Scripts". | ||
When finished, your DCS "Scripts" folder should have a **folder** inside it called "DCS-SimpleRadio" and a **file** called Export.lua | ||
|
||
****IMPORTANT**** Do NOT place it in the DCS root directory! It has to be in "C:\Users\<Your User>\Saved Games\DCS\Scripts" otherwise it will not work! | ||
|
||
- If you already have an "Export.lua" file in the "Scripts" folder: | ||
|
||
---Use a text editing program such as "Notepad ++" (NOT regular Notepad!) | ||
|
||
---Copy the last line of my "Export.lua" to your existing "Export.lua" | ||
|
||
- Open up TeamSpeak and go to settings -> Plugins and enable the "DCS-SimpleRadio" plugin (by ticking the box). | ||
|
||
- HotKeys for the Plugin can be configured in Teamspeak under -> Settings -> Options -> Hotkeys. | ||
After clicking Add, you need to click "Show Advanced Actions" and navigate to: Plugins -> Plugin Hotkey -> DCS-SimpleRadio (Located under "--Server--") | ||
|
||
 | ||
|
||
- An optional Radio Info display program is included. If you set DCS to windowed mode and run this program, you'll see the status of the radio. | ||
If the DCS-SimpleRadio.exe doesnt run or work correctly, copy the Newtonsoft.Json.dll to the same place as DCS-SimpleRadio.exe. If it still doesn't work, try disabling or adding rules to your firewall. | ||
|
||
### Teamspeak is freaking out - Anti Flood Protection | ||
The plugin uses Teamspeak to synchronise everyones radio frequencies with one another and can trigger TS3's anti-flood protection. There is no need to worry and its a simple fix for your TS3 Admin. | ||
|
||
Connect to the server you administer | ||
Go to Permissions -> Server Groups | ||
|
||
Switch to advanced permissions as shown in the screenshot below | ||
 | ||
|
||
Search for "Flood" and Tick "Ignore Anti-Flood" measures | ||
 | ||
|
||
Apply this to all the server groups that will be using DCS-SimpleRadio | ||
|
||
### Its not Working! | ||
First thing to check is that the you carried out the installation correctly. | ||
|
||
Second, make sure you say yes to any firewall promots as the Plugin communicates with the DCS-SimpleRadio status panel and with the DCS sim using UDP, a networking technology. | ||
|
||
If its still not working, we've had one user with an issue where Windows was blocking the data sent from DCS, even with the firewall rules added or with the firewall disabled. If this happends to use, use a good text editor like Notepad++ or Sublime and edit the second line of "SimpleRadioInit.lua" from ```SR.unicast = false``` to ```SR.unicast = true```. | ||
Once this is done, open Teamspeak and type ```/sr switch``` in the chat window. You should then see a success message in Teamspeak saying *Switched to Unicast*. You will only need to do this once. You can also undo the switch by typing ```/sr switch``` again. | ||
|
||
 | ||
|
||
 | ||
|
||
***STILL NOT WORKING*** - Please contact me on the DCS Forums, giving the version of Teamspeak and its build type, Windows version and as much information as possible. Its also possible that the DCS-SimpleRadio plugin could conflict with other radio plugins such as TARS or ACRE (ARMA), so make sure they're disabled if you have issues. | ||
|
||
# Using in Game | ||
Once the installation is complete, nothing more needs to be done to get DCS-Simple Radio working. You can also restart Teamspeak without issues while in game and it will automatically reconnect to the radio system. You can also disable the system at any time using either the HotKey or unticking the DCS-SimpleRadio plugin under Settings->Plugins in Teamspeak. | ||
|
||
The radio status panel can be launched by double clicking DCS-SimpleRadio.exe and should appear on top of the DCS window as long as DCS is in windowed mode. It can be launched or restarted at any time without issues. The DCS-SimpleRadio status panel can be run from any location as long as where ever its copied too also as the ```Newtonsoft.Json.dll``` there as well. | ||
|
||
I will list below the location of the Radio switch in all clickable aircraft to help you along. | ||
|
||
WIP. For now this video runs through all the aircraft and their radios: https://www.youtube.com/watch?v=FFHQY0L1lGU | ||
|
||
[](https://www.youtube.com/watch?v=FFHQY0L1lGU) | ||
|
||
|
||
|
||
#### A10 C | ||
##### UHF | ||
##### VHF | ||
##### FM | ||
##### Radio Switch | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters