mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Disable zeus settings by default
Fixed newline characters
This commit is contained in:
@ -1,23 +1,23 @@
|
||||
class ACE_Settings {
|
||||
class GVAR(zeusAscension) {
|
||||
typeName = "BOOL";
|
||||
value = 1;
|
||||
value = 0;
|
||||
};
|
||||
class GVAR(zeusBird) {
|
||||
typeName = "BOOL";
|
||||
value = 1;
|
||||
value = 0;
|
||||
};
|
||||
class GVAR(remoteWind) {
|
||||
typeName = "BOOL";
|
||||
value = 1;
|
||||
value = 0;
|
||||
};
|
||||
class GVAR(radioOrdnance) {
|
||||
typeName = "BOOL";
|
||||
value = 1;
|
||||
value = 0;
|
||||
};
|
||||
class GVAR(revealMines) {
|
||||
typeName = "SCALAR";
|
||||
value = 2;
|
||||
value = 0;
|
||||
values[] = {"Disabled", "Partially", "Fully"};
|
||||
};
|
||||
};
|
||||
|
@ -153,7 +153,7 @@ if (_activated) then {
|
||||
} foreach (_logic getvariable ["channels",[]]);
|
||||
|
||||
// Added by ACE_zeus to toggle ascension messages
|
||||
if (GETMVAR(GVAR(zeusAscension),true)) then {
|
||||
if GVAR(zeusAscension) then {
|
||||
//--- Sent notification to all assigned players
|
||||
{
|
||||
if (isplayer _x) then {
|
||||
@ -193,7 +193,7 @@ if (_activated) then {
|
||||
};
|
||||
|
||||
// Added by ACE_zeus to toggle eagle
|
||||
if (GETMVAR(GVAR(zeusBird),true)) then {
|
||||
if GVAR(zeusBird) then {
|
||||
//--- Create bird
|
||||
_birdType = _logic getvariable ["birdType","eagle_f"];
|
||||
if (_birdType != "") then {
|
||||
@ -218,7 +218,7 @@ if (_activated) then {
|
||||
_addons call bis_fnc_activateaddons;
|
||||
|
||||
// Added by ACE_zeus to toggle eagle
|
||||
if (GETMVAR(GVAR(zeusBird),true)) then {
|
||||
if GVAR(zeusBird) then {
|
||||
//--- Locality changed
|
||||
_logic addeventhandler [
|
||||
"local",
|
||||
|
@ -25,15 +25,14 @@ if (_activated) then {
|
||||
_explosive attachto [_logic];
|
||||
|
||||
// Added by ACE_zeus to control if mines are revealed
|
||||
_revealMines = GETMVAR(GVAR(revealMines),2);
|
||||
if (_revealMines > 0) then {
|
||||
if (GVAR(revealMines) > 0) then {
|
||||
//--- Reveal the mine to curator's side
|
||||
{
|
||||
_side = (getassignedcuratorunit _x) call bis_fnc_objectSide;
|
||||
_side revealmine _explosive;
|
||||
} foreach (objectcurators _logic);
|
||||
|
||||
if (_revealMines > 1) then {
|
||||
if (GVAR(revealMines) > 1) then {
|
||||
//--- Mark minefields in the map
|
||||
[] spawn bis_fnc_drawMinefields;
|
||||
};
|
||||
|
@ -137,7 +137,7 @@ if (_activated) then {
|
||||
_soundSource = if (_soundSourceClass != "") then {createSoundSource [_soundSourceClass,_pos,[],0]} else {objnull};
|
||||
|
||||
// Added by ACE_zeus to toggle ordnance radio message
|
||||
if (GETMVAR(GVAR(radioOrdnance),true)) then {
|
||||
if GVAR(radioOrdnance) then {
|
||||
//--- Play radio warning
|
||||
[] call _fnc_playRadio;
|
||||
};
|
||||
|
@ -48,7 +48,7 @@ if (_activated && local _logic && !isnull curatorcamera) then {
|
||||
_unit setvariable ["bis_fnc_moduleRemoteControl_owner",player,true];
|
||||
|
||||
// Added by ACE_zeus to toggle remote control wind sound
|
||||
if (GETMVAR(GVAR(remoteWind),true)) then {
|
||||
if GVAR(remoteWind) then {
|
||||
//--- Play wind cue to all players
|
||||
[format ["wind%1",ceil random 5],"bis_fnc_playsound"] call bis_fnc_mp;
|
||||
};
|
||||
|
Reference in New Issue
Block a user