mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #1508 from SilentSpike/strings
Macroified ACE_Zeus Strings
This commit is contained in:
commit
e13992d896
@ -18,6 +18,6 @@ class ACE_Settings {
|
||||
class GVAR(revealMines) {
|
||||
typeName = "SCALAR";
|
||||
value = 0;
|
||||
values[] = {"$STR_ACE_Zeus_revealMines_disable", "$STR_ACE_Zeus_revealMines_partial", "$STR_ACE_Zeus_revealMines_full"};
|
||||
values[] = {"$STR_A3_OPTIONS_DISABLED", CSTRING(revealMines_partial), CSTRING(revealMines_full)};
|
||||
};
|
||||
};
|
||||
|
@ -17,7 +17,7 @@ class CfgVehicles {
|
||||
};
|
||||
class GVAR(moduleSettings): ACE_Module {
|
||||
scope = 2;
|
||||
displayName = "$STR_ACE_Zeus_Module_DisplayName";
|
||||
displayName = CSTRING(Settings_DisplayName);
|
||||
icon = QUOTE(PATHTOF(UI\Icon_Module_Zeus_Settings_ca.paa));
|
||||
category = "ACE";
|
||||
function = QFUNC(moduleZeusSettings);
|
||||
@ -27,52 +27,52 @@ class CfgVehicles {
|
||||
author = "SilentSpike";
|
||||
class Arguments {
|
||||
class zeusAscension {
|
||||
displayName = "$STR_ACE_Zeus_ascension_DisplayName";
|
||||
description = "$STR_ACE_Zeus_ascension_Description";
|
||||
displayName = CSTRING(ascension_DisplayName);
|
||||
description = CSTRING(ascension_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 0;
|
||||
};
|
||||
class zeusBird {
|
||||
displayName = "$STR_ACE_Zeus_bird_DisplayName";
|
||||
description = "$STR_ACE_Zeus_bird_Description";
|
||||
displayName = CSTRING(bird_DisplayName);
|
||||
description = CSTRING(bird_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 0;
|
||||
};
|
||||
class remoteWind {
|
||||
displayName = "$STR_ACE_Zeus_remoteWind_DisplayName";
|
||||
description = "$STR_ACE_Zeus_remoteWind_Description";
|
||||
displayName = CSTRING(remoteWind_DisplayName);
|
||||
description = CSTRING(remoteWind_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 0;
|
||||
};
|
||||
class radioOrdnance {
|
||||
displayName = "$STR_ACE_Zeus_radioOrdnance_DisplayName";
|
||||
description = "$STR_ACE_Zeus_radioOrdnance_Description";
|
||||
displayName = CSTRING(radioOrdnance_DisplayName);
|
||||
description = CSTRING(radioOrdnance_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 0;
|
||||
};
|
||||
class revealMines {
|
||||
displayName = "$STR_ACE_Zeus_revealMines_DisplayName";
|
||||
description = "$STR_ACE_Zeus_revealMines_Description";
|
||||
displayName = CSTRING(revealMines_DisplayName);
|
||||
description = CSTRING(revealMines_Description);
|
||||
typeName = "NUMBER";
|
||||
class values {
|
||||
class disable {
|
||||
name = "$STR_ACE_Zeus_revealMines_disable";
|
||||
name = "$STR_A3_OPTIONS_DISABLED";
|
||||
value = 0;
|
||||
default = 1;
|
||||
};
|
||||
class partial {
|
||||
name = "$STR_ACE_Zeus_revealMines_partial";
|
||||
name = CSTRING(revealMines_partial);
|
||||
value = 1;
|
||||
};
|
||||
class full {
|
||||
name = "$STR_ACE_Zeus_revealMines_full";
|
||||
name = CSTRING(revealMines_full);
|
||||
value = 2;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
class ModuleDescription {
|
||||
description = "$STR_ACE_Zeus_Module_Description";
|
||||
description = CSTRING(Settings_Description);
|
||||
sync[] = {};
|
||||
};
|
||||
};
|
||||
@ -83,7 +83,7 @@ class CfgVehicles {
|
||||
};
|
||||
class GVAR(moduleCaptive): GVAR(moduleBase) {
|
||||
curatorCanAttach = 1;
|
||||
displayName = "$STR_ACE_Zeus_ModuleCaptive_DisplayName";
|
||||
displayName = CSTRING(ModuleCaptive_DisplayName);
|
||||
function = QFUNC(moduleCaptive);
|
||||
icon = QUOTE(PATHTOF(UI\Icon_Module_Zeus_Captive_ca.paa));
|
||||
class ModuleDescription {
|
||||
@ -93,7 +93,7 @@ class CfgVehicles {
|
||||
};
|
||||
class GVAR(moduleSurrender): GVAR(moduleBase) {
|
||||
curatorCanAttach = 1;
|
||||
displayName = "$STR_ACE_Zeus_ModuleSurrender_DisplayName";
|
||||
displayName = CSTRING(ModuleSurrender_DisplayName);
|
||||
function = QFUNC(moduleSurrender);
|
||||
icon = QUOTE(PATHTOF(UI\Icon_Module_Zeus_Surrender_ca.paa));
|
||||
class ModuleDescription {
|
||||
@ -103,7 +103,7 @@ class CfgVehicles {
|
||||
};
|
||||
class GVAR(moduleUnconscious): GVAR(moduleBase) {
|
||||
curatorCanAttach = 1;
|
||||
displayName = "$STR_ACE_Zeus_ModuleUnconscious_DisplayName";
|
||||
displayName = CSTRING(ModuleUnconscious_DisplayName);
|
||||
function = QFUNC(moduleUnconscious);
|
||||
icon = QUOTE(PATHTOF(UI\Icon_Module_Zeus_Unconscious_ca.paa));
|
||||
class ModuleDescription {
|
||||
|
@ -21,18 +21,18 @@ private ["_unit","_captive"];
|
||||
if (!_activated) exitWith {};
|
||||
|
||||
if (isNil QEFUNC(captives,setHandcuffed)) then {
|
||||
["STR_ACE_Zeus_RequiresAddon"] call EFUNC(common,displayTextStructured);
|
||||
[LSTRING(RequiresAddon)] call EFUNC(common,displayTextStructured);
|
||||
} else {
|
||||
_unit = attachedTo _logic;
|
||||
|
||||
if (isNull _unit) then {
|
||||
["STR_ACE_Zeus_NothingSelected"] call EFUNC(common,displayTextStructured);
|
||||
[LSTRING(NothingSelected)] call EFUNC(common,displayTextStructured);
|
||||
} else {
|
||||
if !(_unit isKindOf "CAManBase") then {
|
||||
["STR_ACE_Zeus_OnlyInfantry"] call EFUNC(common,displayTextStructured);
|
||||
[LSTRING(OnlyInfantry)] call EFUNC(common,displayTextStructured);
|
||||
} else {
|
||||
if !(alive _unit) then {
|
||||
["STR_ACE_Zeus_OnlyAlive"] call EFUNC(common,displayTextStructured);
|
||||
[LSTRING(OnlyAlive)] call EFUNC(common,displayTextStructured);
|
||||
} else {
|
||||
_captive = GETVAR(_unit,EGVAR(captives,isHandcuffed),false);
|
||||
// Event initalized by ACE_Captives
|
||||
|
@ -21,21 +21,21 @@ private ["_unit","_surrendering"];
|
||||
if (!_activated) exitWith {};
|
||||
|
||||
if (isNil QEFUNC(captives,setSurrendered)) then {
|
||||
["STR_ACE_Zeus_RequiresAddon"] call EFUNC(common,displayTextStructured);
|
||||
[LSTRING(RequiresAddon)] call EFUNC(common,displayTextStructured);
|
||||
} else {
|
||||
_unit = attachedTo _logic;
|
||||
|
||||
if (isNull _unit) then {
|
||||
["STR_ACE_Zeus_NothingSelected"] call EFUNC(common,displayTextStructured);
|
||||
[LSTRING(NothingSelected)] call EFUNC(common,displayTextStructured);
|
||||
} else {
|
||||
if !(_unit isKindOf "CAManBase") then {
|
||||
["STR_ACE_Zeus_OnlyInfantry"] call EFUNC(common,displayTextStructured);
|
||||
[LSTRING(OnlyInfantry)] call EFUNC(common,displayTextStructured);
|
||||
} else {
|
||||
if !(alive _unit) then {
|
||||
["STR_ACE_Zeus_OnlyAlive"] call EFUNC(common,displayTextStructured);
|
||||
[LSTRING(OnlyAlive)] call EFUNC(common,displayTextStructured);
|
||||
} else {
|
||||
if (GETVAR(_unit,EGVAR(captives,isHandcuffed),false)) then {
|
||||
["STR_ACE_Zeus_OnlyNonCaptive"] call EFUNC(common,displayTextStructured);
|
||||
[LSTRING(OnlyNonCaptive)] call EFUNC(common,displayTextStructured);
|
||||
} else {
|
||||
_surrendering = GETVAR(_unit,EGVAR(captives,isSurrendering),false);
|
||||
// Event initalized by ACE_Captives
|
||||
|
@ -21,18 +21,18 @@ private ["_unit","_conscious"];
|
||||
if (!_activated) exitWith {};
|
||||
|
||||
if (isNil QEFUNC(medical,setUnconscious)) then {
|
||||
["STR_ACE_Zeus_RequiresAddon"] call EFUNC(common,displayTextStructured);
|
||||
[LSTRING(RequiresAddon)] call EFUNC(common,displayTextStructured);
|
||||
} else {
|
||||
_unit = attachedTo _logic;
|
||||
|
||||
if (isNull _unit) then {
|
||||
["STR_ACE_Zeus_NothingSelected"] call EFUNC(common,displayTextStructured);
|
||||
[LSTRING(NothingSelected)] call EFUNC(common,displayTextStructured);
|
||||
} else {
|
||||
if !(_unit isKindOf "CAManBase") then {
|
||||
["STR_ACE_Zeus_OnlyInfantry"] call EFUNC(common,displayTextStructured);
|
||||
[LSTRING(OnlyInfantry)] call EFUNC(common,displayTextStructured);
|
||||
} else {
|
||||
if !(alive _unit) then {
|
||||
["STR_ACE_Zeus_OnlyAlive"] call EFUNC(common,displayTextStructured);
|
||||
[LSTRING(OnlyAlive)] call EFUNC(common,displayTextStructured);
|
||||
} else {
|
||||
_conscious = GETVAR(_unit,ACE_isUnconscious,false);
|
||||
// Function handles locality for me
|
||||
|
@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project name="ACE">
|
||||
<Package name="Zeus">
|
||||
<Key ID="STR_ACE_Zeus_Module_DisplayName">
|
||||
<Key ID="STR_ACE_Zeus_Settings_DisplayName">
|
||||
<English>Zeus Settings</English>
|
||||
<Polish>Ustawienia Zeusa</Polish>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Zeus_Module_Description">
|
||||
<Key ID="STR_ACE_Zeus_Settings_Description">
|
||||
<English>Provides control over various aspects of Zeus.</English>
|
||||
<Polish>Pozwala kontrolować różne aspekty Zeusa.</Polish>
|
||||
</Key>
|
||||
@ -49,10 +49,6 @@
|
||||
<English>Reveal mines to allies and place map markers.</English>
|
||||
<Polish>Pokazuj znaczniki min dla sojuszników i twórz markery na mapie w miejscu min.</Polish>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Zeus_revealMines_disable">
|
||||
<English>Disabled</English>
|
||||
<Polish>Wyłączone</Polish>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Zeus_revealMines_partial">
|
||||
<English>Reveal to Allies</English>
|
||||
<Polish>Pokaż dla sojuszników</Polish>
|
||||
|
Loading…
Reference in New Issue
Block a user