Jump to content
Dimrose

Task Force Radio Auto Channel Set Script

Recommended Posts

This script is designed to set predefined channel frequencies for both short range and long range while using Task Force Radio. Defined parameters allow you to defined up to 8 short range and 9 long range channel frequencies. Event handler written in so when you close the inventory menu the channels are set. Useful when dealing with in game issues and helps save the mission developer time

 

 

 

Download Mission Example Here

 

http://www.phxtactical.us/games/arma3/mod_packs/TaskForceAutoFreq.VR.zip

 

 

Steam Link Here

 

http://steamcommunity.com/sharedfiles/filedetails/?id=693080139&searchtext=

  • Like 2

Share this post


Link to post
Share on other sites

I get a lot of new players coming in on ops and when there is 20 to 30 players it helps me keep it simple for everyone. Figured I would share it.

Share this post


Link to post
Share on other sites

I cant find any recent topics for this and userconfigs dont seem to be a thing anymore.. How do we preset channels today? We run a server and would like to set the channels for anyone getting a radio so that they are pre defined.

Share this post


Link to post
Share on other sites
[(call TFAR_fnc_activeSwRadio), 1, "40"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeSwRadio), 2, "50"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeSwRadio), 3, "51"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeSwRadio), 4, "52"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeSwRadio), 5, "53"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeSwRadio), 6, "54"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeSwRadio), 7, "60"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeSwRadio), 8, "61"] call TFAR_fnc_SetChannelFrequency;

[(call TFAR_fnc_activeLrRadio), 1, "30"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeLrRadio), 2, "31"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeLrRadio), 3, "32"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeLrRadio), 4, "33"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeLrRadio), 5, "34"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeLrRadio), 6, "35"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeLrRadio), 7, "36"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeLrRadio), 8, "37"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeLrRadio), 9, "38"] call TFAR_fnc_SetChannelFrequency;

^that's what I use

Share this post


Link to post
Share on other sites

@Dostojetski It's really simple now, just make sure you have the 1.0 "beta" version (which is only a beta in name and is in fact more stable than the old 0.96) and use the CBA setting to set all your radio channels. 

Share this post


Link to post
Share on other sites
20 hours ago, stanhope said:

[(call TFAR_fnc_activeSwRadio), 1, "40"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeSwRadio), 2, "50"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeSwRadio), 3, "51"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeSwRadio), 4, "52"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeSwRadio), 5, "53"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeSwRadio), 6, "54"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeSwRadio), 7, "60"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeSwRadio), 8, "61"] call TFAR_fnc_SetChannelFrequency;

[(call TFAR_fnc_activeLrRadio), 1, "30"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeLrRadio), 2, "31"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeLrRadio), 3, "32"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeLrRadio), 4, "33"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeLrRadio), 5, "34"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeLrRadio), 6, "35"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeLrRadio), 7, "36"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeLrRadio), 8, "37"] call TFAR_fnc_SetChannelFrequency;
[(call TFAR_fnc_activeLrRadio), 9, "38"] call TFAR_fnc_SetChannelFrequency;

^that's what I use

 

16 hours ago, JD Wang said:

@Dostojetski It's really simple now, just make sure you have the 1.0 "beta" version (which is only a beta in name and is in fact more stable than the old 0.96) and use the CBA setting to set all your radio channels. 

 

Thanks guys but me not so fluent anymore since userconfig is not a thing anymore. Where do I put these lines if I want it to be on a server or a mission? And is there anyway to set stereo and additional channels?

Share this post


Link to post
Share on other sites

The proper way is to use the CBA settings, or the 3DEN attributes.
You can set default frequencies

globally - via CBA TFAR global settings

per group - via 3DEN Attributes

per unit - via 3DEN Attributes

 

Most people with scripts make the mistake of not checking if the player even has a radio, or whether the radio is initialized yet, or whether the player has multiple radios.

 

Atleast I think per unit is also a thing 🤔

Share this post


Link to post
Share on other sites
On 10/9/2019 at 1:39 PM, Dedmen said:

The proper way is to use the CBA settings, or the 3DEN attributes.
You can set default frequencies

globally - via CBA TFAR global settings

per group - via 3DEN Attributes

per unit - via 3DEN Attributes

 

Most people with scripts make the mistake of not checking if the player even has a radio, or whether the radio is initialized yet, or whether the player has multiple radios.

 

Atleast I think per unit is also a thing 🤔


@Dedmen

We're using the script way of setting frequencies (the one shown further up, as we set different ones for different squads and fireteams, and as part of the "immersion" of going over to the radio corporal and "getting it done"). 

Question though, is there a line of similar code to pre-program the additional channel function of the radios? or a CBA/3DEN attributes way?

Thanks for any potential help regarding this ;).

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×