ACRE setup - Global-Conflicts-ArmA/Olsen-Framework-Arma-3 GitHub Wiki

Description

The ACRE module allows mission makers to control various different aspects and options of the ACRE mod across the mission, such as can the enemy team hear each other on the radio, what teams speak which languages, and other options to play with the factors relating to signal strength and lose.

Usage

Radio scrambling

GVAR(ACRE_Enable_Scramble) = true;

By default this is set to true.
Only set this to false if you wish the enemy teams to be able to hear each other on the radios.

  • You can run the following command on a unit to change their ability to hear past the enemy radio scramble
[this, east] call FW_fnc_ACRES_SetScramble;

(If the example above is used on a west/blufor unit, that unit will hear east/opfor units on radio, but won't be able to hear west/blufor anymore)

Pre-setting radio channels on radios

In the init of your unit, place the following.

[this, "ACRE_PRC343", 2] call FW_fnc_ACRES_SetRadio;
[this, "ACRE_PRC117F", 7, "LEFT"] call FW_fnc_ACRES_SetRadio;

This will set the PRC-343 to channel to and the PRC-117F radio to channel seven but also set it to be heard only in the left ear.

Naming radio channels

You have the ability to visually change the name of the radio channels on the PRC-143, PRC-152, and the PRC-117F, which can all display names of a channel instead of a number.
DO NOT EDIT THE "LABEL" PART, ONLY THE TEXT IN "" AFTER SUCH AS PLTNET 1

GVAR(ACRE_ChannelNames) = [
	[//WEST - USE SIDE SETTINGS ONLY IF SCRAMBLE IS ON
		[1, "label", "PLTNET 1"],
		[2, "label", "PLTNET 2"],
		[3, "label", "PLTNET 3"],
		[4, "label", "PLTNET 4"],
		[5, "label", "COY"],
		[6, "label", "CAS"],
		[7, "label", "FIRES"]
	],

Babel - AKA: Languages

In ACRE you have the ability to edit peoples languages so you won't be able to understand other units when speaking. ACRE calls this feature "babel".
A unit/player can switch between several languages, you can define certain players to do this instead of a whole team so you can make translators as an example.

GVAR(ACRE_Enable_Babel) = false;

By default babel is set to false.

Make sure to define all available languages first like so

GVAR(ACRE_All_Languages) = [
	["en", "English"],
	["ru", "Russian"],
	["fr", "French"]
];

You can then define which sides speak which languages.

GVAR(ACRE_Languages_Babel) = [
	["en"],//WEST
	["ru"],//EAST
	["fr","en"],//INDEPENDENT
	["en","ru","fr"]//DEFAULT/CIVILIAN/SPECTATOR
];

Remember to add all lanuages you are using to the default/civ/spec line so that the spectators can understand all units while watching.