mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add Squad Radar UI setting
This commit is contained in:
parent
1922cac79e
commit
005f17131a
@ -43,6 +43,13 @@ class ACE_Settings {
|
||||
value = 0;
|
||||
isClientSettable = 1;
|
||||
};
|
||||
class GVAR(squadRadar) {
|
||||
category = CSTRING(Category);
|
||||
displayName = CSTRING(SquadRadar);
|
||||
typeName = "BOOL";
|
||||
value = 1;
|
||||
isClientSettable = 1;
|
||||
};
|
||||
|
||||
// ADVANCED
|
||||
// Soldier
|
||||
|
@ -42,6 +42,11 @@ class CfgVehicles {
|
||||
typeName = "BOOL";
|
||||
defaultValue = 0;
|
||||
};
|
||||
class squadRadar {
|
||||
displayName = CSTRING(SquadRadar);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 1;
|
||||
};
|
||||
|
||||
// ADVANCED
|
||||
// Soldier
|
||||
|
@ -30,6 +30,7 @@ if (isArray (missionConfigFile >> "showHUD")) then {
|
||||
[_logic, QGVAR(vehicleCompass), "vehicleCompass"] call EFUNC(common,readSettingFromModule);
|
||||
[_logic, QGVAR(commandMenu), "commandMenu"] call EFUNC(common,readSettingFromModule);
|
||||
[_logic, QGVAR(groupBar), "groupBar"] call EFUNC(common,readSettingFromModule);
|
||||
[_logic, QGVAR(squadRadar), "squadRadar"] call EFUNC(common,readSettingFromModule);
|
||||
};
|
||||
|
||||
// Advanced
|
||||
|
@ -32,5 +32,5 @@ if (isArray (missionConfigFile >> "showHUD")) exitWith {
|
||||
GVAR(commandMenu),
|
||||
GVAR(groupBar),
|
||||
true,
|
||||
true
|
||||
GVAR(squadRadar)
|
||||
]] call EFUNC(common,showHud);
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
// Basic Elements
|
||||
#define ELEMENTS_BASIC [QGVAR(soldierVehicleWeaponInfo), QGVAR(vehicleRadar), QGVAR(vehicleCompass), QGVAR(commandMenu), QGVAR(groupBar)]
|
||||
#define ELEMENTS_BASIC [QGVAR(soldierVehicleWeaponInfo), QGVAR(vehicleRadar), QGVAR(vehicleCompass), QGVAR(commandMenu), QGVAR(groupBar), QGVAR(squadRadar)]
|
||||
|
||||
/*
|
||||
RscUnitInfo = 300
|
||||
|
@ -60,6 +60,9 @@
|
||||
<Portuguese>Barra de Grupo</Portuguese>
|
||||
<French>Barre de groupe</French>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_UI_SquadRadar">
|
||||
<English>Squad Radar</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_UI_WeaponName">
|
||||
<English>Weapon Name</English>
|
||||
<Czech>Název zbraně</Czech>
|
||||
@ -241,4 +244,4 @@
|
||||
<French>Impossible de modifier un élément de l'interface utilisateur forcé</French>
|
||||
</Key>
|
||||
</Package>
|
||||
</Project>
|
||||
</Project>
|
||||
|
Loading…
Reference in New Issue
Block a user