diff --git a/addons/advanced_ballistics/CfgVehicles.hpp b/addons/advanced_ballistics/CfgVehicles.hpp
index 854930d639..27ccb2377b 100644
--- a/addons/advanced_ballistics/CfgVehicles.hpp
+++ b/addons/advanced_ballistics/CfgVehicles.hpp
@@ -2,7 +2,7 @@ class CfgVehicles {
class ACE_Module;
class GVAR(ModuleSettings): ACE_Module {
scope = 2;
- displayName = "$STR_ACE_AdvancedBallistics_DisplayName";
+ displayName = CSTRING(DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Wind_ca.paa));
category = "ACE";
function = QUOTE(DFUNC(initModuleSettings));
@@ -12,32 +12,32 @@ class CfgVehicles {
author = "Ruthberg";
class Arguments {
class enabled {
- displayName = "$STR_ACE_AdvancedBallistics_enabled_DisplayName";
- description = "$STR_ACE_AdvancedBallistics_enabled_Description";
+ displayName = CSTRING(enabled_DisplayName);
+ description = CSTRING(enabled_Description);
typeName = "BOOL";
defaultValue = 0;
};
class simulateForSnipers {
- displayName = "$STR_ACE_AdvancedBallistics_simulateForSnipers_DisplayName";
- description = "$STR_ACE_AdvancedBallistics_simulateForSnipers_Description";
+ displayName = CSTRING(simulateForSnipers_DisplayName);
+ description = CSTRING(simulateForSnipers_Description);
typeName = "BOOL";
defaultValue = 1;
};
class simulateForGroupMembers {
- displayName = "$STR_ACE_AdvancedBallistics_simulateForGroupMembers_DisplayName";
- description = "$STR_ACE_AdvancedBallistics_simulateForGroupMembers_Description";
+ displayName = CSTRING(simulateForGroupMembers_DisplayName);
+ description = CSTRING(simulateForGroupMembers_Description);
typeName = "BOOL";
defaultValue = 0;
};
class simulateForEveryone {
- displayName = "$STR_ACE_AdvancedBallistics_simulateForEveryone_DisplayName";
- description = "$STR_ACE_AdvancedBallistics_simulateForEveryone_Description";
+ displayName = CSTRING(simulateForEveryone_DisplayName);
+ description = CSTRING(simulateForEveryone_Description);
typeName = "BOOL";
defaultValue = 0;
};
class disabledInFullAutoMode {
- displayName = "$STR_ACE_AdvancedBallistics_disabledInFullAutoMod_DisplayName";
- description = "$STR_ACE_AdvancedBallistics_disabledInFullAutoMod_Description";
+ displayName = CSTRING(disabledInFullAutoMod_DisplayName);
+ description = CSTRING(disabledInFullAutoMod_Description);
typeName = "BOOL";
defaultValue = 0;
};
@@ -50,38 +50,38 @@ class CfgVehicles {
};
*/
class ammoTemperatureEnabled {
- displayName = "$STR_ACE_AdvancedBallistics_ammoTemperatureEnabled_DisplayName";
- description = "$STR_ACE_AdvancedBallistics_ammoTemperatureEnabled_Description";
+ displayName = CSTRING(ammoTemperatureEnabled_DisplayName);
+ description = CSTRING(ammoTemperatureEnabled_Description);
typeName = "BOOL";
defaultValue = 1;
};
class barrelLengthInfluenceEnabled {
- displayName = "$STR_ACE_AdvancedBallistics_barrelLengthInfluenceEnabled_DisplayName";
- description = "$STR_ACE_AdvancedBallistics_barrelLengthInfluenceEnabled_Description";
+ displayName = CSTRING(barrelLengthInfluenceEnabled_DisplayName);
+ description = CSTRING(barrelLengthInfluenceEnabled_Description);
typeName = "BOOL";
defaultValue = 1;
};
class bulletTraceEnabled {
- displayName = "$STR_ACE_AdvancedBallistics_bulletTraceEnabled_DisplayName";
- description = "$STR_ACE_AdvancedBallistics_bulletTraceEnabled_Description";
+ displayName = CSTRING(bulletTraceEnabled_DisplayName);
+ description = CSTRING(bulletTraceEnabled_Description);
typeName = "BOOL";
defaultValue = 1;
};
class simulationInterval {
- displayName = "$STR_ACE_AdvancedBallistics_simulationInterval_DisplayName";
- description = "$STR_ACE_AdvancedBallistics_simulationInterval_Description";
+ displayName = CSTRING(simulationInterval_DisplayName);
+ description = CSTRING(simulationInterval_Description);
typeName = "NUMBER";
defaultValue = 0.0;
};
class simulationRadius {
- displayName = "$STR_ACE_AdvancedBallistics_simulationRadius_DisplayName";
- description = "$STR_ACE_AdvancedBallistics_simulationRadius_Description";
+ displayName = CSTRING(simulationRadius_DisplayName);
+ description = CSTRING(simulationRadius_Description);
typeName = "NUMBER";
defaultValue = 3000;
};
};
class ModuleDescription {
- description = "$STR_ACE_AdvancedBallistics_Description";
+ description = CSTRING(Description);
};
};
};
\ No newline at end of file
diff --git a/addons/advanced_ballistics/initKeybinds.sqf b/addons/advanced_ballistics/initKeybinds.sqf
index cddf47877a..c75a1561ac 100644
--- a/addons/advanced_ballistics/initKeybinds.sqf
+++ b/addons/advanced_ballistics/initKeybinds.sqf
@@ -1,4 +1,4 @@
-["ACE3 Equipment", QGVAR(ProtractorKey), localize "STR_ACE_AdvancedBallistics_ProtractorKey",
+["ACE3 Equipment", QGVAR(ProtractorKey), localize STRING(ProtractorKey),
{
// Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
diff --git a/addons/aircraft/CfgVehicles.hpp b/addons/aircraft/CfgVehicles.hpp
index 559b8dc2e1..9839149b3d 100644
--- a/addons/aircraft/CfgVehicles.hpp
+++ b/addons/aircraft/CfgVehicles.hpp
@@ -176,8 +176,8 @@ class CfgVehicles {
};
class CargoRamp_Open: DoorL1_Open {
userActionID = 52;
- displayName = "$STR_ACE_Aircraft_OpenCargoRamp";
- textToolTip = "$STR_ACE_Aircraft_OpenCargoRamp";
+ displayName = CSTRING(OpenCargoRamp);
+ textToolTip = CSTRING(OpenCargoRamp);
position = "action_cargoramp";
radius = 3.0;
condition = "this animationPhase ""cargoramp_open"" < 0.5 AND Alive(this)";
@@ -185,8 +185,8 @@ class CfgVehicles {
};
class CargoRamp_Close: DoorL1_Close {
userActionID = 55;
- displayName = "$STR_ACE_Aircraft_CloseCargoRamp";
- textToolTip = "$STR_ACE_Aircraft_CloseCargoRamp";
+ displayName = CSTRING(CloseCargoRamp);
+ textToolTip = CSTRING(CloseCargoRamp);
position = "action_cargoramp";
radius = 3.0;
condition = "this animationPhase ""cargoramp_open"" > 0.5 AND Alive(this)";
diff --git a/addons/aircraft/CfgWeapons.hpp b/addons/aircraft/CfgWeapons.hpp
index dc84c9f04a..ac8a759bd3 100644
--- a/addons/aircraft/CfgWeapons.hpp
+++ b/addons/aircraft/CfgWeapons.hpp
@@ -29,7 +29,7 @@ class CfgWeapons {
reloadTime = 0.1;
};
class Burst: Mode_Burst {
- displayName = "$STR_ACE_Aircraft_CMFlareLauncher_Burst_Name";
+ displayName = CSTRING(CMFlareLauncher_Burst_Name);
};
};
@@ -50,12 +50,12 @@ class CfgWeapons {
};
class ACE_gatling_20mm_Comanche: gatling_20mm {
- displayName = "$STR_ACE_Aircraft_gatling_20mm_Name";
+ displayName = CSTRING(gatling_20mm_Name);
class manual: manual {
reloadTime = 0.04;
dispersion = 0.006;
- displayName = "$STR_ACE_Aircraft_gatling_20mm_Name";
+ displayName = CSTRING(gatling_20mm_Name);
};
class close: close {
reloadTime = 0.04;
diff --git a/addons/atragmx/CfgVehicles.hpp b/addons/atragmx/CfgVehicles.hpp
index f015f0e0b9..9e70047013 100644
--- a/addons/atragmx/CfgVehicles.hpp
+++ b/addons/atragmx/CfgVehicles.hpp
@@ -4,7 +4,7 @@ class CfgVehicles {
class ACE_SelfActions {
class ACE_Equipment {
class GVAR(open) {
- displayName = "$STR_ACE_ATragMX_OpenATragMXDialog";
+ displayName = CSTRING(OpenATragMXDialog);
condition = QUOTE(call FUNC(can_show));
statement = QUOTE(call FUNC(create_dialog));
showDisabled = 0;
diff --git a/addons/atragmx/CfgWeapons.hpp b/addons/atragmx/CfgWeapons.hpp
index 07d2fa4aee..42d1e56ae2 100644
--- a/addons/atragmx/CfgWeapons.hpp
+++ b/addons/atragmx/CfgWeapons.hpp
@@ -6,8 +6,8 @@ class CfgWeapons {
class ACE_ATragMX: ACE_ItemCore {
author = "Ruthberg";
scope = 2;
- displayName = "$STR_ACE_ATragMX_Name";
- descriptionShort = "$STR_ACE_ATragMX_Description";
+ displayName = CSTRING(Name);
+ descriptionShort = CSTRING(Description);
model = PATHTOF(data\tdsrecon.p3d);
picture = PATHTOF(UI\ATRAG_Icon.paa);
icon = "iconObject_circle";
diff --git a/addons/atragmx/initKeybinds.sqf b/addons/atragmx/initKeybinds.sqf
index 0638e5cea8..fa3b240849 100644
--- a/addons/atragmx/initKeybinds.sqf
+++ b/addons/atragmx/initKeybinds.sqf
@@ -1,4 +1,4 @@
-["ACE3 Equipment", QGVAR(ATragMXDialogKey), localize "STR_ACE_ATragMX_ATragMXDialogKey",
+["ACE3 Equipment", QGVAR(ATragMXDialogKey), localize STRING(ATragMXDialogKey),
{
// Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
diff --git a/addons/attach/CfgVehicles.hpp b/addons/attach/CfgVehicles.hpp
index ce9b1a7413..c0fb645fec 100644
--- a/addons/attach/CfgVehicles.hpp
+++ b/addons/attach/CfgVehicles.hpp
@@ -3,7 +3,7 @@
class ACE_Actions { \
class ACE_MainActions { \
class GVAR(AttachVehicle) { \
- displayName = "$STR_ACE_Attach_AttachDetach"; \
+ displayName = CSTRING(AttachDetach); \
condition = QUOTE(_this call FUNC(canAttach)); \
insertChildren = QUOTE(_this call FUNC(getChildrenAttachActions)); \
exceptions[] = {}; \
@@ -13,7 +13,7 @@
distance = 4.5; \
}; \
class GVAR(DetachVehicle) { \
- displayName = "$STR_ACE_Attach_Detach"; \
+ displayName = CSTRING(Detach); \
condition = QUOTE(_this call FUNC(canDetach)); \
statement = QUOTE(_this call FUNC(detach) ); \
exceptions[] = {}; \
@@ -54,7 +54,7 @@ class CfgVehicles {
class ACE_SelfActions {
class ACE_Equipment {
class GVAR(Attach) {
- displayName = "$STR_ACE_Attach_AttachDetach";
+ displayName = CSTRING(AttachDetach);
condition = QUOTE(_this call FUNC(canAttach));
insertChildren = QUOTE(_this call FUNC(getChildrenAttachActions));
exceptions[] = {"isNotDragging"};
@@ -64,7 +64,7 @@ class CfgVehicles {
// hotkey = "T";
};
class GVAR(Detach) {
- displayName = "$STR_ACE_Attach_Detach";
+ displayName = CSTRING(Detach);
condition = QUOTE(_this call FUNC(canDetach));
statement = QUOTE(_this call FUNC(detach));
exceptions[] = {"isNotDragging"};
diff --git a/addons/attach/CfgWeapons.hpp b/addons/attach/CfgWeapons.hpp
index 9734ceb273..82276bdc66 100644
--- a/addons/attach/CfgWeapons.hpp
+++ b/addons/attach/CfgWeapons.hpp
@@ -7,8 +7,8 @@ class CfgWeapons {
ACE_attachable = "ACE_IR_Strobe_Effect";
author = "$STR_ACE_Common_ACETeam";
scope = 2;
- displayName = "$STR_ACE_IrStrobe_Name";
- descriptionShort = "$STR_ACE_IrStrobe_Description";
+ displayName = CSTRING(IrStrobe_Name);
+ descriptionShort = CSTRING(IrStrobe_Description);
model = "\A3\weapons_F\ammo\mag_univ.p3d";
picture = PATHTOF(UI\irstrobe_item.paa);
diff --git a/addons/attach/functions/fnc_attach.sqf b/addons/attach/functions/fnc_attach.sqf
index 45b1c0a336..83e35f8a16 100644
--- a/addons/attach/functions/fnc_attach.sqf
+++ b/addons/attach/functions/fnc_attach.sqf
@@ -37,7 +37,7 @@ if (_itemVehClass == "") then {
if (_itemVehClass == "") exitWith {ERROR("no ACE_Attachable for Item");};
-_onAtachText = format [localize "STR_ACE_Attach_Item_Attached", _onAtachText];
+_onAtachText = format [localize STRING(Item_Attached), _onAtachText];
if (_unit == _attachToVehicle) then { //Self Attachment
_unit removeItem _itemClassname; // Remove item
@@ -54,12 +54,12 @@ if (_unit == _attachToVehicle) then { //Self Attachment
[_unit, QGVAR(vehAttach), true] call EFUNC(common,setForceWalkStatus);
- //MenuBack isn't working for now (localize "STR_ACE_Attach_CancelAction")
- [{[localize "STR_ACE_Attach_PlaceAction", ""] call EFUNC(interaction,showMouseHint)}, [], 0, 0] call EFUNC(common,waitAndExecute);
+ //MenuBack isn't working for now (localize STRING(CancelAction))
+ [{[localize STRING(PlaceAction), ""] call EFUNC(interaction,showMouseHint)}, [], 0, 0] call EFUNC(common,waitAndExecute);
_unit setVariable [QGVAR(placeActionEH), [_unit, "DefaultAction", {true}, {GVAR(placeAction) = 1;}] call EFUNC(common,AddActionEventHandler)];
// _unit setVariable [QGVAR(cancelActionEH), [_unit, "MenuBack", {true}, {GVAR(placeAction) = 0;}] call EFUNC(common,AddActionEventHandler)];
- _actionID = _unit addAction [format ["%1", localize "STR_ACE_Attach_CancelAction"], {GVAR(placeAction) = 0}];
+ _actionID = _unit addAction [format ["%1", localize STRING(CancelAction)], {GVAR(placeAction) = 0}];
[{
private "_startingPosition";
diff --git a/addons/attach/functions/fnc_detach.sqf b/addons/attach/functions/fnc_detach.sqf
index a56936301d..990f151474 100644
--- a/addons/attach/functions/fnc_detach.sqf
+++ b/addons/attach/functions/fnc_detach.sqf
@@ -49,7 +49,7 @@ if (isNull _attachedObject || {_itemName == ""}) exitWith {ERROR("Could not find
// Exit if can't add the item
if !(_unit canAdd _itemName) exitWith {
- [localize "STR_ACE_Attach_Inventory_Full"] call EFUNC(common,displayTextStructured);
+ [localize STRING(Inventory_Full)] call EFUNC(common,displayTextStructured);
};
// Add item to inventory
@@ -78,4 +78,4 @@ if (_itemDisplayName == "") then {
_itemDisplayName = getText (configFile >> "CfgMagazines" >> _itemName >> "displayName");
};
-[format [localize "STR_ACE_Attach_Item_Detached", _itemDisplayName]] call EFUNC(common,displayTextStructured);
+[format [localize STRING(Item_Detached), _itemDisplayName]] call EFUNC(common,displayTextStructured);
diff --git a/addons/attach/functions/fnc_placeApprove.sqf b/addons/attach/functions/fnc_placeApprove.sqf
index 60c5e3a9bf..06282b31ae 100644
--- a/addons/attach/functions/fnc_placeApprove.sqf
+++ b/addons/attach/functions/fnc_placeApprove.sqf
@@ -74,7 +74,7 @@ _closeInDistance = (_closeInMax + _closeInMin) / 2;
//Checks (too close to center or can't attach)
if (((_startDistanceFromCenter - _closeInDistance) < 0.1) || {!([_attachToVehicle, _unit, _itemClassname] call FUNC(canAttach))}) exitWith {
TRACE_2("no valid spot found",_closeInDistance,_startDistanceFromCenter);
- [localize "STR_ACE_Attach_Failed"] call EFUNC(common,displayTextStructured);
+ [localize STRING(Failed)] call EFUNC(common,displayTextStructured);
};
//Move it out slightly, for visability sake (better to look a little funny than be embedded//sunk in the hull and be useless)
diff --git a/addons/ballistics/CfgMagazines.hpp b/addons/ballistics/CfgMagazines.hpp
index 6d1a3c7b89..283ae07c26 100644
--- a/addons/ballistics/CfgMagazines.hpp
+++ b/addons/ballistics/CfgMagazines.hpp
@@ -14,9 +14,9 @@ class CfgMagazines {
class ACE_100Rnd_65x39_caseless_mag_Tracer_Dim: 100Rnd_65x39_caseless_mag_Tracer {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_65x39_Caseless_Tracer_Dim";
- displayName = "$STR_ACE_100Rnd_65x39_caseless_mag_Tracer_DimName";
- displayNameShort = "$STR_ACE_100Rnd_65x39_caseless_mag_Tracer_DimNameShort";
- descriptionShort = "$STR_ACE_100Rnd_65x39_caseless_mag_Tracer_DimDescription";
+ displayName = CSTRING(100Rnd_65x39_caseless_mag_Tracer_DimName);
+ displayNameShort = CSTRING(100Rnd_65x39_caseless_mag_Tracer_DimNameShort);
+ descriptionShort = CSTRING(100Rnd_65x39_caseless_mag_Tracer_DimDescription);
picture = "\A3\weapons_f\data\ui\m_100rnd_65x39_yellow_ca.paa";
};
class 200Rnd_65x39_cased_Box: 100Rnd_65x39_caseless_mag {
@@ -25,26 +25,26 @@ class CfgMagazines {
class ACE_200Rnd_65x39_cased_Box_Tracer_Dim: 200Rnd_65x39_cased_Box {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_65x39_Caseless_Tracer_Dim";
- displayName = "$STR_ACE_200Rnd_65x39_cased_Box_Tracer_DimName";
- displayNameShort = "$STR_ACE_200Rnd_65x39_cased_Box_Tracer_DimNameShort";
- descriptionShort = "$STR_ACE_200Rnd_65x39_cased_Box_Tracer_DimDescription";
+ displayName = CSTRING(200Rnd_65x39_cased_Box_Tracer_DimName);
+ displayNameShort = CSTRING(200Rnd_65x39_cased_Box_Tracer_DimNameShort);
+ descriptionShort = CSTRING(200Rnd_65x39_cased_Box_Tracer_DimDescription);
picture = "\A3\weapons_f\data\ui\m_200rnd_65x39_yellow_ca.paa";
};
class 30Rnd_65x39_caseless_mag_Tracer;
class ACE_30Rnd_65x39_caseless_mag_Tracer_Dim: 30Rnd_65x39_caseless_mag_Tracer {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_65x39_Caseless_Tracer_Dim";
- displayName = "$STR_ACE_30Rnd_65x39_caseless_mag_Tracer_DimName";
- displayNameShort = "$STR_ACE_30Rnd_65x39_caseless_mag_Tracer_DimNameShort";
- descriptionShort = "$STR_ACE_30Rnd_65x39_caseless_mag_Tracer_DimDescription";
+ displayName = CSTRING(30Rnd_65x39_caseless_mag_Tracer_DimName);
+ displayNameShort = CSTRING(30Rnd_65x39_caseless_mag_Tracer_DimNameShort);
+ descriptionShort = CSTRING(30Rnd_65x39_caseless_mag_Tracer_DimDescription);
};
class 30Rnd_65x39_caseless_green_mag_Tracer;
class ACE_30Rnd_65x39_caseless_green_mag_Tracer_Dim: 30Rnd_65x39_caseless_green_mag_Tracer {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_65x39_Caseless_green_Tracer_Dim";
- displayName = "$STR_ACE_30Rnd_65x39_caseless_green_mag_Tracer_DimName";
- displayNameShort = "$STR_ACE_30Rnd_65x39_caseless_green_mag_Tracer_DimNameShort";
- descriptionShort = "$STR_ACE_30Rnd_65x39_caseless_green_mag_Tracer_DimDescription";
+ displayName = CSTRING(30Rnd_65x39_caseless_green_mag_Tracer_DimName);
+ displayNameShort = CSTRING(30Rnd_65x39_caseless_green_mag_Tracer_DimNameShort);
+ descriptionShort = CSTRING(30Rnd_65x39_caseless_green_mag_Tracer_DimDescription);
};
class 30Rnd_556x45_Stanag: CA_Magazine {
@@ -52,25 +52,25 @@ class CfgMagazines {
class ACE_30Rnd_556x45_Stanag_M995_AP_mag: 30Rnd_556x45_Stanag {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_556x45_Ball_M995_AP";
- displayName = "$STR_ACE_30Rnd_556x45_Stanag_M995_AP_mag_Name";
- displayNameShort = "$STR_ACE_30Rnd_556x45_Stanag_M995_AP_mag_NameShort";
- descriptionShort = "$STR_ACE_30Rnd_556x45_Stanag_M995_AP_mag_Description";
+ displayName = CSTRING(30Rnd_556x45_Stanag_M995_AP_mag_Name);
+ displayNameShort = CSTRING(30Rnd_556x45_Stanag_M995_AP_mag_NameShort);
+ descriptionShort = CSTRING(30Rnd_556x45_Stanag_M995_AP_mag_Description);
initSpeed = 865;
};
class ACE_30Rnd_556x45_Stanag_Mk262_mag: 30Rnd_556x45_Stanag {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_556x45_Ball_Mk262";
- displayName = "$STR_ACE_30Rnd_556x45_Stanag_Mk262_mag_Name";
- displayNameShort = "$STR_ACE_30Rnd_556x45_Stanag_Mk262_mag_NameShort";
- descriptionShort = "$STR_ACE_30Rnd_556x45_Stanag_Mk262_mag_Description";
+ displayName = CSTRING(30Rnd_556x45_Stanag_Mk262_mag_Name);
+ displayNameShort = CSTRING(30Rnd_556x45_Stanag_Mk262_mag_NameShort);
+ descriptionShort = CSTRING(30Rnd_556x45_Stanag_Mk262_mag_Description);
initSpeed = 832;
};
class ACE_30Rnd_556x45_Stanag_Mk318_mag: 30Rnd_556x45_Stanag {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_556x45_Ball_Mk318";
- displayName = "$STR_ACE_30Rnd_556x45_Stanag_Mk318_mag_Name";
- displayNameShort = "$STR_ACE_30Rnd_556x45_Stanag_Mk318_mag_NameShort";
- descriptionShort = "$STR_ACE_30Rnd_556x45_Stanag_Mk318_mag_Description";
+ displayName = CSTRING(30Rnd_556x45_Stanag_Mk318_mag_Name);
+ displayNameShort = CSTRING(30Rnd_556x45_Stanag_Mk318_mag_NameShort);
+ descriptionShort = CSTRING(30Rnd_556x45_Stanag_Mk318_mag_Description);
initSpeed = 922;
};
class 30Rnd_556x45_Stanag_Tracer_Red: 30Rnd_556x45_Stanag {
@@ -78,9 +78,9 @@ class CfgMagazines {
class ACE_30Rnd_556x45_Stanag_Tracer_Dim: 30Rnd_556x45_Stanag_Tracer_Red {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_B_556x45_Ball_Tracer_Dim";
- displayName = "$STR_ACE_30Rnd_556x45_mag_Tracer_DimName";
- displayNameShort = "$STR_ACE_30Rnd_556x45_mag_Tracer_DimNameShort";
- descriptionShort = "$STR_ACE_30Rnd_556x45_mag_Tracer_DimDescription";
+ displayName = CSTRING(30Rnd_556x45_mag_Tracer_DimName);
+ displayNameShort = CSTRING(30Rnd_556x45_mag_Tracer_DimNameShort);
+ descriptionShort = CSTRING(30Rnd_556x45_mag_Tracer_DimDescription);
picture = "\A3\weapons_f\data\ui\m_20stanag_red_ca.paa";
};
@@ -99,26 +99,26 @@ class CfgMagazines {
class ACE_20Rnd_762x51_Mag_Tracer: 20Rnd_762x51_Mag {
author = "$STR_ACE_Common_ACETeam";
ammo = "B_762x51_Tracer_Red";
- displayName = "$STR_ACE_20Rnd_762x51_mag_TracerName";
- displayNameShort = "$STR_ACE_20Rnd_762x51_mag_TracerNameShort";
- descriptionShort = "$STR_ACE_20Rnd_762x51_mag_TracerDescription";
+ displayName = CSTRING(20Rnd_762x51_mag_TracerName);
+ displayNameShort = CSTRING(20Rnd_762x51_mag_TracerNameShort);
+ descriptionShort = CSTRING(20Rnd_762x51_mag_TracerDescription);
tracersEvery = 1;
};
class ACE_20Rnd_762x51_Mag_Tracer_Dim: ACE_20Rnd_762x51_Mag_Tracer {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_B_762x51_Tracer_Dim";
- displayName = "$STR_ACE_20Rnd_762x51_mag_Tracer_DimName";
- displayNameShort = "$STR_ACE_20Rnd_762x51_mag_Tracer_DimNameShort";
- descriptionShort = "$STR_ACE_20Rnd_762x51_mag_Tracer_DimDescription";
+ displayName = CSTRING(20Rnd_762x51_mag_Tracer_DimName);
+ displayNameShort = CSTRING(20Rnd_762x51_mag_Tracer_DimNameShort);
+ descriptionShort = CSTRING(20Rnd_762x51_mag_Tracer_DimDescription);
};
class ACE_20Rnd_762x51_Mag_SD: 20Rnd_762x51_Mag {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x51_Ball_Subsonic";
- displayName = "$STR_ACE_20Rnd_762x51_mag_SDName";
- displayNameShort = "$STR_ACE_20Rnd_762x51_mag_SDNameShort";
- descriptionShort = "$STR_ACE_20Rnd_762x51_mag_SDDescription";
+ displayName = CSTRING(20Rnd_762x51_mag_SDName);
+ displayNameShort = CSTRING(20Rnd_762x51_mag_SDNameShort);
+ descriptionShort = CSTRING(20Rnd_762x51_mag_SDDescription);
initSpeed = 325;
};
@@ -126,125 +126,125 @@ class CfgMagazines {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x51_Ball_M118LR";
count = 10;
- displayName = "$STR_ACE_10Rnd_762x51_M118LR_Mag_Name";
- displayNameShort = "$STR_ACE_10Rnd_762x51_M118LR_Mag_NameShort";
- descriptionShort = "$STR_ACE_10Rnd_762x51_M118LR_Mag_Description";
+ displayName = CSTRING(10Rnd_762x51_M118LR_Mag_Name);
+ displayNameShort = CSTRING(10Rnd_762x51_M118LR_Mag_NameShort);
+ descriptionShort = CSTRING(10Rnd_762x51_M118LR_Mag_Description);
initSpeed = 780;
};
class ACE_10Rnd_762x51_Mk316_Mod_0_Mag: 10Rnd_762x51_Mag {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x51_Ball_Mk316_Mod_0";
count = 10;
- displayName = "$STR_ACE_10Rnd_762x51_Mk316_Mod_0_Mag_Name";
- displayNameShort = "$STR_ACE_10Rnd_762x51_Mk316_Mod_0_Mag_NameShort";
- descriptionShort = "$STR_ACE_10Rnd_762x51_Mk316_Mod_0_Mag_Description";
+ displayName = CSTRING(10Rnd_762x51_Mk316_Mod_0_Mag_Name);
+ displayNameShort = CSTRING(10Rnd_762x51_Mk316_Mod_0_Mag_NameShort);
+ descriptionShort = CSTRING(10Rnd_762x51_Mk316_Mod_0_Mag_Description);
initSpeed = 790;
};
class ACE_10Rnd_762x51_Mk319_Mod_0_Mag: 10Rnd_762x51_Mag {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x51_Ball_Mk319_Mod_0";
count = 10;
- displayName = "$STR_ACE_10Rnd_762x51_Mk319_Mod_0_Mag_Name";
- displayNameShort = "$STR_ACE_10Rnd_762x51_Mk319_Mod_0_Mag_NameShort";
- descriptionShort = "$STR_ACE_10Rnd_762x51_Mk319_Mod_0_Mag_Description";
+ displayName = CSTRING(10Rnd_762x51_Mk319_Mod_0_Mag_Name);
+ displayNameShort = CSTRING(10Rnd_762x51_Mk319_Mod_0_Mag_NameShort);
+ descriptionShort = CSTRING(10Rnd_762x51_Mk319_Mod_0_Mag_Description);
initSpeed = 900;
};
class ACE_10Rnd_762x51_M993_AP_Mag: 10Rnd_762x51_Mag {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x51_Ball_M993_AP";
count = 10;
- displayName = "$STR_ACE_10Rnd_762x51_M993_AP_Mag_Name";
- displayNameShort = "$STR_ACE_10Rnd_762x51_M993_AP_Mag_NameShort";
- descriptionShort = "$STR_ACE_10Rnd_762x51_M993_AP_Mag_Description";
+ displayName = CSTRING(10Rnd_762x51_M993_AP_Mag_Name);
+ displayNameShort = CSTRING(10Rnd_762x51_M993_AP_Mag_NameShort);
+ descriptionShort = CSTRING(10Rnd_762x51_M993_AP_Mag_Description);
initSpeed = 920;
};
class ACE_20Rnd_762x51_M118LR_Mag: 20Rnd_762x51_Mag {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x51_Ball_M118LR";
- displayName = "$STR_ACE_20Rnd_762x51_M118LR_Mag_Name";
- displayNameShort = "$STR_ACE_20Rnd_762x51_M118LR_Mag_NameShort";
- descriptionShort = "$STR_ACE_20Rnd_762x51_M118LR_Mag_Description";
+ displayName = CSTRING(20Rnd_762x51_M118LR_Mag_Name);
+ displayNameShort = CSTRING(20Rnd_762x51_M118LR_Mag_NameShort);
+ descriptionShort = CSTRING(20Rnd_762x51_M118LR_Mag_Description);
initSpeed = 780;
};
class ACE_20Rnd_762x51_Mk316_Mod_0_Mag: 20Rnd_762x51_Mag {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x51_Ball_Mk316_Mod_0";
count = 20;
- displayName = "$STR_ACE_20Rnd_762x51_Mk316_Mod_0_Mag_Name";
- displayNameShort = "$STR_ACE_20Rnd_762x51_Mk316_Mod_0_Mag_NameShort";
- descriptionShort = "$STR_ACE_20Rnd_762x51_Mk316_Mod_0_Mag_Description";
+ displayName = CSTRING(20Rnd_762x51_Mk316_Mod_0_Mag_Name);
+ displayNameShort = CSTRING(20Rnd_762x51_Mk316_Mod_0_Mag_NameShort);
+ descriptionShort = CSTRING(20Rnd_762x51_Mk316_Mod_0_Mag_Description);
initSpeed = 790;
};
class ACE_20Rnd_762x51_Mk319_Mod_0_Mag: 20Rnd_762x51_Mag {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x51_Ball_Mk319_Mod_0";
- displayName = "$STR_ACE_20Rnd_762x51_Mk319_Mod_0_Mag_Name";
- displayNameShort = "$STR_ACE_20Rnd_762x51_Mk319_Mod_0_Mag_NameShort";
- descriptionShort = "$STR_ACE_20Rnd_762x51_Mk319_Mod_0_Mag_Description";
+ displayName = CSTRING(20Rnd_762x51_Mk319_Mod_0_Mag_Name);
+ displayNameShort = CSTRING(20Rnd_762x51_Mk319_Mod_0_Mag_NameShort);
+ descriptionShort = CSTRING(20Rnd_762x51_Mk319_Mod_0_Mag_Description);
initSpeed = 900;
};
class ACE_20Rnd_762x51_M993_AP_Mag: 20Rnd_762x51_Mag {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x51_Ball_M993_AP";
count = 20;
- displayName = "$STR_ACE_20Rnd_762x51_M993_AP_Mag_Name";
- displayNameShort = "$STR_ACE_20Rnd_762x51_M993_AP_Mag_NameShort";
- descriptionShort = "$STR_ACE_20Rnd_762x51_M993_AP_Mag_Description";
+ displayName = CSTRING(20Rnd_762x51_M993_AP_Mag_Name);
+ displayNameShort = CSTRING(20Rnd_762x51_M993_AP_Mag_NameShort);
+ descriptionShort = CSTRING(20Rnd_762x51_M993_AP_Mag_Description);
initSpeed = 920;
};
class ACE_20Rnd_762x67_Mk248_Mod_0_Mag: 20Rnd_762x51_Mag {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x67_Ball_Mk248_Mod_0";
- displayName = "$STR_ACE_20Rnd_762x67_Mk248_Mod_0_Mag_Name";
- displayNameShort = "$STR_ACE_20Rnd_762x67_Mk248_Mod_0_Mag_NameShort";
- descriptionShort = "$STR_ACE_20Rnd_762x67_Mk248_Mod_0_Mag_Description";
+ displayName = CSTRING(20Rnd_762x67_Mk248_Mod_0_Mag_Name);
+ displayNameShort = CSTRING(20Rnd_762x67_Mk248_Mod_0_Mag_NameShort);
+ descriptionShort = CSTRING(20Rnd_762x67_Mk248_Mod_0_Mag_Description);
initSpeed = 900;
};
class ACE_20Rnd_762x67_Mk248_Mod_1_Mag: 20Rnd_762x51_Mag {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x67_Ball_Mk248_Mod_1";
- displayName = "$STR_ACE_20Rnd_762x67_Mk248_Mod_1_Mag_Name";
- displayNameShort = "$STR_ACE_20Rnd_762x67_Mk248_Mod_1_Mag_NameShort";
- descriptionShort = "$STR_ACE_20Rnd_762x67_Mk248_Mod_1_Mag_Description";
+ displayName = CSTRING(20Rnd_762x67_Mk248_Mod_1_Mag_Name);
+ displayNameShort = CSTRING(20Rnd_762x67_Mk248_Mod_1_Mag_NameShort);
+ descriptionShort = CSTRING(20Rnd_762x67_Mk248_Mod_1_Mag_Description);
initSpeed = 880;
};
class ACE_20Rnd_762x67_Berger_Hybrid_OTM_Mag: 20Rnd_762x51_Mag {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x67_Ball_Berger_Hybrid_OTM";
- displayName = "$STR_ACE_20Rnd_762x67_Berger_Hybrid_OTM_Mag_Name";
- displayNameShort = "$STR_ACE_20Rnd_762x67_Berger_Hybrid_OTM_Mag_NameShort";
- descriptionShort = "$STR_ACE_20Rnd_762x67_Berger_Hybrid_OTM_Mag_Description";
+ displayName = CSTRING(20Rnd_762x67_Berger_Hybrid_OTM_Mag_Name);
+ displayNameShort = CSTRING(20Rnd_762x67_Berger_Hybrid_OTM_Mag_NameShort);
+ descriptionShort = CSTRING(20Rnd_762x67_Berger_Hybrid_OTM_Mag_Description);
initSpeed = 832;
};
class ACE_30Rnd_65x47_Scenar_mag: 30Rnd_65x39_caseless_mag {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_65x47_Ball_Scenar";
- displayName = "$STR_ACE_30Rnd_65x47_Scenar_mag_Name";
- displayNameShort = "$STR_ACE_30Rnd_65x47_Scenar_mag_NameShort";
- descriptionShort = "$STR_ACE_30Rnd_65x47_Scenar_mag_Description";
+ displayName = CSTRING(30Rnd_65x47_Scenar_mag_Name);
+ displayNameShort = CSTRING(30Rnd_65x47_Scenar_mag_NameShort);
+ descriptionShort = CSTRING(30Rnd_65x47_Scenar_mag_Description);
};
class ACE_30Rnd_65_Creedmor_mag: 30Rnd_65x39_caseless_mag {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_65_Creedmor_Ball";
- displayName = "$STR_ACE_30Rnd_65_Creedmor_mag_Name";
- displayNameShort = "$STR_ACE_30Rnd_65_Creedmor_mag_NameShort";
- descriptionShort = "$STR_ACE_30Rnd_65_Creedmor_mag_Description";
+ displayName = CSTRING(30Rnd_65_Creedmor_mag_Name);
+ displayNameShort = CSTRING(30Rnd_65_Creedmor_mag_NameShort);
+ descriptionShort = CSTRING(30Rnd_65_Creedmor_mag_Description);
};
class 10Rnd_338_Mag;
class ACE_10Rnd_338_300gr_HPBT_Mag: 10Rnd_338_Mag {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_338_Ball";
- displayName = "$STR_ACE_10Rnd_338_300gr_HPBT_Mag_Name";
- displayNameShort = "$STR_ACE_10Rnd_338_300gr_HPBT_Mag_NameShort";
- descriptionShort = "$STR_ACE_10Rnd_338_300gr_HPBT_Mag_Description";
+ displayName = CSTRING(10Rnd_338_300gr_HPBT_Mag_Name);
+ displayNameShort = CSTRING(10Rnd_338_300gr_HPBT_Mag_NameShort);
+ descriptionShort = CSTRING(10Rnd_338_300gr_HPBT_Mag_Description);
initSpeed = 800;
};
class ACE_10Rnd_338_API526_Mag: 10Rnd_338_Mag {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_338_Ball_API526";
- displayName = "$STR_ACE_10Rnd_338_API526_Mag_Name";
- displayNameShort = "$STR_ACE_10Rnd_338_API526_Mag_NameShort";
- descriptionShort = "$STR_ACE_10Rnd_338_API526_Mag_Description";
+ displayName = CSTRING(10Rnd_338_API526_Mag_Name);
+ displayNameShort = CSTRING(10Rnd_338_API526_Mag_NameShort);
+ descriptionShort = CSTRING(10Rnd_338_API526_Mag_Description);
initSpeed = 880;
};
@@ -252,25 +252,25 @@ class CfgMagazines {
class ACE_5Rnd_127x99_Mag: 5Rnd_127x108_Mag {
author = "$STR_ACE_Common_ACETeam";
ammo = "B_127x99_Ball";
- displayName = "$STR_ACE_5Rnd_127x99_Mag_Name";
- displayNameShort = "$STR_ACE_5Rnd_127x99_Mag_NameShort";
- descriptionShort = "$STR_ACE_5Rnd_127x99_Mag_Description";
+ displayName = CSTRING(5Rnd_127x99_Mag_Name);
+ displayNameShort = CSTRING(5Rnd_127x99_Mag_NameShort);
+ descriptionShort = CSTRING(5Rnd_127x99_Mag_Description);
initSpeed = 900;
};
class ACE_5Rnd_127x99_API_Mag: 5Rnd_127x108_Mag {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_127x99_API";
- displayName = "$STR_ACE_5Rnd_127x99_API_Mag_Name";
- displayNameShort = "$STR_ACE_5Rnd_127x99_API_Mag_NameShort";
- descriptionShort = "$STR_ACE_5Rnd_127x99_API_Mag_Description";
+ displayName = CSTRING(5Rnd_127x99_API_Mag_Name);
+ displayNameShort = CSTRING(5Rnd_127x99_API_Mag_NameShort);
+ descriptionShort = CSTRING(5Rnd_127x99_API_Mag_Description);
initSpeed = 900;
};
class ACE_5Rnd_127x99_AMAX_Mag: 5Rnd_127x108_Mag {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_127x99_Ball_AMAX";
- displayName = "$STR_ACE_5Rnd_127x99_AMAX_Mag_Name";
- displayNameShort = "$STR_ACE_5Rnd_127x99_AMAX_Mag_NameShort";
- descriptionShort = "$STR_ACE_5Rnd_127x99_AMAX_Mag_Description";
+ displayName = CSTRING(5Rnd_127x99_AMAX_Mag_Name);
+ displayNameShort = CSTRING(5Rnd_127x99_AMAX_Mag_NameShort);
+ descriptionShort = CSTRING(5Rnd_127x99_AMAX_Mag_Description);
initSpeed = 860;
};
@@ -281,9 +281,9 @@ class CfgMagazines {
class ACE_30Rnd_9x19_mag: 30Rnd_9x21_Mag {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_9x19_Ball";
- displayName = "$STR_ACE_30Rnd_9x19_mag_Name";
- displayNameShort = "$STR_ACE_30Rnd_9x19_mag_NameShort";
- descriptionShort = "$STR_ACE_30Rnd_9x19_mag_Description";
+ displayName = CSTRING(30Rnd_9x19_mag_Name);
+ displayNameShort = CSTRING(30Rnd_9x19_mag_NameShort);
+ descriptionShort = CSTRING(30Rnd_9x19_mag_Description);
initSpeed = 370;
};
@@ -313,9 +313,9 @@ class CfgMagazines {
class ACE_16Rnd_9x19_mag: 16Rnd_9x21_Mag {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_9x19_Ball";
- displayName = "$STR_ACE_16Rnd_9x19_mag_Name";
- displayNameShort = "$STR_ACE_16Rnd_9x19_mag_NameShort";
- descriptionShort = "$STR_ACE_16Rnd_9x19_mag_Description";
+ displayName = CSTRING(16Rnd_9x19_mag_Name);
+ displayNameShort = CSTRING(16Rnd_9x19_mag_NameShort);
+ descriptionShort = CSTRING(16Rnd_9x19_mag_Description);
initSpeed = 370;
};
@@ -325,9 +325,9 @@ class CfgMagazines {
class ACE_10Rnd_762x54_Tracer_mag: 10Rnd_762x54_Mag {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x54_Ball_7T2";
- displayName = "$STR_ACE_10Rnd_762x54_Tracer_mag_Name";
- displayNameShort = "$STR_ACE_10Rnd_762x54_Tracer_mag_NameShort";
- descriptionShort = "$STR_ACE_10Rnd_762x54_Tracer_mag_Description";
+ displayName = CSTRING(10Rnd_762x54_Tracer_mag_Name);
+ displayNameShort = CSTRING(10Rnd_762x54_Tracer_mag_NameShort);
+ descriptionShort = CSTRING(10Rnd_762x54_Tracer_mag_Description);
initSpeed = 800;
tracersEvery = 1;
};
diff --git a/addons/ballistics/CfgVehicles.hpp b/addons/ballistics/CfgVehicles.hpp
index 0ad697d91e..c5bbb46a11 100644
--- a/addons/ballistics/CfgVehicles.hpp
+++ b/addons/ballistics/CfgVehicles.hpp
@@ -190,7 +190,7 @@ class CfgVehicles {
class ACE_Box_Ammo: NATO_Box_Base {
scope = 2;
accuracy = 1000;
- displayName = "$STR_ACE_AmmoSupplyCrate_DisplayName";
+ displayName = CSTRING(AmmoSupplyCrate_DisplayName);
model = "\A3\weapons_F\AmmoBoxes\AmmoBox_F";
author = "$STR_ACE_Common_ACETeam";
class TransportMagazines {
diff --git a/addons/captives/CfgVehicles.hpp b/addons/captives/CfgVehicles.hpp
index 91c47824fd..e0fff7c06c 100644
--- a/addons/captives/CfgVehicles.hpp
+++ b/addons/captives/CfgVehicles.hpp
@@ -4,7 +4,7 @@ class CfgVehicles {
class ACE_Actions {
class ACE_ApplyHandcuffs {
- displayName = "$STR_ACE_Captives_SetCaptive";
+ displayName = CSTRING(SetCaptive);
selection = "righthand";
distance = 2;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canApplyHandcuffs));
@@ -13,7 +13,7 @@ class CfgVehicles {
icon = QUOTE(PATHTOF(UI\handcuff_ca.paa));
};
class ACE_RemoveHandcuffs {
- displayName = "$STR_ACE_Captives_ReleaseCaptive";
+ displayName = CSTRING(ReleaseCaptive);
selection = "righthand";
distance = 2;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canRemoveHandcuffs));
@@ -24,7 +24,7 @@ class CfgVehicles {
class ACE_MainActions {
class ACE_EscortCaptive {
- displayName = "$STR_ACE_Captives_EscortCaptive";
+ displayName = CSTRING(EscortCaptive);
distance = 4;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canEscortCaptive));
statement = QUOTE([ARR_3(_player, _target, true)] call FUNC(doEscortCaptive));
@@ -35,7 +35,7 @@ class CfgVehicles {
hotkey = "E";
};
class ACE_StopEscorting {
- displayName = "$STR_ACE_Captives_StopEscorting";
+ displayName = CSTRING(StopEscorting);
distance = 4;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canStopEscorting));
statement = QUOTE([ARR_3(_player,_target, false)] call FUNC(doEscortCaptive));
@@ -46,7 +46,7 @@ class CfgVehicles {
hotkey = "E";
};
class ACE_LoadCaptive {
- displayName = "$STR_ACE_Captives_LoadCaptive";
+ displayName = CSTRING(LoadCaptive);
distance = 4;
condition = QUOTE([ARR_3(_player, _target, objNull)] call FUNC(canLoadCaptive));
statement = QUOTE([ARR_3(_player, _target, objNull)] call FUNC(doLoadCaptive));
@@ -57,7 +57,7 @@ class CfgVehicles {
hotkey = "L";
};
class ACE_FriskPerson {
- displayName = "$STR_ACE_Captives_FriskPerson";
+ displayName = CSTRING(FriskPerson);
distance = 2;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canFriskPerson));
statement = QUOTE([ARR_2(_player, _target)] call FUNC(doFriskPerson));
@@ -71,7 +71,7 @@ class CfgVehicles {
class ACE_SelfActions {
class ACE_StopEscortingSelf {
- displayName = "$STR_ACE_Captives_StopEscorting";
+ displayName = CSTRING(StopEscorting);
condition = QUOTE([ARR_2(_player, objNull)] call FUNC(canStopEscorting));
statement = QUOTE([ARR_3(_player,objNull, false)] call FUNC(doEscortCaptive));
exceptions[] = {"isNotEscorting"};
@@ -80,7 +80,7 @@ class CfgVehicles {
hotkey = "C";
};
class ACE_StartSurrenderingSelf {
- displayName = "$STR_ACE_Captives_StartSurrendering";
+ displayName = CSTRING(StartSurrendering);
condition = QUOTE([ARR_2(_player, true)] call FUNC(canSurrender));
statement = QUOTE([ARR_2(_player, true)] call FUNC(setSurrendered));
exceptions[] = {};
@@ -88,7 +88,7 @@ class CfgVehicles {
priority = 0;
};
class ACE_StopSurrenderingSelf {
- displayName = "$STR_ACE_Captives_StopSurrendering";
+ displayName = CSTRING(StopSurrendering);
condition = QUOTE([ARR_2(_player, false)] call FUNC(canSurrender));
statement = QUOTE([ARR_2(_player, false)] call FUNC(setSurrendered));
exceptions[] = {"isNotSurrendering"};
@@ -102,7 +102,7 @@ class CfgVehicles {
class ACE_Actions { \
class ACE_MainActions { \
class GVAR(LoadCaptive) { \
- displayName = "$STR_ACE_Captives_LoadCaptive"; \
+ displayName = CSTRING(LoadCaptive); \
distance = 4; \
condition = QUOTE([ARR_3(_player, objNull, _target)] call FUNC(canLoadCaptive)); \
statement = QUOTE([ARR_3(_player, objNull, _target)] call FUNC(doLoadCaptive)); \
@@ -110,7 +110,7 @@ class CfgVehicles {
priority = 1.2; \
}; \
class GVAR(UnloadCaptive) { \
- displayName = "$STR_ACE_Captives_UnloadCaptive"; \
+ displayName = CSTRING(UnloadCaptive); \
distance = 4; \
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canUnloadCaptive)); \
statement = QUOTE([ARR_2(_player, _target)] call FUNC(doUnloadCaptive)); \
@@ -161,7 +161,7 @@ class CfgVehicles {
class GVAR(ModuleSurrender): Module_F {
author = "$STR_ACE_Common_ACETeam";
category = "ACE";
- displayName = "$STR_ACE_Captives_ModuleSurrender_DisplayName"; //Make Unit Surrender
+ displayName = CSTRING(ModuleSurrender_DisplayName); //Make Unit Surrender
function = QUOTE(DFUNC(moduleSurrender));
scope = 2; //show in editor
scopeCurator = 2; //show in zeus
@@ -172,7 +172,7 @@ class CfgVehicles {
functionPriority = 0;
class Arguments {};
class ModuleDescription: ModuleDescription {
- description = "$STR_ACE_Captives_ModuleSurrender_Description"; //Sync a unit to make them surrender.
Source: ace_captives
+ description = CSTRING(ModuleSurrender_Description); //Sync a unit to make them surrender.
Source: ace_captives
sync[] = {"AnyAI"};
};
};
diff --git a/addons/captives/CfgWeapons.hpp b/addons/captives/CfgWeapons.hpp
index be2149ca88..7092962519 100644
--- a/addons/captives/CfgWeapons.hpp
+++ b/addons/captives/CfgWeapons.hpp
@@ -3,8 +3,8 @@ class CfgWeapons {
class InventoryItem_Base_F;
class ACE_CableTie: ACE_ItemCore {
- displayName = "$STR_ACE_Captives_CableTie";
- descriptionShort = "$STR_ACE_Captives_CableTieDescription";
+ displayName = CSTRING(CableTie);
+ descriptionShort = CSTRING(CableTieDescription);
model = QUOTE(PATHTOF(models\ace_cabletie.p3d));
picture = QUOTE(PATHTOF(UI\ace_cabletie_ca.paa));
scope = 2;
diff --git a/addons/captives/functions/fnc_doEscortCaptive.sqf b/addons/captives/functions/fnc_doEscortCaptive.sqf
index b8758065d8..e7047c1cca 100644
--- a/addons/captives/functions/fnc_doEscortCaptive.sqf
+++ b/addons/captives/functions/fnc_doEscortCaptive.sqf
@@ -30,7 +30,7 @@ if (_state) then {
_unit setVariable [QGVAR(escortedUnit), _target, true];
//Add Actionmenu to release captive
- _actionID = _unit addAction [format ["%1", localize "STR_ACE_Captives_StopEscorting"],
+ _actionID = _unit addAction [format ["%1", localize STRING(StopEscorting)],
{[(_this select 0), ((_this select 0) getVariable [QGVAR(escortedUnit), objNull]), false] call FUNC(doEscortCaptive);},
nil, 20, false, true, "", QUOTE(!isNull (GETVAR(_target,QGVAR(escortedUnit),objNull)))];
diff --git a/addons/captives/functions/fnc_doFriskPerson.sqf b/addons/captives/functions/fnc_doFriskPerson.sqf
index dd7cc3c675..ac3f9e57db 100644
--- a/addons/captives/functions/fnc_doFriskPerson.sqf
+++ b/addons/captives/functions/fnc_doFriskPerson.sqf
@@ -27,7 +27,7 @@ if (_weapon == primaryWeapon _player && {_weapon != ""}) then {
_listedItemClasses = [];
-_actions = [localize "STR_ACE_Captives_FriskMenuHeader", ""] call ACE_Interaction_fnc_prepareSelectMenu;
+_actions = [localize STRING(FriskMenuHeader), ""] call ACE_Interaction_fnc_prepareSelectMenu;
_allGear = [];
diff --git a/addons/captives/functions/fnc_moduleSurrender.sqf b/addons/captives/functions/fnc_moduleSurrender.sqf
index bf0e04cd6a..94bcb7da45 100644
--- a/addons/captives/functions/fnc_moduleSurrender.sqf
+++ b/addons/captives/functions/fnc_moduleSurrender.sqf
@@ -36,13 +36,13 @@ if (local _logic) then {
["SetSurrendered", [_mouseOverObject], [_mouseOverObject, false]] call EFUNC(common,targetEvent);
};
} else {
- ["STR_ACE_Captives_Zeus_OnlyAlive"] call EFUNC(common,displayTextStructured);
+ [STRING(Zeus_OnlyAlive)] call EFUNC(common,displayTextStructured);
};
} else {
- ["STR_ACE_Captives_Zeus_OnlyInfantry"] call EFUNC(common,displayTextStructured);
+ [STRING(Zeus_OnlyInfantry)] call EFUNC(common,displayTextStructured);
};
} else {
- ["STR_ACE_Captives_Zeus_NothingSelected"] call EFUNC(common,displayTextStructured);
+ [STRING(Zeus_NothingSelected)] call EFUNC(common,displayTextStructured);
};
} else {
//an editor module
diff --git a/addons/common/CfgUnitInsignia.hpp b/addons/common/CfgUnitInsignia.hpp
index aba82823c9..c1cd541e9c 100644
--- a/addons/common/CfgUnitInsignia.hpp
+++ b/addons/common/CfgUnitInsignia.hpp
@@ -2,13 +2,13 @@
class CfgUnitInsignia {
class ACE_insignia_logo {
displayName = "ACE3";
- author = "$STR_ACE_Common_ACETeam";
+ author = CSTRING(ACETeam);
texture = PATHTOF(data\Insignia_ace3logo_ca.paa);
textureVehicle = "";
};
class ACE_insignia_banana {
displayName = "ABE3";
- author = "$STR_ACE_Common_ACETeam";
+ author = CSTRING(ACETeam);
texture = PATHTOF(data\insignia_banana_ca.paa);
textureVehicle = "";
};
diff --git a/addons/common/CfgVehicles.hpp b/addons/common/CfgVehicles.hpp
index 1adf622494..5444566ad1 100644
--- a/addons/common/CfgVehicles.hpp
+++ b/addons/common/CfgVehicles.hpp
@@ -30,42 +30,42 @@ class CfgVehicles {
class ModuleDescription {};
};
class ACE_ModuleCheckPBOs: Module_F {
- author = "$STR_ACE_Common_ACETeam";
+ author = CSTRING(ACETeam);
category = "ACE";
- displayName = "$STR_ACE_Common_CheckPBO_DisplayName";
+ displayName = CSTRING(CheckPBO_DisplayName);
function = QFUNC(moduleCheckPBOs);
scope = 2;
isGlobal = 1;
icon = QUOTE(PATHTOF(UI\Icon_Module_CheckPBO_ca.paa));
class Arguments {
class Action {
- displayName = "$STR_ACE_Common_CheckPBO_Action_DisplayName";
- description = "$STR_ACE_Common_CheckPBO_Action_Description";
+ displayName = CSTRING(CheckPBO_Action_DisplayName);
+ description = CSTRING(CheckPBO_Action_Description);
class values {
class WarnOnce {
default = 1;
- name = "$STR_ACE_Common_CheckPBO_Action_WarnOnce";
+ name = CSTRING(CheckPBO_Action_WarnOnce);
value = 0;
};
class Warn {
- name = "$STR_ACE_Common_CheckPBO_Action_WarnPerm";
+ name = CSTRING(CheckPBO_Action_WarnPerm);
value = 1;
};
class Kick {
- name = "$STR_ACE_Common_CheckPBO_Action_Kick";
+ name = CSTRING(CheckPBO_Action_Kick);
value = 2;
};
};
};
class CheckAll {
- displayName = "$STR_ACE_Common_CheckPBO_CheckAll_DisplayName";
- description = "$STR_ACE_Common_CheckPBO_CheckAll_Description";
+ displayName = CSTRING(CheckPBO_CheckAll_DisplayName);
+ description = CSTRING(CheckPBO_CheckAll_Description);
typeName = "BOOL";
defaultValue = 0;
};
class Whitelist {
- displayName = "$STR_ACE_Common_CheckPBO_Whitelist_DisplayName";
- description = "$STR_ACE_Common_CheckPBO_Whitelist_Description";
+ displayName = CSTRING(CheckPBO_Whitelist_DisplayName);
+ description = CSTRING(CheckPBO_Whitelist_Description);
typeName = "STRING";
class values {
default = "[]";
@@ -73,14 +73,14 @@ class CfgVehicles {
};
};
class ModuleDescription: ModuleDescription {
- description = "$STR_ACE_Common_CheckPBO_Description";
+ description = CSTRING(CheckPBO_Description);
};
};
class ACE_ModuleLSDVehicles: Module_F {
- author = "$STR_ACE_Common_ACETeam";
+ author = CSTRING(ACETeam);
category = "ACE";
- displayName = "$STR_ACE_Common_LSDVehicles_DisplayName";
+ displayName = CSTRING(LSDVehicles_DisplayName);
function = "ACE_Common_fnc_moduleLSDVehicles";
scope = 2;
icon = QUOTE(PATHTOF(UI\Icon_Module_LSD_ca.paa));
@@ -88,15 +88,15 @@ class CfgVehicles {
class Arguments {
};
class ModuleDescription: ModuleDescription {
- description = "$STR_ACE_Common_LSDVehicles_Description";
+ description = CSTRING(LSDVehicles_Description);
sync[] = {"AnyVehicle"};
};
};
class Box_NATO_Support_F;
class ACE_Box_Misc: Box_NATO_Support_F {
- author = "$STR_ACE_Common_ACETeam";
- displayName = "$STR_ACE_Common_MiscItems";
+ author = CSTRING(ACETeam);
+ displayName = CSTRING(MiscItems);
transportMaxWeapons = 9001;
transportMaxMagazines = 9001;
transportMaxItems = 9001;
@@ -112,8 +112,8 @@ class CfgVehicles {
class ACE_bananaItem: Item_Base_F {
scope = 2;
scopeCurator = 2;
- displayName = "$STR_ACE_Common_bananaDisplayName";
- author = "$STR_ACE_Common_ACETeam";
+ displayName = CSTRING(bananaDisplayName);
+ author = CSTRING(ACETeam);
vehicleClass = "Items";
class TransportItems
{
diff --git a/addons/common/CfgVoice.hpp b/addons/common/CfgVoice.hpp
index 1fb0f5d2b6..22e0bd7066 100644
--- a/addons/common/CfgVoice.hpp
+++ b/addons/common/CfgVoice.hpp
@@ -209,7 +209,7 @@ class ACE_RadioProtocolNoRadio: RadioProtocolBase {
class CfgVoice {
class ACE_NoVoice {
- author = "$STR_ACE_Common_ACETeam";
+ author = CSTRING(ACETeam);
protocol = "ACE_RadioProtocolNoRadio";
variants[] = {1};
directories[] = {"",""};
@@ -217,13 +217,13 @@ class CfgVoice {
scope = 2;
voiceType = "";
icon = "\a3\Ui_f\data\Map\Markers\Flags\nato_ca.paa";
- displayName = "$STR_ACE_Common_NoVoice";
+ displayName = CSTRING(NoVoice);
};
};
class CfgVoiceTypes {
class ACE_NoVoice {
- name = "$STR_ACE_Common_NoVoice";
+ name = CSTRING(NoVoice);
voices[] = {"ACE_NoVoice","ACE_NoVoice","ACE_NoVoice"};
preview = "ACE_NoVoice";
alternative = "";
diff --git a/addons/common/CfgWeapons.hpp b/addons/common/CfgWeapons.hpp
index 59bb8f6b9a..aa905bb3e6 100644
--- a/addons/common/CfgWeapons.hpp
+++ b/addons/common/CfgWeapons.hpp
@@ -30,10 +30,10 @@ class CfgWeapons {
class InventoryItem_Base_F;
class ACE_Banana: ACE_ItemCore {
- author = "$STR_ACE_Common_ACETeam";
+ author = CSTRING(ACETeam);
scope = 2;
- displayName = "$STR_ACE_Common_bananaDisplayName";
- descriptionShort = "$STR_ACE_Common_bananaDescr";
+ displayName = CSTRING(bananaDisplayName);
+ descriptionShort = CSTRING(bananaDescr);
model = PATHTOF(data\banana.p3d);
picture = PATHTOF(data\icon_banana_ca.paa);
icon = "iconObject_circle";
diff --git a/addons/common/config.cpp b/addons/common/config.cpp
index 3f1e5a6308..7a53c787a6 100644
--- a/addons/common/config.cpp
+++ b/addons/common/config.cpp
@@ -74,10 +74,10 @@ class ACE_Settings {
*
* The following settings only apply when isClientSettable == 1
* Stringtable entry with the setting name
- * displayName = "$STR_ACE_Common_SettingName";
+ * displayName = CSTRING(SettingName);
*
* Stringtable entry with the setting description
- * description = "$STR_ACE_Common_SettingDescription";
+ * description = CSTRING(SettingDescription);
*
* Stringtable entries that describe the options
* Only applies if typeName == "SCALAR";
@@ -92,15 +92,15 @@ class ACE_Settings {
value = 1;
typeName = "BOOL";
isClientSettable = 1;
- displayName = "$STR_ACE_Common_EnableNumberHotkeys";
+ displayName = CSTRING(EnableNumberHotkeys);
};*/
class GVAR(settingFeedbackIcons) {
value = 1;
typeName = "SCALAR";
force = 0;
isClientSettable = 1;
- displayName = "$STR_ACE_Common_SettingFeedbackIconsName";
- description = "$STR_ACE_Common_SettingFeedbackIconsDesc";
+ displayName = CSTRING(SettingFeedbackIconsName);
+ description = CSTRING(SettingFeedbackIconsDesc);
values[] = {"$STR_ACE_Common_Hide", "$STR_ACE_Common_TopRightDown", "$STR_ACE_Common_TopRightLeft", "$STR_ACE_Common_TopLeftDown", "$STR_ACE_Common_TopLeftRight"};
};
class GVAR(SettingProgressBarLocation) {
@@ -108,23 +108,23 @@ class ACE_Settings {
typeName = "SCALAR";
force = 0;
isClientSettable = 1;
- displayName = "$STR_ACE_Common_SettingProgressbarLocationName";
- description = "$STR_ACE_Common_SettingProgressbarLocationDesc";
+ displayName = CSTRING(SettingProgressbarLocationName);
+ description = CSTRING(SettingProgressbarLocationDesc);
values[] = {"$STR_ACE_Common_Top", "$STR_ACE_Common_Bottom"};
};
class GVAR(displayTextColor) {
value[] = {0,0,0,0.1};
typeName = "COLOR";
isClientSettable = 1;
- displayName = "$STR_ACE_Common_SettingDisplayTextColorName";
- description = "$STR_ACE_Common_SettingDisplayTextColorDesc";
+ displayName = CSTRING(SettingDisplayTextColorName);
+ description = CSTRING(SettingDisplayTextColorDesc);
};
class GVAR(displayTextFontColor) {
value[] = {1,1,1,1};
typeName = "COLOR";
isClientSettable = 1;
- displayName = "$STR_ACE_Common_SettingDisplayTextFontColorName";
- description = "$STR_ACE_Common_SettingDisplayTextFontColorDesc";
+ displayName = CSTRING(SettingDisplayTextFontColorName);
+ description = CSTRING(SettingDisplayTextFontColorDesc);
};
};
diff --git a/addons/disarming/CfgVehicles.hpp b/addons/disarming/CfgVehicles.hpp
index 381aaed93e..b4a1a4c7dd 100644
--- a/addons/disarming/CfgVehicles.hpp
+++ b/addons/disarming/CfgVehicles.hpp
@@ -4,7 +4,7 @@ class CfgVehicles {
class ACE_Actions {
class ACE_MainActions {
class ACE_DisarmInventory {
- displayName = "$STR_ACE_Disarming_OpenInventory";
+ displayName = CSTRING(OpenInventory);
distance = 3.5;
condition = QUOTE([ARR_2(_player,_target)] call FUNC(canPlayerDisarmUnit));
statement = QUOTE([ARR_2(_player,_target)] call FUNC(openDisarmDialog));
diff --git a/addons/disposable/CfgMagazines.hpp b/addons/disposable/CfgMagazines.hpp
index 6265c06f50..5e2c926514 100644
--- a/addons/disposable/CfgMagazines.hpp
+++ b/addons/disposable/CfgMagazines.hpp
@@ -4,7 +4,7 @@ class CfgMagazines {
author = "$STR_ACE_Common_ACETeam";
scope = 1;
scopeArsenal = 1;
- displayName = "$STR_ACE_Disposable_PreloadedMissileDummy";
+ displayName = CSTRING(PreloadedMissileDummy);
picture = PATHTOEF(common,UI\blank_CO.paa);
weaponPoolAvailable = 0;
mass = 0;
@@ -14,8 +14,8 @@ class CfgMagazines {
};
class ACE_UsedTube_F: NLAW_F {
author = "$STR_ACE_Common_ACETeam";
- displayName = "$STR_ACE_Disposable_UsedTube";
- descriptionShort = "$STR_ACE_Disposable_UsedTubeDescription";
+ displayName = CSTRING(UsedTube);
+ descriptionShort = CSTRING(UsedTubeDescription);
displayNameShort = "-";
count = 0;
weaponPoolAvailable = 0;
diff --git a/addons/disposable/CfgWeapons.hpp b/addons/disposable/CfgWeapons.hpp
index 965d97521c..724658dcc0 100644
--- a/addons/disposable/CfgWeapons.hpp
+++ b/addons/disposable/CfgWeapons.hpp
@@ -8,8 +8,8 @@ class CfgWeapons {
scope = 1;
ACE_isUsedLauncher = 1;
author = "$STR_ACE_Common_ACETeam";
- displayName = "$STR_ACE_Disposable_UsedTube";
- descriptionShort = "$STR_ACE_Disposable_UsedTubeDescription";
+ displayName = CSTRING(UsedTube);
+ descriptionShort = CSTRING(UsedTubeDescription);
magazines[] = {"ACE_FiredMissileDummy"}; // This will disable the used launcher class from being fired again.
//picture = ""; @todo
//model = ""; @todo
diff --git a/addons/dragging/functions/fnc_carryObject.sqf b/addons/dragging/functions/fnc_carryObject.sqf
index ee72dc9aa7..197e1cf274 100644
--- a/addons/dragging/functions/fnc_carryObject.sqf
+++ b/addons/dragging/functions/fnc_carryObject.sqf
@@ -58,7 +58,7 @@ if (_actionID != -1) then {
};
_actionID = _unit addAction [
- format ["%1", localize "STR_ACE_Dragging_Drop"],
+ format ["%1", localize STRING(Drop)],
QUOTE([ARR_2(_this select 0, (_this select 0) getVariable [ARR_2(QUOTE(QGVAR(carriedObject)),objNull)])] call FUNC(dropObject_carry)),
nil,
20,
diff --git a/addons/dragging/functions/fnc_dragObject.sqf b/addons/dragging/functions/fnc_dragObject.sqf
index 35f8687ed0..a8b99ab874 100644
--- a/addons/dragging/functions/fnc_dragObject.sqf
+++ b/addons/dragging/functions/fnc_dragObject.sqf
@@ -49,7 +49,7 @@ if (_actionID != -1) then {
};
_actionID = _unit addAction [
- format ["%1", localize "STR_ACE_Dragging_Drop"],
+ format ["%1", localize STRING(Drop)],
QUOTE([ARR_2(_this select 0, (_this select 0) getVariable [ARR_2(QUOTE(QGVAR(draggedObject)),objNull)])] call FUNC(dropObject)),
nil,
20,
diff --git a/addons/dragging/functions/fnc_setCarryable.sqf b/addons/dragging/functions/fnc_setCarryable.sqf
index 2a10ca4897..439dc1c10b 100644
--- a/addons/dragging/functions/fnc_setCarryable.sqf
+++ b/addons/dragging/functions/fnc_setCarryable.sqf
@@ -49,8 +49,8 @@ if (_type in _initializedClasses) exitWith {};
_initializedClasses pushBack _type;
GVAR(initializedClasses_carry) = _initializedClasses;
-_carryAction = [QGVAR(carry), localize "STR_ACE_Dragging_Carry", "", {[_player, _target] call FUNC(startCarry)}, {[_player, _target] call FUNC(canCarry)}] call EFUNC(interact_menu,createAction);
-_dropAction = [QGVAR(drop_carry), localize "STR_ACE_Dragging_Drop", "", {[_player, _target] call FUNC(dropObject_carry)}, {[_player, _target] call FUNC(canDrop_carry)}] call EFUNC(interact_menu,createAction);
+_carryAction = [QGVAR(carry), localize STRING(Carry), "", {[_player, _target] call FUNC(startCarry)}, {[_player, _target] call FUNC(canCarry)}] call EFUNC(interact_menu,createAction);
+_dropAction = [QGVAR(drop_carry), localize STRING(Drop), "", {[_player, _target] call FUNC(dropObject_carry)}, {[_player, _target] call FUNC(canDrop_carry)}] call EFUNC(interact_menu,createAction);
[_type, 0, ["ACE_MainActions"], _carryAction] call EFUNC(interact_menu,addActionToClass);
[_type, 0, [], _dropAction] call EFUNC(interact_menu,addActionToClass);
diff --git a/addons/dragging/functions/fnc_setDraggable.sqf b/addons/dragging/functions/fnc_setDraggable.sqf
index 5a42f4e439..5e9ba7cf3f 100644
--- a/addons/dragging/functions/fnc_setDraggable.sqf
+++ b/addons/dragging/functions/fnc_setDraggable.sqf
@@ -49,8 +49,8 @@ if (_type in _initializedClasses) exitWith {};
_initializedClasses pushBack _type;
GVAR(initializedClasses) = _initializedClasses;
-_dragAction = [QGVAR(drag), localize "STR_ACE_Dragging_Drag", "", {[_player, _target] call FUNC(startDrag)}, {[_player, _target] call FUNC(canDrag)}] call EFUNC(interact_menu,createAction);
-_dropAction = [QGVAR(drop), localize "STR_ACE_Dragging_Drop", "", {[_player, _target] call FUNC(dropObject)}, {[_player, _target] call FUNC(canDrop)}] call EFUNC(interact_menu,createAction);
+_dragAction = [QGVAR(drag), localize STRING(Drag), "", {[_player, _target] call FUNC(startDrag)}, {[_player, _target] call FUNC(canDrag)}] call EFUNC(interact_menu,createAction);
+_dropAction = [QGVAR(drop), localize STRING(Drop), "", {[_player, _target] call FUNC(dropObject)}, {[_player, _target] call FUNC(canDrop)}] call EFUNC(interact_menu,createAction);
[_type, 0, ["ACE_MainActions"], _dragAction] call EFUNC(interact_menu,addActionToClass);
[_type, 0, [], _dropAction] call EFUNC(interact_menu,addActionToClass);
diff --git a/addons/dragging/functions/fnc_startCarry.sqf b/addons/dragging/functions/fnc_startCarry.sqf
index f5d543c959..c259213a53 100644
--- a/addons/dragging/functions/fnc_startCarry.sqf
+++ b/addons/dragging/functions/fnc_startCarry.sqf
@@ -22,7 +22,7 @@ private "_weight";
_weight = [_target] call FUNC(getWeight);
if (_weight > GETMVAR(ACE_maxWeightCarry,1E11)) exitWith {
- [localize "STR_ACE_Dragging_UnableToDrag"] call EFUNC(common,displayTextStructured);
+ [localize STRING(UnableToDrag)] call EFUNC(common,displayTextStructured);
};
private "_timer";
diff --git a/addons/dragging/functions/fnc_startDrag.sqf b/addons/dragging/functions/fnc_startDrag.sqf
index 6ce3b73a5f..81ae9a34dc 100644
--- a/addons/dragging/functions/fnc_startDrag.sqf
+++ b/addons/dragging/functions/fnc_startDrag.sqf
@@ -22,7 +22,7 @@ private "_weight";
_weight = [_target] call FUNC(getWeight);
if (_weight > GETMVAR(ACE_maxWeightDrag,1E11)) exitWith {
- [localize "STR_ACE_Dragging_UnableToDrag"] call EFUNC(common,displayTextStructured);
+ [localize STRING(UnableToDrag)] call EFUNC(common,displayTextStructured);
};
// add a primary weapon if the unit has none.
diff --git a/addons/explosives/CfgModule.hpp b/addons/explosives/CfgModule.hpp
index 52f70ea3af..1e1f9bd62e 100644
--- a/addons/explosives/CfgModule.hpp
+++ b/addons/explosives/CfgModule.hpp
@@ -5,26 +5,26 @@ class Module_F: Logic {
class ACE_ModuleExplosive: Module_F {
author = "$STR_ACE_Common_ACETeam";
category = "ACE";
- displayName = "$STR_ACE_Explosive_Module_DisplayName";
+ displayName = CSTRING(Module_DisplayName);
function = QUOTE(FUNC(module));
scope = 2;
isGlobal = 1;
icon = PATHTOF(UI\Icon_Module_Explosives_ca.paa);
class Arguments {
class RequireSpecialist {
- displayName = "$STR_ACE_Explosive_RequireSpecialist_DisplayName";
- description = "$STR_ACE_Explosive_RequireSpecialist_Description";
+ displayName = CSTRING(RequireSpecialist_DisplayName);
+ description = CSTRING(RequireSpecialist_Description);
typeName = "BOOL";
defaultValue = 0;
};
class PunishNonSpecialists {
- displayName = "$STR_ACE_Explosive_PunishNonSpecialists_DisplayName";
- description = "$STR_ACE_Explosive_PunishNonSpecialists_Description";
+ displayName = CSTRING(PunishNonSpecialists_DisplayName);
+ description = CSTRING(PunishNonSpecialists_Description);
typeName = "BOOL";
defaultValue = 1;
};
};
class ModuleDescription: ModuleDescription {
- description = "$STR_ACE_Explosive_Module_Description";
+ description = CSTRING(Module_Description);
};
};
\ No newline at end of file
diff --git a/addons/explosives/CfgVehicles.hpp b/addons/explosives/CfgVehicles.hpp
index 30e1ff151d..3cc63fb36a 100644
--- a/addons/explosives/CfgVehicles.hpp
+++ b/addons/explosives/CfgVehicles.hpp
@@ -97,7 +97,7 @@ class CfgVehicles {
condition = "true";
class ACE_SetTrigger {
selection = "";
- displayName = "$STR_ACE_Explosives_TriggerMenu";
+ displayName = CSTRING(TriggerMenu);
distance = 4;
condition = "true";
statement = "";
@@ -109,7 +109,7 @@ class CfgVehicles {
};
class ACE_PickUp {
selection = "";
- displayName = "$STR_ACE_Explosives_Pickup";
+ displayName = CSTRING(Pickup);
distance = 4;
condition = "true";
statement = QUOTE([ARR_2(_player,_target getVariable QUOTE(QGVAR(class)))] call EFUNC(common,addToInventory);deleteVehicle _target;);
diff --git a/addons/explosives/ExplosivesUI.hpp b/addons/explosives/ExplosivesUI.hpp
index 6871f95f92..46fe2e9f85 100644
--- a/addons/explosives/ExplosivesUI.hpp
+++ b/addons/explosives/ExplosivesUI.hpp
@@ -215,7 +215,7 @@ class Rsc_ACE_PhoneInterface {
y = 0.676 * safezoneH + safezoneY;
w = 0.0309375 * safezoneW;
h = 0.033 * safezoneH;
- tooltip = "$STR_ACE_Explosives_Phone_AddToSpeedDial";
+ tooltip = CSTRING(Phone_AddToSpeedDial);
action = QUOTE([ARR_2(ctrlText 1401,ctrlText 1400)] call FUNC(addToSpeedDial););
};
class clear: Rsc_ACE_HiddenButton {
@@ -224,7 +224,7 @@ class Rsc_ACE_PhoneInterface {
y = 0.445 * safezoneH + safezoneY;
w = 0.020625 * safezoneW;
h = 0.033 * safezoneH;
- tooltip = "$STR_ACE_Explosives_Clear";
+ tooltip = CSTRING(Clear);
action = QUOTE(ctrlSetText [ARR_2(1400,'')];[ctrlText 1401] call FUNC(removeFromSpeedDial);ctrlSetText [ARR_2(1401,'')];);
};
class dial: Rsc_ACE_HiddenButton {
@@ -233,7 +233,7 @@ class Rsc_ACE_PhoneInterface {
y = 0.445 * safezoneH + safezoneY;
w = 0.04125 * safezoneW;
h = 0.033 * safezoneH;
- tooltip = "$STR_ACE_Explosives_Phone_Dial";
+ tooltip = CSTRING(Phone_Dial);
action = QUOTE([ARR_2(ace_player,ctrlText 1400)] call FUNC(dialPhone););
};
class up: Rsc_ACE_HiddenButton {
@@ -242,7 +242,7 @@ class Rsc_ACE_PhoneInterface {
y = 0.445 * safezoneH + safezoneY;
w = 0.020625 * safezoneW;
h = 0.033 * safezoneH;
- tooltip = "$STR_ACE_Explosives_Phone_Up";
+ tooltip = CSTRING(Phone_Up);
action = QUOTE([true] call FUNC(setSpeedDial));
};
class down: Rsc_ACE_HiddenButton {
@@ -251,7 +251,7 @@ class Rsc_ACE_PhoneInterface {
y = 0.485 * safezoneH + safezoneY;
w = 0.020625 * safezoneW;
h = 0.033 * safezoneH;
- tooltip = "$STR_ACE_Explosives_Phone_Down";
+ tooltip = CSTRING(Phone_Down);
action = QUOTE([false] call FUNC(setSpeedDial));
};
class speedDial_Text: RscText {
diff --git a/addons/explosives/functions/fnc_addClacker.sqf b/addons/explosives/functions/fnc_addClacker.sqf
index b25c1e1bcd..14e8a41ba3 100644
--- a/addons/explosives/functions/fnc_addClacker.sqf
+++ b/addons/explosives/functions/fnc_addClacker.sqf
@@ -37,8 +37,8 @@ _config = ConfigFile >> "CfgMagazines" >> _magazineClass >> "ACE_Triggers" >> co
_clacker = _unit getVariable [QGVAR(Clackers), []];
GVAR(PlacedCount) = GVAR(PlacedCount) + 1;
-_clacker pushBack [_explosive, getNumber(_config >> "FuseTime"), format [localize "STR_ACE_Explosives_DetonateCode",
+_clacker pushBack [_explosive, getNumber(_config >> "FuseTime"), format [localize STRING(DetonateCode),
GVAR(PlacedCount)], _magazineClass, configName ((_this select 3) select (count (_this select 3) - 1))];
_unit setVariable [QGVAR(Clackers), _clacker, true];
-_unit sideChat format [localize "STR_ACE_Explosives_DetonateCode", GVAR(PlacedCount)];
+_unit sideChat format [localize STRING(DetonateCode), GVAR(PlacedCount)];
diff --git a/addons/explosives/functions/fnc_openTimerSetUI.sqf b/addons/explosives/functions/fnc_openTimerSetUI.sqf
index e37bef06e3..280dc55aaf 100644
--- a/addons/explosives/functions/fnc_openTimerSetUI.sqf
+++ b/addons/explosives/functions/fnc_openTimerSetUI.sqf
@@ -38,4 +38,4 @@ DFUNC(SetTimer) = {
buttonSetAction [8860, QUOTE(call DFUNC(SetTimer);)];
buttonSetAction [8855, QUOTE(closeDialog 0;)];
-ctrlSetText [8870, format[localize "STR_ACE_Explosives_TimerMenu",0, 30]];
+ctrlSetText [8870, format[localize STRING(TimerMenu),0, 30]];
diff --git a/addons/explosives/functions/fnc_setupExplosive.sqf b/addons/explosives/functions/fnc_setupExplosive.sqf
index a0aad3d1ab..d6840a28a1 100644
--- a/addons/explosives/functions/fnc_setupExplosive.sqf
+++ b/addons/explosives/functions/fnc_setupExplosive.sqf
@@ -41,8 +41,8 @@ GVAR(TweakedAngle) = 180;
};
}] call CALLSTACK(BIS_fnc_addStackedEventHandler);
-[localize "STR_ACE_Explosives_PlaceAction", localize "STR_ACE_Explosives_CancelAction",
- localize "STR_ACE_Explosives_ScrollAction"] call EFUNC(interaction,showMouseHint);
+[localize STRING(PlaceAction), localize STRING(CancelAction),
+ localize STRING(ScrollAction)] call EFUNC(interaction,showMouseHint);
_unit setVariable [QGVAR(Place), [_unit, "DefaultAction",
{GVAR(pfeh_running) AND !isNull (GVAR(Setup))}, {call FUNC(place_Approve);}] call EFUNC(common,AddActionEventHandler)];
_unit setVariable [QGVAR(Cancel), [_unit, "zoomtemp",
diff --git a/addons/explosives/functions/fnc_startDefuse.sqf b/addons/explosives/functions/fnc_startDefuse.sqf
index 11ca95f894..88fda230b1 100644
--- a/addons/explosives/functions/fnc_startDefuse.sqf
+++ b/addons/explosives/functions/fnc_startDefuse.sqf
@@ -59,6 +59,6 @@ if (ACE_player != _unit) then {
_isEOD = [_unit] call EFUNC(Common,isEOD);
_defuseTime = [_isEOD, _target] call _fnc_DefuseTime;
if (_isEOD || {!GVAR(RequireSpecialist)}) then {
- [_defuseTime, [_unit,_target], {(_this select 0) call FUNC(defuseExplosive)}, {}, (localize "STR_ACE_Explosives_DefusingExplosive")] call EFUNC(common,progressBar);
+ [_defuseTime, [_unit,_target], {(_this select 0) call FUNC(defuseExplosive)}, {}, (localize STRING(DefusingExplosive))] call EFUNC(common,progressBar);
};
};
diff --git a/addons/fcs/functions/fnc_keyUp.sqf b/addons/fcs/functions/fnc_keyUp.sqf
index 295137a6d3..601ea4afb5 100644
--- a/addons/fcs/functions/fnc_keyUp.sqf
+++ b/addons/fcs/functions/fnc_keyUp.sqf
@@ -208,5 +208,5 @@ if(_playSound) then {
};
if(_showHint) then {
- [format ["%1: %2", localize "STR_ACE_FCS_ZeroedTo", _distance]] call EFUNC(common,displayTextStructured);
+ [format ["%1: %2", localize STRING(ZeroedTo), _distance]] call EFUNC(common,displayTextStructured);
};
\ No newline at end of file
diff --git a/addons/fcs/functions/fnc_reset.sqf b/addons/fcs/functions/fnc_reset.sqf
index a23a759fa3..1940228311 100644
--- a/addons/fcs/functions/fnc_reset.sqf
+++ b/addons/fcs/functions/fnc_reset.sqf
@@ -22,4 +22,4 @@ _turret = _this select 1;
[_vehicle, format ["%1_%2", QGVAR(Elevation), _turret], 0] call EFUNC(common,setVariablePublic);
[_vehicle, format ["%1_%2", QGVAR(Azimuth), _turret], 0] call EFUNC(common,setVariablePublic);
-[localize "STR_ACE_FCS_HasBeenReset"] call EFUNC(common,displayTextStructured);
+[localize STRING(HasBeenReset)] call EFUNC(common,displayTextStructured);
diff --git a/addons/fcs/initKeybinds.sqf b/addons/fcs/initKeybinds.sqf
index 96482ddd1c..ef9c2f5731 100644
--- a/addons/fcs/initKeybinds.sqf
+++ b/addons/fcs/initKeybinds.sqf
@@ -1,6 +1,6 @@
// by commy2
-["ACE3 Vehicles", QGVAR(lazeTarget), localize "STR_ACE_FCS_LaseTarget",
+["ACE3 Vehicles", QGVAR(lazeTarget), localize STRING(LaseTarget),
{
// Conditions: canInteract
if !([ACE_player, vehicle ACE_player, []] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -30,7 +30,7 @@
},
[15, [false, false, false]], false] call cba_fnc_addKeybind; //Tab Key
-["ACE3 Vehicles", QGVAR(adjustRangeUp), localize "STR_ACE_FCS_AdjustRangeUp",
+["ACE3 Vehicles", QGVAR(adjustRangeUp), localize STRING(AdjustRangeUp),
{
// Conditions: canInteract
if !([ACE_player, vehicle ACE_player, []] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -44,7 +44,7 @@
{false},
[201, [false, false, false]], false] call cba_fnc_addKeybind; //PageUp Key
-["ACE3 Vehicles", QGVAR(adjustRangDown), localize "STR_ACE_FCS_AdjustRangeDown",
+["ACE3 Vehicles", QGVAR(adjustRangDown), localize STRING(AdjustRangeDown),
{
// Conditions: canInteract
if !([ACE_player, vehicle ACE_player, []] call EFUNC(common,canInteractWith)) exitWith {false};
diff --git a/addons/flashsuppressors/CfgWeapons.hpp b/addons/flashsuppressors/CfgWeapons.hpp
index c070ada18d..12ab5be2ab 100644
--- a/addons/flashsuppressors/CfgWeapons.hpp
+++ b/addons/flashsuppressors/CfgWeapons.hpp
@@ -239,7 +239,7 @@ class CfgWeapons {
mFact = 1;
tBody = 100;
scope = 2;
- displayName = "$STR_ACE_muzzle_mzls_H";
+ displayName = CSTRING(muzzle_mzls_H);
picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_h_ca.paa";
model = "\A3\weapons_f\acc\acca_mzls_H_F";
@@ -285,7 +285,7 @@ class CfgWeapons {
class ACE_muzzle_mzls_B: ACE_muzzle_mzls_H {
author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_muzzle_mzls_B";
- displayName = "$STR_ACE_muzzle_mzls_B";
+ displayName = CSTRING(muzzle_mzls_B);
picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_h_ca.paa";
model = "\A3\weapons_f\acc\acca_mzls_H_F";
@@ -331,7 +331,7 @@ class CfgWeapons {
class ACE_muzzle_mzls_L: ACE_muzzle_mzls_H {
author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_muzzle_mzls_L";
- displayName = "$STR_ACE_muzzle_mzls_L";
+ displayName = CSTRING(muzzle_mzls_L);
picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_l_ca.paa";
model = "\A3\weapons_f\acc\acca_mzls_l_F";
@@ -377,7 +377,7 @@ class CfgWeapons {
class ACE_muzzle_mzls_smg_01: ACE_muzzle_mzls_H {
author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_muzzle_mzls_smg_01";
- displayName = "$STR_ACE_muzzle_mzls_smg_01";
+ displayName = CSTRING(muzzle_mzls_smg_01);
picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_l_ca.paa";
model = "\A3\weapons_f\acc\acca_mzls_H_F"; //"\A3\weapons_f\acc\acca_mzls_smg_01_F";
@@ -423,7 +423,7 @@ class CfgWeapons {
class ACE_muzzle_mzls_smg_02: ACE_muzzle_mzls_H {
author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_muzzle_mzls_smg_02";
- displayName = "$STR_ACE_muzzle_mzls_smg_02";
+ displayName = CSTRING(muzzle_mzls_smg_02);
picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_l_ca.paa";
model = "\A3\weapons_f\acc\acca_mzls_H_F"; //"\A3\weapons_f\acc\acca_mzls_smg_01_F";
@@ -469,7 +469,7 @@ class CfgWeapons {
class ACE_muzzle_mzls_338: ACE_muzzle_mzls_H {
author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_muzzle_mzls_338";
- displayName = "$STR_ACE_muzzle_mzls_338";
+ displayName = CSTRING(muzzle_mzls_338);
picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_h_ca.paa";
model = "\A3\weapons_f\acc\acca_mzls_H_F";
@@ -515,7 +515,7 @@ class CfgWeapons {
class ACE_muzzle_mzls_93mmg: ACE_muzzle_mzls_H {
author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_muzzle_mzls_93mmg";
- displayName = "$STR_ACE_muzzle_mzls_93mmg";
+ displayName = CSTRING(muzzle_mzls_93mmg);
picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_h_ca.paa";
model = "\A3\weapons_f\acc\acca_mzls_H_F";
diff --git a/addons/frag/ACE_Settings.hpp b/addons/frag/ACE_Settings.hpp
index 5efba45057..84bba326f0 100644
--- a/addons/frag/ACE_Settings.hpp
+++ b/addons/frag/ACE_Settings.hpp
@@ -1,32 +1,32 @@
class ACE_Settings {
class GVAR(Enabled) {
- displayName = "$STR_ACE_frag_EnableFrag";
- description = "$STR_ACE_frag_EnableFrag_Desc";
+ displayName = CSTRING(EnableFrag);
+ description = CSTRING(EnableFrag_Desc);
typeName = "BOOL";
value = 1;
};
class GVAR(SpallEnabled) {
- displayName = "$STR_ACE_frag_EnableSpall";
- description = "$STR_ACE_frag_EnableSpall_Desc";
+ displayName = CSTRING(EnableSpall);
+ description = CSTRING(EnableSpall_Desc);
typeName = "BOOL";
value = 0;
};
class GVAR(maxTrack) {
- displayName = "$STR_ACE_frag_MaxTrack";
- description = "$STR_ACE_frag_MaxTrack_Desc";
+ displayName = CSTRING(MaxTrack);
+ description = CSTRING(MaxTrack_Desc);
typeName = "SCALAR";
value = 500;
};
class GVAR(MaxTrackPerFrame) {
- displayName = "$STR_ACE_frag_MaxTrackPerFrame";
- description = "$STR_ACE_frag_MaxTrackPerFrame_Desc";
+ displayName = CSTRING(MaxTrackPerFrame);
+ description = CSTRING(MaxTrackPerFrame_Desc);
typeName = "SCALAR";
value = 50;
};
class GVAR(EnableDebugTrace) {
- displayName = "$STR_ACE_frag_EnableDebugTrace";
- description = "$STR_ACE_frag_EnableDebugTrace_Desc";
+ displayName = CSTRING(EnableDebugTrace);
+ description = CSTRING(EnableDebugTrace_Desc);
typeName = "BOOL";
value = 0;
};
diff --git a/addons/goggles/ACE_Settings.hpp b/addons/goggles/ACE_Settings.hpp
index e25da3c274..6b3faa1823 100644
--- a/addons/goggles/ACE_Settings.hpp
+++ b/addons/goggles/ACE_Settings.hpp
@@ -3,6 +3,6 @@ class ACE_Settings {
value = 0;
typeName = "BOOL";
isClientSettable = 1;
- displayName = "$STR_ACE_Goggles_ShowInThirdPerson";
+ displayName = CSTRING(ShowInThirdPerson);
};
};
diff --git a/addons/goggles/XEH_postInit.sqf b/addons/goggles/XEH_postInit.sqf
index a6fe7c415f..b9009fe8da 100644
--- a/addons/goggles/XEH_postInit.sqf
+++ b/addons/goggles/XEH_postInit.sqf
@@ -17,7 +17,7 @@
#include "script_component.hpp"
if (!hasInterface) exitWith {};
-["ACE3 Common", QGVAR(wipeGlasses), localize "STR_ACE_Goggles_WipeGlasses",
+["ACE3 Common", QGVAR(wipeGlasses), localize STRING(WipeGlasses),
{
if (!(GETVAR(ace_player,ACE_isUnconscious,false))) exitWith {
call FUNC(clearGlasses);
diff --git a/addons/grenades/CfgMagazines.hpp b/addons/grenades/CfgMagazines.hpp
index 23eb4cb759..c90bba9d94 100644
--- a/addons/grenades/CfgMagazines.hpp
+++ b/addons/grenades/CfgMagazines.hpp
@@ -12,9 +12,9 @@ class CfgMagazines {
author = "$STR_ACE_Common_ACETeam";
scope = 2;
ammo = "ACE_F_Hand_White";
- displayname = "$STR_ACE_Grenades_M127A1_White_Name";
- descriptionshort = "$STR_ACE_Grenades_M127A1_White_Description";
- displayNameShort = "$STR_ACE_Grenades_M127A1_White_NameShort";
+ displayname = CSTRING(M127A1_White_Name);
+ descriptionshort = CSTRING(M127A1_White_Description);
+ displayNameShort = CSTRING(M127A1_White_NameShort);
model = "\A3\weapons_f\ammo\flare_white";
picture = "\A3\Weapons_F\Data\UI\gear_flare_white_ca.paa";
};
@@ -22,9 +22,9 @@ class CfgMagazines {
author = "$STR_ACE_Common_ACETeam";
scope = 2;
ammo = "ACE_F_Hand_Red";
- displayname = "$STR_ACE_Grenades_M127A1_Red_Name";
- descriptionshort = "$STR_ACE_Grenades_M127A1_Red_Description";
- displayNameShort = "$STR_ACE_Grenades_M127A1_Red_NameShort";
+ displayname = CSTRING(M127A1_Red_Name);
+ descriptionshort = CSTRING(M127A1_Red_Description);
+ displayNameShort = CSTRING(M127A1_Red_NameShort);
model = "\A3\weapons_f\ammo\flare_red";
picture = "\A3\Weapons_F\Data\UI\gear_flare_red_ca.paa";
};
@@ -32,9 +32,9 @@ class CfgMagazines {
author = "$STR_ACE_Common_ACETeam";
scope = 2;
ammo = "ACE_F_Hand_Green";
- displayname = "$STR_ACE_Grenades_M127A1_Green_Name";
- descriptionshort = "$STR_ACE_Grenades_M127A1_Green_Description";
- displayNameShort = "$STR_ACE_Grenades_M127A1_Green_NameShort";
+ displayname = CSTRING(M127A1_Green_Name);
+ descriptionshort = CSTRING(M127A1_Green_Description);
+ displayNameShort = CSTRING(M127A1_Green_NameShort);
model = "\A3\weapons_f\ammo\flare_green";
picture = "\A3\Weapons_F\Data\UI\gear_flare_green_ca.paa";
};
@@ -42,17 +42,17 @@ class CfgMagazines {
author = "$STR_ACE_Common_ACETeam";
scope = 2;
ammo = "ACE_F_Hand_Yellow";
- displayname = "$STR_ACE_Grenades_M127A1_Yellow_Name";
- descriptionshort = "$STR_ACE_Grenades_M127A1_Yellow_Description";
- displayNameShort = "$STR_ACE_Grenades_M127A1_Yellow_NameShort";
+ displayname = CSTRING(M127A1_Yellow_Name);
+ descriptionshort = CSTRING(M127A1_Yellow_Description);
+ displayNameShort = CSTRING(M127A1_Yellow_NameShort);
model = "\A3\weapons_f\ammo\flare_yellow";
picture = "\A3\Weapons_F\Data\UI\gear_flare_yellow_ca.paa";
};
class ACE_M84: HandGrenade {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_G_M84";
- displayname = "$STR_ACE_Grenades_M84_Name";
- descriptionshort = "$STR_ACE_Grenades_M84_Description";
+ displayname = CSTRING(M84_Name);
+ descriptionshort = CSTRING(M84_Description);
displayNameShort = "M84";
mass = 4;
model = PATHTOF(models\ACE_m84.p3d);
diff --git a/addons/grenades/XEH_postInit.sqf b/addons/grenades/XEH_postInit.sqf
index 63516407f3..df4c7142f3 100644
--- a/addons/grenades/XEH_postInit.sqf
+++ b/addons/grenades/XEH_postInit.sqf
@@ -10,7 +10,7 @@ GVAR(flashbangPPEffectCC) = ppEffectCreate ["ColorCorrections", 4265];
GVAR(flashbangPPEffectCC) ppEffectForceInNVG true;
// Add keybinds
-["ACE3 Weapons", QGVAR(switchGrenadeMode), localize "STR_ACE_Grenades_SwitchGrenadeMode",
+["ACE3 Weapons", QGVAR(switchGrenadeMode), localize STRING(SwitchGrenadeMode),
{
// Conditions: canInteract
if !([ACE_player, objNull, ["isNotEscorting"]] call EFUNC(common,canInteractWith)) exitWith {false};
diff --git a/addons/grenades/functions/fnc_nextMode.sqf b/addons/grenades/functions/fnc_nextMode.sqf
index 7663e790f6..cc895e7212 100644
--- a/addons/grenades/functions/fnc_nextMode.sqf
+++ b/addons/grenades/functions/fnc_nextMode.sqf
@@ -31,11 +31,11 @@ if (_mode == 3) then {
};
_hint = [
-localize "STR_ACE_Grenades_NormalThrow",
-localize "STR_ACE_Grenades_HighThrow",
-localize "STR_ACE_Grenades_PreciseThrow",
-localize "STR_ACE_Grenades_RollGrenade",
-localize "STR_ACE_Grenades_DropGrenade"
+localize STRING(NormalThrow),
+localize STRING(HighThrow),
+localize STRING(PreciseThrow),
+localize STRING(RollGrenade),
+localize STRING(DropGrenade)
] select _mode;
[_hint] call EFUNC(common,displayTextStructured);
diff --git a/addons/hearing/ACE_Settings.hpp b/addons/hearing/ACE_Settings.hpp
index a196b4affc..c0f69dda65 100644
--- a/addons/hearing/ACE_Settings.hpp
+++ b/addons/hearing/ACE_Settings.hpp
@@ -15,6 +15,6 @@ class ACE_Settings {
value = 0;
typeName = "BOOL";
isClientSettable = 1;
- displayName = "$STR_ACE_Hearing_DisableEarRinging";
+ displayName = CSTRING(DisableEarRinging);
};
};
diff --git a/addons/hearing/CfgVehicles.hpp b/addons/hearing/CfgVehicles.hpp
index 16bb47014a..e5cf6968c7 100644
--- a/addons/hearing/CfgVehicles.hpp
+++ b/addons/hearing/CfgVehicles.hpp
@@ -4,7 +4,7 @@ class CfgVehicles {
class ACE_SelfActions {
class ACE_Equipment {
class ACE_PutInEarplugs {
- displayName = "$STR_ACE_Hearing_EarPlugs_On";
+ displayName = CSTRING(EarPlugs_On);
condition = QUOTE( !([_player] call FUNC(hasEarPlugsIn)) && {'ACE_EarPlugs' in items _player} );
exceptions[] = {"isNotInside"};
statement = QUOTE( [_player] call FUNC(putInEarPlugs) );
@@ -14,7 +14,7 @@ class CfgVehicles {
hotkey = "E";
};
class ACE_RemoveEarplugs {
- displayName = "$STR_ACE_Hearing_EarPlugs_Off";
+ displayName = CSTRING(EarPlugs_Off);
condition = QUOTE( [_player] call FUNC(hasEarPlugsIn) );
exceptions[] = {"isNotInside"};
statement = QUOTE( [_player] call FUNC(removeEarPlugs) );
@@ -98,21 +98,21 @@ class CfgVehicles {
class ACE_ModuleHearing: Module_F {
author = "$STR_ACE_Common_ACETeam";
category = "ACE";
- displayName = "$STR_ACE_Hearing_Module_DisplayName";
+ displayName = CSTRING(Module_DisplayName);
function = QFUNC(moduleHearing);
scope = 2;
isGlobal = 1;
icon = PATHTOF(UI\Icon_Module_Hearing_ca.paa);
class Arguments {
class EnableCombatDeafness {
- displayName = "$STR_ACE_Hearing_CombatDeafness_DisplayName";
- description = "$STR_ACE_Hearing_CombatDeafness_Description";
+ displayName = CSTRING(CombatDeafness_DisplayName);
+ description = CSTRING(CombatDeafness_Description);
typeName = "BOOL";
defaultValue = 1;
};
};
class ModuleDescription {
- description = "$STR_ACE_Hearing_Module_Description";
+ description = CSTRING(Module_Description);
};
};
};
diff --git a/addons/hearing/CfgWeapons.hpp b/addons/hearing/CfgWeapons.hpp
index e70cc62c25..11ad91f658 100644
--- a/addons/hearing/CfgWeapons.hpp
+++ b/addons/hearing/CfgWeapons.hpp
@@ -3,8 +3,8 @@ class CfgWeapons {
class InventoryItem_Base_F;
class ACE_EarPlugs: ACE_ItemCore {
- displayName = "$STR_ACE_Hearing_EarPlugs_Name";
- descriptionShort = "$STR_ACE_Hearing_EarPlugs_Description";
+ displayName = CSTRING(EarPlugs_Name);
+ descriptionShort = CSTRING(EarPlugs_Description);
model = PATHTOF(ACE_earplugs.p3d);
picture = PATHTOF(UI\ACE_earplugs_x_ca.paa);
scope = 2;
diff --git a/addons/hearing/functions/fnc_putInEarplugs.sqf b/addons/hearing/functions/fnc_putInEarplugs.sqf
index b02a19d5bc..7a6a7a06bc 100644
--- a/addons/hearing/functions/fnc_putInEarplugs.sqf
+++ b/addons/hearing/functions/fnc_putInEarplugs.sqf
@@ -22,7 +22,7 @@ _player removeItem "ACE_EarPlugs";
_player setVariable ["ACE_hasEarPlugsIn", true, true];
-[localize "STR_ACE_Hearing_EarPlugs_Are_On"] call EFUNC(common,displayTextStructured);
+[localize STRING(EarPlugs_Are_On)] call EFUNC(common,displayTextStructured);
/*// No Ear Plugs in inventory, telling user
-[localize "STR_ACE_Hearing_NoPlugs"] call EFUNC(common,displayTextStructured);*/
+[localize STRING(NoPlugs)] call EFUNC(common,displayTextStructured);*/
diff --git a/addons/hearing/functions/fnc_removeEarplugs.sqf b/addons/hearing/functions/fnc_removeEarplugs.sqf
index e2d0b68d51..d30f5565c4 100644
--- a/addons/hearing/functions/fnc_removeEarplugs.sqf
+++ b/addons/hearing/functions/fnc_removeEarplugs.sqf
@@ -18,7 +18,7 @@
PARAMS_1(_player);
if !(_player canAdd "ACE_EarPlugs") exitWith { // inventory full
- [localize "STR_ACE_Hearing_Inventory_Full"] call EFUNC(common,displayTextStructured);
+ [localize STRING(Inventory_Full)] call EFUNC(common,displayTextStructured);
};
// Plugs already in and removing them.
@@ -26,4 +26,4 @@ _player addItem "ACE_EarPlugs";
_player setVariable ["ACE_hasEarPlugsIn", false, true];
-[localize "STR_ACE_Hearing_EarPlugs_Are_Off"] call EFUNC(common,displayTextStructured);
+[localize STRING(EarPlugs_Are_Off)] call EFUNC(common,displayTextStructured);
diff --git a/addons/interact_menu/ACE_Settings.hpp b/addons/interact_menu/ACE_Settings.hpp
index 19347b0d6d..84aee6a60d 100644
--- a/addons/interact_menu/ACE_Settings.hpp
+++ b/addons/interact_menu/ACE_Settings.hpp
@@ -3,70 +3,70 @@ class ACE_Settings {
value = 0;
typeName = "BOOL";
isClientSettable = 1;
- displayName = "$STR_ACE_Interact_Menu_AlwaysUseCursorSelfInteraction";
+ displayName = CSTRING(AlwaysUseCursorSelfInteraction);
};
class GVAR(cursorKeepCentered) {
value = 0;
typeName = "BOOL";
isClientSettable = 1;
- displayName = "$STR_ACE_Interact_cursorKeepCentered";
- description = "$STR_ACE_Interact_cursorKeepCenteredDescription";
+ displayName = CSTRING(cursorKeepCentered);
+ description = CSTRING(cursorKeepCenteredDescription);
};
class GVAR(AlwaysUseCursorInteraction) {
value = 0;
typeName = "BOOL";
isClientSettable = 1;
- displayName = "$STR_ACE_Interact_Menu_AlwaysUseCursorInteraction";
+ displayName = CSTRING(AlwaysUseCursorInteraction);
};
class GVAR(UseListMenu) {
value = 0;
typeName = "BOOL";
isClientSettable = 1;
- displayName = "$STR_ACE_Interact_Menu_UseListMenu";
+ displayName = CSTRING(UseListMenu);
};
class GVAR(colorTextMax) {
value[] = {1, 1, 1, 1};
typeName = "COLOR";
isClientSettable = 1;
- displayName = "$STR_ACE_Interact_Menu_ColorTextMax";
+ displayName = CSTRING(ColorTextMax);
};
class GVAR(colorTextMin) {
value[] = {1, 1, 1, 0.25};
typeName = "COLOR";
isClientSettable = 1;
- displayName = "$STR_ACE_Interact_Menu_ColorTextMin";
+ displayName = CSTRING(ColorTextMin);
};
class GVAR(colorShadowMax) {
value[] = {0, 0, 0, 1};
typeName = "COLOR";
isClientSettable = 1;
- displayName = "$STR_ACE_Interact_Menu_ColorShadowMax";
+ displayName = CSTRING(ColorShadowMax);
};
class GVAR(colorShadowMin) {
value[] = {0, 0, 0, 0.25};
typeName = "COLOR";
isClientSettable = 1;
- displayName = "$STR_ACE_Interact_Menu_ColorShadowMin";
+ displayName = CSTRING(ColorShadowMin);
};
class GVAR(textSize) {
value = 2;
typeName = "SCALAR";
isClientSettable = 1;
- displayName = "$STR_ACE_Interact_textSize";
+ displayName = CSTRING(textSize);
values[] = {"$str_very_small", "$str_small", "$str_medium", "$str_large", "$str_very_large"};
};
class GVAR(shadowSetting) {
value = 2;
typeName = "SCALAR";
isClientSettable = 1;
- displayName = "$STR_ACE_Interact_shadowSetting";
- description = "$STR_ACE_Interact_shadowSettingDescription";
- values[] = {"$STR_A3_OPTIONS_DISABLED", "$STR_A3_OPTIONS_ENABLED", "$STR_ACE_Interact_shadowOutline"};
+ displayName = CSTRING(shadowSetting);
+ description = CSTRING(shadowSettingDescription);
+ values[] = {"$STR_A3_OPTIONS_DISABLED", "$STR_A3_OPTIONS_ENABLED", STRING(shadowOutline)};
};
class GVAR(actionOnKeyRelease) {
value = 1;
typeName = "BOOL";
isClientSettable = 1;
- displayName = "$STR_ACE_Interact_Menu_ActionOnKeyRelease";
+ displayName = CSTRING(ActionOnKeyRelease);
};
};
diff --git a/addons/interact_menu/XEH_clientInit.sqf b/addons/interact_menu/XEH_clientInit.sqf
index bbd2b74263..ea83c44d1c 100644
--- a/addons/interact_menu/XEH_clientInit.sqf
+++ b/addons/interact_menu/XEH_clientInit.sqf
@@ -28,7 +28,7 @@ addMissionEventHandler ["Draw3D", DFUNC(render)];
};
-["ACE3 Common", QGVAR(InteractKey), (localize "STR_ACE_Interact_Menu_InteractKey"),
+["ACE3 Common", QGVAR(InteractKey), (localize STRING(InteractKey)),
{
// Conditions: canInteract
if !([ACE_player, objNull, ["isNotInside","isNotDragging", "isNotCarrying", "isNotSwimming", "notOnMap", "isNotEscorting", "isNotSurrendering"]] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -37,7 +37,7 @@ addMissionEventHandler ["Draw3D", DFUNC(render)];
},{[0,false] call FUNC(keyUp)},
[219, [false, false, false]], false] call cba_fnc_addKeybind; //Left Windows Key
-["ACE3 Common", QGVAR(SelfInteractKey), (localize "STR_ACE_Interact_Menu_SelfInteractKey"),
+["ACE3 Common", QGVAR(SelfInteractKey), (localize STRING(SelfInteractKey)),
{
// Conditions: canInteract
if !([ACE_player, objNull, ["isNotInside","isNotDragging", "isNotCarrying", "isNotSwimming", "notOnMap", "isNotEscorting", "isNotSurrendering"]] call EFUNC(common,canInteractWith)) exitWith {false};
diff --git a/addons/interact_menu/functions/fnc_compileMenuSelfAction.sqf b/addons/interact_menu/functions/fnc_compileMenuSelfAction.sqf
index 7e53588325..cc254f1caf 100644
--- a/addons/interact_menu/functions/fnc_compileMenuSelfAction.sqf
+++ b/addons/interact_menu/functions/fnc_compileMenuSelfAction.sqf
@@ -87,12 +87,12 @@ private ["_baseDisplayName", "_baseIcon"];
_baseDisplayName = "";
_baseIcon = "";
if (_objectType isKindOf "CAManBase") then {
- _baseDisplayName = localize "STR_ACE_Interact_Menu_SelfActionsRoot";
+ _baseDisplayName = localize STRING(SelfActionsRoot);
_baseIcon = "\a3\ui_f\data\IGUI\Cfg\Actions\eject_ca.paa";
} else {
_baseDisplayName = getText (configFile >> "CfgVehicles" >> _objectType >> "displayName");
//Alt would be to just use a static text, if veh names end up being too long:
- // _baseDisplayName = localize "STR_ACE_Interact_Menu_VehicleActionsRoot";
+ // _baseDisplayName = localize STRING(VehicleActionsRoot);
//Pull the icon from the vehicle's config:
_baseIcon = getText (configFile >> "CfgVehicles" >> _objectType >> "Icon");
diff --git a/addons/interaction/CfgVehicles.hpp b/addons/interaction/CfgVehicles.hpp
index 804aba1100..f1572d6367 100644
--- a/addons/interaction/CfgVehicles.hpp
+++ b/addons/interaction/CfgVehicles.hpp
@@ -4,21 +4,21 @@ class CfgVehicles {
class ACE_ModuleInteraction: Module_F {
author = "$STR_ACE_Common_ACETeam";
category = "ACE";
- displayName = "$STR_ACE_InteractionSystem_Module_DisplayName";
+ displayName = CSTRING(Module_DisplayName);
function = "ACE_Interaction_fnc_moduleInteraction";
scope = 2;
isGlobal = 1;
icon = PATHTOF(UI\Icon_Module_Interaction_ca.paa);
class Arguments {
class EnableTeamManagement {
- displayName = "$STR_ACE_InteractionSystem_EnableTeamManagement_DisplayName";
- description = "$STR_ACE_InteractionSystem_EnableTeamManagement_Description";
+ displayName = CSTRING(EnableTeamManagement_DisplayName);
+ description = CSTRING(EnableTeamManagement_Description);
typeName = "BOOL";
defaultValue = 1;
};
};
class ModuleDescription {
- description = "$STR_ACE_InteractionSystem_Module_Description";
+ description = CSTRING(Module_Description);
};
};
@@ -26,7 +26,7 @@ class CfgVehicles {
class CAManBase: Man {
class ACE_Actions {
class ACE_MainActions {
- displayName = "$STR_ACE_Interaction_MainAction";
+ displayName = CSTRING(MainAction);
distance = 4;
condition = QUOTE(true);
statement = "";
@@ -34,7 +34,7 @@ class CfgVehicles {
selection = "pelvis";
class ACE_TeamManagement {
- displayName = "$STR_ACE_Interaction_TeamManagement";
+ displayName = CSTRING(TeamManagement);
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam) && {GVAR(EnableTeamManagement)});
statement = "";
showDisabled = 0;
@@ -43,7 +43,7 @@ class CfgVehicles {
hotkey = "M";
class ACE_AssignTeamRed {
- displayName = "$STR_ACE_Interaction_AssignTeamRed";
+ displayName = CSTRING(AssignTeamRed);
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam));
statement = QUOTE([ARR_2(_target,'RED')] call DFUNC(joinTeam));
showDisabled = 1;
@@ -52,7 +52,7 @@ class CfgVehicles {
hotkey = "R";
};
class ACE_AssignTeamGreen {
- displayName = "$STR_ACE_Interaction_AssignTeamGreen";
+ displayName = CSTRING(AssignTeamGreen);
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam));
statement = QUOTE([ARR_2(_target,'GREEN')] call DFUNC(joinTeam));
showDisabled = 1;
@@ -61,7 +61,7 @@ class CfgVehicles {
hotkey = "G";
};
class ACE_AssignTeamBlue {
- displayName = "$STR_ACE_Interaction_AssignTeamBlue";
+ displayName = CSTRING(AssignTeamBlue);
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam));
statement = QUOTE([ARR_2(_target,'BLUE')] call DFUNC(joinTeam));
showDisabled = 1;
@@ -70,7 +70,7 @@ class CfgVehicles {
hotkey = "B";
};
class ACE_AssignTeamYellow {
- displayName = "$STR_ACE_Interaction_AssignTeamYellow";
+ displayName = CSTRING(AssignTeamYellow);
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam));
statement = QUOTE([ARR_2(_target,'YELLOW')] call DFUNC(joinTeam));
showDisabled = 1;
@@ -80,7 +80,7 @@ class CfgVehicles {
};
class ACE_UnassignTeam {
- displayName = "$STR_ACE_Interaction_LeaveTeam";
+ displayName = CSTRING(LeaveTeam);
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam) && {assignedTeam _target != 'MAIN'});
statement = QUOTE([ARR_2(_target,'MAIN')] call DFUNC(joinTeam));
showDisabled = 1;
@@ -91,7 +91,7 @@ class CfgVehicles {
};
class ACE_JoinGroup {
- displayName = "$STR_ACE_Interaction_JoinGroup";
+ displayName = CSTRING(JoinGroup);
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinGroup));
statement = QUOTE([_player] joinSilent group _target);
showDisabled = 0;
@@ -101,21 +101,21 @@ class CfgVehicles {
};
class ACE_GetDown {
- displayName = "$STR_ACE_Interaction_GetDown";
+ displayName = CSTRING(GetDown);
condition = QUOTE([_target] call DFUNC(canInteractWithCivilian));
statement = QUOTE([_target] call DFUNC(getDown));
showDisabled = 0;
priority = 2.2;
};
class ACE_SendAway {
- displayName = "$STR_ACE_Interaction_SendAway";
+ displayName = CSTRING(SendAway);
condition = QUOTE([_target] call DFUNC(canInteractWithCivilian));
statement = QUOTE([_target] call DFUNC(sendAway));
showDisabled = 0;
priority = 2.0;
};
class ACE_Pardon {
- displayName = "$STR_ACE_Interaction_Pardon";
+ displayName = CSTRING(Pardon);
condition = QUOTE(rating _target < -2000 && {alive _target} && {side group _player == side group _target});
statement = QUOTE([ARR_3(_target,'{_this addRating -rating _this}',_target)] call DEFUNC(common,execRemoteFnc));
showDisabled = 0;
@@ -123,49 +123,49 @@ class CfgVehicles {
};
};
class ACE_Torso {
- displayName = "$STR_ACE_Interaction_Torso";
+ displayName = CSTRING(Torso);
selection = "spine3";
distance = 1.50;
condition = "";
statement = "";
};
class ACE_Head {
- displayName = "$STR_ACE_Interaction_Head";
+ displayName = CSTRING(Head);
selection = "pilot";
distance = 1.50;
condition = "";
statement = "";
};
class ACE_ArmLeft {
- displayName = "$STR_ACE_Interaction_ArmLeft";
+ displayName = CSTRING(ArmLeft);
selection = "LeftForeArm";
distance = 1.50;
condition = "";
statement = "";
};
class ACE_ArmRight {
- displayName = "$STR_ACE_Interaction_ArmRight";
+ displayName = CSTRING(ArmRight);
selection = "RightForeArm";
distance = 1.50;
condition = "";
statement = "";
};
class ACE_LegLeft {
- displayName = "$STR_ACE_Interaction_LegLeft";
+ displayName = CSTRING(LegLeft);
selection = "LKnee";
distance = 1.50;
condition = "";
statement = "";
};
class ACE_LegRight {
- displayName = "$STR_ACE_Interaction_LegRight";
+ displayName = CSTRING(LegRight);
selection = "RKnee";
distance = 1.50;
condition = "";
statement = "";
};
class ACE_Weapon {
- displayName = "$STR_ACE_Interaction_Weapon";
+ displayName = CSTRING(Weapon);
position = QUOTE(call FUNC(getWeaponPos));
distance = 1.50;
condition = "";
@@ -173,14 +173,14 @@ class CfgVehicles {
};
class ACE_TapShoulderRight {
- displayName = "$STR_ACE_Interaction_TapShoulder";
+ displayName = CSTRING(TapShoulder);
selection = "rightshoulder";
distance = 2.0;
condition = QUOTE([ARR_2(_player, _target)] call DFUNC(canTapShoulder));
statement = QUOTE([ARR_3(_player, _target, 0)] call DFUNC(tapShoulder));
};
class ACE_TapShoulderLeft {
- displayName = "$STR_ACE_Interaction_TapShoulder";
+ displayName = CSTRING(TapShoulder);
selection = "leftshoulder";
distance = 2.0;
condition = QUOTE([ARR_2(_player, _target)] call DFUNC(canTapShoulder));
@@ -190,7 +190,7 @@ class CfgVehicles {
class ACE_SelfActions {
class ACE_TeamManagement {
- displayName = "$STR_ACE_Interaction_TeamManagement";
+ displayName = CSTRING(TeamManagement);
condition = QUOTE(GVAR(EnableTeamManagement));
exceptions[] = {"isNotInside"};
statement = "";
@@ -200,7 +200,7 @@ class CfgVehicles {
hotkey = "M";
class ACE_JoinTeamRed {
- displayName = "$STR_ACE_Interaction_JoinTeamRed";
+ displayName = CSTRING(JoinTeamRed);
condition = QUOTE(true);
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_2(_player,'RED')] call DFUNC(joinTeam));
@@ -210,7 +210,7 @@ class CfgVehicles {
hotkey = "R";
};
class ACE_JoinTeamGreen {
- displayName = "$STR_ACE_Interaction_JoinTeamGreen";
+ displayName = CSTRING(JoinTeamGreen);
condition = QUOTE(true);
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_2(_player,'GREEN')] call DFUNC(joinTeam));
@@ -220,7 +220,7 @@ class CfgVehicles {
hotkey = "G";
};
class ACE_JoinTeamBlue {
- displayName = "$STR_ACE_Interaction_JoinTeamBlue";
+ displayName = CSTRING(JoinTeamBlue);
condition = QUOTE(true);
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_2(_player,'BLUE')] call DFUNC(joinTeam));
@@ -230,7 +230,7 @@ class CfgVehicles {
hotkey = "B";
};
class ACE_JoinTeamYellow {
- displayName = "$STR_ACE_Interaction_JoinTeamYellow";
+ displayName = CSTRING(JoinTeamYellow);
condition = QUOTE(true);
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_2(_player,'YELLOW')] call DFUNC(joinTeam));
@@ -241,7 +241,7 @@ class CfgVehicles {
};
class ACE_LeaveTeam {
- displayName = "$STR_ACE_Interaction_LeaveTeam";
+ displayName = CSTRING(LeaveTeam);
condition = QUOTE(assignedTeam _player != 'MAIN');
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_2(_player,'MAIN')] call DFUNC(joinTeam));
@@ -251,7 +251,7 @@ class CfgVehicles {
hotkey = "N";
};
class ACE_BecomeLeader {
- displayName = "$STR_ACE_Interaction_BecomeLeader";
+ displayName = CSTRING(BecomeLeader);
condition = QUOTE(_this call DFUNC(canBecomeLeader));
exceptions[] = {"isNotInside"};
statement = QUOTE(_this call DFUNC(doBecomeLeader));
@@ -261,7 +261,7 @@ class CfgVehicles {
hotkey = "L";
};
class ACE_LeaveGroup {
- displayName = "$STR_ACE_Interaction_LeaveGroup";
+ displayName = CSTRING(LeaveGroup);
condition = QUOTE(count (units group _player) > 1);
exceptions[] = {"isNotInside"};
statement = QUOTE(_oldGroup = units group _player; _newGroup = createGroup side _player; [_player] joinSilent _newGroup; {_player reveal _x} forEach _oldGroup;);
@@ -273,7 +273,7 @@ class CfgVehicles {
};
class ACE_Gestures {
- displayName = "$STR_ACE_Interaction_Gestures";
+ displayName = CSTRING(Gestures);
condition = "canStand _target";
statement = "";
showDisabled = 1;
@@ -282,14 +282,14 @@ class CfgVehicles {
hotkey = "G";
/*class ACE_Gesture_Advance {
- displayName = "$STR_ACE_Interaction_Gestures_Attack";
+ displayName = CSTRING(Gestures_Attack);
condition = "canStand _target";
statement = "_target playActionNow 'gestureAttack';";
showDisabled = 1;
priority = 2.0;
};*/
class ACE_Gesture_Advance {
- displayName = "$STR_ACE_Interaction_Gestures_Advance";
+ displayName = CSTRING(Gestures_Advance);
condition = QUOTE(canStand _target);
statement = QUOTE(_target playActionNow 'gestureAdvance';);
showDisabled = 1;
@@ -297,7 +297,7 @@ class CfgVehicles {
hotkey = "1";
};
class ACE_Gesture_Go {
- displayName = "$STR_ACE_Interaction_Gestures_Go";
+ displayName = CSTRING(Gestures_Go);
condition = QUOTE(canStand _target);
statement = QUOTE(_target playActionNow ([ARR_2('gestureGo','gestureGoB')] select floor random 2););
showDisabled = 1;
@@ -305,7 +305,7 @@ class CfgVehicles {
hotkey = "2";
};
class ACE_Gesture_Follow {
- displayName = "$STR_ACE_Interaction_Gestures_Follow";
+ displayName = CSTRING(Gestures_Follow);
condition = QUOTE(canStand _target);
statement = QUOTE(_target playActionNow 'gestureFollow';);
showDisabled = 1;
@@ -313,14 +313,14 @@ class CfgVehicles {
hotkey = "3";
};
/*class ACE_Gesture_Point {
- displayName = "$STR_ACE_Interaction_Gestures_Point";
+ displayName = CSTRING(Gestures_Point);
condition = QUOTE(canStand _target);
statement = QUOTE(_target playActionNow 'gesturePoint';);
showDisabled = 1;
priority = 1.6;
};*/
class ACE_Gesture_Up {
- displayName = "$STR_ACE_Interaction_Gestures_Up";
+ displayName = CSTRING(Gestures_Up);
condition = QUOTE(canStand _target);
statement = QUOTE(_target playActionNow 'gestureUp';);
showDisabled = 1;
@@ -328,7 +328,7 @@ class CfgVehicles {
hotkey = "4";
};
class ACE_Gesture_Cover {
- displayName = "$STR_ACE_Interaction_Gestures_Cover";
+ displayName = CSTRING(Gestures_Cover);
condition = QUOTE(canStand _target);
statement = QUOTE(_target playActionNow 'gestureCover';);
showDisabled = 1;
@@ -336,7 +336,7 @@ class CfgVehicles {
hotkey = "5";
};
class ACE_Gesture_CeaseFire {
- displayName = "$STR_ACE_Interaction_Gestures_Cease_Fire";
+ displayName = CSTRING(Gestures_Cease_Fire);
condition = QUOTE(canStand _target);
statement = QUOTE(_target playActionNow 'gestureCeaseFire';);
showDisabled = 1;
@@ -344,7 +344,7 @@ class CfgVehicles {
hotkey = "6";
};
class ACE_Gesture_Freeze {
- displayName = "$STR_ACE_Interaction_Gestures_Freeze";
+ displayName = CSTRING(Gestures_Freeze);
condition = QUOTE(canStand _target);
statement = QUOTE(_target playActionNow 'gestureFreeze';);
showDisabled = 1;
@@ -352,7 +352,7 @@ class CfgVehicles {
hotkey = "7";
};
class ACE_Gesture_Yes {
- displayName = "$STR_ACE_Interaction_Gestures_Yes";
+ displayName = CSTRING(Gestures_Yes);
condition = QUOTE(canStand _target);
statement = QUOTE(_target playActionNow ([ARR_2('gestureYes','gestureNod')] select floor random 2););
showDisabled = 1;
@@ -360,7 +360,7 @@ class CfgVehicles {
hotkey = "8";
};
class ACE_Gesture_No {
- displayName = "$STR_ACE_Interaction_Gestures_No";
+ displayName = CSTRING(Gestures_No);
condition = QUOTE(canStand _target);
statement = QUOTE(_target playActionNow 'gestureNo';);
showDisabled = 1;
@@ -368,7 +368,7 @@ class CfgVehicles {
hotkey = "9";
};
class ACE_Gesture_Hi {
- displayName = "$STR_ACE_Interaction_Gestures_Hi";
+ displayName = CSTRING(Gestures_Hi);
condition = QUOTE(canStand _target);
statement = QUOTE(_target playActionNow ([ARR_3('gestureHi','gestureHiB','gestureHiC')] select floor random 3););
showDisabled = 1;
@@ -378,7 +378,7 @@ class CfgVehicles {
};
class ACE_Equipment {
- displayName = "$STR_ACE_Interaction_Equipment";
+ displayName = CSTRING(Equipment);
condition = QUOTE(true);
exceptions[] = {"isNotInside","notOnMap"};
statement = "";
@@ -394,12 +394,12 @@ class CfgVehicles {
class Car: LandVehicle {
class ACE_Actions {
class ACE_MainActions {
- displayName = "$STR_ACE_Interaction_MainAction";
+ displayName = CSTRING(MainAction);
selection = "";
distance = 10;
condition = "true";
class ACE_Passengers {
- displayName = "$STR_ACE_Interaction_Passengers";
+ displayName = CSTRING(Passengers);
condition = "true";
statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
@@ -408,7 +408,7 @@ class CfgVehicles {
};
class ACE_SelfActions {
class ACE_Passengers {
- displayName = "$STR_ACE_Interaction_Passengers";
+ displayName = CSTRING(Passengers);
condition = "true";
statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
@@ -418,12 +418,12 @@ class CfgVehicles {
class Tank: LandVehicle {
class ACE_Actions {
class ACE_MainActions {
- displayName = "$STR_ACE_Interaction_MainAction";
+ displayName = CSTRING(MainAction);
selection = "";
distance = 10;
condition = "true";
class ACE_Passengers {
- displayName = "$STR_ACE_Interaction_Passengers";
+ displayName = CSTRING(Passengers);
condition = "true";
statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
@@ -432,7 +432,7 @@ class CfgVehicles {
};
class ACE_SelfActions {
class ACE_Passengers {
- displayName = "$STR_ACE_Interaction_Passengers";
+ displayName = CSTRING(Passengers);
condition = "true";
statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
@@ -444,12 +444,12 @@ class CfgVehicles {
class Helicopter: Air {
class ACE_Actions {
class ACE_MainActions {
- displayName = "$STR_ACE_Interaction_MainAction";
+ displayName = CSTRING(MainAction);
selection = "";
distance = 10;
condition = "true";
class ACE_Passengers {
- displayName = "$STR_ACE_Interaction_Passengers";
+ displayName = CSTRING(Passengers);
condition = "true";
statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
@@ -458,7 +458,7 @@ class CfgVehicles {
};
class ACE_SelfActions {
class ACE_Passengers {
- displayName = "$STR_ACE_Interaction_Passengers";
+ displayName = CSTRING(Passengers);
condition = "true";
statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
@@ -468,12 +468,12 @@ class CfgVehicles {
class Plane: Air {
class ACE_Actions {
class ACE_MainActions {
- displayName = "$STR_ACE_Interaction_MainAction";
+ displayName = CSTRING(MainAction);
selection = "";
distance = 10;
condition = "true";
class ACE_Passengers {
- displayName = "$STR_ACE_Interaction_Passengers";
+ displayName = CSTRING(Passengers);
condition = "true";
statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
@@ -482,7 +482,7 @@ class CfgVehicles {
};
class ACE_SelfActions {
class ACE_Passengers {
- displayName = "$STR_ACE_Interaction_Passengers";
+ displayName = CSTRING(Passengers);
condition = "true";
statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
@@ -494,13 +494,13 @@ class CfgVehicles {
class Ship_F: Ship {
class ACE_Actions {
class ACE_MainActions {
- displayName = "$STR_ACE_Interaction_MainAction";
+ displayName = CSTRING(MainAction);
selection = "";
distance = 10;
condition = "true";
class ACE_Push {
- displayName = "$STR_ACE_Interaction_Push";
+ displayName = CSTRING(Push);
distance = 6;
condition = QUOTE(getMass _target < 1000 && {alive _target});
statement = QUOTE([ARR_2(_target, [ARR_3(2 * (vectorDir _player select 0), 2 * (vectorDir _player select 1), 0.5)])] call DFUNC(push););
@@ -508,7 +508,7 @@ class CfgVehicles {
priority = -1;
};
class ACE_Passengers {
- displayName = "$STR_ACE_Interaction_Passengers";
+ displayName = CSTRING(Passengers);
condition = "true";
statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
@@ -517,7 +517,7 @@ class CfgVehicles {
};
class ACE_SelfActions {
class ACE_Passengers {
- displayName = "$STR_ACE_Interaction_Passengers";
+ displayName = CSTRING(Passengers);
condition = "true";
statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
@@ -528,12 +528,12 @@ class CfgVehicles {
class StaticWeapon: LandVehicle {
class ACE_Actions {
class ACE_MainActions {
- displayName = "$STR_ACE_Interaction_MainAction";
+ displayName = CSTRING(MainAction);
selection = "gunnerview";
distance = 2;
condition = "true";
class ACE_Passengers {
- displayName = "$STR_ACE_Interaction_Passengers";
+ displayName = CSTRING(Passengers);
condition = "true";
statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
@@ -542,7 +542,7 @@ class CfgVehicles {
};
class ACE_SelfActions {
class ACE_Passengers {
- displayName = "$STR_ACE_Interaction_Passengers";
+ displayName = CSTRING(Passengers);
condition = "true";
statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
@@ -554,7 +554,7 @@ class CfgVehicles {
class ReammoBox_F: thingX {
class ACE_Actions {
class ACE_MainActions {
- displayName = "$STR_ACE_Interaction_MainAction";
+ displayName = CSTRING(MainAction);
selection = "";
distance = 2;
condition = "true";
diff --git a/addons/interaction/XEH_postInit.sqf b/addons/interaction/XEH_postInit.sqf
index e5b2e99291..3a4ddf1336 100644
--- a/addons/interaction/XEH_postInit.sqf
+++ b/addons/interaction/XEH_postInit.sqf
@@ -23,7 +23,7 @@ private ["_team"];
// Add keybinds
-["ACE3 Common", QGVAR(openDoor), localize "STR_ACE_Interaction_OpenDoor",
+["ACE3 Common", QGVAR(openDoor), localize STRING(OpenDoor),
{
// Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -43,7 +43,7 @@ private ["_team"];
[57, [false, true, false]], false] call cba_fnc_addKeybind; //Key CTRL+Space
-["ACE3 Common", QGVAR(tapShoulder), localize "STR_ACE_Interaction_TapShoulder",
+["ACE3 Common", QGVAR(tapShoulder), localize STRING(TapShoulder),
{
// Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -57,7 +57,7 @@ private ["_team"];
{false},
[20, [true, false, false]], false] call cba_fnc_addKeybind;
-["ACE3 Common", QGVAR(modifierKey), localize "STR_ACE_Interaction_ModifierKey",
+["ACE3 Common", QGVAR(modifierKey), localize STRING(ModifierKey),
{
// Conditions: canInteract
//if !([ACE_player, objNull, ["isNotDragging"]] call EFUNC(common,canInteractWith)) exitWith {false}; // not needed
diff --git a/addons/interaction/functions/fnc_joinTeam.sqf b/addons/interaction/functions/fnc_joinTeam.sqf
index cd2ea8c880..628ed3b936 100644
--- a/addons/interaction/functions/fnc_joinTeam.sqf
+++ b/addons/interaction/functions/fnc_joinTeam.sqf
@@ -25,10 +25,10 @@ _unit setVariable [QGVAR(assignedFireTeam), _team, true];
if (_unit == ACE_player) then {
_message = if (_team == "MAIN") then {
- localize "STR_ACE_Interaction_LeftTeam";
+ localize STRING(LeftTeam);
} else {
- _team = localize format ["STR_ACE_Interaction_Team%1", _team];
- format [localize "STR_ACE_Interaction_JoinedTeam", _team];
+ _team = localize format [STRING(Team%1), _team];
+ format [localize STRING(JoinedTeam), _team];
};
[_message] call EFUNC(common,displayTextStructured);
diff --git a/addons/interaction/functions/fnc_openMenuSelectUI.sqf b/addons/interaction/functions/fnc_openMenuSelectUI.sqf
index e1b6a30df1..cdcf632208 100644
--- a/addons/interaction/functions/fnc_openMenuSelectUI.sqf
+++ b/addons/interaction/functions/fnc_openMenuSelectUI.sqf
@@ -29,7 +29,7 @@ if !(_unit in _cargo) exitWith {};
GVAR(InteractionMenu_Crew) = _cargo;
// Prepare: add header and "OK" button to select menu
-_actions = [localize "STR_ACE_Interaction_InteractionMenu", localize "STR_ACE_Interaction_Interact"] call FUNC(prepareSelectMenu);
+_actions = [localize STRING(InteractionMenu), localize STRING(Interact)] call FUNC(prepareSelectMenu);
// Prepare: add all cargo units as options to select menu
{
diff --git a/addons/interaction/functions/fnc_prepareSelectMenu.sqf b/addons/interaction/functions/fnc_prepareSelectMenu.sqf
index 07bef07b37..2353488e31 100644
--- a/addons/interaction/functions/fnc_prepareSelectMenu.sqf
+++ b/addons/interaction/functions/fnc_prepareSelectMenu.sqf
@@ -21,7 +21,7 @@ PARAMS_2(_header,_buttonText);
closeDialog 0;
if (isNil "_buttonText" or {_buttonText == ""}) then {
- _buttonText = localize "STR_ACE_Interaction_MakeSelection";
+ _buttonText = localize STRING(MakeSelection);
};
createDialog "RscACE_SelectAnItem";
diff --git a/addons/interaction/functions/fnc_tapShoulder.sqf b/addons/interaction/functions/fnc_tapShoulder.sqf
index 23391651cc..747afddf7e 100644
--- a/addons/interaction/functions/fnc_tapShoulder.sqf
+++ b/addons/interaction/functions/fnc_tapShoulder.sqf
@@ -32,9 +32,9 @@ addCamShake [4, 0.5, 5];
private ["_message"];
//localize is converting the escaped <> symbols, so just add them here instead of in the stringtable
if (_shoulderNum == 0) then {
- _message = format ["%1 >", (localize "STR_ACE_Interaction_YouWereTappedRight")];
+ _message = format ["%1 >", (localize STRING(YouWereTappedRight))];
} else {
- _message = format ["< %1", (localize "STR_ACE_Interaction_YouWereTappedLeft")];
+ _message = format ["< %1", (localize STRING(YouWereTappedLeft))];
};
[parseText _message] call EFUNC(common,displayTextStructured);
diff --git a/addons/inventory/ACE_Settings.hpp b/addons/inventory/ACE_Settings.hpp
index 9e1b7fc15a..87f2b59550 100644
--- a/addons/inventory/ACE_Settings.hpp
+++ b/addons/inventory/ACE_Settings.hpp
@@ -3,8 +3,8 @@ class ACE_Settings {
value = 0;
typeName = "SCALAR";
isClientSettable = 1;
- displayName = "$STR_ACE_Inventory_SettingName";
- description = "$STR_ACE_Inventory_SettingDescription";
+ displayName = CSTRING(SettingName);
+ description = CSTRING(SettingDescription);
values[] = {"$str_medium", "$str_large", "$str_very_large"};
};
};
\ No newline at end of file
diff --git a/addons/javelin/initKeybinds.sqf b/addons/javelin/initKeybinds.sqf
index 2c095b93fc..c164073b30 100644
--- a/addons/javelin/initKeybinds.sqf
+++ b/addons/javelin/initKeybinds.sqf
@@ -1,6 +1,6 @@
// by commy2
-["ACE3 Weapons", QGVAR(lockTarget), localize "STR_ACE_JAVELIN_LockTarget",
+["ACE3 Weapons", QGVAR(lockTarget), localize STRING(LockTarget),
{
if (GETGVAR(isLockKeyDown,false)) exitWith {false};
@@ -21,7 +21,7 @@
},
[15, [false, false, false]], false] call cba_fnc_addKeybind; //Tab Key
-["ACE3 Weapons", QGVAR(cycleFireMode), localize "STR_ACE_JAVELIN_CycleFireMode",
+["ACE3 Weapons", QGVAR(cycleFireMode), localize STRING(CycleFireMode),
{ false },
{
[ACE_player] call FUNC(cycleFireMode);
diff --git a/addons/kestrel4500/CfgVehicles.hpp b/addons/kestrel4500/CfgVehicles.hpp
index 20d8bf5b62..6e2fc1cba5 100644
--- a/addons/kestrel4500/CfgVehicles.hpp
+++ b/addons/kestrel4500/CfgVehicles.hpp
@@ -4,7 +4,7 @@ class CfgVehicles {
class ACE_SelfActions {
class ACE_Equipment {
class GVAR(open) {
- displayName = "$STR_ACE_Kestrel4500_OpenKestrel";
+ displayName = CSTRING(OpenKestrel);
condition = QUOTE(call FUNC(canShow) && !GVAR(Kestrel4500));
statement = QUOTE(call FUNC(createKestrelDialog));
showDisabled = 0;
@@ -13,7 +13,7 @@ class CfgVehicles {
exceptions[] = {"notOnMap"};
};
class GVAR(show) {
- displayName = "$STR_ACE_Kestrel4500_ShowKestrel";
+ displayName = CSTRING(ShowKestrel);
condition = QUOTE(call FUNC(canShow) && !GVAR(Overlay));
statement = QUOTE(call FUNC(displayKestrel));
showDisabled = 0;
@@ -22,7 +22,7 @@ class CfgVehicles {
exceptions[] = {"notOnMap", "isNotInside"};
};
class GVAR(hide) {
- displayName = "$STR_ACE_Kestrel4500_HideKestrel";
+ displayName = CSTRING(HideKestrel);
condition = QUOTE(GVAR(Overlay));
statement = QUOTE(call FUNC(displayKestrel));
showDisabled = 0;
diff --git a/addons/kestrel4500/CfgWeapons.hpp b/addons/kestrel4500/CfgWeapons.hpp
index 881edca202..c12fbcba28 100644
--- a/addons/kestrel4500/CfgWeapons.hpp
+++ b/addons/kestrel4500/CfgWeapons.hpp
@@ -6,8 +6,8 @@ class CfgWeapons {
class ACE_Kestrel4500: ACE_ItemCore {
author[] = {$STR_ACE_Common_ACETeam, "Ruthberg"};
scope = 2;
- displayName = "$STR_ACE_Kestrel_Name";
- descriptionShort = "$STR_ACE_Kestrel_Description";
+ displayName = CSTRING(Name);
+ descriptionShort = CSTRING(Description);
model = PATHTOF(kestrel4500.p3d);
picture = PATHTOF(UI\Kestrel4500.paa);
icon = "iconObject_circle";
diff --git a/addons/kestrel4500/initKeybinds.sqf b/addons/kestrel4500/initKeybinds.sqf
index 2105d906d8..4a4cb74220 100644
--- a/addons/kestrel4500/initKeybinds.sqf
+++ b/addons/kestrel4500/initKeybinds.sqf
@@ -1,4 +1,4 @@
-["ACE3 Equipment", QGVAR(KestrelDialogKey), localize "STR_ACE_Kestrel4500_KestrelDialogKey",
+["ACE3 Equipment", QGVAR(KestrelDialogKey), localize STRING(KestrelDialogKey),
{
// Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -13,7 +13,7 @@
{false},
[0, [false, false, false]], false, 0] call CBA_fnc_addKeybind; // (empty default key)
-["ACE3 Equipment", QGVAR(DisplayKestrelKey), localize "STR_ACE_Kestrel4500_DisplayKestrelKey",
+["ACE3 Equipment", QGVAR(DisplayKestrelKey), localize STRING(DisplayKestrelKey),
{
// Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
diff --git a/addons/laser/functions/fnc_keyLaserCodeDown.sqf b/addons/laser/functions/fnc_keyLaserCodeDown.sqf
index a27b376d59..96f50b92d1 100644
--- a/addons/laser/functions/fnc_keyLaserCodeDown.sqf
+++ b/addons/laser/functions/fnc_keyLaserCodeDown.sqf
@@ -8,5 +8,5 @@ if(_oldLaserCode > ACE_DEFAULT_LASER_CODE) then {
ACE_player setVariable [QGVAR(code), _laserCode, false];
};
if(_laserCode != _oldLaserCode) then {
- [format ["%1: %2", localize "STR_ACE_laser_laserCode", _laserCode]] call EFUNC(common,displayTextStructured);
+ [format ["%1: %2", localize STRING(laserCode), _laserCode]] call EFUNC(common,displayTextStructured);
};
\ No newline at end of file
diff --git a/addons/laser/functions/fnc_keyLaserCodeUp.sqf b/addons/laser/functions/fnc_keyLaserCodeUp.sqf
index 4e8750164c..e11e32389f 100644
--- a/addons/laser/functions/fnc_keyLaserCodeUp.sqf
+++ b/addons/laser/functions/fnc_keyLaserCodeUp.sqf
@@ -6,5 +6,5 @@ _oldLaserCode = ACE_player getVariable [QGVAR(code), ACE_DEFAULT_LASER_CODE];
_laserCode = _oldLaserCode + 1;
ACE_player setVariable [QGVAR(code), _laserCode, false];
if(_laserCode != _oldLaserCode) then {
-[format ["%1: %2", localize "STR_ACE_laser_laserCode", _laserCode]] call EFUNC(common,displayTextStructured);
+[format ["%1: %2", localize STRING(laserCode), _laserCode]] call EFUNC(common,displayTextStructured);
};
\ No newline at end of file
diff --git a/addons/laser/initKeybinds.sqf b/addons/laser/initKeybinds.sqf
index d367b3553c..9d86bcb034 100644
--- a/addons/laser/initKeybinds.sqf
+++ b/addons/laser/initKeybinds.sqf
@@ -1,4 +1,4 @@
-["ACE3 Equipment", QGVAR(LaserCodeUp), localize "STR_ACE_laser_laserCodeUp",
+["ACE3 Equipment", QGVAR(LaserCodeUp), localize STRING(laserCodeUp),
{
if( EGVAR(laser_selfdesignate,active)
||
@@ -12,7 +12,7 @@
{false},
[16, [false, true, true]], false, 0] call CBA_fnc_addKeybind; // (ALT+CTRL+Q)
-["ACE3 Equipment", QGVAR(LaserCodeDown), localize "STR_ACE_laser_laserCodeDown",
+["ACE3 Equipment", QGVAR(LaserCodeDown), localize STRING(laserCodeDown),
{
if( EGVAR(laser_selfdesignate,active)
||
diff --git a/addons/laser_selfdesignate/functions/fnc_initDesignatorActions.sqf b/addons/laser_selfdesignate/functions/fnc_initDesignatorActions.sqf
index 6514c889a1..1167e0e5a6 100644
--- a/addons/laser_selfdesignate/functions/fnc_initDesignatorActions.sqf
+++ b/addons/laser_selfdesignate/functions/fnc_initDesignatorActions.sqf
@@ -31,7 +31,7 @@ GVAR(initializedClasses) = _initializedClasses;
// e.g.: _vehicle setVariable [format ["%1_%2", QGVAR(active), _x], false];
// Add actions
- _onAction = [QGVAR(LaserOn), localize "STR_ACE_Laser_SelfDesignate_DesignatorOn", "",
+ _onAction = [QGVAR(LaserOn), localize STRING(DesignatorOn), "",
{
// Statement
_this call FUNC(laserHudDesignateOn)
@@ -41,7 +41,7 @@ GVAR(initializedClasses) = _initializedClasses;
!GVAR(active) && {[ACE_player] call FUNC(unitTurretHasDesignator)}
}] call EFUNC(interact_menu,createAction);
- _offAction = [QGVAR(LaserOff), localize "STR_ACE_Laser_SelfDesignate_DesignatorOff", "",
+ _offAction = [QGVAR(LaserOff), localize STRING(DesignatorOff), "",
{
// Statement
_this call FUNC(laserHudDesignateOff)
diff --git a/addons/laserpointer/CfgWeapons.hpp b/addons/laserpointer/CfgWeapons.hpp
index 6223c3a988..57f36c80d2 100644
--- a/addons/laserpointer/CfgWeapons.hpp
+++ b/addons/laserpointer/CfgWeapons.hpp
@@ -10,26 +10,26 @@ class CfgWeapons {
class acc_pointer_IR: ItemCore {
ACE_nextModeClass = "ACE_acc_pointer_red";
- ACE_modeDescription = "$STR_ACE_Laserpointer_IRLaser";
+ ACE_modeDescription = CSTRING(IRLaser);
- displayName = "$STR_ACE_Laserpointer_red";
- descriptionUse = "$STR_ACE_Laserpointer_useLaser";
+ displayName = CSTRING(red);
+ descriptionUse = CSTRING(useLaser);
};
class ACE_acc_pointer_red: ItemCore {
ACE_nextModeClass = "acc_pointer_IR";
- ACE_modeDescription = "$STR_ACE_Laserpointer_Laser";
+ ACE_modeDescription = CSTRING(Laser);
ACE_laserpointer = 1;
author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_acc_pointer_red";
scope = 1;
- displayName = "$STR_ACE_Laserpointer_red";
- descriptionUse = "$STR_ACE_Laserpointer_useLaser";
+ displayName = CSTRING(red);
+ descriptionUse = CSTRING(useLaser);
picture = "\A3\weapons_F\Data\UI\gear_accv_pointer_CA.paa";
model = "\A3\weapons_f\acc\accv_pointer_F";
- descriptionShort = "$STR_ACE_Laserpointer_Description";
+ descriptionShort = CSTRING(Description);
class ItemInfo: InventoryFlashLightItem_Base_F {
mass = 6;
@@ -69,23 +69,23 @@ class CfgWeapons {
class ACE_acc_pointer_green_IR: acc_pointer_IR {
ACE_nextModeClass = "ACE_acc_pointer_green";
- ACE_modeDescription = "$STR_ACE_Laserpointer_IRLaser";
+ ACE_modeDescription = CSTRING(IRLaser);
author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_acc_pointer_green";
scope = 1;
- displayName = "$STR_ACE_Laserpointer_green";
+ displayName = CSTRING(green);
};
class ACE_acc_pointer_green: ACE_acc_pointer_red {
ACE_nextModeClass = "ACE_acc_pointer_green_IR";
- ACE_modeDescription = "$STR_ACE_Laserpointer_Laser";
+ ACE_modeDescription = CSTRING(Laser);
ACE_laserpointer = 2;
author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_acc_pointer_green";
scope = 2;
- displayName = "$STR_ACE_Laserpointer_green";
+ displayName = CSTRING(green);
};
};
diff --git a/addons/laserpointer/initKeybinds.sqf b/addons/laserpointer/initKeybinds.sqf
index e01f3be5fa..b33247e03d 100644
--- a/addons/laserpointer/initKeybinds.sqf
+++ b/addons/laserpointer/initKeybinds.sqf
@@ -1,6 +1,6 @@
// by commy2
-["ACE3 Weapons", QGVAR(switchLaserLightMode), localize "STR_ACE_Laserpointer_switchLaserLight",
+["ACE3 Weapons", QGVAR(switchLaserLightMode), localize STRING(switchLaserLight),
{
// Conditions: canInteract
if !([ACE_player, objNull, ["isNotInside"]] call EFUNC(common,canInteractWith)) exitWith {false};
diff --git a/addons/logistics_uavbattery/CfgVehicles.hpp b/addons/logistics_uavbattery/CfgVehicles.hpp
index 5feba4c9a8..075e35b3c8 100644
--- a/addons/logistics_uavbattery/CfgVehicles.hpp
+++ b/addons/logistics_uavbattery/CfgVehicles.hpp
@@ -4,7 +4,7 @@ class CfgVehicles {
class ACE_Actions {
class ACE_MainActions {
class GVAR(RefuelUAV) {
- displayName = "$STR_ACE_logistics_uavbattery_Recharge";
+ displayName = CSTRING(Recharge);
distance = 4;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canRefuelUAV));
statement = QUOTE([ARR_2(_player, _target)] call FUNC(refuelUAV));
diff --git a/addons/logistics_uavbattery/CfgWeapons.hpp b/addons/logistics_uavbattery/CfgWeapons.hpp
index 1986b4f80f..923d2dd934 100644
--- a/addons/logistics_uavbattery/CfgWeapons.hpp
+++ b/addons/logistics_uavbattery/CfgWeapons.hpp
@@ -4,8 +4,8 @@ class CfgWeapons {
class ACE_UAVBattery: ACE_ItemCore {
scope = 2;
- displayName = "$STR_ACE_logistics_uavbattery_Battery_Name";
- descriptionShort = "$STR_ACE_logistics_uavbattery_Battery_Description";
+ displayName = CSTRING(Battery_Name);
+ descriptionShort = CSTRING(Battery_Description);
model = QUOTE(PATHTOF(models\ace_battery.p3d));
picture = QUOTE(PATHTOF(ui\UAV_battery_ca.paa));
class ItemInfo: InventoryItem_Base_F {
diff --git a/addons/logistics_uavbattery/functions/fnc_refuelUAV.sqf b/addons/logistics_uavbattery/functions/fnc_refuelUAV.sqf
index 6fda0fed10..350f9097bb 100644
--- a/addons/logistics_uavbattery/functions/fnc_refuelUAV.sqf
+++ b/addons/logistics_uavbattery/functions/fnc_refuelUAV.sqf
@@ -36,4 +36,4 @@ _onFailure = {
[_caller, "AinvPknlMstpSnonWnonDr_medic5", 0] call EFUNC(common,doAnimation);
-[10, [_caller, _target], _onFinish, _onFailure, (localize "STR_ACE_logistics_uavbattery_Battery_Recharge"), {(_this select 0) call FUNC(canRefuelUAV)}] call EFUNC(common,progressBar);
+[10, [_caller, _target], _onFinish, _onFailure, (localize STRING(Battery_Recharge)), {(_this select 0) call FUNC(canRefuelUAV)}] call EFUNC(common,progressBar);
diff --git a/addons/logistics_wirecutter/CfgWeapons.hpp b/addons/logistics_wirecutter/CfgWeapons.hpp
index 648bc3a3f8..e4cd605b8c 100644
--- a/addons/logistics_wirecutter/CfgWeapons.hpp
+++ b/addons/logistics_wirecutter/CfgWeapons.hpp
@@ -4,8 +4,8 @@ class CfgWeapons {
class ACE_wirecutter: ACE_ItemCore {
author = "$STR_ACE_Common_ACETeam";
- displayName = "$STR_ACE_logistics_wirecutter_wirecutterName";
- descriptionShort = "$STR_ACE_logistics_wirecutter_wirecutterDescription";
+ displayName = CSTRING(wirecutterName);
+ descriptionShort = CSTRING(wirecutterDescription);
model = "\A3\weapons_F\ammo\mag_univ.p3d";
picture = QUOTE(PATHTOF(ui\item_wirecutter_ca.paa));
scope = 2;
diff --git a/addons/logistics_wirecutter/functions/fnc_cutDownFence.sqf b/addons/logistics_wirecutter/functions/fnc_cutDownFence.sqf
index 0cab7ab461..4cd6eba85f 100644
--- a/addons/logistics_wirecutter/functions/fnc_cutDownFence.sqf
+++ b/addons/logistics_wirecutter/functions/fnc_cutDownFence.sqf
@@ -38,4 +38,4 @@ _progressCheck = {
((!isNull _fenceObject) && {(damage _fenceObject) < 1} && {("ACE_wirecutter" in (items ACE_player))})
};
-[_timeToCut, [_fenceObject,0], {(_this select 0) call FUNC(cutDownFenceCallback)}, {(_this select 0) call FUNC(cutDownFenceAbort)}, localize "STR_ACE_logistics_wirecutter_CuttingFence", _progressCheck] call EFUNC(common,progressBar);
+[_timeToCut, [_fenceObject,0], {(_this select 0) call FUNC(cutDownFenceCallback)}, {(_this select 0) call FUNC(cutDownFenceAbort)}, localize STRING(CuttingFence), _progressCheck] call EFUNC(common,progressBar);
diff --git a/addons/logistics_wirecutter/functions/fnc_cutDownFenceCallback.sqf b/addons/logistics_wirecutter/functions/fnc_cutDownFenceCallback.sqf
index 77bc4f2ba6..245b65bde8 100644
--- a/addons/logistics_wirecutter/functions/fnc_cutDownFenceCallback.sqf
+++ b/addons/logistics_wirecutter/functions/fnc_cutDownFenceCallback.sqf
@@ -18,5 +18,5 @@
PARAMS_1(_fenceObject);
_fenceObject setdamage 1;
-// [localize "STR_ACE_logistics_wirecutter_FenceCut"] call EFUNC(common,displayTextStructured);
+// [localize STRING(FenceCut)] call EFUNC(common,displayTextStructured);
[ACE_player, "AmovPknlMstpSrasWrflDnon", 1] call EFUNC(common,doAnimation);
diff --git a/addons/logistics_wirecutter/functions/fnc_interactEH.sqf b/addons/logistics_wirecutter/functions/fnc_interactEH.sqf
index efb8f292c9..2bcb488d42 100644
--- a/addons/logistics_wirecutter/functions/fnc_interactEH.sqf
+++ b/addons/logistics_wirecutter/functions/fnc_interactEH.sqf
@@ -53,7 +53,7 @@ if (!("ACE_wirecutter" in (items ace_player))) exitWith {};
if ([_x] call FUNC(isFence)) then {
_fencesHelped pushBack _x;
_helper = "Sign_Sphere25cm_F" createVehicleLocal (getpos _x);
- _action = [QGVAR(helperCutFence), (localize "STR_ACE_logistics_wirecutter_CutFence"), QUOTE(PATHTOF(ui\wirecutter_ca.paa)), _fncStatement, _fncCondition, {}, _x, [0,0,0], 5] call EFUNC(interact_menu,createAction);
+ _action = [QGVAR(helperCutFence), (localize STRING(CutFence)), QUOTE(PATHTOF(ui\wirecutter_ca.paa)), _fncStatement, _fncCondition, {}, _x, [0,0,0], 5] call EFUNC(interact_menu,createAction);
[_helper, 0, [],_action] call EFUNC(interact_menu,addActionToObject);
_helper setPosASL ((getPosASL _x) vectorAdd [0,0,1.25]);
_helper hideObject true;
diff --git a/addons/magazinerepack/CfgVehicles.hpp b/addons/magazinerepack/CfgVehicles.hpp
index a5312369d5..f94d8f2b06 100644
--- a/addons/magazinerepack/CfgVehicles.hpp
+++ b/addons/magazinerepack/CfgVehicles.hpp
@@ -3,7 +3,7 @@ class CfgVehicles {
class CAManBase: Man {
class ACE_SelfActions {
class ACE_RepackMagazines {
- displayName = "$STR_ACE_MagazineRepack_RepackMagazines";
+ displayName = CSTRING(RepackMagazines);
condition = QUOTE(true);
exceptions[] = {"isNotInside"};
insertChildren = QUOTE(_this call FUNC(getMagazineChildren));
diff --git a/addons/magazinerepack/functions/fnc_magazineRepackFinish.sqf b/addons/magazinerepack/functions/fnc_magazineRepackFinish.sqf
index c4ddb2d93d..d47878086d 100644
--- a/addons/magazinerepack/functions/fnc_magazineRepackFinish.sqf
+++ b/addons/magazinerepack/functions/fnc_magazineRepackFinish.sqf
@@ -29,9 +29,9 @@ _fullMagazineCount = getNumber (configfile >> "CfgMagazines" >> _magazineClassna
if (!([ACE_player, objNull, ["isNotInside"]] call EFUNC(common,canInteractWith))) exitWith {};
_structuredOutputText = if (_errorCode == 0) then {
- format ["%1
", (localize "STR_ACE_MagazineRepack_RepackComplete")];
+ format ["%1
", (localize STRING(RepackComplete))];
} else {
- format ["%1
", (localize "STR_ACE_MagazineRepack_RepackInterrupted")];
+ format ["%1
", (localize STRING(RepackInterrupted))];
};
_picture = getText (configFile >> "CfgMagazines" >> _magazineClassname >> "picture");
@@ -51,6 +51,6 @@ _structuredOutputText = _structuredOutputText + format ["" + (localize "STR_ACE_MagazineRepack_RepackedMagazinesCount") + ""), _fullMags, _partialMags];
+// _structuredOutputText = _structuredOutputText + format [("" + (localize STRING(RepackedMagazinesCount)) + ""), _fullMags, _partialMags];
[parseText _structuredOutputText, 2] call EFUNC(common,displayTextStructured);
diff --git a/addons/magazinerepack/functions/fnc_startRepackingMagazine.sqf b/addons/magazinerepack/functions/fnc_startRepackingMagazine.sqf
index bb98461316..48c357eece 100644
--- a/addons/magazinerepack/functions/fnc_startRepackingMagazine.sqf
+++ b/addons/magazinerepack/functions/fnc_startRepackingMagazine.sqf
@@ -67,7 +67,7 @@ _totalTime,
[_magazineClassname, _startingAmmoCounts, _simEvents],
{_this call FUNC(magazineRepackFinish)},
{_this call FUNC(magazineRepackFinish)},
-(localize "STR_ACE_MagazineRepack_RepackingMagazine"),
+(localize STRING(RepackingMagazine)),
{_this call FUNC(magazineRepackProgress)},
["isNotInside"]
] call EFUNC(common,progressBar);
diff --git a/addons/map/CfgVehicles.hpp b/addons/map/CfgVehicles.hpp
index a5194e015e..a6ce8b29dc 100644
--- a/addons/map/CfgVehicles.hpp
+++ b/addons/map/CfgVehicles.hpp
@@ -3,66 +3,66 @@ class CfgVehicles {
class ACE_ModuleMap: Module_F {
author = "$STR_ACE_Common_ACETeam";
category = "ACE";
- displayName = "$STR_ACE_Map_Module_DisplayName";
+ displayName = CSTRING(Module_DisplayName);
function = QFUNC(moduleMap);
scope = 2;
isGlobal = 1;
icon = PATHTOF(UI\Icon_Module_Map_ca.paa);
class Arguments {
class MapIllumination {
- displayName = "$STR_ACE_Map_MapIllumination_DisplayName";
- description = "$STR_ACE_Map_MapIllumination_Description";
+ displayName = CSTRING(MapIllumination_DisplayName);
+ description = CSTRING(MapIllumination_Description);
typeName = "BOOL";
defaultValue = 1;
};
class MapShake {
- displayName = "$STR_ACE_Map_MapShake_DisplayName";
- description = "$STR_ACE_Map_MapShake_Description";
+ displayName = CSTRING(MapShake_DisplayName);
+ description = CSTRING(MapShake_Description);
typeName = "BOOL";
defaultValue = 1;
};
class MapLimitZoom {
- displayName = "$STR_ACE_Map_MapLimitZoom_DisplayName";
- description = "$STR_ACE_Map_MapLimitZoom_Description";
+ displayName = CSTRING(MapLimitZoom_DisplayName);
+ description = CSTRING(MapLimitZoom_Description);
typeName = "BOOL";
defaultValue = 0;
};
class MapShowCursorCoordinates {
- displayName = "$STR_ACE_Map_MapShowCursorCoordinates_DisplayName";
- description = "$STR_ACE_Map_MapShowCursorCoordinates_Description";
+ displayName = CSTRING(MapShowCursorCoordinates_DisplayName);
+ description = CSTRING(MapShowCursorCoordinates_Description);
typeName = "BOOL";
defaultValue = 0;
};
};
class ModuleDescription {
- description = "$STR_ACE_Map_Module_Description";
+ description = CSTRING(Module_Description);
};
};
class ACE_ModuleBlueForceTracking: Module_F {
author = "$STR_ACE_Common_ACETeam";
category = "ACE";
- displayName = "$STR_ACE_Map_BFT_Module_DisplayName";
+ displayName = CSTRING(BFT_Module_DisplayName);
function = QFUNC(blueForceTrackingModule);
scope = 2;
isGlobal = 1;
icon = PATHTOF(UI\Icon_Module_BFTracking_ca.paa);
class Arguments {
class Interval {
- displayName = "$STR_ACE_Map_BFT_Interval_DisplayName";
- description = "$STR_ACE_Map_BFT_Interval_Description";
+ displayName = CSTRING(BFT_Interval_DisplayName);
+ description = CSTRING(BFT_Interval_Description);
typeName = "NUMBER";
defaultValue = 1;
};
class HideAiGroups {
- displayName = "$STR_ACE_Map_BFT_HideAiGroups_DisplayName";
- description = "$STR_ACE_Map_BFT_HideAiGroups_Description";
+ displayName = CSTRING(BFT_HideAiGroups_DisplayName);
+ description = CSTRING(BFT_HideAiGroups_Description);
typeName = "BOOL";
defaultValue = 0;
};
};
class ModuleDescription {
- description = "$STR_ACE_Map_BFT_Module_Description";
+ description = CSTRING(BFT_Module_Description);
};
};
};
\ No newline at end of file
diff --git a/addons/maptools/CfgVehicles.hpp b/addons/maptools/CfgVehicles.hpp
index d9eb295871..3046ec0ec1 100644
--- a/addons/maptools/CfgVehicles.hpp
+++ b/addons/maptools/CfgVehicles.hpp
@@ -4,7 +4,7 @@ class CfgVehicles {
class ACE_SelfActions {
class ACE_MapTools {
- displayName = "$STR_ACE_MapTools_MapTools_Menu";
+ displayName = CSTRING(MapTools_Menu);
condition = QUOTE((call FUNC(canUseMapTools) || {call FUNC(canUseMapGPS)}));
statement = "";
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"};
@@ -12,7 +12,7 @@ class CfgVehicles {
priority = 100;
class ACE_MapToolsHide {
- displayName = "$STR_ACE_MapTools_MapToolsHide";
+ displayName = CSTRING(MapToolsHide);
condition = QUOTE((call FUNC(canUseMapTools) && {GVAR(mapTool_Shown) != 0}));
statement = QUOTE(GVAR(mapTool_Shown) = 0; [] call FUNC(updateMapToolMarkers));
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"};
@@ -20,7 +20,7 @@ class CfgVehicles {
priority = 5;
};
class ACE_MapToolsShowNormal {
- displayName = "$STR_ACE_MapTools_MapToolsShowNormal";
+ displayName = CSTRING(MapToolsShowNormal);
condition = QUOTE((call FUNC(canUseMapTools) && {GVAR(mapTool_Shown) != 1}));
statement = QUOTE(GVAR(mapTool_Shown) = 1; [] call FUNC(updateMapToolMarkers));
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"};
@@ -28,7 +28,7 @@ class CfgVehicles {
priority = 4;
};
class ACE_MapToolsShowSmall {
- displayName = "$STR_ACE_MapTools_MapToolsShowSmall";
+ displayName = CSTRING(MapToolsShowSmall);
condition = QUOTE((call FUNC(canUseMapTools) && {GVAR(mapTool_Shown) != 2}));
statement = QUOTE(GVAR(mapTool_Shown) = 2; [] call FUNC(updateMapToolMarkers));
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"};
@@ -36,7 +36,7 @@ class CfgVehicles {
priority = 3;
};
class ACE_MapToolsAlignNorth {
- displayName = "$STR_ACE_MapTools_MapToolsAlignNorth";
+ displayName = CSTRING(MapToolsAlignNorth);
condition = QUOTE((call FUNC(canUseMapTools) && {GVAR(mapTool_Shown) != 0}));
statement = QUOTE(GVAR(mapTool_angle) = 0; [] call FUNC(updateMapToolMarkers));
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"};
@@ -44,7 +44,7 @@ class CfgVehicles {
priority = 2;
};
class ACE_MapToolsAlignCompass {
- displayName = "$STR_ACE_MapTools_MapToolsAlignCompass";
+ displayName = CSTRING(MapToolsAlignCompass);
condition = QUOTE((call FUNC(canUseMapTools) && {GVAR(mapTool_Shown) != 0} && {('ItemCompass' in assigneditems ACE_player) || {'ItemCompass' in assigneditems ACE_player}}));
statement = QUOTE(GVAR(mapTool_angle) = getDir ACE_player; [] call FUNC(updateMapToolMarkers));
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"};
@@ -52,7 +52,7 @@ class CfgVehicles {
priority = 1;
};
class ACE_MapGpsShow {
- displayName = "$STR_ACE_MapTools_MapGpsShow";
+ displayName = CSTRING(MapGpsShow);
condition = QUOTE((call FUNC(canUseMapGPS) && {!GVAR(mapGpsShow)}));
statement = QUOTE(GVAR(mapGpsShow) = true; [GVAR(mapGpsShow)] call FUNC(openMapGps));
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"};
@@ -60,7 +60,7 @@ class CfgVehicles {
priority = 0;
};
class ACE_MapGpsHide {
- displayName = "$STR_ACE_MapTools_MapGpsHide";
+ displayName = CSTRING(MapGpsHide);
condition = QUOTE((call FUNC(canUseMapGPS) && {GVAR(mapGpsShow)}));
statement = QUOTE(GVAR(mapGpsShow) = false; [GVAR(mapGpsShow)] call FUNC(openMapGps));
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"};
@@ -73,7 +73,7 @@ class CfgVehicles {
class ACE_Actions {
class ACE_MainActions {
class ACE_CopyMap {
- displayName = "$STR_ACE_MapTools_CopyMap";
+ displayName = CSTRING(CopyMap);
condition = QUOTE(([_target] call EFUNC(common,isPlayer) && {'ItemMap' in assigneditems _player} && {'ACE_MapTools' in items _player} && {'ItemMap' in assignedItems _target}));
statement = QUOTE([ARR_2(_player,_target)] call FUNC(copyMapStart));
showDisabled = 0;
diff --git a/addons/maptools/CfgWeapons.hpp b/addons/maptools/CfgWeapons.hpp
index 9d4d313c43..2e2271509b 100644
--- a/addons/maptools/CfgWeapons.hpp
+++ b/addons/maptools/CfgWeapons.hpp
@@ -3,8 +3,8 @@ class CfgWeapons {
class InventoryItem_Base_F;
class ACE_MapTools: ACE_ItemCore {
- displayName = "$STR_ACE_MapTools_Name";
- descriptionShort = "$STR_ACE_MapTools_Description";
+ displayName = CSTRING(Name);
+ descriptionShort = CSTRING(Description);
model = "\A3\weapons_F\ammo\mag_univ.p3d";
picture = PATHTOF(UI\maptool_item.paa);
scope = 2;
diff --git a/addons/markers/functions/fnc_onSliderPosChangedAngle.sqf b/addons/markers/functions/fnc_onSliderPosChangedAngle.sqf
index 747c0d4bbb..940b84fe42 100644
--- a/addons/markers/functions/fnc_onSliderPosChangedAngle.sqf
+++ b/addons/markers/functions/fnc_onSliderPosChangedAngle.sqf
@@ -25,6 +25,6 @@ if (_direction < 0) then {
_direction = _direction + 360;
};
-((ctrlParent _ctrl) displayCtrl 1221) ctrlSetText format [localize "STR_ACE_Markers_MarkerDirection", _direction];
+((ctrlParent _ctrl) displayCtrl 1221) ctrlSetText format [localize STRING(MarkerDirection), _direction];
GVAR(currentMarkerAngle) = _data;
diff --git a/addons/medical/ACE_Medical_Actions.hpp b/addons/medical/ACE_Medical_Actions.hpp
index 9052df81da..6c643e53a2 100644
--- a/addons/medical/ACE_Medical_Actions.hpp
+++ b/addons/medical/ACE_Medical_Actions.hpp
@@ -1,6 +1,6 @@
class ACE_Head {
- displayName = "$STR_ACE_Interaction_Head";
+ displayName = CSTRING(Head);
runOnHover = 1;
statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation));
ACTION_CONDITION
@@ -9,7 +9,7 @@ class ACE_Head {
icon = PATHTOF(UI\icons\medical_cross.paa);
distance = MEDICAL_ACTION_DISTANCE;
class Bandage {
- displayName = "$STR_ACE_Medical_Bandage";
+ displayName = CSTRING(Bandage);
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(treatment));
@@ -21,7 +21,7 @@ class ACE_Head {
};
// Advanced medical
class FieldDressing {
- displayName = "$STR_ACE_Medical_Actions_FieldDressing";
+ displayName = CSTRING(Actions_FieldDressing);
distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(treatment));
@@ -32,54 +32,54 @@ class ACE_Head {
icon = PATHTOF(UI\icons\bandage.paa);
};
class PackingBandage: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_PackingBandage";
+ displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\packingBandage.paa);
};
class ElasticBandage: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_ElasticBandage";
+ displayName = CSTRING(Actions_ElasticBandage);
condition = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\bandage.paa);
};
class QuikClot: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_QuikClot";
+ displayName = CSTRING(Actions_QuikClot);
condition = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\bandage.paa);
};
class CheckPulse: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_CheckPulse";
+ displayName = CSTRING(Actions_CheckPulse);
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckPulse')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckPulse')] call DFUNC(treatment));
EXCEPTIONS
icon = "";
};
class CheckBloodPressure: CheckPulse {
- displayName = "$STR_ACE_Medical_Actions_CheckBloodPressure";
+ displayName = CSTRING(Actions_CheckBloodPressure);
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckBloodPressure')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckBloodPressure')] call DFUNC(treatment));
EXCEPTIONS
};
class CheckResponse: CheckPulse {
- displayName = "$STR_ACE_Medical_Check_Response";
+ displayName = CSTRING(Check_Response);
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckResponse')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckResponse')] call DFUNC(treatment));
EXCEPTIONS
};
class Diagnose: CheckPulse {
- displayName = "$STR_ACE_Medical_Actions_Diagnose";
+ displayName = CSTRING(Actions_Diagnose);
condition = QUOTE([ARR_4(_player, _target, 'head', 'Diagnose')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'Diagnose')] call DFUNC(treatment));
EXCEPTIONS
};
};
class ACE_Torso {
- displayName = "$STR_ACE_Interaction_Torso";
+ displayName = CSTRING(Torso);
runOnHover = 1;
statement = QUOTE([ARR_3(_target, true, 1)] call DFUNC(displayPatientInformation));
ACTION_CONDITION
@@ -88,7 +88,7 @@ class ACE_Torso {
icon = PATHTOF(UI\icons\medical_cross.paa);
distance = MEDICAL_ACTION_DISTANCE;
class Bandage {
- displayName = "$STR_ACE_Medical_Bandage";
+ displayName = CSTRING(Bandage);
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(treatment));
@@ -100,7 +100,7 @@ class ACE_Torso {
icon = PATHTOF(UI\icons\bandage.paa);
};
class PlaceInBodyBag {
- displayName = "$STR_ACE_Medical_PlaceInBodyBag";
+ displayName = CSTRING(PlaceInBodyBag);
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'body', 'BodyBag')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'BodyBag')] call DFUNC(treatment));
@@ -111,7 +111,7 @@ class ACE_Torso {
enableInside = 1;
};
class TriageCard {
- displayName = "$STR_ACE_Medical_Actions_TriageCard";
+ displayName = CSTRING(Actions_TriageCard);
distance = 2.0;
condition = "true";
statement = QUOTE([ARR_2(_target, true)] call DFUNC(displayTriageCard));
@@ -125,7 +125,7 @@ class ACE_Torso {
// Advanced medical
class FieldDressing {
- displayName = "$STR_ACE_Medical_Actions_FieldDressing";
+ displayName = CSTRING(Actions_FieldDressing);
distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(treatment));
@@ -137,42 +137,42 @@ class ACE_Torso {
icon = PATHTOF(UI\icons\bandage.paa);
};
class PackingBandage: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_PackingBandage";
+ displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\packingBandage.paa);
};
class ElasticBandage: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_ElasticBandage";
+ displayName = CSTRING(Actions_ElasticBandage);
condition = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\bandage.paa);
};
class QuikClot: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_QuikClot";
+ displayName = CSTRING(Actions_QuikClot);
condition = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\bandage.paa);
};
class SurgicalKit: fieldDressing {
- displayName = "$STR_ACE_Medical_Use_SurgicalKit";
+ displayName = CSTRING(Use_SurgicalKit);
condition = QUOTE([ARR_4(_player, _target, 'body', 'SurgicalKit')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'SurgicalKit')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\surgicalKit.paa);
};
class PersonalAidKit: fieldDressing {
- displayName = "$STR_ACE_Medical_Use_Aid_Kit";
+ displayName = CSTRING(Use_Aid_Kit);
condition = QUOTE([ARR_4(_player, _target, 'body', 'PersonalAidKit')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'PersonalAidKit')] call DFUNC(treatment));
EXCEPTIONS
icon = "";
};
class CPR: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_CPR";
+ displayName = CSTRING(Actions_CPR);
condition = QUOTE([ARR_4(_player, _target, 'body', 'CPR')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'CPR')] call DFUNC(treatment));
EXCEPTIONS
@@ -180,7 +180,7 @@ class ACE_Torso {
};
};
class ACE_ArmLeft {
- displayName = "$STR_ACE_Interaction_ArmLeft";
+ displayName = CSTRING(ArmLeft);
runOnHover = 1;
statement = QUOTE([ARR_3(_target, true, 2)] call DFUNC(displayPatientInformation));
ACTION_CONDITION
@@ -190,7 +190,7 @@ class ACE_ArmLeft {
distance = MEDICAL_ACTION_DISTANCE;
class Bandage {
- displayName = "$STR_ACE_Medical_Bandage";
+ displayName = CSTRING(Bandage);
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(treatment));
@@ -203,7 +203,7 @@ class ACE_ArmLeft {
// Advanced medical
class FieldDressing {
- displayName = "$STR_ACE_Medical_Actions_FieldDressing";
+ displayName = CSTRING(Actions_FieldDressing);
distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(treatment));
@@ -214,131 +214,131 @@ class ACE_ArmLeft {
icon = PATHTOF(UI\icons\bandage.paa);
};
class PackingBandage: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_PackingBandage";
+ displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\packingBandage.paa);
};
class ElasticBandage: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_ElasticBandage";
+ displayName = CSTRING(Actions_ElasticBandage);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\bandage.paa);
};
class QuikClot: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_QuikClot";
+ displayName = CSTRING(Actions_QuikClot);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\bandage.paa);
};
class Tourniquet: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_Tourniquet";
+ displayName = CSTRING(Actions_Tourniquet);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\tourniquet.paa);
};
class Morphine: fieldDressing {
- displayName = "$STR_ACE_Medical_Inject_Morphine";
+ displayName = CSTRING(Inject_Morphine);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class Atropine: Morphine {
- displayName = "$STR_ACE_Medical_Inject_Atropine";
+ displayName = CSTRING(Inject_Atropine);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class Epinephrine: Morphine {
- displayName = "$STR_ACE_Medical_Inject_Epinephrine";
+ displayName = CSTRING(Inject_Epinephrine);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class BloodIV: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_Blood4_1000";
+ displayName = CSTRING(Actions_Blood4_1000);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\iv.paa);
};
class BloodIV_500: BloodIV {
- displayName = "$STR_ACE_Medical_Actions_Blood4_500";
+ displayName = CSTRING(Actions_Blood4_500);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV_500')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV_500')] call DFUNC(treatment));
EXCEPTIONS
};
class BloodIV_250: BloodIV {
- displayName = "$STR_ACE_Medical_Actions_Blood4_250";
+ displayName = CSTRING(Actions_Blood4_250);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV_250')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV_250')] call DFUNC(treatment));
EXCEPTIONS
};
class PlasmaIV: BloodIV {
- displayName = "$STR_ACE_Medical_Actions_Plasma4_1000";
+ displayName = CSTRING(Actions_Plasma4_1000);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV')] call DFUNC(treatment));
EXCEPTIONS
};
class PlasmaIV_500: PlasmaIV {
- displayName = "$STR_ACE_Medical_Actions_Plasma4_500";
+ displayName = CSTRING(Actions_Plasma4_500);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV_500')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV_500')] call DFUNC(treatment));
EXCEPTIONS
};
class PlasmaIV_250: PlasmaIV {
- displayName = "$STR_ACE_Medical_Actions_Plasma4_250";
+ displayName = CSTRING(Actions_Plasma4_250);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV_250')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV_250')] call DFUNC(treatment));
EXCEPTIONS
};
class SalineIV: BloodIV {
- displayName = "$STR_ACE_Medical_Actions_Saline4_1000";
+ displayName = CSTRING(Actions_Saline4_1000);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'SalineIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'SalineIV')] call DFUNC(treatment));
EXCEPTIONS
};
class SalineIV_500: SalineIV {
- displayName = "$STR_ACE_Medical_Actions_Saline4_500";
+ displayName = CSTRING(Actions_Saline4_500);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'SalineIV_500')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'SalineIV_500')] call DFUNC(treatment));
EXCEPTIONS
};
class SalineIV_250: SalineIV {
- displayName = "$STR_ACE_Medical_Actions_Saline4_250";
+ displayName = CSTRING(Actions_Saline4_250);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'SalineIV_250')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'SalineIV_250')] call DFUNC(treatment));
EXCEPTIONS
};
class CheckPulse: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_CheckPulse";
+ displayName = CSTRING(Actions_CheckPulse);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckPulse')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckPulse')] call DFUNC(treatment));
EXCEPTIONS
icon = "";
};
class CheckBloodPressure: CheckPulse {
- displayName = "$STR_ACE_Medical_Actions_CheckBloodPressure";
+ displayName = CSTRING(Actions_CheckBloodPressure);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckBloodPressure')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckBloodPressure')] call DFUNC(treatment));
EXCEPTIONS
};
class RemoveTourniquet: Tourniquet {
- displayName = "$STR_ACE_Medical_Actions_RemoveTourniquet";
+ displayName = CSTRING(Actions_RemoveTourniquet);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'RemoveTourniquet')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'RemoveTourniquet')] call DFUNC(treatment));
EXCEPTIONS
};
};
class ACE_ArmRight {
- displayName = "$STR_ACE_Interaction_ArmRight";
+ displayName = CSTRING(ArmRight);
runOnHover = 1;
statement = QUOTE([ARR_3(_target, true, 3)] call DFUNC(displayPatientInformation));
ACTION_CONDITION
@@ -348,7 +348,7 @@ class ACE_ArmRight {
distance = MEDICAL_ACTION_DISTANCE;
class Bandage {
- displayName = "$STR_ACE_Medical_Bandage";
+ displayName = CSTRING(Bandage);
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(treatment));
@@ -361,7 +361,7 @@ class ACE_ArmRight {
// Advanced medical
class FieldDressing {
- displayName = "$STR_ACE_Medical_Actions_FieldDressing";
+ displayName = CSTRING(Actions_FieldDressing);
distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(treatment));
@@ -372,120 +372,120 @@ class ACE_ArmRight {
icon = PATHTOF(UI\icons\bandage.paa);
};
class PackingBandage: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_PackingBandage";
+ displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\packingBandage.paa);
};
class ElasticBandage: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_ElasticBandage";
+ displayName = CSTRING(Actions_ElasticBandage);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'ElasticBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'ElasticBandage')] call DFUNC(treatment));
EXCEPTIONS
};
class QuikClot: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_QuikClot";
+ displayName = CSTRING(Actions_QuikClot);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'QuikClot')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'QuikClot')] call DFUNC(treatment));
EXCEPTIONS
};
class Tourniquet: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_Tourniquet";
+ displayName = CSTRING(Actions_Tourniquet);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\tourniquet.paa);
};
class Morphine: fieldDressing {
- displayName = "$STR_ACE_Medical_Inject_Morphine";
+ displayName = CSTRING(Inject_Morphine);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class Atropine: Morphine {
- displayName = "$STR_ACE_Medical_Inject_Atropine";
+ displayName = CSTRING(Inject_Atropine);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Atropine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Atropine')] call DFUNC(treatment));
EXCEPTIONS
};
class Epinephrine: Morphine {
- displayName = "$STR_ACE_Medical_Inject_Epinephrine";
+ displayName = CSTRING(Inject_Epinephrine);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Epinephrine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Epinephrine')] call DFUNC(treatment));
EXCEPTIONS
};
class BloodIV: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_Blood4_1000";
+ displayName = CSTRING(Actions_Blood4_1000);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\iv.paa);
};
class BloodIV_500: BloodIV {
- displayName = "$STR_ACE_Medical_Actions_Blood4_500";
+ displayName = CSTRING(Actions_Blood4_500);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV_500')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV_500')] call DFUNC(treatment));
EXCEPTIONS
};
class BloodIV_250: BloodIV {
- displayName = "$STR_ACE_Medical_Actions_Blood4_250";
+ displayName = CSTRING(Actions_Blood4_250);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV_250')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV_250')] call DFUNC(treatment));
EXCEPTIONS
};
class PlasmaIV: BloodIV {
- displayName = "$STR_ACE_Medical_Actions_Plasma4_1000";
+ displayName = CSTRING(Actions_Plasma4_1000);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'PlasmaIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PlasmaIV')] call DFUNC(treatment));
EXCEPTIONS
};
class PlasmaIV_500: PlasmaIV {
- displayName = "$STR_ACE_Medical_Actions_Plasma4_500";
+ displayName = CSTRING(Actions_Plasma4_500);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'PlasmaIV_500')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PlasmaIV_500')] call DFUNC(treatment));
EXCEPTIONS
};
class PlasmaIV_250: PlasmaIV {
- displayName = "$STR_ACE_Medical_Actions_Plasma4_250";
+ displayName = CSTRING(Actions_Plasma4_250);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'PlasmaIV_250')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PlasmaIV_250')] call DFUNC(treatment));
EXCEPTIONS
};
class SalineIV: BloodIV {
- displayName = "$STR_ACE_Medical_Actions_Saline4_1000";
+ displayName = CSTRING(Actions_Saline4_1000);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'SalineIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'SalineIV')] call DFUNC(treatment));
EXCEPTIONS
};
class SalineIV_500: SalineIV {
- displayName = "$STR_ACE_Medical_Actions_Saline4_500";
+ displayName = CSTRING(Actions_Saline4_500);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'SalineIV_500')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'SalineIV_500')] call DFUNC(treatment));
EXCEPTIONS
};
class SalineIV_250: SalineIV {
- displayName = "$STR_ACE_Medical_Actions_Saline4_250";
+ displayName = CSTRING(Actions_Saline4_250);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'SalineIV_250')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'SalineIV_250')] call DFUNC(treatment));
EXCEPTIONS
};
class CheckPulse: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_CheckPulse";
+ displayName = CSTRING(Actions_CheckPulse);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckPulse')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckPulse')] call DFUNC(treatment));
EXCEPTIONS
icon = "";
};
class CheckBloodPressure: CheckPulse {
- displayName = "$STR_ACE_Medical_Actions_CheckBloodPressure";
+ displayName = CSTRING(Actions_CheckBloodPressure);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckBloodPressure')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckBloodPressure')] call DFUNC(treatment));
EXCEPTIONS
};
class RemoveTourniquet: Tourniquet {
- displayName = "$STR_ACE_Medical_Actions_RemoveTourniquet";
+ displayName = CSTRING(Actions_RemoveTourniquet);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'RemoveTourniquet')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'RemoveTourniquet')] call DFUNC(treatment));
EXCEPTIONS
@@ -493,7 +493,7 @@ class ACE_ArmRight {
};
class ACE_LegLeft {
- displayName = "$STR_ACE_Interaction_LegLeft";
+ displayName = CSTRING(LegLeft);
runOnHover = 1;
statement = QUOTE([ARR_3(_target, true, 4)] call DFUNC(displayPatientInformation));
ACTION_CONDITION
@@ -503,7 +503,7 @@ class ACE_LegLeft {
distance = MEDICAL_ACTION_DISTANCE;
class Bandage {
- displayName = "$STR_ACE_Medical_Bandage";
+ displayName = CSTRING(Bandage);
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(treatment));
@@ -517,7 +517,7 @@ class ACE_LegLeft {
// Advanced medical
class FieldDressing {
- displayName = "$STR_ACE_Medical_Actions_FieldDressing";
+ displayName = CSTRING(Actions_FieldDressing);
distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(treatment));
@@ -528,115 +528,115 @@ class ACE_LegLeft {
icon = PATHTOF(UI\icons\bandage.paa);
};
class PackingBandage: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_PackingBandage";
+ displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\packingBandage.paa);
};
class ElasticBandage: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_ElasticBandage";
+ displayName = CSTRING(Actions_ElasticBandage);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'ElasticBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'ElasticBandage')] call DFUNC(treatment));
EXCEPTIONS
};
class QuikClot: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_QuikClot";
+ displayName = CSTRING(Actions_QuikClot);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'QuikClot')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'QuikClot')] call DFUNC(treatment));
EXCEPTIONS
};
class Tourniquet: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_Tourniquet";
+ displayName = CSTRING(Actions_Tourniquet);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\tourniquet.paa);
};
class Morphine: fieldDressing {
- displayName = "$STR_ACE_Medical_Inject_Morphine";
+ displayName = CSTRING(Inject_Morphine);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class Atropine: Morphine {
- displayName = "$STR_ACE_Medical_Inject_Atropine";
+ displayName = CSTRING(Inject_Atropine);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class Epinephrine: Morphine {
- displayName = "$STR_ACE_Medical_Inject_Epinephrine";
+ displayName = CSTRING(Inject_Epinephrine);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Epinephrine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Epinephrine')] call DFUNC(treatment));
EXCEPTIONS
};
class BloodIV: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_Blood4_1000";
+ displayName = CSTRING(Actions_Blood4_1000);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\iv.paa);
};
class BloodIV_500: BloodIV {
- displayName = "$STR_ACE_Medical_Actions_Blood4_500";
+ displayName = CSTRING(Actions_Blood4_500);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV_500')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV_500')] call DFUNC(treatment));
EXCEPTIONS
};
class BloodIV_250: BloodIV {
- displayName = "$STR_ACE_Medical_Actions_Blood4_250";
+ displayName = CSTRING(Actions_Blood4_250);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV_250')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV_250')] call DFUNC(treatment));
EXCEPTIONS
};
class PlasmaIV: BloodIV {
- displayName = "$STR_ACE_Medical_Actions_Plasma4_1000";
+ displayName = CSTRING(Actions_Plasma4_1000);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'PlasmaIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PlasmaIV')] call DFUNC(treatment));
EXCEPTIONS
};
class PlasmaIV_500: PlasmaIV {
- displayName = "$STR_ACE_Medical_Actions_Plasma4_500";
+ displayName = CSTRING(Actions_Plasma4_500);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'PlasmaIV_500')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PlasmaIV_500')] call DFUNC(treatment));
EXCEPTIONS
};
class PlasmaIV_250: PlasmaIV {
- displayName = "$STR_ACE_Medical_Actions_Plasma4_250";
+ displayName = CSTRING(Actions_Plasma4_250);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'PlasmaIV_250')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PlasmaIV_250')] call DFUNC(treatment));
EXCEPTIONS
};
class SalineIV: BloodIV {
- displayName = "$STR_ACE_Medical_Actions_Saline4_1000";
+ displayName = CSTRING(Actions_Saline4_1000);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'SalineIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'SalineIV')] call DFUNC(treatment));
EXCEPTIONS
};
class SalineIV_500: SalineIV {
- displayName = "$STR_ACE_Medical_Actions_Saline4_500";
+ displayName = CSTRING(Actions_Saline4_500);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'SalineIV_500')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'SalineIV_500')] call DFUNC(treatment));
EXCEPTIONS
};
class SalineIV_250: SalineIV {
- displayName = "$STR_ACE_Medical_Actions_Saline4_250";
+ displayName = CSTRING(Actions_Saline4_250);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'SalineIV_250')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'SalineIV_250')] call DFUNC(treatment));
EXCEPTIONS
};
class RemoveTourniquet: Tourniquet {
- displayName = "$STR_ACE_Medical_Actions_RemoveTourniquet";
+ displayName = CSTRING(Actions_RemoveTourniquet);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'RemoveTourniquet')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'RemoveTourniquet')] call DFUNC(treatment));
EXCEPTIONS
};
};
class ACE_LegRight {
- displayName = "$STR_ACE_Interaction_LegRight";
+ displayName = CSTRING(LegRight);
runOnHover = 1;
statement = QUOTE([ARR_3(_target, true, 5)] call DFUNC(displayPatientInformation));
ACTION_CONDITION
@@ -646,7 +646,7 @@ class ACE_LegRight {
distance = MEDICAL_ACTION_DISTANCE;
class Bandage {
- displayName = "$STR_ACE_Medical_Bandage";
+ displayName = CSTRING(Bandage);
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(treatment));
@@ -660,7 +660,7 @@ class ACE_LegRight {
// Advanced medical
class FieldDressing {
- displayName = "$STR_ACE_Medical_Actions_FieldDressing";
+ displayName = CSTRING(Actions_FieldDressing);
distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(treatment));
@@ -671,107 +671,107 @@ class ACE_LegRight {
icon = PATHTOF(UI\icons\bandage.paa);
};
class PackingBandage: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_PackingBandage";
+ displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\packingBandage.paa);
};
class ElasticBandage: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_ElasticBandage";
+ displayName = CSTRING(Actions_ElasticBandage);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'ElasticBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'ElasticBandage')] call DFUNC(treatment));
EXCEPTIONS
};
class QuikClot: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_QuikClot";
+ displayName = CSTRING(Actions_QuikClot);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'QuikClot')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'QuikClot')] call DFUNC(treatment));
EXCEPTIONS
};
class Tourniquet: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_Tourniquet";
+ displayName = CSTRING(Actions_Tourniquet);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\tourniquet.paa);
};
class Morphine: fieldDressing {
- displayName = "$STR_ACE_Medical_Inject_Morphine";
+ displayName = CSTRING(Inject_Morphine);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class Atropine: Morphine {
- displayName = "$STR_ACE_Medical_Inject_Atropine";
+ displayName = CSTRING(Inject_Atropine);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Atropine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Atropine')] call DFUNC(treatment));
EXCEPTIONS
};
class Epinephrine: Morphine {
- displayName = "$STR_ACE_Medical_Inject_Epinephrine";
+ displayName = CSTRING(Inject_Epinephrine);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Epinephrine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Epinephrine')] call DFUNC(treatment));
EXCEPTIONS
};
class BloodIV: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_Blood4_1000";
+ displayName = CSTRING(Actions_Blood4_1000);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV')] call DFUNC(treatment));
EXCEPTIONS
icon = PATHTOF(UI\icons\iv.paa);
};
class BloodIV_500: BloodIV {
- displayName = "$STR_ACE_Medical_Actions_Blood4_500";
+ displayName = CSTRING(Actions_Blood4_500);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV_500')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV_500')] call DFUNC(treatment));
EXCEPTIONS
};
class BloodIV_250: BloodIV {
- displayName = "$STR_ACE_Medical_Actions_Blood4_250";
+ displayName = CSTRING(Actions_Blood4_250);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV_250')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV_250')] call DFUNC(treatment));
EXCEPTIONS
};
class PlasmaIV: BloodIV {
- displayName = "$STR_ACE_Medical_Actions_Plasma4_1000";
+ displayName = CSTRING(Actions_Plasma4_1000);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'PlasmaIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PlasmaIV')] call DFUNC(treatment));
EXCEPTIONS
};
class PlasmaIV_500: PlasmaIV {
- displayName = "$STR_ACE_Medical_Actions_Plasma4_500";
+ displayName = CSTRING(Actions_Plasma4_500);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'PlasmaIV_500')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PlasmaIV_500')] call DFUNC(treatment));
EXCEPTIONS
};
class PlasmaIV_250: PlasmaIV {
- displayName = "$STR_ACE_Medical_Actions_Plasma4_250";
+ displayName = CSTRING(Actions_Plasma4_250);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'PlasmaIV_250')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PlasmaIV_250')] call DFUNC(treatment));
EXCEPTIONS
};
class SalineIV: BloodIV {
- displayName = "$STR_ACE_Medical_Actions_Saline4_1000";
+ displayName = CSTRING(Actions_Saline4_1000);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'SalineIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'SalineIV')] call DFUNC(treatment));
EXCEPTIONS
};
class SalineIV_500: SalineIV {
- displayName = "$STR_ACE_Medical_Actions_Saline4_500";
+ displayName = CSTRING(Actions_Saline4_500);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'SalineIV_500')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'SalineIV_500')] call DFUNC(treatment));
EXCEPTIONS
};
class SalineIV_250: SalineIV {
- displayName = "$STR_ACE_Medical_Actions_Saline4_250";
+ displayName = CSTRING(Actions_Saline4_250);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'SalineIV_250')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'SalineIV_250')] call DFUNC(treatment));
EXCEPTIONS
};
class RemoveTourniquet: Tourniquet {
- displayName = "$STR_ACE_Medical_Actions_RemoveTourniquet";
+ displayName = CSTRING(Actions_RemoveTourniquet);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'RemoveTourniquet')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'RemoveTourniquet')] call DFUNC(treatment));
EXCEPTIONS
diff --git a/addons/medical/ACE_Medical_SelfActions.hpp b/addons/medical/ACE_Medical_SelfActions.hpp
index 5b98448664..a19db92073 100644
--- a/addons/medical/ACE_Medical_SelfActions.hpp
+++ b/addons/medical/ACE_Medical_SelfActions.hpp
@@ -1,5 +1,5 @@
class Medical {
- displayName = "$STR_ACE_Medical_Actions_Medical";
+ displayName = CSTRING(Actions_Medical);
runOnHover = 1;
hotkey = "M";
exceptions[] = {"isNotInside"};
@@ -8,7 +8,7 @@ class Medical {
icon = PATHTOF(UI\icons\medical_cross.paa);
class ACE_Head {
- displayName = "$STR_ACE_Interaction_Head";
+ displayName = CSTRING(Head);
icon = PATHTOF(UI\icons\medical_cross.paa);
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation));
@@ -17,7 +17,7 @@ class Medical {
runOnHover = 1;
class Bandage {
- displayName = "$STR_ACE_Medical_Bandage";
+ displayName = CSTRING(Bandage);
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
@@ -29,7 +29,7 @@ class Medical {
};
// Advanced medical
class FieldDressing {
- displayName = "$STR_ACE_Medical_Actions_FieldDressing";
+ displayName = CSTRING(Actions_FieldDressing);
distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
@@ -40,42 +40,42 @@ class Medical {
icon = PATHTOF(UI\icons\bandage.paa);
};
class PackingBandage: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_PackingBandage";
+ displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa);
};
class ElasticBandage: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_ElasticBandage";
+ displayName = CSTRING(Actions_ElasticBandage);
condition = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\bandage.paa);
};
class QuikClot: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_QuikClot";
+ displayName = CSTRING(Actions_QuikClot);
condition = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\bandage.paa);
};
class CheckPulse: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_CheckPulse";
+ displayName = CSTRING(Actions_CheckPulse);
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckPulse')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckPulse')] call DFUNC(treatment));
icon = "";
};
class CheckBloodPressure: CheckPulse {
- displayName = "$STR_ACE_Medical_Actions_CheckBloodPressure";
+ displayName = CSTRING(Actions_CheckBloodPressure);
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckBloodPressure')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckBloodPressure')] call DFUNC(treatment));
};
};
class ACE_Torso {
- displayName = "$STR_ACE_Interaction_Torso";
+ displayName = CSTRING(Torso);
distance = 5.0;
condition = "true";
runOnHover = 1;
@@ -88,7 +88,7 @@ class Medical {
icon = PATHTOF(UI\icons\medical_cross.paa);
class Bandage {
- displayName = "$STR_ACE_Medical_Bandage";
+ displayName = CSTRING(Bandage);
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
@@ -100,7 +100,7 @@ class Medical {
};
class TriageCard {
- displayName = "$STR_ACE_Medical_Actions_TriageCard";
+ displayName = CSTRING(Actions_TriageCard);
distance = 2.0;
condition = "true";
exceptions[] = {"isNotInside"};
@@ -113,7 +113,7 @@ class Medical {
// Advanced medical
class FieldDressing {
- displayName = "$STR_ACE_Medical_Actions_FieldDressing";
+ displayName = CSTRING(Actions_FieldDressing);
distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
@@ -124,21 +124,21 @@ class Medical {
icon = PATHTOF(UI\icons\bandage.paa);
};
class PackingBandage: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_PackingBandage";
+ displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa);
};
class ElasticBandage: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_ElasticBandage";
+ displayName = CSTRING(Actions_ElasticBandage);
condition = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\bandage.paa);
};
class QuikClot: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_QuikClot";
+ displayName = CSTRING(Actions_QuikClot);
condition = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(treatment));
@@ -146,7 +146,7 @@ class Medical {
};
};
class ACE_ArmLeft {
- displayName = "$STR_ACE_Interaction_ArmLeft";
+ displayName = CSTRING(ArmLeft);
runOnHover = 1;
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_3(_target, true, 2)] call DFUNC(displayPatientInformation));
@@ -155,7 +155,7 @@ class Medical {
icon = PATHTOF(UI\icons\medical_cross.paa);
class Bandage {
- displayName = "$STR_ACE_Medical_Bandage";
+ displayName = CSTRING(Bandage);
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
@@ -168,7 +168,7 @@ class Medical {
// Advanced medical
class FieldDressing {
- displayName = "$STR_ACE_Medical_Actions_FieldDressing";
+ displayName = CSTRING(Actions_FieldDressing);
distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
@@ -179,76 +179,76 @@ class Medical {
icon = PATHTOF(UI\icons\bandage.paa);
};
class PackingBandage: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_PackingBandage";
+ displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa);
};
class ElasticBandage: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_ElasticBandage";
+ displayName = CSTRING(Actions_ElasticBandage);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\bandage.paa);
};
class QuikClot: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_QuikClot";
+ displayName = CSTRING(Actions_QuikClot);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\bandage.paa);
};
class Tourniquet: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_Tourniquet";
+ displayName = CSTRING(Actions_Tourniquet);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\tourniquet.paa);
};
class Morphine: fieldDressing {
- displayName = "$STR_ACE_Medical_Inject_Morphine";
+ displayName = CSTRING(Inject_Morphine);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class Atropine: Morphine {
- displayName = "$STR_ACE_Medical_Inject_Atropine";
+ displayName = CSTRING(Inject_Atropine);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class Epinephrine: Morphine {
- displayName = "$STR_ACE_Medical_Inject_Epinephrine";
+ displayName = CSTRING(Inject_Epinephrine);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class CheckPulse: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_CheckPulse";
+ displayName = CSTRING(Actions_CheckPulse);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckPulse')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckPulse')] call DFUNC(treatment));
icon = "";
};
class CheckBloodPressure: CheckPulse {
- displayName = "$STR_ACE_Medical_Actions_CheckBloodPressure";
+ displayName = CSTRING(Actions_CheckBloodPressure);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckBloodPressure')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckBloodPressure')] call DFUNC(treatment));
};
class RemoveTourniquet: Tourniquet {
- displayName = "$STR_ACE_Medical_Actions_RemoveTourniquet";
+ displayName = CSTRING(Actions_RemoveTourniquet);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'RemoveTourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'RemoveTourniquet')] call DFUNC(treatment));
};
};
class ACE_ArmRight {
- displayName = "$STR_ACE_Interaction_ArmRight";
+ displayName = CSTRING(ArmRight);
runOnHover = 1;
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_3(_target, true, 3)] call DFUNC(displayPatientInformation));
@@ -257,7 +257,7 @@ class Medical {
icon = PATHTOF(UI\icons\medical_cross.paa);
class Bandage {
- displayName = "$STR_ACE_Medical_Bandage";
+ displayName = CSTRING(Bandage);
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
@@ -270,7 +270,7 @@ class Medical {
// Advanced medical
class FieldDressing {
- displayName = "$STR_ACE_Medical_Actions_FieldDressing";
+ displayName = CSTRING(Actions_FieldDressing);
distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
@@ -281,72 +281,72 @@ class Medical {
icon = PATHTOF(UI\icons\bandage.paa);
};
class PackingBandage: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_PackingBandage";
+ displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa);
};
class ElasticBandage: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_ElasticBandage";
+ displayName = CSTRING(Actions_ElasticBandage);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'ElasticBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'ElasticBandage')] call DFUNC(treatment));
};
class QuikClot: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_QuikClot";
+ displayName = CSTRING(Actions_QuikClot);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'QuikClot')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'QuikClot')] call DFUNC(treatment));
};
class Tourniquet: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_Tourniquet";
+ displayName = CSTRING(Actions_Tourniquet);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\tourniquet.paa);
};
class Morphine: fieldDressing {
- displayName = "$STR_ACE_Medical_Inject_Morphine";
+ displayName = CSTRING(Inject_Morphine);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class Atropine: Morphine {
- displayName = "$STR_ACE_Medical_Inject_Atropine";
+ displayName = CSTRING(Inject_Atropine);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Atropine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Atropine')] call DFUNC(treatment));
};
class Epinephrine: Morphine {
- displayName = "$STR_ACE_Medical_Inject_Epinephrine";
+ displayName = CSTRING(Inject_Epinephrine);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Epinephrine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Epinephrine')] call DFUNC(treatment));
};
class CheckPulse: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_CheckPulse";
+ displayName = CSTRING(Actions_CheckPulse);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckPulse')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckPulse')] call DFUNC(treatment));
icon = "";
};
class CheckBloodPressure: CheckPulse {
- displayName = "$STR_ACE_Medical_Actions_CheckBloodPressure";
+ displayName = CSTRING(Actions_CheckBloodPressure);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckBloodPressure')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckBloodPressure')] call DFUNC(treatment));
};
class RemoveTourniquet: Tourniquet {
- displayName = "$STR_ACE_Medical_Actions_RemoveTourniquet";
+ displayName = CSTRING(Actions_RemoveTourniquet);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'RemoveTourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'RemoveTourniquet')] call DFUNC(treatment));
};
};
class ACE_LegLeft {
- displayName = "$STR_ACE_Interaction_LegLeft";
+ displayName = CSTRING(LegLeft);
runOnHover = 1;
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_3(_target, true, 4)] call DFUNC(displayPatientInformation));
@@ -355,7 +355,7 @@ class Medical {
icon = PATHTOF(UI\icons\medical_cross.paa);
class Bandage {
- displayName = "$STR_ACE_Medical_Bandage";
+ displayName = CSTRING(Bandage);
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
@@ -369,7 +369,7 @@ class Medical {
// Advanced medical
class FieldDressing {
- displayName = "$STR_ACE_Medical_Actions_FieldDressing";
+ displayName = CSTRING(Actions_FieldDressing);
distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
@@ -380,60 +380,60 @@ class Medical {
icon = PATHTOF(UI\icons\bandage.paa);
};
class PackingBandage: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_PackingBandage";
+ displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa);
};
class ElasticBandage: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_ElasticBandage";
+ displayName = CSTRING(Actions_ElasticBandage);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'ElasticBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'ElasticBandage')] call DFUNC(treatment));
};
class QuikClot: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_QuikClot";
+ displayName = CSTRING(Actions_QuikClot);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'QuikClot')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'QuikClot')] call DFUNC(treatment));
};
class Tourniquet: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_Tourniquet";
+ displayName = CSTRING(Actions_Tourniquet);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\tourniquet.paa);
};
class Morphine: fieldDressing {
- displayName = "$STR_ACE_Medical_Inject_Morphine";
+ displayName = CSTRING(Inject_Morphine);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class Atropine: Morphine {
- displayName = "$STR_ACE_Medical_Inject_Atropine";
+ displayName = CSTRING(Inject_Atropine);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class Epinephrine: Morphine {
- displayName = "$STR_ACE_Medical_Inject_Epinephrine";
+ displayName = CSTRING(Inject_Epinephrine);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Epinephrine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Epinephrine')] call DFUNC(treatment));
};
class RemoveTourniquet: Tourniquet {
- displayName = "$STR_ACE_Medical_Actions_RemoveTourniquet";
+ displayName = CSTRING(Actions_RemoveTourniquet);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'RemoveTourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'RemoveTourniquet')] call DFUNC(treatment));
};
};
class ACE_LegRight {
- displayName = "$STR_ACE_Interaction_LegRight";
+ displayName = CSTRING(LegRight);
runOnHover = 1;
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_3(_target, true, 5)] call DFUNC(displayPatientInformation));
@@ -442,7 +442,7 @@ class Medical {
icon = PATHTOF(UI\icons\medical_cross.paa);
class Bandage {
- displayName = "$STR_ACE_Medical_Bandage";
+ displayName = CSTRING(Bandage);
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
@@ -456,7 +456,7 @@ class Medical {
// Advanced medical
class FieldDressing {
- displayName = "$STR_ACE_Medical_Actions_FieldDressing";
+ displayName = CSTRING(Actions_FieldDressing);
distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
@@ -467,52 +467,52 @@ class Medical {
icon = PATHTOF(UI\icons\bandage.paa);
};
class PackingBandage: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_PackingBandage";
+ displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa);
};
class ElasticBandage: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_ElasticBandage";
+ displayName = CSTRING(Actions_ElasticBandage);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'ElasticBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'ElasticBandage')] call DFUNC(treatment));
};
class QuikClot: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_QuikClot";
+ displayName = CSTRING(Actions_QuikClot);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'QuikClot')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'QuikClot')] call DFUNC(treatment));
};
class Tourniquet: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_Tourniquet";
+ displayName = CSTRING(Actions_Tourniquet);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\tourniquet.paa);
};
class Morphine: fieldDressing {
- displayName = "$STR_ACE_Medical_Inject_Morphine";
+ displayName = CSTRING(Inject_Morphine);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class Atropine: Morphine {
- displayName = "$STR_ACE_Medical_Inject_Atropine";
+ displayName = CSTRING(Inject_Atropine);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Atropine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Atropine')] call DFUNC(treatment));
};
class Epinephrine: Morphine {
- displayName = "$STR_ACE_Medical_Inject_Epinephrine";
+ displayName = CSTRING(Inject_Epinephrine);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Epinephrine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Epinephrine')] call DFUNC(treatment));
};
class RemoveTourniquet: Tourniquet {
- displayName = "$STR_ACE_Medical_Actions_RemoveTourniquet";
+ displayName = CSTRING(Actions_RemoveTourniquet);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'RemoveTourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'RemoveTourniquet')] call DFUNC(treatment));
diff --git a/addons/medical/ACE_Medical_Treatments.hpp b/addons/medical/ACE_Medical_Treatments.hpp
index 064f29c8f9..5c44ebf7ea 100644
--- a/addons/medical/ACE_Medical_Treatments.hpp
+++ b/addons/medical/ACE_Medical_Treatments.hpp
@@ -2,8 +2,8 @@
class ACE_Medical_Actions {
class Basic {
class Bandage {
- displayName = "$STR_ACE_Medical_Bandage";
- displayNameProgress = "$STR_ACE_Medical_Bandaging";
+ displayName = CSTRING(Bandage);
+ displayNameProgress = CSTRING(Bandaging);
treatmentLocations[] = {"All"};
requiredMedic = 0;
@@ -27,8 +27,8 @@ class ACE_Medical_Actions {
litter[] = { {"All", "", {{"ACE_MedicalLitterBase", "ACE_MedicalLitter_bandage1", "ACE_MedicalLitter_bandage2", "ACE_MedicalLitter_bandage3"}}} };
};
class Morphine: Bandage {
- displayName = "$STR_ACE_Medical_Inject_Morphine";
- displayNameProgress = "$STR_ACE_Medical_Injecting_Morphine";
+ displayName = CSTRING(Inject_Morphine);
+ displayNameProgress = CSTRING(Injecting_Morphine);
treatmentTime = 2;
items[] = {"ACE_morphine"};
callbackSuccess = QUOTE(DFUNC(treatmentBasic_morphine));
@@ -36,8 +36,8 @@ class ACE_Medical_Actions {
litter[] = { {"All", "", {"ACE_MedicalLitter_morphine"}} };
};
class Epinephrine: Bandage {
- displayName = "$STR_ACE_Medical_Inject_Epinephrine";
- displayNameProgress = "$STR_ACE_Medical_Injecting_Epinephrine";
+ displayName = CSTRING(Inject_Epinephrine);
+ displayNameProgress = CSTRING(Injecting_Epinephrine);
requiredMedic = 1;
treatmentTime = 3;
items[] = {"ACE_epinephrine"};
@@ -46,8 +46,8 @@ class ACE_Medical_Actions {
litter[] = { {"All", "", {"ACE_MedicalLitter_epinephrine"}} };
};
class BloodIV: Bandage {
- displayName = "$STR_ACE_Medical_Transfuse_Blood";
- displayNameProgress = "$STR_ACE_Medical_Transfusing_Blood";
+ displayName = CSTRING(Transfuse_Blood);
+ displayNameProgress = CSTRING(Transfusing_Blood);
requiredMedic = 1;
treatmentTime = 20;
items[] = {"ACE_bloodIV"};
@@ -62,8 +62,8 @@ class ACE_Medical_Actions {
items[] = {"ACE_bloodIV_250"};
};
class BodyBag: Bandage {
- displayName = "$STR_ACE_Medical_PlaceInBodyBag";
- displayNameProgress = "$STR_ACE_Medical_PlacingInBodyBag";
+ displayName = CSTRING(PlaceInBodyBag);
+ displayNameProgress = CSTRING(PlacingInBodyBag);
treatmentLocations[] = {"All"};
requiredMedic = 0;
treatmentTime = 2;
@@ -78,8 +78,8 @@ class ACE_Medical_Actions {
litter[] = {};
};
class Diagnose: Bandage {
- displayName = "$STR_ACE_Medical_Actions_Diagnose";
- displayNameProgress = "$STR_ACE_Medical_Actions_Diagnosing";
+ displayName = CSTRING(Actions_Diagnose);
+ displayNameProgress = CSTRING(Actions_Diagnosing);
treatmentLocations[] = {"All"};
requiredMedic = 0;
treatmentTime = 1;
@@ -96,8 +96,8 @@ class ACE_Medical_Actions {
class Advanced {
class FieldDressing {
- displayName = "$STR_ACE_Medical_Bandage";
- displayNameProgress = "$STR_ACE_Medical_Bandaging";
+ displayName = CSTRING(Bandage);
+ displayNameProgress = CSTRING(Bandaging);
// Which locations can this treatment action be used? Available: Field, MedicalFacility, MedicalVehicle, All.
treatmentLocations[] = {"All"};
// What is the level of medical skill required for this treatment action? 0 = all soldiers, 1 = medic, 2 = doctor
@@ -131,8 +131,8 @@ class ACE_Medical_Actions {
items[] = {"ACE_quikclot"};
};
class Tourniquet: fieldDressing {
- displayName = "$STR_ACE_Medical_Apply_Tourniquet";
- displayNameProgress = "$STR_ACE_Medical_Applying_Tourniquet";
+ displayName = CSTRING(Apply_Tourniquet);
+ displayNameProgress = CSTRING(Applying_Tourniquet);
items[] = {"ACE_tourniquet"};
treatmentTime = 6;
callbackSuccess = QUOTE(DFUNC(treatmentTourniquet));
@@ -140,8 +140,8 @@ class ACE_Medical_Actions {
litter[] = {};
};
class Morphine: fieldDressing {
- displayName = "$STR_ACE_Medical_Inject_Morphine";
- displayNameProgress = "$STR_ACE_Medical_Injecting_Morphine";
+ displayName = CSTRING(Inject_Morphine);
+ displayNameProgress = CSTRING(Injecting_Morphine);
items[] = {"ACE_morphine"};
treatmentTime = 3;
callbackSuccess = QUOTE(DFUNC(treatmentAdvanced_medication));
@@ -149,20 +149,20 @@ class ACE_Medical_Actions {
litter[] = { {"All", "", {"ACE_MedicalLitter_morphine"}} };
};
class Atropine: Morphine {
- displayName = "$STR_ACE_Medical_Inject_Atropine";
- displayNameProgress = "$STR_ACE_Medical_Injecting_Atropine";
+ displayName = CSTRING(Inject_Atropine);
+ displayNameProgress = CSTRING(Injecting_Atropine);
items[] = {"ACE_atropine"};
litter[] = { {"All", "", {"ACE_MedicalLitter_atropine"}} };
};
class Epinephrine: Morphine {
- displayName = "$STR_ACE_Medical_Inject_Epinephrine";
- displayNameProgress = "$STR_ACE_Medical_Injecting_Epinephrine";
+ displayName = CSTRING(Inject_Epinephrine);
+ displayNameProgress = CSTRING(Injecting_Epinephrine);
items[] = {"ACE_epinephrine"};
litter[] = { {"All", "", {"ACE_MedicalLitter_epinephrine"}} };
};
class BloodIV: fieldDressing {
- displayName = "$STR_ACE_Medical_Transfuse_Blood";
- displayNameProgress = "$STR_ACE_Medical_Transfusing_Blood";
+ displayName = CSTRING(Transfuse_Blood);
+ displayNameProgress = CSTRING(Transfusing_Blood);
items[] = {"ACE_bloodIV"};
requiredMedic = 1;
treatmentTime = 7;
@@ -177,8 +177,8 @@ class ACE_Medical_Actions {
items[] = {"ACE_bloodIV_250"};
};
class PlasmaIV: BloodIV {
- displayName = "$STR_ACE_Medical_Transfuse_Plasma";
- displayNameProgress = "$STR_ACE_Medical_Transfusing_Plasma";
+ displayName = CSTRING(Transfuse_Plasma);
+ displayNameProgress = CSTRING(Transfusing_Plasma);
items[] = {"ACE_plasmaIV"};
animationCaller = "AinvPknlMstpSnonWnonDnon_medic1";
};
@@ -189,8 +189,8 @@ class ACE_Medical_Actions {
items[] = {"ACE_plasmaIV_250"};
};
class SalineIV: BloodIV {
- displayName = "$STR_ACE_Medical_Transfuse_Saline";
- displayNameProgress = "$STR_ACE_Medical_Transfusing_Saline";
+ displayName = CSTRING(Transfuse_Saline);
+ displayNameProgress = CSTRING(Transfusing_Saline);
items[] = {"ACE_salineIV"};
animationCaller = "AinvPknlMstpSnonWnonDnon_medic1";
};
@@ -202,7 +202,7 @@ class ACE_Medical_Actions {
};
class SurgicalKit: fieldDressing {
displayName = "";
- displayNameProgress = "$STR_ACE_Medical_TreatmentAction";
+ displayNameProgress = CSTRING(TreatmentAction);
items[] = {"ACE_surgicalKit"};
treatmentLocations[] = {QGVAR(useLocation_SurgicalKit)};
requiredMedic = QGVAR(medicSetting_SurgicalKit);
@@ -214,7 +214,7 @@ class ACE_Medical_Actions {
};
class PersonalAidKit: fieldDressing {
displayName = "";
- displayNameProgress = "$STR_ACE_Medical_TreatmentAction";
+ displayNameProgress = CSTRING(TreatmentAction);
items[] = {"ACE_personalAidKit"};
treatmentLocations[] = {QGVAR(useLocation_PAK)};
requiredMedic = QGVAR(medicSetting_PAK);
@@ -231,7 +231,7 @@ class ACE_Medical_Actions {
};
class CheckPulse: fieldDressing {
displayName = "";
- displayNameProgress = "$STR_ACE_Medical_Check_Pulse_Content";
+ displayNameProgress = CSTRING(Check_Pulse_Content);
treatmentLocations[] = {"All"};
requiredMedic = 0;
treatmentTime = 2;
@@ -246,21 +246,21 @@ class ACE_Medical_Actions {
};
class CheckBloodPressure: CheckPulse {
callbackSuccess = QUOTE(DFUNC(actionCheckBloodPressure));
- displayNameProgress = "$STR_ACE_Medical_Check_Bloodpressure_Content";
+ displayNameProgress = CSTRING(Check_Bloodpressure_Content);
};
class CheckResponse: CheckPulse {
callbackSuccess = QUOTE(DFUNC(actionCheckResponse));
- displayNameProgress = "$STR_ACE_Medical_Check_Response_Content";
+ displayNameProgress = CSTRING(Check_Response_Content);
};
class RemoveTourniquet: CheckPulse {
treatmentTime = 2.5;
callbackSuccess = QUOTE(DFUNC(actionRemoveTourniquet));
condition = QUOTE([ARR_2(_this select 1, _this select 2)] call FUNC(hasTourniquetAppliedTo));
- displayNameProgress = "$STR_ACE_Medical_RemovingTourniquet";
+ displayNameProgress = CSTRING(RemovingTourniquet);
};
class CPR: fieldDressing {
- displayName = "$STR_ACE_Medical_Actions_CPR";
- displayNameProgress = "$STR_ACE_Medical_Actions_PerformingCPR";
+ displayName = CSTRING(Actions_CPR);
+ displayNameProgress = CSTRING(Actions_PerformingCPR);
treatmentLocations[] = {"All"};
requiredMedic = 0;
treatmentTime = 15;
@@ -279,8 +279,8 @@ class ACE_Medical_Actions {
litter[] = {};
};
class BodyBag: fieldDressing {
- displayName = "$STR_ACE_Medical_PlaceInBodyBag";
- displayNameProgress = "$STR_ACE_Medical_PlacingInBodyBag";
+ displayName = CSTRING(PlaceInBodyBag);
+ displayNameProgress = CSTRING(PlacingInBodyBag);
treatmentLocations[] = {"All"};
requiredMedic = 0;
treatmentTime = 2;
@@ -306,26 +306,26 @@ class ACE_Medical_Advanced {
// Source: Scarle
// Also called scrapes, they occur when the skin is rubbed away by friction against another rough surface (e.g. rope burns and skinned knees).
class Abrasion {
- name = "$STR_ACE_Medical_Wounds_Abrasion";
+ name = CSTRING(Wounds_Abrasion);
selections[] = {"All"};
bleedingRate = 0.0001;
pain = 0.01;
causes[] = {"falling", "ropeburn", "vehiclecrash", "unknown"};
minDamage = 0.01;
class Minor {
- name = "$STR_ACE_Medical_Wounds_Abrasion_Minor";
+ name = CSTRING(Wounds_Abrasion_Minor);
minDamage = 0.01;
maxDamage = 0.2;
bleedingRate = 0.0001;
};
class Medium {
- name = "$STR_ACE_Medical_Wounds_Abrasion_Medium";
+ name = CSTRING(Wounds_Abrasion_Medium);
minDamage = 0.2;
maxDamage = 0.3;
bleedingRate = 0.00015;
};
class Large {
- name = "$STR_ACE_Medical_Wounds_Abrasion_Large";
+ name = CSTRING(Wounds_Abrasion_Large);
minDamage = 0.3;
bleedingRate = 0.0002;
};
@@ -333,26 +333,26 @@ class ACE_Medical_Advanced {
// Occur when an entire structure or part of it is forcibly pulled away, such as the loss of a permanent tooth or an ear lobe. Explosions, gunshots, and animal bites may cause avulsions.
class Avulsions {
- name = "$STR_ACE_Medical_Wounds_Avulsion";
+ name = CSTRING(Wounds_Avulsion);
selections[] = {"All"};
bleedingRate = 0.01;
pain = 0.3;
causes[] = {"explosive", "vehiclecrash", "grenade", "shell", "bullet", "backblast", "bite"};
minDamage = 0.2;
class Minor {
- name = "$STR_ACE_Medical_Wounds_Avulsion_Minor";
+ name = CSTRING(Wounds_Avulsion_Minor);
minDamage = 0.2;
maxDamage = 0.3;
bleedingRate = 0.01;
};
class Medium {
- name = "$STR_ACE_Medical_Wounds_Avulsion_Medium";
+ name = CSTRING(Wounds_Avulsion_Medium);
minDamage = 0.3;
maxDamage = 0.6;
bleedingRate = 0.02;
};
class Large {
- name = "$STR_ACE_Medical_Wounds_Avulsion_Large";
+ name = CSTRING(Wounds_Avulsion_Large);
minDamage = 0.5;
bleedingRate = 0.05;
};
@@ -360,7 +360,7 @@ class ACE_Medical_Advanced {
// Also called bruises, these are the result of a forceful trauma that injures an internal structure without breaking the skin. Blows to the chest, abdomen, or head with a blunt instrument (e.g. a football or a fist) can cause contusions.
class Contusion {
- name = "$STR_ACE_Medical_Wounds_Contusion";
+ name = CSTRING(Wounds_Contusion);
selections[] = {"All"};
bleedingRate = 0.0;
pain = 0.05;
@@ -368,17 +368,17 @@ class ACE_Medical_Advanced {
minDamage = 0.01;
maxDamage = 0.1;
class Minor {
- name = "$STR_ACE_Medical_Wounds_Contusion_Minor";
+ name = CSTRING(Wounds_Contusion_Minor);
minDamage = 0.01;
maxDamage = 0.1;
};
class Medium {
- name = "$STR_ACE_Medical_Wounds_Contusion_Medium";
+ name = CSTRING(Wounds_Contusion_Medium);
minDamage = 0.1;
maxDamage = 0.15;
};
class Large {
- name = "$STR_ACE_Medical_Wounds_Contusion_Large";
+ name = CSTRING(Wounds_Contusion_Large);
minDamage = 0.15;
maxDamage = 0.2;
};
@@ -386,26 +386,26 @@ class ACE_Medical_Advanced {
// Occur when a heavy object falls onto a person, splitting the skin and shattering or tearing underlying structures.
class CrushWound {
- name = "$STR_ACE_Medical_Wounds_Crush";
+ name = CSTRING(Wounds_Crush);
selections[] = {"All"};
bleedingRate = 0.01;
pain = 0.1;
causes[] = {"falling", "vehiclecrash", "punch", "unknown"};
minDamage = 0.1;
class Minor {
- name = "$STR_ACE_Medical_Wounds_Crush_Minor";
+ name = CSTRING(Wounds_Crush_Minor);
minDamage = 0.1;
maxDamage = 0.45;
bleedingRate = 0.005;
};
class Medium {
- name = "$STR_ACE_Medical_Wounds_Crush_Medium";
+ name = CSTRING(Wounds_Crush_Medium);
minDamage = 0.4;
maxDamage = 0.7;
bleedingRate = 0.007;
};
class Large {
- name = "$STR_ACE_Medical_Wounds_Crush_Large";
+ name = CSTRING(Wounds_Crush_Large);
minDamage = 0.6;
bleedingRate = 0.0095;
};
@@ -413,26 +413,26 @@ class ACE_Medical_Advanced {
// Slicing wounds made with a sharp instrument, leaving even edges. They may be as minimal as a paper cut or as significant as a surgical incision.
class Cut {
- name = "$STR_ACE_Medical_Wounds_Cut";
+ name = CSTRING(Wounds_Cut);
selections[] = {"All"};
bleedingRate = 0.01;
pain = 0.075;
causes[] = {"vehiclecrash", "grenade", "explosive", "shell", "backblast", "stab", "unknown"};
minDamage = 0.1;
class Minor {
- name = "$STR_ACE_Medical_Wounds_Cut_Minor";
+ name = CSTRING(Wounds_Cut_Minor);
minDamage = 0.1;
maxDamage = 0.3;
bleedingRate = 0.005;
};
class Medium {
- name = "$STR_ACE_Medical_Wounds_Cut_Medium";
+ name = CSTRING(Wounds_Cut_Medium);
minDamage = 0.3;
maxDamage = 0.65;
bleedingRate = 0.02;
};
class Large {
- name = "$STR_ACE_Medical_Wounds_Cut_Large";
+ name = CSTRING(Wounds_Cut_Large);
minDamage = 0.65;
bleedingRate = 0.05;
};
@@ -440,26 +440,26 @@ class ACE_Medical_Advanced {
// Also called tears, these are separating wounds that produce ragged edges. They are produced by a tremendous force against the body, either from an internal source as in childbirth, or from an external source like a punch.
class Laceration {
- name = "$STR_ACE_Medical_Wounds_Laceration";
+ name = CSTRING(Wounds_Laceration);
selections[] = {"All"};
bleedingRate = 0.01;
pain = 0.075;
causes[] = {"vehiclecrash", "punch"};
minDamage = 0.01;
class Minor {
- name = "$STR_ACE_Medical_Wounds_Laceration_Minor";
+ name = CSTRING(Wounds_Laceration_Minor);
minDamage = 0.1;
maxDamage = 0.5;
bleedingRate = 0.005;
};
class Medium {
- name = "$STR_ACE_Medical_Wounds_Laceration_Medium";
+ name = CSTRING(Wounds_Laceration_Medium);
minDamage = 0.5;
maxDamage = 0.7;
bleedingRate = 0.01;
};
class Large {
- name = "$STR_ACE_Medical_Wounds_Laceration_Large";
+ name = CSTRING(Wounds_Laceration_Large);
minDamage = 0.7;
bleedingRate = 0.03;
};
@@ -467,25 +467,25 @@ class ACE_Medical_Advanced {
// Also called velocity wounds, they are caused by an object entering the body at a high speed, typically a bullet or small peices of shrapnel.
class velocityWound {
- name = "$STR_ACE_Medical_Wounds_VelocityWound";
+ name = CSTRING(Wounds_VelocityWound);
selections[] = {"All"};
bleedingRate = 0.01;
pain = 0.2;
causes[] = {"bullet", "grenade","explosive", "shell", "unknown"};
minDamage = 0.15;
class Minor {
- name = "$STR_ACE_Medical_Wounds_VelocityWound_Minor";
+ name = CSTRING(Wounds_VelocityWound_Minor);
minDamage = 0.15;
maxDamage = 0.3;
bleedingRate = 0.025;
};
class Medium {
- name = "$STR_ACE_Medical_Wounds_VelocityWound_Medium";
+ name = CSTRING(Wounds_VelocityWound_Medium);
minDamage = 0.3;
bleedingRate = 0.05;
};
class Large {
- name = "$STR_ACE_Medical_Wounds_VelocityWound_Large";
+ name = CSTRING(Wounds_VelocityWound_Large);
minDamage = 0.75;
bleedingRate = 0.1;
};
@@ -493,26 +493,26 @@ class ACE_Medical_Advanced {
// Deep, narrow wounds produced by sharp objects such as nails, knives, and broken glass.
class punctureWound {
- name = "$STR_ACE_Medical_Wounds_PunctureWound";
+ name = CSTRING(Wounds_PunctureWound);
selections[] = {"All"};
bleedingRate = 0.01;
pain = 0.075;
causes[] = {"stab", "grenade"};
minDamage = 0.01;
class Minor {
- name = "$STR_ACE_Medical_Wounds_PunctureWound_Minor";
+ name = CSTRING(Wounds_PunctureWound_Minor);
minDamage = 0.01;
maxDamage = 0.5;
bleedingRate = 0.01;
};
class Medium {
- name = "$STR_ACE_Medical_Wounds_PunctureWound_Medium";
+ name = CSTRING(Wounds_PunctureWound_Medium);
minDamage = 0.5;
maxDamage = 0.75;
bleedingRate = 0.03;
};
class Large {
- name = "$STR_ACE_Medical_Wounds_PunctureWound_Large";
+ name = CSTRING(Wounds_PunctureWound_Large);
minDamage = 0.65;
bleedingRate = 0.08;
};
@@ -520,7 +520,7 @@ class ACE_Medical_Advanced {
};
class fractures {
class Femur {
- name = "$STR_ACE_Medical_Wounds_Femur";
+ name = CSTRING(Wounds_Femur);
selections[] = {"Head", "Torso"};
pain = 0.2;
causes[] = {"Bullet", "VehicleCrash", "Backblast", "Explosive", "Shell", "Grenade"};
diff --git a/addons/medical/ACE_Settings.hpp b/addons/medical/ACE_Settings.hpp
index b3c2152df1..606b63dec8 100644
--- a/addons/medical/ACE_Settings.hpp
+++ b/addons/medical/ACE_Settings.hpp
@@ -85,8 +85,8 @@ class ACE_Settings {
value = 1;
};
class GVAR(litterSimulationDetail) {
- displayName = "$STR_ACE_Medical_litterSimulationDetail";
- description = "$STR_ACE_Medical_litterSimulationDetail_Desc";
+ displayName = CSTRING(litterSimulationDetail);
+ description = CSTRING(litterSimulationDetail_Desc);
typeName = "SCALAR";
value = 3;
@@ -138,7 +138,7 @@ class ACE_Settings {
value = 1;
};
class GVAR(painEffectType) {
- displayName = "$STR_ACE_Medical_painEffectType";
+ displayName = CSTRING(painEffectType);
typeName = "SCALAR";
value = 0;
values[] = {"$STR_ACE_Medical_painEffect_Flash", "$STR_ACE_Medical_painEffect_Chroma"};
@@ -154,8 +154,8 @@ class ACE_Settings {
};
class GVAR(menuTypeStyle) {
- displayName = "$STR_ACE_Medical_menuTypeDisplay";
- description = "$STR_ACE_Medical_menuTypeDescription";
+ displayName = CSTRING(menuTypeDisplay);
+ description = CSTRING(menuTypeDescription);
typeName = "SCALAR";
value = 0;
values[] = {"$STR_ACE_Medical_useSelection"/*, "$STR_ACE_Medical_useRadial"*/};
diff --git a/addons/medical/CfgFactionClasses.hpp b/addons/medical/CfgFactionClasses.hpp
index 67e3404e91..0ca922c8a6 100644
--- a/addons/medical/CfgFactionClasses.hpp
+++ b/addons/medical/CfgFactionClasses.hpp
@@ -1,6 +1,6 @@
class CfgFactionClasses {
class NO_CATEGORY;
class ADDON: NO_CATEGORY {
- displayName = "$STR_ACE_Medical_Category_DisplayName";
+ displayName = CSTRING(Category_DisplayName);
};
};
diff --git a/addons/medical/CfgVehicles.hpp b/addons/medical/CfgVehicles.hpp
index e0a6fbcfa0..53767abf19 100644
--- a/addons/medical/CfgVehicles.hpp
+++ b/addons/medical/CfgVehicles.hpp
@@ -11,7 +11,7 @@ class CfgVehicles {
class ACE_Module;
class ACE_moduleMedicalSettings: ACE_Module {
scope = 2;
- displayName = "$STR_ACE_MedicalSettings_Module_DisplayName";
+ displayName = CSTRING(Module_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
category = "ACE_medical";
function = QUOTE(DFUNC(moduleMedicalSettings));
@@ -21,78 +21,78 @@ class CfgVehicles {
author = "$STR_ACE_Common_ACETeam";
class Arguments {
class level {
- displayName = "$STR_ACE_MedicalSettings_level_DisplayName";
- description = "$STR_ACE_MedicalSettings_level_Description";
+ displayName = CSTRING(level_DisplayName);
+ description = CSTRING(level_Description);
typeName = "NUMBER";
class values {
class normal {
- name = "$STR_ACE_MedicalSettings_basic";
+ name = CSTRING(basic);
value = 1;
default = 1;
};
class full {
- name = "$STR_ACE_MedicalSettings_advanced";
+ name = CSTRING(advanced);
value = 2;
};
};
};
class medicSetting {
- displayName = "$STR_ACE_MedicalSettings_medicSetting_DisplayName";
- description = "$STR_ACE_MedicalSettings_medicSetting_Description";
+ displayName = CSTRING(medicSetting_DisplayName);
+ description = CSTRING(medicSetting_Description);
typeName = "NUMBER";
class values {
class disable {
- name = "$STR_ACE_MedicalSettings_medicSetting_disable";
+ name = CSTRING(medicSetting_disable);
value = 0;
};
class normal {
- name = "$STR_ACE_MedicalSettings_basic";
+ name = CSTRING(basic);
value = 1;
default = 1;
};
class full {
- name = "$STR_ACE_MedicalSettings_advanced";
+ name = CSTRING(advanced);
value = 2;
};
};
};
class allowLitterCreation {
- displayName = "$STR_ACE_MedicalSettings_allowLitterCreation_DisplayName";
- description = "$STR_ACE_MedicalSettings_allowLitterCreation_Description";
+ displayName = CSTRING(allowLitterCreation_DisplayName);
+ description = CSTRING(allowLitterCreation_Description);
typeName = "BOOL";
defaultValue = 1;
};
class litterCleanUpDelay {
- displayName = "$STR_ACE_MedicalSettings_litterCleanUpDelay_DisplayName";
- description = "$STR_ACE_MedicalSettings_litterCleanUpDelay_Description";
+ displayName = CSTRING(litterCleanUpDelay_DisplayName);
+ description = CSTRING(litterCleanUpDelay_Description);
typeName = "NUMBER";
defaultValue = 1800;
};
class enableScreams {
- displayName = "$STR_ACE_MedicalSettings_enableScreams_DisplayName";
- description = "$STR_ACE_MedicalSettings_enableScreams_Description";
+ displayName = CSTRING(enableScreams_DisplayName);
+ description = CSTRING(enableScreams_Description);
typeName = "BOOL";
defaultValue = 1;
};
class playerDamageThreshold {
- displayName = "$STR_ACE_MedicalSettings_playerDamageThreshold_DisplayName";
- description = "$STR_ACE_MedicalSettings_playerDamageThreshold_Description";
+ displayName = CSTRING(playerDamageThreshold_DisplayName);
+ description = CSTRING(playerDamageThreshold_Description);
typeName = "NUMBER";
defaultValue = 1;
};
class AIDamageThreshold {
- displayName = "$STR_ACE_MedicalSettings_AIDamageThreshold_DisplayName";
- description = "$STR_ACE_MedicalSettings_AIDamageThreshold_Description";
+ displayName = CSTRING(AIDamageThreshold_DisplayName);
+ description = CSTRING(AIDamageThreshold_Description);
typeName = "NUMBER";
defaultValue = 1;
};
class enableUnconsciousnessAI {
- displayName = "$STR_ACE_MedicalSettings_enableUnconsciousnessAI_DisplayName";
- description = "$STR_ACE_MedicalSettings_enableUnconsciousnessAI_Description";
+ displayName = CSTRING(enableUnconsciousnessAI_DisplayName);
+ description = CSTRING(enableUnconsciousnessAI_Description);
typeName = "NUMBER";
class values {
class disable {
- name = "$STR_ACE_Medical_disabled";
+ name = CSTRING(disabled);
value = 0;
};
class normal {
@@ -101,45 +101,45 @@ class CfgVehicles {
default = 1;
};
class full {
- name = "$STR_ACE_Medical_enabled";
+ name = CSTRING(enabled);
value = 2;
};
};
};
class preventInstaDeath {
- displayName = "$STR_ACE_MedicalSettings_preventInstaDeath_DisplayName";
- description = "$STR_ACE_MedicalSettings_preventInstaDeath_Description";
+ displayName = CSTRING(preventInstaDeath_DisplayName);
+ description = CSTRING(preventInstaDeath_Description);
typeName = "BOOL";
defaultValue = 0;
};
class bleedingCoefficient {
- displayName = "$STR_ACE_MedicalSettings_bleedingCoefficient_DisplayName";
- description = "$STR_ACE_MedicalSettings_bleedingCoefficient_Description";
+ displayName = CSTRING(bleedingCoefficient_DisplayName);
+ description = CSTRING(bleedingCoefficient_Description);
typeName = "NUMBER";
defaultValue = 1;
};
class painCoefficient {
- displayName = "$STR_ACE_MedicalSettings_painCoefficient_DisplayName";
- description = "$STR_ACE_MedicalSettings_painCoefficient_Description";
+ displayName = CSTRING(painCoefficient_DisplayName);
+ description = CSTRING(painCoefficient_Description);
typeName = "NUMBER";
defaultValue = 1;
};
class keepLocalSettingsSynced {
- displayName = "$STR_ACE_MedicalSettings_keepLocalSettingsSynced_DisplayName";
- description = "$STR_ACE_MedicalSettings_keepLocalSettingsSynced_Description";
+ displayName = CSTRING(keepLocalSettingsSynced_DisplayName);
+ description = CSTRING(keepLocalSettingsSynced_Description);
typeName = "BOOL";
defaultValue = 1;
};
};
class ModuleDescription {
- description = "$STR_ACE_MedicalSettings_Module_Description";
+ description = CSTRING(Module_Description);
sync[] = {};
};
};
class ACE_moduleAdvancedMedicalSettings: ACE_Module {
scope = 2;
- displayName = "$STR_ACE_AdvancedMedicalSettings_Module_DisplayName";
+ displayName = CSTRING(Module_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
category = "ACE_medical";
function = QUOTE(FUNC(moduleAdvancedMedicalSettings));
@@ -150,81 +150,81 @@ class CfgVehicles {
author = "$STR_ACE_Common_ACETeam";
class Arguments {
class enableFor {
- displayName = "$STR_ACE_AdvancedMedicalSettings_enableFor_DisplayName";
- description = "$STR_ACE_AdvancedMedicalSettings_enableFor_Description";
+ displayName = CSTRING(enableFor_DisplayName);
+ description = CSTRING(enableFor_Description);
typeName = "NUMBER";
class values {
class playableUnits {
- name = "$STR_ACE_Medical_playeronly";
+ name = CSTRING(playeronly);
value = 0;
default = 1;
};
class playableUnitsAndAI {
- name = "$STR_ACE_Medical_playersandai";
+ name = CSTRING(playersandai);
value = 1;
};
};
};
class enableAdvancedWounds {
- displayName = "$STR_ACE_AdvancedMedicalSettings_enableAdvancedWounds_DisplayName";
- description = "$STR_ACE_AdvancedMedicalSettings_enableAdvancedWounds_Description";
+ displayName = CSTRING(enableAdvancedWounds_DisplayName);
+ description = CSTRING(enableAdvancedWounds_Description);
typeName = "BOOL";
defaultValue = 0;
};
class enableVehicleCrashes {
- displayName = "$STR_ACE_AdvancedMedicalSettings_enableVehicleCrashes_DisplayName";
- description = "$STR_ACE_AdvancedMedicalSettings_enableVehicleCrashes_Description";
+ displayName = CSTRING(enableVehicleCrashes_DisplayName);
+ description = CSTRING(enableVehicleCrashes_Description);
typeName = "BOOL";
defaultValue = 1;
};
class medicSetting_PAK {
- displayName = "$STR_ACE_AdvancedMedicalSettings_medicSetting_PAK_DisplayName";
- description = "$STR_ACE_AdvancedMedicalSettings_medicSetting_PAK_Description";
+ displayName = CSTRING(medicSetting_PAK_DisplayName);
+ description = CSTRING(medicSetting_PAK_Description);
typeName = "NUMBER";
class values {
- class anyone { name = "$STR_ACE_AdvancedMedicalSettings_anyone"; value = 0; };
- class Medic { name = "$STR_ACE_AdvancedMedicalSettings_Medic"; value = 1; default = 1; };
- class Special { name = "$STR_ACE_AdvancedMedicalSettings_Special"; value = 2; };
+ class anyone { name = CSTRING(anyone); value = 0; };
+ class Medic { name = CSTRING(Medic); value = 1; default = 1; };
+ class Special { name = CSTRING(Special); value = 2; };
};
};
class consumeItem_PAK {
- displayName = "$STR_ACE_AdvancedMedicalSettings_consumeItem_PAK_DisplayName";
- description = "$STR_ACE_AdvancedMedicalSettings_consumeItem_PAK_Description";
+ displayName = CSTRING(consumeItem_PAK_DisplayName);
+ description = CSTRING(consumeItem_PAK_Description);
typeName = "NUMBER";
class values {
- class keep { name = "$STR_ACE_Medical_No"; value = 0; };
- class remove { name = "$STR_ACE_Medical_Yes"; value = 1; default = 1; };
+ class keep { name = CSTRING(No); value = 0; };
+ class remove { name = CSTRING(Yes); value = 1; default = 1; };
};
};
class useLocation_PAK {
- displayName = "$STR_ACE_AdvancedMedicalSettings_useLocation_PAK_DisplayName";
- description = "$STR_ACE_AdvancedMedicalSettings_useLocation_PAK_Description";
+ displayName = CSTRING(useLocation_PAK_DisplayName);
+ description = CSTRING(useLocation_PAK_Description);
typeName = "NUMBER";
class values {
- class anywhere { name = "$STR_ACE_AdvancedMedicalSettings_anywhere"; value = 0; };
- class vehicle { name = "$STR_ACE_AdvancedMedicalSettings_vehicle"; value = 1; };
- class facility { name = "$STR_ACE_AdvancedMedicalSettings_facility"; value = 2; };
- class vehicleAndFacility { name = "$STR_ACE_AdvancedMedicalSettings_vehicleAndFacility"; value = 3; default = 1; };
- class disabled { name = "$STR_ACE_AdvancedMedicalSettings_disabled"; value = 4;};
+ class anywhere { name = CSTRING(anywhere); value = 0; };
+ class vehicle { name = CSTRING(vehicle); value = 1; };
+ class facility { name = CSTRING(facility); value = 2; };
+ class vehicleAndFacility { name = CSTRING(vehicleAndFacility); value = 3; default = 1; };
+ class disabled { name = CSTRING(disabled); value = 4;};
};
};
class medicSetting_SurgicalKit: medicSetting_PAK {
- displayName = "$STR_ACE_AdvancedMedicalSettings_medicSetting_SurgicalKit_DisplayName";
- description = "$STR_ACE_AdvancedMedicalSettings_medicSetting_SurgicalKit_Description";
+ displayName = CSTRING(medicSetting_SurgicalKit_DisplayName);
+ description = CSTRING(medicSetting_SurgicalKit_Description);
};
class consumeItem_SurgicalKit: consumeItem_PAK {
- displayName = "$STR_ACE_AdvancedMedicalSettings_consumeItem_SurgicalKit_DisplayName";
- description = "$STR_ACE_AdvancedMedicalSettings_consumeItem_SurgicalKit_Description";
+ displayName = CSTRING(consumeItem_SurgicalKit_DisplayName);
+ description = CSTRING(consumeItem_SurgicalKit_Description);
};
class useLocation_SurgicalKit: useLocation_PAK {
- displayName = "$STR_ACE_AdvancedMedicalSettings_useLocation_SurgicalKit_DisplayName";
- description = "$STR_ACE_AdvancedMedicalSettings_useLocation_SurgicalKit_Description";
+ displayName = CSTRING(useLocation_SurgicalKit_DisplayName);
+ description = CSTRING(useLocation_SurgicalKit_Description);
};
};
class ModuleDescription {
- description = "$STR_ACE_AdvancedMedicalSettings_Module_Description";
+ description = CSTRING(Module_Description);
sync[] = {};
};
};
@@ -232,7 +232,7 @@ class CfgVehicles {
class ACE_moduleReviveSettings: ACE_Module {
scope = 2;
- displayName = "$STR_ACE_ReviveSettings_Module_DisplayName";
+ displayName = CSTRING(Module_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
category = "ACE_medical";
function = QUOTE(DFUNC(moduleReviveSettings));
@@ -242,37 +242,37 @@ class CfgVehicles {
author = "$STR_ACE_Common_ACETeam";
class Arguments {
class enableRevive {
- displayName = "$STR_ACE_ReviveSettings_enableRevive_DisplayName";
- description = "$STR_ACE_ReviveSettings_enableRevive_Description";
+ displayName = CSTRING(enableRevive_DisplayName);
+ description = CSTRING(enableRevive_Description);
typeName = "NUMBER";
defaultValue = 0;
class values {
- class disable { name = "$STR_ACE_Medical_disabled"; value = 0; default = 1;};
- class playerOnly { name = "$STR_ACE_Medical_playeronly"; value = 1; };
- class playerAndAI { name = "$STR_ACE_Medical_playersandai"; value = 2; };
+ class disable { name = CSTRING(disabled); value = 0; default = 1;};
+ class playerOnly { name = CSTRING(playeronly); value = 1; };
+ class playerAndAI { name = CSTRING(playersandai); value = 2; };
};
};
class maxReviveTime {
- displayName = "$STR_ACE_ReviveSettings_maxReviveTime_DisplayName";
- description = "$STR_ACE_ReviveSettings_maxReviveTime_Description";
+ displayName = CSTRING(maxReviveTime_DisplayName);
+ description = CSTRING(maxReviveTime_Description);
typeName = "NUMBER";
defaultValue = 120;
};
class amountOfReviveLives {
- displayName = "$STR_ACE_ReviveSettings_amountOfReviveLives_DisplayName";
- description = "$STR_ACE_ReviveSettings_amountOfReviveLives_Description";
+ displayName = CSTRING(amountOfReviveLives_DisplayName);
+ description = CSTRING(amountOfReviveLives_Description);
typeName = "NUMBER";
defaultValue = -1;
};
};
class ModuleDescription {
- description = "$STR_ACE_ReviveSettings_Module_Description";
+ description = CSTRING(Module_Description);
sync[] = {};
};
};
class ACE_moduleAssignMedicRoles: Module_F {
scope = 2;
- displayName = "$STR_ACE_AssignMedicRoles_Module_DisplayName";
+ displayName = CSTRING(Module_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
category = "ACE_medical";
function = QUOTE(FUNC(moduleAssignMedicRoles));
@@ -283,41 +283,41 @@ class CfgVehicles {
author = "$STR_ACE_Common_ACETeam";
class Arguments {
class EnableList {
- displayName = "$STR_ACE_AssignMedicRoles_EnableList_DisplayName";
- description = "$STR_ACE_AssignMedicRoles_EnableList_Description";
+ displayName = CSTRING(EnableList_DisplayName);
+ description = CSTRING(EnableList_Description);
defaultValue = "";
typeName = "STRING";
};
class role {
- displayName = "$STR_ACE_AssignMedicRoles_role_DisplayName";
- description = "$STR_ACE_AssignMedicRoles_role_Description";
+ displayName = CSTRING(role_DisplayName);
+ description = CSTRING(role_Description);
typeName = "NUMBER";
class values {
class none {
- name = "$STR_ACE_AssignMedicRoles_role_none";
+ name = CSTRING(role_none);
value = 0;
};
class medic {
- name = "$STR_ACE_AssignMedicRoles_role_medic";
+ name = CSTRING(role_medic);
value = 1;
default = 1;
};
class doctor {
- name = "$STR_ACE_AssignMedicRoles_role_doctor";
+ name = CSTRING(role_doctor);
value = 2;
};
};
};
};
class ModuleDescription {
- description = "$STR_ACE_AssignMedicRoles_Module_Description";
+ description = CSTRING(Module_Description);
sync[] = {};
};
};
class ACE_moduleAssignMedicVehicle: Module_F {
scope = 2;
- displayName = "$STR_ACE_AssignMedicVehicle_Module_DisplayName";
+ displayName = CSTRING(Module_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
category = "ACE_medical";
function = QUOTE(FUNC(moduleAssignMedicalVehicle));
@@ -328,23 +328,23 @@ class CfgVehicles {
author = "$STR_ACE_Common_ACETeam";
class Arguments {
class EnableList {
- displayName = "$STR_ACE_AssignMedicVehicle_EnableList_DisplayName";
- description = "$STR_ACE_AssignMedicVehicle_EnableList_Description";
+ displayName = CSTRING(EnableList_DisplayName);
+ description = CSTRING(EnableList_Description);
defaultValue = "";
typeName = "STRING";
};
class enabled {
- displayName = "$STR_ACE_AssignMedicVehicle_enabled_DisplayName";
- description = "$STR_ACE_AssignMedicVehicle_enabled_Description";
+ displayName = CSTRING(enabled_DisplayName);
+ description = CSTRING(enabled_Description);
typeName = "NUMBER";
class values {
class none {
- name = "$STR_ACE_Medical_No";
+ name = CSTRING(No);
value = 0;
};
class medic {
- name = "$STR_ACE_Medical_Yes";
+ name = CSTRING(Yes);
value = 1;
default = 1;
};
@@ -352,13 +352,13 @@ class CfgVehicles {
};
};
class ModuleDescription {
- description = "$STR_ACE_AssignMedicVehicle_Module_Description";
+ description = CSTRING(Module_Description);
sync[] = {};
};
};
class ACE_moduleAssignMedicalFacility: Module_F {
scope = 2;
- displayName = "$STR_ACE_AssignMedicalFacility_Module_DisplayName";
+ displayName = CSTRING(Module_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
category = "ACE_medical";
function = QUOTE(FUNC(moduleAssignMedicalFacility));
@@ -369,13 +369,13 @@ class CfgVehicles {
author = "$STR_ACE_Common_ACETeam";
class Arguments {
class enabled {
- displayName = "$STR_ACE_AssignMedicalFacility_enabled_DisplayName";
- description = "$STR_ACE_AssignMedicalFacility_enabled_Description";
+ displayName = CSTRING(enabled_DisplayName);
+ description = CSTRING(enabled_Description);
typeName = "BOOL";
};
};
class ModuleDescription {
- description = "$STR_ACE_AssignMedicalFacility_Module_Description";
+ description = CSTRING(Module_Description);
sync[] = {};
};
};
@@ -451,7 +451,7 @@ class CfgVehicles {
// Create a consolidates medical menu for treatment while boarded
class ACE_MainActions {
class Medical {
- displayName = "$STR_ACE_Medical_Actions_Medical";
+ displayName = CSTRING(Actions_Medical);
runOnHover = 1;
exceptions[] = {"isNotInside"};
condition = QUOTE((vehicle _target != _target && vehicle _target == vehicle _player) || GVAR(menuTypeStyle) == 1);
@@ -465,7 +465,7 @@ class CfgVehicles {
#include "ACE_Medical_Actions.hpp"
};
class GVAR(loadPatient) {
- displayName = "$STR_ACE_Medical_LoadPatient";
+ displayName = CSTRING(LoadPatient);
distance = 5;
condition = QUOTE(_target getvariable[ARR_2(QUOTE(QUOTE(ACE_isUnconscious)),false)] && vehicle _target == _target);
statement = QUOTE([ARR_2(_player, _target)] call DFUNC(actionLoadUnit));
@@ -475,7 +475,7 @@ class CfgVehicles {
exceptions[] = {"isNotDragging", "isNotCarrying"};
};
class GVAR(UnLoadPatient) {
- displayName = "$STR_ACE_Medical_UnloadPatient";
+ displayName = CSTRING(UnloadPatient);
distance = 5;
condition = QUOTE(_target getvariable[ARR_2(QUOTE(QUOTE(ACE_isUnconscious)),false)] && vehicle _target != _target);
statement = QUOTE([ARR_2(_player, _target)] call DFUNC(actionUnloadUnit));
@@ -666,7 +666,7 @@ class CfgVehicles {
EGVAR(dragging,dragDirection) = 0;
class ACE_Actions {
class ACE_MainActions {
- displayName = "$STR_ACE_Interaction_MainAction";
+ displayName = CSTRING(MainAction);
distance = 5;
condition = QUOTE(true);
statement = "";
@@ -933,7 +933,7 @@ class CfgVehicles {
};
};
class ACE_medicalSupplyCrate_advanced: ACE_medicalSupplyCrate {
- displayName = "$STR_ACE_medicalSupplyCrate_advanced";
+ displayName = CSTRING(advanced);
class TransportItems {
class ACE_fieldDressing {
name = "ACE_fieldDressing";
diff --git a/addons/medical/functions/fnc_actionCheckBloodPressureLocal.sqf b/addons/medical/functions/fnc_actionCheckBloodPressureLocal.sqf
index 560b171400..46813c585b 100644
--- a/addons/medical/functions/fnc_actionCheckBloodPressureLocal.sqf
+++ b/addons/medical/functions/fnc_actionCheckBloodPressureLocal.sqf
@@ -28,27 +28,27 @@ _bloodPressureLow = _bloodPressure select 0;
_output = "";
_logOutPut = "";
if ([_caller] call FUNC(isMedic)) then {
- _output = "STR_ACE_Medical_Check_Bloodpressure_Output_1";
+ _output = STRING(Check_Bloodpressure_Output_1);
_logOutPut = format["%1/%2",round(_bloodPressureHigh),round(_bloodPressureLow)];
} else {
if (_bloodPressureHigh > 20) then {
- _output = "STR_ACE_Medical_Check_Bloodpressure_Output_2";
- _logOutPut = localize "STR_ACE_Medical_Check_Bloodpressure_Low";
+ _output = STRING(Check_Bloodpressure_Output_2);
+ _logOutPut = localize STRING(Check_Bloodpressure_Low);
if (_bloodPressureHigh > 100) then {
- _output = "STR_ACE_Medical_Check_Bloodpressure_Output_3";
- _logOutPut = localize "STR_ACE_Medical_Check_Bloodpressure_Normal";
+ _output = STRING(Check_Bloodpressure_Output_3);
+ _logOutPut = localize STRING(Check_Bloodpressure_Normal);
if (_bloodPressureHigh > 160) then {
- _output = "STR_ACE_Medical_Check_Bloodpressure_Output_4";
- _logOutPut = localize "STR_ACE_Medical_Check_Bloodpressure_High";
+ _output = STRING(Check_Bloodpressure_Output_4);
+ _logOutPut = localize STRING(Check_Bloodpressure_High);
};
};
} else {
if (random(10) > 3) then {
- _output = "STR_ACE_Medical_Check_Bloodpressure_Output_5";
- _logOutPut = localize "STR_ACE_Medical_Check_Bloodpressure_NoBloodpressure";
+ _output = STRING(Check_Bloodpressure_Output_5);
+ _logOutPut = localize STRING(Check_Bloodpressure_NoBloodpressure);
} else {
- _output = "STR_ACE_Medical_Check_Bloodpressure_Output_6";
+ _output = STRING(Check_Bloodpressure_Output_6);
};
};
};
@@ -56,5 +56,5 @@ if ([_caller] call FUNC(isMedic)) then {
["displayTextStructured", [_caller], [[_output, [_target] call EFUNC(common,getName), round(_bloodPressureHigh),round(_bloodPressureLow)], 1.75, _caller]] call EFUNC(common,targetEvent);
if (_logOutPut != "") then {
- [_target,"activity", localize "STR_ACE_Medical_Check_Bloodpressure_Log", [[_caller] call EFUNC(common,getName), _logOutPut]] call FUNC(addToLog);
+ [_target,"activity", localize STRING(Check_Bloodpressure_Log), [[_caller] call EFUNC(common,getName), _logOutPut]] call FUNC(addToLog);
};
diff --git a/addons/medical/functions/fnc_actionCheckPulseLocal.sqf b/addons/medical/functions/fnc_actionCheckPulseLocal.sqf
index b283068ec7..7c2abdf5de 100644
--- a/addons/medical/functions/fnc_actionCheckPulseLocal.sqf
+++ b/addons/medical/functions/fnc_actionCheckPulseLocal.sqf
@@ -23,24 +23,24 @@ _heartRate = _unit getvariable [QGVAR(heartRate), 80];
if (!alive _unit) then {
_heartRate = 0;
};
-_heartRateOutput = "STR_ACE_Medical_Check_Pulse_Output_5";
-_logOutPut = localize "STR_ACE_Medical_Check_Pulse_None";
+_heartRateOutput = STRING(Check_Pulse_Output_5);
+_logOutPut = localize STRING(Check_Pulse_None);
if (_heartRate > 1.0) then {
if ([_caller] call FUNC(isMedic)) then {
- _heartRateOutput = "STR_ACE_Medical_Check_Pulse_Output_1";
+ _heartRateOutput = STRING(Check_Pulse_Output_1);
_logOutPut = format["%1",round(_heartRate)];
} else {
// non medical personel will only find a pulse/HR
- _heartRateOutput = "STR_ACE_Medical_Check_Pulse_Output_2";
- _logOutPut = localize "STR_ACE_Medical_Check_Pulse_Weak";
+ _heartRateOutput = STRING(Check_Pulse_Output_2);
+ _logOutPut = localize STRING(Check_Pulse_Weak);
if (_heartRate > 60) then {
if (_heartRate > 100) then {
- _heartRateOutput = "STR_ACE_Medical_Check_Pulse_Output_3";
- _logOutPut = localize "STR_ACE_Medical_Check_Pulse_Strong";
+ _heartRateOutput = STRING(Check_Pulse_Output_3);
+ _logOutPut = localize STRING(Check_Pulse_Strong);
} else {
- _heartRateOutput = "STR_ACE_Medical_Check_Pulse_Output_4";
- _logOutPut = localize "STR_ACE_Medical_Check_Pulse_Normal";
+ _heartRateOutput = STRING(Check_Pulse_Output_4);
+ _logOutPut = localize STRING(Check_Pulse_Normal);
};
};
};
@@ -49,5 +49,5 @@ if (_heartRate > 1.0) then {
["displayTextStructured", [_caller], [[_heartRateOutput, [_unit] call EFUNC(common,getName), round(_heartRate)], 1.5, _caller]] call EFUNC(common,targetEvent);
if (_logOutPut != "") then {
- [_unit,"activity", localize "STR_ACE_Medical_Check_Pulse_Log",[[_caller] call EFUNC(common,getName),_logOutPut]] call FUNC(addToLog);
+ [_unit,"activity", localize STRING(Check_Pulse_Log),[[_caller] call EFUNC(common,getName),_logOutPut]] call FUNC(addToLog);
};
diff --git a/addons/medical/functions/fnc_actionCheckResponse.sqf b/addons/medical/functions/fnc_actionCheckResponse.sqf
index 92e724a3e0..9a0c87b6d8 100644
--- a/addons/medical/functions/fnc_actionCheckResponse.sqf
+++ b/addons/medical/functions/fnc_actionCheckResponse.sqf
@@ -20,9 +20,9 @@ _target = _this select 1;
_output = "";
if ([_target] call EFUNC(common,isAwake)) then {
- _output = "STR_ACE_Medical_Check_Response_Responsive";
+ _output = STRING(Check_Response_Responsive);
} else {
- _output = "STR_ACE_Medical_Check_Response_Unresponsive";
+ _output = STRING(Check_Response_Unresponsive);
};
["displayTextStructured", [_caller], [[_output, [_target] call EFUNC(common,getName)], 2, _caller]] call EFUNC(common,targetEvent);
diff --git a/addons/medical/functions/fnc_actionDiagnose.sqf b/addons/medical/functions/fnc_actionDiagnose.sqf
index d0a5aebc9f..3158f6b844 100644
--- a/addons/medical/functions/fnc_actionDiagnose.sqf
+++ b/addons/medical/functions/fnc_actionDiagnose.sqf
@@ -18,28 +18,28 @@ private ["_caller", "_target", "_genericMessages"];
_caller = _this select 0;
_target = _this select 1;
-_genericMessages = ["STR_ACE_Medical_diagnoseMessage"];
+_genericMessages = [STRING(diagnoseMessage)];
_genericMessages pushBack ([_target] call EFUNC(common,getName));
if (alive _target) then {
- _genericMessages pushback "STR_ACE_Medical_diagnoseAlive";
+ _genericMessages pushback STRING(diagnoseAlive);
} else {
- _genericMessages pushback "STR_ACE_Medical_diagnoseDead";
+ _genericMessages pushback STRING(diagnoseDead);
};
if (_target getvariable[QGVAR(hasLostBlood), 0] > 0) then {
if (_target getvariable[QGVAR(hasLostBlood), 0] > 1) then {
- _genericMessages pushback "STR_ACE_Medical_lostBloodALot";
+ _genericMessages pushback STRING(lostBloodALot);
} else {
- _genericMessages pushback "STR_ACE_Medical_lostBlood";
+ _genericMessages pushback STRING(lostBlood);
};
} else {
- _genericMessages pushback "STR_ACE_Medical_noBloodloss";
+ _genericMessages pushback STRING(noBloodloss);
};
if (_target getvariable[QGVAR(hasPain), false]) then {
- _genericMessages pushback "STR_ACE_Medical_inPain";
+ _genericMessages pushback STRING(inPain);
} else {
- _genericMessages pushback "STR_ACE_Medical_noPain";
+ _genericMessages pushback STRING(noPain);
};
["displayTextStructured", [_caller], [_genericMessages, 3.0, _caller]] call EFUNC(common,targetEvent);
diff --git a/addons/medical/functions/fnc_displayPatientInformation.sqf b/addons/medical/functions/fnc_displayPatientInformation.sqf
index c5c5d23a01..07c49d8e0c 100644
--- a/addons/medical/functions/fnc_displayPatientInformation.sqf
+++ b/addons/medical/functions/fnc_displayPatientInformation.sqf
@@ -50,22 +50,22 @@ if (_show) then {
_genericMessages = [];
if (GVAR(level) >= 2) then {
- _partText = ["STR_ACE_Interaction_Head", "STR_ACE_Interaction_Torso", "STR_ACE_Interaction_ArmLeft" ,"STR_ACE_Interaction_ArmRight" ,"STR_ACE_Interaction_LegLeft", "STR_ACE_Interaction_LegRight"] select _selectionN;
+ _partText = [STRING(Head), STRING(Torso), STRING(ArmLeft) ,STRING(ArmRight) ,STRING(LegLeft), STRING(LegRight)] select _selectionN;
_genericMessages pushback [localize _partText, [1, 1, 1, 1]];
};
if (_target getvariable[QGVAR(isBleeding), false]) then {
- _genericMessages pushback [localize "STR_ACE_Medical_Status_Bleeding", [1, 0.1, 0.1, 1]];
+ _genericMessages pushback [localize STRING(Status_Bleeding), [1, 0.1, 0.1, 1]];
};
if (_target getvariable[QGVAR(hasLostBlood), 0] > 1) then {
- _genericMessages pushback [localize "STR_ACE_Medical_Status_Lost_Blood", [1, 0.1, 0.1, 1]];
+ _genericMessages pushback [localize STRING(Status_Lost_Blood), [1, 0.1, 0.1, 1]];
};
if (((_target getvariable [QGVAR(tourniquets), [0,0,0,0,0,0]]) select _selectionN) > 0) then {
- _genericMessages pushback [localize "STR_ACE_Medical_Status_Tourniquet_Applied", [0.77, 0.51, 0.08, 1]];
+ _genericMessages pushback [localize STRING(Status_Tourniquet_Applied), [0.77, 0.51, 0.08, 1]];
};
if (_target getvariable[QGVAR(hasPain), false]) then {
- _genericMessages pushback [localize "STR_ACE_Medical_Status_Pain", [1, 1, 1, 1]];
+ _genericMessages pushback [localize STRING(Status_Pain), [1, 1, 1, 1]];
};
_totalIvVolume = 0;
@@ -77,7 +77,7 @@ if (_show) then {
};
}foreach GVAR(IVBags);
if (_totalIvVolume >= 1) then {
- _genericMessages pushback [format[localize "STR_ACE_Medical_receivingIvVolume", floor _totalIvVolume], [1, 1, 1, 1]];
+ _genericMessages pushback [format[localize STRING(receivingIvVolume), floor _totalIvVolume], [1, 1, 1, 1]];
};
_damaged = [false, false, false, false, false, false];
@@ -133,17 +133,17 @@ if (_show) then {
if (_target getHitPointDamage _x > 0 && {_forEachIndex == _selectionN}) then {
_pointDamage = _target getHitPointDamage _x;
_severity = switch (true) do {
- case (_pointDamage > 0.5): {localize "STR_ACE_Medical_HeavilyWounded"};
- case (_pointDamage > 0.1): {localize "STR_ACE_Medical_LightlyWounded"};
- default {localize "STR_ACE_Medical_VeryLightlyWounded"};
+ case (_pointDamage > 0.5): {localize STRING(HeavilyWounded)};
+ case (_pointDamage > 0.1): {localize STRING(LightlyWounded)};
+ default {localize STRING(VeryLightlyWounded)};
};
_part = localize ([
- "STR_ACE_Medical_Head",
- "STR_ACE_Medical_Torso",
- "STR_ACE_Medical_LeftArm",
- "STR_ACE_Medical_RightArm",
- "STR_ACE_Medical_LeftLeg",
- "STR_ACE_Medical_RightLeg"
+ STRING(Head),
+ STRING(Torso),
+ STRING(LeftArm),
+ STRING(RightArm),
+ STRING(LeftLeg),
+ STRING(RightLeg)
] select _forEachIndex);
_allInjuryTexts pushBack [format ["%1 %2", _severity, toLower _part], [1,1,1,1]];
};
@@ -186,7 +186,7 @@ if (_show) then {
_lbCtrl lbSetColor [_foreachIndex + _amountOfGeneric, _x select 1];
}foreach _allInjuryTexts;
if (count _allInjuryTexts == 0) then {
- _lbCtrl lbAdd (localize "STR_ACE_Medical_NoInjuriesBodypart");
+ _lbCtrl lbAdd (localize STRING(NoInjuriesBodypart));
};
_logCtrl = (_display displayCtrl 302);
diff --git a/addons/medical/functions/fnc_displayTriageCard.sqf b/addons/medical/functions/fnc_displayTriageCard.sqf
index a9054dac46..bc6b412990 100644
--- a/addons/medical/functions/fnc_displayTriageCard.sqf
+++ b/addons/medical/functions/fnc_displayTriageCard.sqf
@@ -58,7 +58,7 @@ if (_show) then {
}foreach _log;
if (count _triageCardTexts == 0) then {
- _lbCtrl lbAdd (localize "STR_ACE_Medical_TriageCard_NoEntry");
+ _lbCtrl lbAdd (localize STRING(TriageCard_NoEntry));
};
{
_lbCtrl lbAdd _x;
diff --git a/addons/medical/functions/fnc_getTriageStatus.sqf b/addons/medical/functions/fnc_getTriageStatus.sqf
index aaeec2d516..26e91882dd 100644
--- a/addons/medical/functions/fnc_getTriageStatus.sqf
+++ b/addons/medical/functions/fnc_getTriageStatus.sqf
@@ -17,10 +17,10 @@ private ["_unit","_return","_status"];
_unit = _this select 0;
_status = _unit getvariable [QGVAR(triageLevel), -1];
_return = switch (_status) do {
- case 1: {[localize "STR_ACE_Medical_Triage_Status_Minor", 1, [0, 0.5, 0, 0.9]]};
- case 2: {[localize "STR_ACE_Medical_Triage_Status_Delayed", 2, [0.7, 0.5, 0, 0.9]]};
- case 3: {[localize "STR_ACE_Medical_Triage_Status_Immediate", 3, [0.4, 0.07, 0.07, 0.9]]};
- case 4: {[localize "STR_ACE_Medical_Triage_Status_Deceased", 4, [0, 0, 0, 0.9]]};
- default {[localize "STR_ACE_Medical_Triage_Status_None", 0, [0, 0, 0, 0.9]]};
+ case 1: {[localize STRING(Triage_Status_Minor), 1, [0, 0.5, 0, 0.9]]};
+ case 2: {[localize STRING(Triage_Status_Delayed), 2, [0.7, 0.5, 0, 0.9]]};
+ case 3: {[localize STRING(Triage_Status_Immediate), 3, [0.4, 0.07, 0.07, 0.9]]};
+ case 4: {[localize STRING(Triage_Status_Deceased), 4, [0, 0, 0, 0.9]]};
+ default {[localize STRING(Triage_Status_None), 0, [0, 0, 0, 0.9]]};
};
_return;
diff --git a/addons/medical/functions/fnc_treatmentAdvanced_bandage.sqf b/addons/medical/functions/fnc_treatmentAdvanced_bandage.sqf
index 394595ade3..a26d9c2f99 100644
--- a/addons/medical/functions/fnc_treatmentAdvanced_bandage.sqf
+++ b/addons/medical/functions/fnc_treatmentAdvanced_bandage.sqf
@@ -37,6 +37,6 @@ if !([_target] call FUNC(hasMedicalEnabled)) exitwith {
};
}foreach _items;*/
-[_target, "activity", "STR_ACE_Medical_Activity_bandagedPatient", [[_caller] call EFUNC(common,getName)]] call FUNC(addToLog);
+[_target, "activity", STRING(Activity_bandagedPatient), [[_caller] call EFUNC(common,getName)]] call FUNC(addToLog);
true;
diff --git a/addons/medical/functions/fnc_treatmentAdvanced_medication.sqf b/addons/medical/functions/fnc_treatmentAdvanced_medication.sqf
index c6ac2dc8e5..bed11fe75f 100644
--- a/addons/medical/functions/fnc_treatmentAdvanced_medication.sqf
+++ b/addons/medical/functions/fnc_treatmentAdvanced_medication.sqf
@@ -32,6 +32,6 @@ _items = _this select 4;
};
}foreach _items;
-[_target, "activity", "STR_ACE_Medical_Activity_usedItem", [[_caller] call EFUNC(common,getName), _className]] call FUNC(addToLog);
+[_target, "activity", STRING(Activity_usedItem), [[_caller] call EFUNC(common,getName), _className]] call FUNC(addToLog);
true;
diff --git a/addons/medical/functions/fnc_treatmentIV.sqf b/addons/medical/functions/fnc_treatmentIV.sqf
index 2b52d7d37a..81bf437033 100644
--- a/addons/medical/functions/fnc_treatmentIV.sqf
+++ b/addons/medical/functions/fnc_treatmentIV.sqf
@@ -29,4 +29,4 @@ if (count _items == 0) exitwith {};
_removeItem = _items select 0;
[[_target, _className], QUOTE(DFUNC(treatmentIVLocal)), _target] call EFUNC(common,execRemoteFnc); /* TODO Replace by event system */
[_target, _removeItem] call FUNC(addToTriageCard);
-[_target, "activity", "STR_ACE_Medical_Activity_gaveIV", [[_caller] call EFUNC(common,getName)]] call FUNC(addToLog);
+[_target, "activity", STRING(Activity_gaveIV), [[_caller] call EFUNC(common,getName)]] call FUNC(addToLog);
diff --git a/addons/medical/functions/fnc_treatmentTourniquet.sqf b/addons/medical/functions/fnc_treatmentTourniquet.sqf
index c4ee10011e..63e7df4f56 100644
--- a/addons/medical/functions/fnc_treatmentTourniquet.sqf
+++ b/addons/medical/functions/fnc_treatmentTourniquet.sqf
@@ -43,7 +43,7 @@ _removeItem = _items select 0;
[[_target, _removeItem, _selectionName], QUOTE(DFUNC(treatmentTourniquetLocal)), _target] call EFUNC(common,execRemoteFnc); /* TODO Replace by event system */
[_target, _removeItem] call FUNC(addToTriageCard);
-[_target, "activity", "STR_ACE_Medical_Activity_appliedTourniquet", [[_caller] call EFUNC(common,getName)]] call FUNC(addToLog);
+[_target, "activity", STRING(Activity_appliedTourniquet), [[_caller] call EFUNC(common,getName)]] call FUNC(addToLog);
true;
diff --git a/addons/medical/ui/RscTitles.hpp b/addons/medical/ui/RscTitles.hpp
index dece0e0a8d..06d1dda866 100644
--- a/addons/medical/ui/RscTitles.hpp
+++ b/addons/medical/ui/RscTitles.hpp
@@ -60,7 +60,7 @@ class Rsctitles {
font = "PuristaMedium";
colorText[] = {0.95, 0.95, 0.95, 0.75};
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.9])"};
- text = "$STR_ACE_Medical_Injuries";
+ text = CSTRING(Injuries);
};
class InjuryList: ACE_gui_listBoxBase {
idc = 200;
diff --git a/addons/medical/ui/triagecard.hpp b/addons/medical/ui/triagecard.hpp
index c4d3145964..332bfada27 100644
--- a/addons/medical/ui/triagecard.hpp
+++ b/addons/medical/ui/triagecard.hpp
@@ -49,7 +49,7 @@ class GVAR(triageCard) {
font = "PuristaMedium";
colorText[] = {0,0,0,1};
colorBackground[] = {0,0,0,0};
- text = "$STR_ACE_Medical_Actions_TriageCard";
+ text = CSTRING(Actions_TriageCard);
};
class TriageList: ACE_gui_listBoxBase {
idc = 200;
diff --git a/addons/microdagr/CfgVehicles.hpp b/addons/microdagr/CfgVehicles.hpp
index 949860742d..c4e3897b18 100644
--- a/addons/microdagr/CfgVehicles.hpp
+++ b/addons/microdagr/CfgVehicles.hpp
@@ -5,7 +5,7 @@ class CfgVehicles {
class ACE_Equipment {
class GVAR(show) {
//Opens the mini map
- displayName = "$STR_ACE_microdagr_show";
+ displayName = CSTRING(show);
condition = QUOTE(([DISPLAY_MODE_DISPLAY] call FUNC(canShow)) && {GVAR(currentShowMode) != DISPLAY_MODE_DISPLAY});
statement = QUOTE([DISPLAY_MODE_DISPLAY] call FUNC(openDisplay));
showDisabled = 0;
@@ -15,7 +15,7 @@ class CfgVehicles {
};
class GVAR(configure) {
//Opens the dialog
- displayName = "$STR_ACE_microdagr_configure";
+ displayName = CSTRING(configure);
condition = QUOTE(([DISPLAY_MODE_DIALOG] call FUNC(canShow)) && {GVAR(currentShowMode) != DISPLAY_MODE_DIALOG});
statement = QUOTE([DISPLAY_MODE_DIALOG] call FUNC(openDisplay));
showDisabled = 0;
@@ -24,7 +24,7 @@ class CfgVehicles {
exceptions[] = {"notOnMap", "isNotInside"};
};
class GVAR(close) {
- displayName = "$STR_ACE_microdagr_closeUnit";
+ displayName = CSTRING(closeUnit);
condition = QUOTE(GVAR(currentShowMode) != DISPLAY_MODE_CLOSED);
statement = QUOTE([DISPLAY_MODE_CLOSED] call FUNC(openDisplay));
showDisabled = 0;
@@ -44,7 +44,7 @@ class CfgVehicles {
class GVAR(dagrModule): Module_F {
author = "$STR_ACE_Common_ACETeam";
category = "ACE";
- displayName = "$STR_ACE_Dagr_Module_DisplayName";
+ displayName = CSTRING(Module_DisplayName);
function = QFUNC(moduleMapFill);
scope = 2;
isGlobal = 1;
@@ -52,18 +52,18 @@ class CfgVehicles {
functionPriority = 0;
class Arguments {
class MapDataAvailable {
- displayName = "$STR_ACE_Dagr_MapDataAvailable_DisplayName";
- description = "$STR_ACE_Dagr_MapDataAvailable_Description";
+ displayName = CSTRING(MapDataAvailable_DisplayName);
+ description = CSTRING(MapDataAvailable_Description);
typeName = "NUMBER";
class values {
- class None {name = "$STR_ACE_Dagr_None"; value = MAP_DETAIL_SAT; default = 1;};
- class Side {name = "$STR_ACE_Dagr_Side"; value = MAP_DETAIL_TOPOROADS;};
- class Unique {name = "$STR_ACE_Dagr_Unique"; value = MAP_DETAIL_NONE;};
+ class None {name = CSTRING(None); value = MAP_DETAIL_SAT; default = 1;};
+ class Side {name = CSTRING(Side); value = MAP_DETAIL_TOPOROADS;};
+ class Unique {name = CSTRING(Unique); value = MAP_DETAIL_NONE;};
};
};
};
class ModuleDescription: ModuleDescription {
- description = "$STR_ACE_Dagr_Module_Description";
+ description = CSTRING(Module_Description);
};
};
@@ -78,7 +78,7 @@ class CfgVehicles {
class ACE_microDAGR_Item: Item_Base_F {
scope = 2;
scopeCurator = 2;
- displayName = "$STR_ACE_microdagr_itemName";
+ displayName = CSTRING(itemName);
author = "$STR_ACE_Common_ACETeam";
vehicleClass = "Items";
icon = QUOTE(PATHTOF(UI\icon_microDAGR.paa));
diff --git a/addons/microdagr/CfgWeapons.hpp b/addons/microdagr/CfgWeapons.hpp
index 73615ea6b6..16cf7c5a59 100644
--- a/addons/microdagr/CfgWeapons.hpp
+++ b/addons/microdagr/CfgWeapons.hpp
@@ -5,8 +5,8 @@ class CfgWeapons {
class ACE_microDAGR: ACE_ItemCore {
author = "$STR_ACE_Common_ACETeam";
scope = 2;
- displayName = "$STR_ACE_microdagr_itemName";
- descriptionShort = "$STR_ACE_microdagr_itemDescription";
+ displayName = CSTRING(itemName);
+ descriptionShort = CSTRING(itemDescription);
picture = QUOTE(PATHTOF(images\microDAGR_item.paa));
class ItemInfo: InventoryItem_Base_F {
mass = 2;
diff --git a/addons/microdagr/XEH_clientInit.sqf b/addons/microdagr/XEH_clientInit.sqf
index 587bf85ef5..892b8c2c46 100644
--- a/addons/microdagr/XEH_clientInit.sqf
+++ b/addons/microdagr/XEH_clientInit.sqf
@@ -4,7 +4,7 @@
if (!hasInterface) exitWith {};
//Add Keybinds:
-["ACE3 Equipment", QGVAR(openGPS), (localize "STR_ACE_microdagr_toggleUnit"),
+["ACE3 Equipment", QGVAR(openGPS), (localize STRING(toggleUnit)),
{
// canInteractWith (can use on map)
if !([ACE_player, objNull, ["notOnMap", "isNotInside"]] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -17,7 +17,7 @@ if (!hasInterface) exitWith {};
{false},
[0xC7, [false, false, false]], false] call cba_fnc_addKeybind; //Home Key
-["ACE3 Equipment", QGVAR(closeGPS), (localize "STR_ACE_microdagr_closeUnit"),
+["ACE3 Equipment", QGVAR(closeGPS), (localize STRING(closeUnit)),
{
// canInteractWith (can use on map)
if !([ACE_player, objNull, ["notOnMap", "isNotInside"]] call EFUNC(common,canInteractWith)) exitWith {false};
diff --git a/addons/microdagr/functions/fnc_showApplicationPage.sqf b/addons/microdagr/functions/fnc_showApplicationPage.sqf
index a9e6d10db7..cfa364eeee 100644
--- a/addons/microdagr/functions/fnc_showApplicationPage.sqf
+++ b/addons/microdagr/functions/fnc_showApplicationPage.sqf
@@ -88,10 +88,10 @@ if (GVAR(currentApplicationPage) == APP_MODE_MARK) then {
if ((count GVAR(newWaypointPosition)) == 0) then {
- (_display displayCtrl IDC_MODEMARK_HEADER) ctrlSetText (localize "STR_ACE_microdagr_wpEnterCords");
+ (_display displayCtrl IDC_MODEMARK_HEADER) ctrlSetText (localize STRING(wpEnterCords));
(_display displayCtrl IDC_MODEMARK_CORDSEDIT) ctrlSetText "";
} else {
- (_display displayCtrl IDC_MODEMARK_HEADER) ctrlSetText format [(localize "STR_ACE_microdagr_wpEnterName"), mapGridPosition GVAR(newWaypointPosition)];
+ (_display displayCtrl IDC_MODEMARK_HEADER) ctrlSetText format [(localize STRING(wpEnterName)), mapGridPosition GVAR(newWaypointPosition)];
(_display displayCtrl IDC_MODEMARK_CORDSEDIT) ctrlSetText format ["[%1]", mapGridPosition GVAR(newWaypointPosition)];
};
ctrlSetFocus (_display displayCtrl IDC_MODEMARK_CORDSEDIT);
diff --git a/addons/microdagr/functions/fnc_updateDisplay.sqf b/addons/microdagr/functions/fnc_updateDisplay.sqf
index 26e5ef8638..fca5e9ed3b 100644
--- a/addons/microdagr/functions/fnc_updateDisplay.sqf
+++ b/addons/microdagr/functions/fnc_updateDisplay.sqf
@@ -181,18 +181,18 @@ case (APP_MODE_SETUP): {
_settingListBox = _display displayCtrl IDC_MODESETTINGS;
lbClear _settingListBox;
- _settingListBox lbAdd (localize "STR_ACE_microdagr_settingUseMils");
+ _settingListBox lbAdd (localize STRING(settingUseMils));
if (GVAR(settingUseMils)) then {
- _settingListBox lbSetTextRight [0, (localize "STR_ACE_microdagr_settingMils")];
+ _settingListBox lbSetTextRight [0, (localize STRING(settingMils))];
} else {
- _settingListBox lbSetTextRight [0, (localize "STR_ACE_microdagr_settingDegrees")];
+ _settingListBox lbSetTextRight [0, (localize STRING(settingDegrees))];
};
- _settingListBox lbAdd (localize "STR_ACE_microdagr_settingShowWP");
+ _settingListBox lbAdd (localize STRING(settingShowWP));
if (GVAR(settingShowAllWaypointsOnMap)) then {
- _settingListBox lbSetTextRight [1, (localize "STR_ACE_microdagr_settingOn")];
+ _settingListBox lbSetTextRight [1, (localize STRING(settingOn))];
} else {
- _settingListBox lbSetTextRight [1, (localize "STR_ACE_microdagr_settingOff")];
+ _settingListBox lbSetTextRight [1, (localize STRING(settingOff))];
};
};
};
diff --git a/addons/microdagr/gui_controls.hpp b/addons/microdagr/gui_controls.hpp
index 9d73393e08..50e9083ed6 100644
--- a/addons/microdagr/gui_controls.hpp
+++ b/addons/microdagr/gui_controls.hpp
@@ -172,7 +172,7 @@ class controls {
class Controls {
class MGRSNew: GVAR(RscText) {
idc = -1;
- text = "$STR_ACE_microdagr_controlMGRS";
+ text = CSTRING(controlMGRS);
x = W_PART(0.5);
y = H_PART(0);
w = W_PART(10);
@@ -182,7 +182,7 @@ class controls {
class WGD: GVAR(RscText) {
idc = -1;
style = ST_RIGHT;
- text = "$STR_ACE_microdagr_controlWGD";
+ text = CSTRING(controlWGD);
x = W_PART(14.5);
y = H_PART(0);
w = W_PART(10);
@@ -345,7 +345,7 @@ class controls {
};
class TargetRangeText: GVAR(RscText) {
idc = -1;
- text = "$STR_ACE_microdagr_controlRange";
+ text = CSTRING(controlRange);
x = W_PART(0.5);
y = H_PART(2);
w = W_PART(7.5);
@@ -408,7 +408,7 @@ class controls {
class CompassHeader: GVAR(RscText) {
idc = -1;
style = ST_CENTER;
- text = "$STR_ACE_microdagr_compasDirection";
+ text = CSTRING(compasDirection);
x = W_PART(0);
y = H_PART(0);
w = W_PART(25);
@@ -513,7 +513,7 @@ class controls {
class TextTL: GVAR(RscText) {
idc = -1;
style = ST_CENTER;
- text = "$STR_ACE_microdagr_menuMark";
+ text = CSTRING(menuMark);
x = W_PART(0);
y = H_PART(7.5);
w = W_PART(14);
@@ -521,17 +521,17 @@ class controls {
sizeEx = H_PART(1.2);
};
class TextTR: TextTL {
- text = "$STR_ACE_microdagr_menuWaypoints";
+ text = CSTRING(menuWaypoints);
x = W_PART(11);
y = H_PART(7.5);
};
class TextBL: TextTL {
- text = "$STR_ACE_microdagr_menuConnectTo";
+ text = CSTRING(menuConnectTo);
x = W_PART(0);
y = H_PART(16.5);
};
class TextBR: TextTL {
- text = "$STR_ACE_microdagr_menuSettings";
+ text = CSTRING(menuSettings);
x = W_PART(11);
y = H_PART(16.5);
};
@@ -678,7 +678,7 @@ class controls {
class ButtonSetWP: RscButton {
idc = -1;
- text = "$STR_ACE_microdagr_waypointsSet";
+ text = CSTRING(waypointsSet);
x = W_PART(1);
y = H_PART(17);
w = W_PART(7);
@@ -693,12 +693,12 @@ class controls {
onbuttonclick = QUOTE(_this call FUNC(appWaypointsButtonSetWP));
};
class ButtonAdd: ButtonSetWP {
- text = "$STR_ACE_microdagr_waypointsAdd";
+ text = CSTRING(waypointsAdd);
x = W_PART(9);
onbuttonclick = QUOTE([APP_MODE_MARK] call FUNC(saveCurrentAndSetNewMode));
};
class ButtonDelete: ButtonSetWP {
- text = "$STR_ACE_microdagr_waypointsDelete";
+ text = CSTRING(waypointsDelete);
x = W_PART(17);
onbuttonclick = QUOTE(_this call FUNC(appWaypointsButtonDeleteWP));
};
diff --git a/addons/missileguidance/ACE_Settings.hpp b/addons/missileguidance/ACE_Settings.hpp
index c04e6c080c..9a2c81c2bf 100644
--- a/addons/missileguidance/ACE_Settings.hpp
+++ b/addons/missileguidance/ACE_Settings.hpp
@@ -4,7 +4,7 @@ class ACE_Settings {
typeName = "SCALAR";
isClientSettable = 1;
displayName = "$STR_ACE_MissileGuidance";
- description = "$STR_ACE_MissileGuidance_Desc";
+ description = CSTRING(Desc);
values[] = {"$STR_ACE_MissileGuidance_Off", "$STR_ACE_MissileGuidance_PlayerOnly", "$STR_ACE_MissileGuidance_PlayerAndAi"};
};
};
\ No newline at end of file
diff --git a/addons/missileguidance/CfgAmmo.hpp b/addons/missileguidance/CfgAmmo.hpp
index 6c0e54eb3a..d277b31e2a 100644
--- a/addons/missileguidance/CfgAmmo.hpp
+++ b/addons/missileguidance/CfgAmmo.hpp
@@ -69,19 +69,19 @@ class CfgAmmo {
};
class ACE_Hydra70_DAGR : M_PG_AT {
- displayName = "$STR_ACE_Hydra70_DAGR";
- displayNameShort = "$STR_ACE_Hydra70_DAGR_Short";
+ displayName = CSTRING(DAGR);
+ displayNameShort = CSTRING(DAGR_Short);
- description = "$STR_ACE_Hydra70_DAGR";
- descriptionShort = "$STR_ACE_Hydra70_DAGR_Desc";
+ description = CSTRING(DAGR);
+ descriptionShort = CSTRING(DAGR_Desc);
};
class ACE_Hellfire_AGM114K : ACE_Hydra70_DAGR {
- displayName = "$STR_ACE_Hellfire_AGM114K";
- displayNameShort = "$STR_ACE_Hellfire_AGM114K_Short";
+ displayName = CSTRING(AGM114K);
+ displayNameShort = CSTRING(AGM114K_Short);
- description = "$STR_ACE_Hellfire_AGM114K_desc";
- descriptionShort = "$STR_ACE_Hellfire_AGM114K_desc";
+ description = CSTRING(AGM114K_desc);
+ descriptionShort = CSTRING(AGM114K_desc);
// @TODO: placeholder model to at least make it look different
model = "\A3\Weapons_F\Ammo\Missile_AT_03_fly_F";
diff --git a/addons/missionmodules/CfgFactionClasses.hpp b/addons/missionmodules/CfgFactionClasses.hpp
index 6f320805fb..fc4abc3606 100644
--- a/addons/missionmodules/CfgFactionClasses.hpp
+++ b/addons/missionmodules/CfgFactionClasses.hpp
@@ -1,6 +1,6 @@
class CfgFactionClasses {
class NO_CATEGORY;
class ACE_missionModules: NO_CATEGORY {
- displayName = "$STR_ACE_MissionModules_Category_DisplayName";
+ displayName = CSTRING(Category_DisplayName);
};
};
\ No newline at end of file
diff --git a/addons/missionmodules/CfgVehicles.hpp b/addons/missionmodules/CfgVehicles.hpp
index a08e78f17b..80ecd6fa80 100644
--- a/addons/missionmodules/CfgVehicles.hpp
+++ b/addons/missionmodules/CfgVehicles.hpp
@@ -8,7 +8,7 @@ class CfgVehicles {
// TODO make a curator variant for this
class ACE_moduleAmbianceSound: Module_F {
scope = 2;
- displayName = "$STR_ACE_MissionModules_AmbianceSounds_DisplayName";
+ displayName = CSTRING(AmbianceSounds_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Ambient_Sounds_ca.paa));
category = "ACE_missionModules";
function = QUOTE(FUNC(moduleAmbianceSound));
@@ -18,50 +18,50 @@ class CfgVehicles {
author = "$STR_ACE_Common_ACETeam";
class Arguments {
class soundFiles {
- displayName = "$STR_ACE_MissionModules_AmbianceSounds_soundFiles_DisplayName";
- description = "$STR_ACE_MissionModules_AmbianceSounds_soundFiles_Description";
+ displayName = CSTRING(AmbianceSounds_soundFiles_DisplayName);
+ description = CSTRING(AmbianceSounds_soundFiles_Description);
typeName = "STRING";
defaultValue = "";
};
class minimalDistance {
- displayName = "$STR_ACE_MissionModules_AmbianceSounds_minimalDistance_DisplayName";
- description = "$STR_ACE_MissionModules_AmbianceSounds_minimalDistance_Description";
+ displayName = CSTRING(AmbianceSounds_minimalDistance_DisplayName);
+ description = CSTRING(AmbianceSounds_minimalDistance_Description);
typeName = "NUMBER";
defaultValue = 400;
};
class maximalDistance {
- displayName = "$STR_ACE_MissionModules_AmbianceSounds_maximalDistance_DisplayName";
- description = "$STR_ACE_MissionModules_AmbianceSounds_maximalDistance_Description";
+ displayName = CSTRING(AmbianceSounds_maximalDistance_DisplayName);
+ description = CSTRING(AmbianceSounds_maximalDistance_Description);
typeName = "NUMBER";
defaultValue = 900;
};
class minimalDelay {
- displayName = "$STR_ACE_MissionModules_AmbianceSounds_minimalDelay_DisplayName";
- description = "$STR_ACE_MissionModules_AmbianceSounds_minimalDelay_Description";
+ displayName = CSTRING(AmbianceSounds_minimalDelay_DisplayName);
+ description = CSTRING(AmbianceSounds_minimalDelay_Description);
typeName = "NUMBER";
defaultValue = 10;
};
class maximalDelay {
- displayName = "$STR_ACE_MissionModules_AmbianceSounds_maximalDelay_DisplayName";
- description = "$STR_ACE_MissionModules_AmbianceSounds_maximalDelay_Description";
+ displayName = CSTRING(AmbianceSounds_maximalDelay_DisplayName);
+ description = CSTRING(AmbianceSounds_maximalDelay_Description);
typeName = "NUMBER";
defaultValue = 170;
};
class followPlayers {
- displayName = "$STR_ACE_MissionModules_AmbianceSounds_followPlayers_DisplayName";
- description = "$STR_ACE_MissionModules_AmbianceSounds_followPlayers_Description";
+ displayName = CSTRING(AmbianceSounds_followPlayers_DisplayName);
+ description = CSTRING(AmbianceSounds_followPlayers_Description);
typeName = "BOOL";
defaultValue = 0;
};
class soundVolume {
- displayName = "$STR_ACE_MissionModules_AmbianceSounds_soundVolume_DisplayName";
- description = "$STR_ACE_MissionModules_AmbianceSounds_soundVolume_Description";
+ displayName = CSTRING(AmbianceSounds_soundVolume_DisplayName);
+ description = CSTRING(AmbianceSounds_soundVolume_Description);
typeName = "NUMBER";
defaultValue = 1;
};
};
class ModuleDescription {
- description = "$STR_ACE_MissionModules_AmbianceSounds_Description";
+ description = CSTRING(AmbianceSounds_Description);
sync[] = {};
};
};
diff --git a/addons/mk6mortar/CfgVehicles.hpp b/addons/mk6mortar/CfgVehicles.hpp
index e4a9d0f2a5..e910baa645 100644
--- a/addons/mk6mortar/CfgVehicles.hpp
+++ b/addons/mk6mortar/CfgVehicles.hpp
@@ -4,7 +4,7 @@ class CfgVehicles {
class ACE_SelfActions {
class ACE_Equipment {
class GVAR(rangetable) {
- displayName = "$STR_ACE_MK6MORTAR_rangetable_action";
+ displayName = CSTRING(rangetable_action);
condition = QUOTE(_this call FUNC(rangeTableCanUse));
statement = QUOTE(_this call FUNC(rangeTableOpen));
priority = 0;
@@ -50,7 +50,7 @@ class CfgVehicles {
class GVAR(module): Module_F {
author = "$STR_ACE_Common_ACETeam";
category = "ACE";
- displayName = "$STR_ACE_mk6mortar_Module_DisplayName";
+ displayName = CSTRING(Module_DisplayName);
function = QFUNC(moduleInit);
scope = 2;
isGlobal = 0;
@@ -58,26 +58,26 @@ class CfgVehicles {
functionPriority = 0;
class Arguments {
class airResistanceEnabled {
- displayName = "$STR_ACE_mk6mortar_airResistanceEnabled_DisplayName";
- description = "$STR_ACE_mk6mortar_airResistanceEnabled_Description";
+ displayName = CSTRING(airResistanceEnabled_DisplayName);
+ description = CSTRING(airResistanceEnabled_Description);
typeName = "BOOL";
defaultValue = 1;
};
class allowComputerRangefinder {
- displayName = "$STR_ACE_mk6mortar_allowComputerRangefinder_DisplayName";
- description = "$STR_ACE_mk6mortar_allowComputerRangefinder_Description";
+ displayName = CSTRING(allowComputerRangefinder_DisplayName);
+ description = CSTRING(allowComputerRangefinder_Description);
typeName = "BOOL";
defaultValue = 0;
};
class allowCompass {
- displayName = "$STR_ACE_mk6mortar_allowCompass_DisplayName";
- description = "$STR_ACE_mk6mortar_allowCompass_Description";
+ displayName = CSTRING(allowCompass_DisplayName);
+ description = CSTRING(allowCompass_Description);
typeName = "BOOL";
defaultValue = 1;
};
};
class ModuleDescription: ModuleDescription {
- description = "$STR_ACE_mk6mortar_Module_Description";
+ description = CSTRING(Module_Description);
};
};
};
\ No newline at end of file
diff --git a/addons/mk6mortar/CfgWeapons.hpp b/addons/mk6mortar/CfgWeapons.hpp
index 7d5153e9ad..0e53d2016d 100644
--- a/addons/mk6mortar/CfgWeapons.hpp
+++ b/addons/mk6mortar/CfgWeapons.hpp
@@ -5,8 +5,8 @@ class CfgWeapons {
class ACE_RangeTable_82mm: ACE_ItemCore {
author = "$STR_ACE_Common_ACETeam";
scope = 2;
- displayName = "$STR_ACE_MK6MORTAR_rangetable_name";
- descriptionShort = "$STR_ACE_MK6MORTAR_rangetable_description";
+ displayName = CSTRING(rangetable_name);
+ descriptionShort = CSTRING(rangetable_description);
picture = QUOTE(PATHTOF(UI\icon_rangeTable.paa));
class ItemInfo: InventoryItem_Base_F {
mass = 0.5;
diff --git a/addons/mk6mortar/functions/fnc_handlePlayerVehicleChanged.sqf b/addons/mk6mortar/functions/fnc_handlePlayerVehicleChanged.sqf
index 91657fdbe2..697b169d5b 100644
--- a/addons/mk6mortar/functions/fnc_handlePlayerVehicleChanged.sqf
+++ b/addons/mk6mortar/functions/fnc_handlePlayerVehicleChanged.sqf
@@ -51,7 +51,7 @@ _fireModes = getArray (configFile >> "CfgWeapons" >> _tubeWeaponName >> "modes")
_currentFireMode = (weaponState [_mortarVeh, [0]]) select 2;
_currentChargeMode = _fireModes find _currentFireMode;
- _text = format ["%1: %2 ", (localize "STR_ACE_MK6MORTAR_rangetable_charge"), _currentChargeMode, QUOTE(PATHTOF(UI\ui_charges.paa))];
+ _text = format ["%1: %2 ", (localize STRING(rangetable_charge)), _currentChargeMode, QUOTE(PATHTOF(UI\ui_charges.paa))];
_chargeText ctrlSetStructuredText parseText _text;
if (shownArtilleryComputer && {!GVAR(allowComputerRangefinder)}) then {
//Don't like this solution, but it works
diff --git a/addons/mk6mortar/functions/fnc_rangeTableOpen.sqf b/addons/mk6mortar/functions/fnc_rangeTableOpen.sqf
index dfb53842ab..8f9fea3dcb 100644
--- a/addons/mk6mortar/functions/fnc_rangeTableOpen.sqf
+++ b/addons/mk6mortar/functions/fnc_rangeTableOpen.sqf
@@ -39,7 +39,7 @@ _muzzleVelocities = [];
_showToPlayer = getNumber (configFile >> "CfgWeapons" >> _weaponName >> _x >> "showToPlayer");
if (_showToPlayer == 1) then {
_artilleryCharge = getNumber (configFile >> "CfgWeapons" >> _weaponName >> _x >> "artilleryCharge");
- LIST_CHARGE lbAdd format ["%1: %2", (localize "STR_ACE_MK6MORTAR_rangetable_charge"), (count _muzzleVelocities)];
+ LIST_CHARGE lbAdd format ["%1: %2", (localize STRING(rangetable_charge)), (count _muzzleVelocities)];
LIST_CHARGE lbSetData [(count _muzzleVelocities), str (_artilleryCharge * _initSpeed)];
_muzzleVelocities pushBack _artilleryCharge;
};
diff --git a/addons/movement/ACE_Settings.hpp b/addons/movement/ACE_Settings.hpp
index 05b38106f3..8424f9cba9 100644
--- a/addons/movement/ACE_Settings.hpp
+++ b/addons/movement/ACE_Settings.hpp
@@ -3,6 +3,6 @@ class ACE_Settings {
value = 0;
typeName = "BOOL";
isClientSettable = 1;
- displayName = "$STR_ACE_Movement_UseImperial";
+ displayName = CSTRING(UseImperial);
};
};
\ No newline at end of file
diff --git a/addons/movement/XEH_postInit.sqf b/addons/movement/XEH_postInit.sqf
index 0e451832d9..7925727b85 100644
--- a/addons/movement/XEH_postInit.sqf
+++ b/addons/movement/XEH_postInit.sqf
@@ -14,13 +14,13 @@ if (!hasInterface) exitWith {};
[_this select 1] call CBA_fnc_removePerFrameHandler;
};
- _dialog displayCtrl 111 ctrlSetText format ["%1 - %2 %3", [ACE_player] call EFUNC(common,getName), localize "STR_ACE_Movement_Weight", [ACE_player] call FUNC(getWeight)];
+ _dialog displayCtrl 111 ctrlSetText format ["%1 - %2 %3", [ACE_player] call EFUNC(common,getName), localize STRING(Weight), [ACE_player] call FUNC(getWeight)];
}, 0, _this select 0] call CBA_fnc_addPerFrameHandler;
}] call EFUNC(common,addEventHandler);
-["ACE3 Movement", QGVAR(climb), localize "STR_ACE_Movement_Climb",
+["ACE3 Movement", QGVAR(climb), localize STRING(Climb),
{
// Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
diff --git a/addons/movement/functions/fnc_climb.sqf b/addons/movement/functions/fnc_climb.sqf
index f88884195e..d9d0a2adfd 100644
--- a/addons/movement/functions/fnc_climb.sqf
+++ b/addons/movement/functions/fnc_climb.sqf
@@ -20,7 +20,7 @@ private "_unit";
_unit = _this select 0;
if !([_unit] call FUNC(canClimb)) exitWith {
- [localize "STR_ACE_Movement_CanNotClimb"] call EFUNC(common,displayTextStructured);
+ [localize STRING(CanNotClimb)] call EFUNC(common,displayTextStructured);
};
if !(_unit getVariable [QGVAR(isClimbInit), false]) then {
diff --git a/addons/nametags/ACE_Settings.hpp b/addons/nametags/ACE_Settings.hpp
index a2c81e61b4..a4e1892a4a 100644
--- a/addons/nametags/ACE_Settings.hpp
+++ b/addons/nametags/ACE_Settings.hpp
@@ -3,33 +3,33 @@ class ACE_Settings {
value[] = {0.77, 0.51, 0.08, 1};
typeName = "COLOR";
isClientSettable = 1;
- displayName = "$STR_ACE_NameTags_DefaultNametagColor";
+ displayName = CSTRING(DefaultNametagColor);
};
class GVAR(showPlayerNames) {
value = 1;
typeName = "SCALAR";
isClientSettable = 1;
- displayName = "$STR_ACE_NameTags_ShowPlayerNames";
- description = "$STR_ACE_NameTags_ShowPlayerNames_Desc";
+ displayName = CSTRING(ShowPlayerNames);
+ description = CSTRING(ShowPlayerNames_Desc);
values[] = {"$STR_ACE_Common_Disabled", "$STR_ACE_Common_Enabled", "$STR_ACE_Common_OnlyCursor", "$STR_ACE_Common_OnlyOnKeypress", "$STR_ACE_Common_OnlyCursorAndKeyPress"};
};
class GVAR(showPlayerRanks) {
value = 1;
typeName = "BOOL";
isClientSettable = 1;
- displayName = "$STR_ACE_NameTags_ShowPlayerRanks";
+ displayName = CSTRING(ShowPlayerRanks);
};
class GVAR(showVehicleCrewInfo) {
value = 1;
typeName = "BOOL";
isClientSettable = 1;
- displayName = "$STR_ACE_NameTags_ShowVehicleCrewInfo";
+ displayName = CSTRING(ShowVehicleCrewInfo);
};
class GVAR(showNamesForAI) {
value = 0;
typeName = "BOOL";
isClientSettable = 1;
- displayName = "$STR_ACE_NameTags_ShowNamesForAI";
+ displayName = CSTRING(ShowNamesForAI);
};
class GVAR(showCursorTagForVehicles) {
value = 0;
@@ -40,8 +40,8 @@ class ACE_Settings {
value = 1;
typeName = "SCALAR";
isClientSettable = 1;
- displayName = "$STR_ACE_NameTags_ShowSoundWaves";
- description = "$STR_ACE_NameTags_ShowSoundWaves_Desc";
+ displayName = CSTRING(ShowSoundWaves);
+ description = CSTRING(ShowSoundWaves_Desc);
values[] = {"$STR_ACE_Common_Disabled", "$STR_ACE_Common_NameTagSettings", "$STR_ACE_Common_AlwaysShowAll"};
};
class GVAR(PlayerNamesViewDistance) {
diff --git a/addons/nametags/CfgVehicles.hpp b/addons/nametags/CfgVehicles.hpp
index fabd3b09cb..74bae81363 100644
--- a/addons/nametags/CfgVehicles.hpp
+++ b/addons/nametags/CfgVehicles.hpp
@@ -6,67 +6,67 @@ class CfgVehicles {
class ACE_ModuleNameTags : Module_F {
author = "$STR_ACE_Common_ACETeam";
category = "ACE";
- displayName = "$STR_ACE_NameTags_Module_DisplayName";
+ displayName = CSTRING(Module_DisplayName);
function = QFUNC(moduleNameTags);
scope = 2;
isGlobal = 1;
icon = QUOTE(PATHTOF(UI\Icon_Module_NameTags_ca.paa));
class Arguments {
class PlayerNamesViewDistance {
- displayName = "$STR_ACE_NameTags_PlayerNamesViewDistance_DisplayName";
- description = "$STR_ACE_NameTags_PlayerNamesViewDistance_Description";
+ displayName = CSTRING(PlayerNamesViewDistance_DisplayName);
+ description = CSTRING(PlayerNamesViewDistance_Description);
typeName = "NUMBER";
defaultValue = 5;
};
class showNamesForAI {
- displayName = "$STR_ACE_NameTags_showNamesForAI_DisplayName";
- description = "$STR_ACE_NameTags_showNamesForAI_Description";
+ displayName = CSTRING(showNamesForAI_DisplayName);
+ description = CSTRING(showNamesForAI_Description);
typeName = "NUMBER";
class values {
class DoNotForce {
default = 1;
- name = "$STR_ACE_NameTags_DoNotForce";
+ name = CSTRING(DoNotForce);
value = -1;
};
class ForceHide {
- name = "$STR_ACE_NameTags_ForceHide";
+ name = CSTRING(ForceHide);
value = 0;
};
class ForceShow {
- name = "$STR_ACE_NameTags_ForceShow";
+ name = CSTRING(ForceShow);
value = 1;
};
};
};
class showVehicleCrewInfo {
- displayName = "$STR_ACE_NameTags_showVehicleCrewInfo_DisplayName";
- description = "$STR_ACE_NameTags_showVehicleCrewInfo_Description";
+ displayName = CSTRING(showVehicleCrewInfo_DisplayName);
+ description = CSTRING(showVehicleCrewInfo_Description);
typeName = "NUMBER";
class values {
class DoNotForce {
default = 1;
- name = "$STR_ACE_NameTags_DoNotForce";
+ name = CSTRING(DoNotForce);
value = -1;
};
class ForceHide {
- name = "$STR_ACE_NameTags_ForceHide";
+ name = CSTRING(ForceHide);
value = 0;
};
class ForceShow {
- name = "$STR_ACE_NameTags_ForceShow";
+ name = CSTRING(ForceShow);
value = 1;
};
};
};
class showCursorTagForVehicles {
- displayName = "$STR_ACE_NameTags_showCursorTagForVehicles_DisplayName";
- description = "$STR_ACE_NameTags_showCursorTagForVehicles_Description";
+ displayName = CSTRING(showCursorTagForVehicles_DisplayName);
+ description = CSTRING(showCursorTagForVehicles_Description);
typeName = "BOOL";
defaultValue = 0;
};
};
class ModuleDescription: ModuleDescription {
- description = "$STR_ACE_NameTags_Module_Description";
+ description = CSTRING(Module_Description);
};
};
};
\ No newline at end of file
diff --git a/addons/nametags/XEH_postInit.sqf b/addons/nametags/XEH_postInit.sqf
index 4e40afafd0..2d3366ae84 100644
--- a/addons/nametags/XEH_postInit.sqf
+++ b/addons/nametags/XEH_postInit.sqf
@@ -8,7 +8,7 @@ if (!hasInterface) exitWith {};
GVAR(ShowNamesTime) = -10;
// Add keybinds
-["ACE3 Common", QGVAR(showNameTags), localize "STR_ACE_NameTags_ShowNames",
+["ACE3 Common", QGVAR(showNameTags), localize STRING(ShowNames),
{
// Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
diff --git a/addons/nightvision/CfgWeapons.hpp b/addons/nightvision/CfgWeapons.hpp
index c40885c2c4..ed3a1d71b5 100644
--- a/addons/nightvision/CfgWeapons.hpp
+++ b/addons/nightvision/CfgWeapons.hpp
@@ -1,22 +1,22 @@
class CfgWeapons {
class Binocular;
class NVGoggles: Binocular {
- displayName = "$STR_ACE_NightVision_NVG_Gen3_brown";
+ displayName = CSTRING(NVG_Gen3_brown);
ACE_NightVision_grain = 0.75;
ACE_NightVision_blur = 0.055;
ACE_NightVision_radBlur = 0.001;
};
class NVGoggles_OPFOR: NVGoggles {
- displayName = "$STR_ACE_NightVision_NVG_Gen3_black";
+ displayName = CSTRING(NVG_Gen3_black);
};
class NVGoggles_INDEP: NVGoggles {
- displayName = "$STR_ACE_NightVision_NVG_Gen3_green";
+ displayName = CSTRING(NVG_Gen3_green);
};
class ACE_NVG_Gen1: NVGoggles_OPFOR {
author = "$STR_ACE_Common_ACETeam";
modelOptics = "\A3\weapons_f\reticle\optics_night";
- displayName = "$STR_ACE_NightVision_NVG_Gen1";
+ displayName = CSTRING(NVG_Gen1);
ACE_NightVision_grain = 2.25;
ACE_NightVision_blur = 0.22;
ACE_NightVision_radBlur = 0.004;
@@ -24,7 +24,7 @@ class CfgWeapons {
class ACE_NVG_Gen2: NVGoggles_INDEP {
author = "$STR_ACE_Common_ACETeam";
modelOptics = "\A3\weapons_f\reticle\optics_night";
- displayName = "$STR_ACE_NightVision_NVG_Gen2";
+ displayName = CSTRING(NVG_Gen2);
ACE_NightVision_grain = 1.5;
ACE_NightVision_blur = 0.11;
ACE_NightVision_radBlur = 0.002;
@@ -32,7 +32,7 @@ class CfgWeapons {
/*class ACE_NVG_Gen3: NVGoggles {
author = "$STR_ACE_Common_ACETeam";
modelOptics = "\A3\weapons_f\reticle\optics_night";
- displayName = "$STR_ACE_NightVision_NVG_Gen3";
+ displayName = CSTRING(NVG_Gen3);
ACE_NightVision_grain = 0.75;
ACE_NightVision_blur = 0.055;
ACE_NightVision_radBlur = 0.001;
@@ -40,7 +40,7 @@ class CfgWeapons {
class ACE_NVG_Gen4: NVGoggles {
author = "$STR_ACE_Common_ACETeam";
modelOptics = "\A3\weapons_f\reticle\optics_night";
- displayName = "$STR_ACE_NightVision_NVG_Gen4";
+ displayName = CSTRING(NVG_Gen4);
ACE_NightVision_grain = 0.0;
ACE_NightVision_blur = 0.0;
ACE_NightVision_radBlur = 0.0;
@@ -48,7 +48,7 @@ class CfgWeapons {
class ACE_NVG_Wide: NVGoggles {
author = "$STR_ACE_Common_ACETeam";
modelOptics = QUOTE(PATHTOF(models\ACE_nvg_wide_optics));
- displayName = "$STR_ACE_NightVision_NVG_FullScreen";
+ displayName = CSTRING(NVG_FullScreen);
ACE_NightVision_grain = 0.75;
ACE_NightVision_blur = 0.055;
ACE_NightVision_radBlur = 0.001;
diff --git a/addons/nightvision/XEH_postInitClient.sqf b/addons/nightvision/XEH_postInitClient.sqf
index 3edc3edad5..cf4541a86a 100644
--- a/addons/nightvision/XEH_postInitClient.sqf
+++ b/addons/nightvision/XEH_postInitClient.sqf
@@ -37,7 +37,7 @@ GVAR(ppEffectMuzzleFlash) ppEffectCommit 0;
["playerTurretChanged", {_this call FUNC(updatePPEffects)}] call EFUNC(common,addEventHandler);
// Add keybinds
-["ACE3 Equipment", QGVAR(IncreaseNVGBrightness), localize "STR_ACE_NightVision_IncreaseNVGBrightness",
+["ACE3 Equipment", QGVAR(IncreaseNVGBrightness), localize STRING(IncreaseNVGBrightness),
{
// Conditions: canInteract
if !([ACE_player, objNull, ["isNotEscorting", "isNotInside"]] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -51,7 +51,7 @@ GVAR(ppEffectMuzzleFlash) ppEffectCommit 0;
{false},
[201, [false, false, true]], false] call cba_fnc_addKeybind; //PageUp + ALT
-["ACE3 Equipment", QGVAR(DecreaseNVGBrightness), localize "STR_ACE_NightVision_DecreaseNVGBrightness",
+["ACE3 Equipment", QGVAR(DecreaseNVGBrightness), localize STRING(DecreaseNVGBrightness),
{
// Conditions: canInteract
if !([ACE_player, objNull, ["isNotEscorting", "isNotInside"]] call EFUNC(common,canInteractWith)) exitWith {false};
diff --git a/addons/nightvision/functions/fnc_changeNVGBrightness.sqf b/addons/nightvision/functions/fnc_changeNVGBrightness.sqf
index e1894aba00..ac80f96c9c 100644
--- a/addons/nightvision/functions/fnc_changeNVGBrightness.sqf
+++ b/addons/nightvision/functions/fnc_changeNVGBrightness.sqf
@@ -29,5 +29,5 @@ _player setVariable [QGVAR(NVGBrightness), _brightness, false];
GVAR(ppEffectNVGBrightness) ppEffectAdjust [1, 1, _brightness / 4, [0, 0, 0, 0], [0, 0, 0, 1], [0, 0, 0, 1]];
GVAR(ppEffectNVGBrightness) ppEffectCommit 0;
-[format [(localize "STR_ACE_NightVision_NVGBrightness"), (_brightness * 100)]] call EFUNC(common,displayTextStructured);
+[format [(localize STRING(NVGBrightness)), (_brightness * 100)]] call EFUNC(common,displayTextStructured);
playSound "ACE_Sound_Click";
diff --git a/addons/optics/CfgWeapons.hpp b/addons/optics/CfgWeapons.hpp
index 5aa06f41a0..67e70e030c 100644
--- a/addons/optics/CfgWeapons.hpp
+++ b/addons/optics/CfgWeapons.hpp
@@ -73,7 +73,7 @@ class CfgWeapons {
author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_optic_Hamr_2D";
- displayName = "$STR_ACE_optic_hamr";
+ displayName = CSTRING(hamr);
weaponInfoType = "ACE_RscWeapon_Hamr";
class ItemInfo: ItemInfo {
@@ -99,7 +99,7 @@ class CfgWeapons {
author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_optic_Hamr_PIP";
//scopeArsenal = 1;
- displayName = "$STR_ACE_optic_hamr_pip";
+ displayName = CSTRING(hamr_pip);
class ItemInfo: ItemInfo {
modelOptics = QUOTE(PATHTOF(models\ace_optics_pip.p3d));
@@ -123,7 +123,7 @@ class CfgWeapons {
author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_optic_Arco_2D";
- displayName = "$STR_ACE_optic_arco";
+ displayName = CSTRING(arco);
weaponInfoType = "ACE_RscWeapon_Arco";
class ItemInfo: ItemInfo {
@@ -148,7 +148,7 @@ class CfgWeapons {
author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_optic_Arco_PIP";
//scopeArsenal = 1;
- displayName = "$STR_ACE_optic_arco_pip";
+ displayName = CSTRING(arco_pip);
class ItemInfo: ItemInfo {
modelOptics = QUOTE(PATHTOF(models\ace_optics_pip.p3d));
@@ -172,7 +172,7 @@ class CfgWeapons {
author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_optic_MRCO_2D";
- displayName = "$STR_ACE_optic_valdada";
+ displayName = CSTRING(valdada);
weaponInfoType = "ACE_RscWeapon_MRCO";
class ItemInfo: ItemInfo {
@@ -198,7 +198,7 @@ class CfgWeapons {
_generalMacro = "ACE_optic_MRCO_PIP";
scope = 1;
//scopeArsenal = 1;
- displayName = "$STR_ACE_optic_valdada_pip";
+ displayName = CSTRING(valdada_pip);
class ItemInfo: ItemInfo {
modelOptics = QUOTE(PATHTOF(models\ace_optics_pip.p3d));
@@ -222,7 +222,7 @@ class CfgWeapons {
author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_optic_SOS_2D";
- displayName = "$STR_ACE_optic_sos";
+ displayName = CSTRING(sos);
weaponInfoType = "ACE_RscWeapon_SOS";
class ItemInfo: ItemInfo {
@@ -240,7 +240,7 @@ class CfgWeapons {
author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_optic_SOS_PIP";
//scopeArsenal = 1;
- displayName = "$STR_ACE_optic_sos_pip";
+ displayName = CSTRING(sos_pip);
class ItemInfo: ItemInfo {
class OpticsModes: OpticsModes {
@@ -268,7 +268,7 @@ class CfgWeapons {
author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_optic_LRPS_2D";
- displayName = "$STR_ACE_optic_lrps";
+ displayName = CSTRING(lrps);
weaponInfoType = "ACE_RscWeapon_SOS";
class ItemInfo: ItemInfo {
@@ -291,7 +291,7 @@ class CfgWeapons {
author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_optic_LRPS_PIP";
//scopeArsenal = 1;
- displayName = "$STR_ACE_optic_lrps_pip";
+ displayName = CSTRING(lrps_pip);
class ItemInfo: ItemInfo {
class OpticsModes: OpticsModes {
diff --git a/addons/optionsmenu/ACE_Settings.hpp b/addons/optionsmenu/ACE_Settings.hpp
index ad910e4661..9ebaf65095 100644
--- a/addons/optionsmenu/ACE_Settings.hpp
+++ b/addons/optionsmenu/ACE_Settings.hpp
@@ -3,7 +3,7 @@ class ACE_Settings {
value = 0;
typeName = "SCALAR";
isClientSettable = 1;
- displayName = "$STR_ACE_optionsMenu_uiScaing";
+ displayName = CSTRING(uiScaing);
values[] = {"$str_medium", "$str_large", "$str_very_large"};
};
};
diff --git a/addons/optionsmenu/functions/fnc_exportSettings.sqf b/addons/optionsmenu/functions/fnc_exportSettings.sqf
index 68dc7fbecd..ccb7113915 100644
--- a/addons/optionsmenu/functions/fnc_exportSettings.sqf
+++ b/addons/optionsmenu/functions/fnc_exportSettings.sqf
@@ -75,6 +75,6 @@ FUNC(clipboardExport) = {
};
[_compiledConfig] call FUNC(clipboardExport);
-["STR_ACE_OptionsMenu_settingsExported"] call EFUNC(common,displayTextStructured);
+[STRING(settingsExported)] call EFUNC(common,displayTextStructured);
diff --git a/addons/optionsmenu/functions/fnc_onListBoxShowSelectionChanged.sqf b/addons/optionsmenu/functions/fnc_onListBoxShowSelectionChanged.sqf
index 25fd99b5d8..b6a2c9ce26 100644
--- a/addons/optionsmenu/functions/fnc_onListBoxShowSelectionChanged.sqf
+++ b/addons/optionsmenu/functions/fnc_onListBoxShowSelectionChanged.sqf
@@ -26,7 +26,7 @@ _settingsMenu = uiNamespace getVariable 'ACE_settingsMenu';
switch (GVAR(optionMenu_openTab)) do {
case (MENU_TAB_OPTIONS): {
- _localizedHeader = format ["%1: %2", (localize "STR_ACE_OptionsMenu_OpenConfigMenu"), (localize "STR_ACE_OptionsMenu_TabOptions")];
+ _localizedHeader = format ["%1: %2", (localize STRING(OpenConfigMenu)), (localize STRING(TabOptions))];
ctrlSetText [13, _localizedHeader];
lbClear 400;
@@ -39,7 +39,7 @@ case (MENU_TAB_OPTIONS): {
(_settingsMenu displayCtrl 413) ctrlShow false;
};
case (MENU_TAB_COLORS): {
- _localizedHeader = format ["%1: %2", (localize "STR_ACE_OptionsMenu_OpenConfigMenu"), (localize "STR_ACE_OptionsMenu_TabColors")];
+ _localizedHeader = format ["%1: %2", (localize STRING(OpenConfigMenu)), (localize STRING(TabColors))];
ctrlSetText [13, _localizedHeader];
lbClear 400;
diff --git a/addons/optionsmenu/functions/fnc_onServerListBoxShowSelectionChanged.sqf b/addons/optionsmenu/functions/fnc_onServerListBoxShowSelectionChanged.sqf
index aaeec2d9ac..15de7d3c00 100644
--- a/addons/optionsmenu/functions/fnc_onServerListBoxShowSelectionChanged.sqf
+++ b/addons/optionsmenu/functions/fnc_onServerListBoxShowSelectionChanged.sqf
@@ -26,7 +26,7 @@ _settingsMenu = uiNamespace getVariable 'ACE_serverSettingsMenu';
switch (GVAR(optionMenu_openTab)) do {
case (MENU_TAB_SERVER_OPTIONS): {
- _localizedHeader = format ["%1: %2", (localize "STR_ACE_OptionsMenu_OpenConfigMenu"), (localize "STR_ACE_OptionsMenu_TabOptions")];
+ _localizedHeader = format ["%1: %2", (localize STRING(OpenConfigMenu)), (localize STRING(TabOptions))];
ctrlSetText [13, _localizedHeader];
lbClear 400;
@@ -43,7 +43,7 @@ case (MENU_TAB_SERVER_OPTIONS): {
(_settingsMenu displayCtrl 416) ctrlEnable false;
};
case (MENU_TAB_SERVER_COLORS): {
- _localizedHeader = format ["%1: %2", (localize "STR_ACE_OptionsMenu_OpenConfigMenu"), (localize "STR_ACE_OptionsMenu_TabColors")];
+ _localizedHeader = format ["%1: %2", (localize STRING(OpenConfigMenu)), (localize STRING(TabColors))];
ctrlSetText [13, _localizedHeader];
lbClear 400;
@@ -67,7 +67,7 @@ case (MENU_TAB_SERVER_COLORS): {
(_settingsMenu displayCtrl 416) ctrlEnable false;
};
case (MENU_TAB_SERVER_VALUES): {
- _localizedHeader = format ["%1: %2", (localize "STR_ACE_OptionsMenu_OpenConfigMenu"), (localize "STR_ACE_OptionsMenu_TabValues")];
+ _localizedHeader = format ["%1: %2", (localize STRING(OpenConfigMenu)), (localize STRING(TabValues))];
ctrlSetText [13, _localizedHeader];
lbClear 400;
diff --git a/addons/optionsmenu/functions/fnc_onServerSettingsMenuOpen.sqf b/addons/optionsmenu/functions/fnc_onServerSettingsMenuOpen.sqf
index f5501d0860..145a230a63 100644
--- a/addons/optionsmenu/functions/fnc_onServerSettingsMenuOpen.sqf
+++ b/addons/optionsmenu/functions/fnc_onServerSettingsMenuOpen.sqf
@@ -61,7 +61,7 @@ _menu = uiNamespace getvariable "ACE_serverSettingsMenu";
(_menu displayCtrl 1003) ctrlEnable false;
if (GVAR(ClientSettingsExportIncluded)) then {
- (_settingsMenu displayCtrl 1102) ctrlSetText localize ("STR_ACE_OptionsMenu_exClientSettings");
+ (_settingsMenu displayCtrl 1102) ctrlSetText localize (STRING(exClientSettings));
} else {
- (_settingsMenu displayCtrl 1102) ctrlSetText localize ("STR_ACE_OptionsMenu_inClientSettings");
+ (_settingsMenu displayCtrl 1102) ctrlSetText localize (STRING(inClientSettings));
};
diff --git a/addons/optionsmenu/functions/fnc_serverSettingsMenuUpdateKeyView.sqf b/addons/optionsmenu/functions/fnc_serverSettingsMenuUpdateKeyView.sqf
index 52984b78f3..e95d73a67b 100644
--- a/addons/optionsmenu/functions/fnc_serverSettingsMenuUpdateKeyView.sqf
+++ b/addons/optionsmenu/functions/fnc_serverSettingsMenuUpdateKeyView.sqf
@@ -56,8 +56,8 @@ if (count _collection > 0) then {
// Created disable/enable options for bools
if ((_setting select 1) == "BOOL") then {
lbClear 400;
- lbAdd [400, (localize "STR_ACE_OptionsMenu_Disabled")];
- lbAdd [400, (localize "STR_ACE_OptionsMenu_Enabled")];
+ lbAdd [400, (localize STRING(Disabled))];
+ lbAdd [400, (localize STRING(Enabled))];
_settingsValue = [0, 1] select _settingsValue;
} else {
lbClear 400;
@@ -77,10 +77,10 @@ if (count _collection > 0) then {
// Created disable/enable options for bools
_expectedType = switch (_setting select 1) do {
- case "STRING": {"STR_ACE_OptionsMenu_stringType"};
- case "ARRAY": {"STR_ACE_OptionsMenu_arrayType"};
- case "SCALAR": {"STR_ACE_OptionsMenu_scalarType"};
- default {"STR_ACE_optionsMenu_unknownType"};
+ case "STRING": {STRING(stringType)};
+ case "ARRAY": {STRING(arrayType)};
+ case "SCALAR": {STRING(scalarType)};
+ default {STRING(unknownType)};
};
(_settingsMenu displayCtrl 414) ctrlSetText format["%1", _settingsValue];
(_settingsMenu displayCtrl 415) ctrlSetText format[localize _expectedType];
diff --git a/addons/optionsmenu/functions/fnc_serverSettingsMenuUpdateList.sqf b/addons/optionsmenu/functions/fnc_serverSettingsMenuUpdateList.sqf
index dad3012e1b..762a5497d4 100644
--- a/addons/optionsmenu/functions/fnc_serverSettingsMenuUpdateList.sqf
+++ b/addons/optionsmenu/functions/fnc_serverSettingsMenuUpdateList.sqf
@@ -37,7 +37,7 @@ switch (GVAR(optionMenu_openTab)) do {
// Created disable/enable options for bools
_settingsText = if ((_x select 1) == "BOOL") then {
- [(localize "STR_ACE_OptionsMenu_Disabled"), (localize "STR_ACE_OptionsMenu_Enabled")] select _settingsValue;
+ [(localize STRING(Disabled)), (localize STRING(Enabled))] select _settingsValue;
} else {
(_x select 5) select _settingsValue;
};
diff --git a/addons/optionsmenu/functions/fnc_settingsMenuUpdateKeyView.sqf b/addons/optionsmenu/functions/fnc_settingsMenuUpdateKeyView.sqf
index 39bbdb8c94..864033ce1f 100644
--- a/addons/optionsmenu/functions/fnc_settingsMenuUpdateKeyView.sqf
+++ b/addons/optionsmenu/functions/fnc_settingsMenuUpdateKeyView.sqf
@@ -56,8 +56,8 @@ if (count _collection > 0) then {
// Created disable/enable options for bools
if ((_setting select 1) == "BOOL") then {
lbClear 400;
- lbAdd [400, (localize "STR_ACE_OptionsMenu_Disabled")];
- lbAdd [400, (localize "STR_ACE_OptionsMenu_Enabled")];
+ lbAdd [400, (localize STRING(Disabled))];
+ lbAdd [400, (localize STRING(Enabled))];
_settingsValue = [0, 1] select _settingsValue;
} else {
lbClear 400;
diff --git a/addons/optionsmenu/functions/fnc_settingsMenuUpdateList.sqf b/addons/optionsmenu/functions/fnc_settingsMenuUpdateList.sqf
index 513b187d7d..c3a232ec08 100644
--- a/addons/optionsmenu/functions/fnc_settingsMenuUpdateList.sqf
+++ b/addons/optionsmenu/functions/fnc_settingsMenuUpdateList.sqf
@@ -34,7 +34,7 @@ switch (GVAR(optionMenu_openTab)) do {
// Created disable/enable options for bools
_settingsText = if ((_x select 1) == "BOOL") then {
- [(localize "STR_ACE_OptionsMenu_Disabled"), (localize "STR_ACE_OptionsMenu_Enabled")] select _settingsValue;
+ [(localize STRING(Disabled)), (localize STRING(Enabled))] select _settingsValue;
} else {
(_x select 5) select _settingsValue;
};
diff --git a/addons/optionsmenu/gui/pauseMenu.hpp b/addons/optionsmenu/gui/pauseMenu.hpp
index c4cbae9916..d009d78049 100644
--- a/addons/optionsmenu/gui/pauseMenu.hpp
+++ b/addons/optionsmenu/gui/pauseMenu.hpp
@@ -60,7 +60,7 @@ class ACE_Open_SettingsMenu_BtnBase : ACE_gui_buttonBase {
soundEscape[] = {"\A3\ui_f\data\sound\RscButtonMenu\soundEscape",0.09,1};
soundPush[] = {"\A3\ui_f\data\sound\RscButtonMenu\soundPush",0.09,1};
style = "0x02 + 0xC0";
- text = "$STR_ACE_OptionsMenu_OpenConfigMenu";
+ text = CSTRING(OpenConfigMenu);
textureNoShortcut = "#(argb,8,8,3)color(0,0,0,0)";
tooltip = "";
tooltipColorBox[] = {1,1,1,1};
diff --git a/addons/optionsmenu/gui/settingsMenu.hpp b/addons/optionsmenu/gui/settingsMenu.hpp
index 04e7ee5aaa..c13d2de923 100644
--- a/addons/optionsmenu/gui/settingsMenu.hpp
+++ b/addons/optionsmenu/gui/settingsMenu.hpp
@@ -71,7 +71,7 @@ class ACE_settingsMenu {
SizeEx = H_PART(1);
colorText[] = {0.95, 0.95, 0.95, 0.75};
colorBackground[] = {0,0,0,0};
- text = "$STR_ACE_OptionsMenu_OpenConfigMenu";
+ text = CSTRING(OpenConfigMenu);
};
class labelSubHeader: ACE_gui_staticBase {
idc = 13;
@@ -83,7 +83,7 @@ class ACE_settingsMenu {
};
class selectionAction_1: ACE_gui_buttonBase {
idc = 1000;
- text = "$STR_ACE_OptionsMenu_TabOptions";
+ text = CSTRING(TabOptions);
x = X_PART(1);
y = Y_PART(2.1);
w = W_PART(9.5);
@@ -109,7 +109,7 @@ class ACE_settingsMenu {
};
class selectionAction_2: selectionAction_1 {
idc = 1001;
- text = "$STR_ACE_OptionsMenu_TabColors";
+ text = CSTRING(TabColors);
x = X_PART(10.5);
action = QUOTE([MENU_TAB_COLORS] call FUNC(onListBoxShowSelectionChanged););
};
@@ -158,7 +158,7 @@ class ACE_settingsMenu {
class Label2: labelKey {
idc = 301;
y = Y_PART(7.3);
- text = "$STR_ACE_OptionsMenu_Setting";
+ text = CSTRING(Setting);
SizeEx = H_PART(1);
};
class comboBox1: ACE_gui_comboBoxBase {
@@ -238,13 +238,13 @@ class ACE_settingsMenu {
};
class action_reset: actionClose {
idc = 1100;
- text = "$STR_ACE_OptionsMenu_ResetAll";
+ text = CSTRING(ResetAll);
x = X_PART(9.5);
action = QUOTE([] call FUNC(resetSettings));
};
class action_exportServerConfig: actionClose {
idc = 1102;
- text = "$STR_ACE_OptionsMenu_OpenExport";
+ text = CSTRING(OpenExport);
x = X_PART(18);
action = QUOTE(if (GVAR(serverConfigGeneration) > 0) then {createDialog 'ACE_serverSettingsMenu'; });
};
@@ -266,7 +266,7 @@ class ACE_serverSettingsMenu: ACE_settingsMenu {
SizeEx = H_PART(1);
colorText[] = {0.95, 0.95, 0.95, 0.75};
colorBackground[] = {0,0,0,0};
- text = "$STR_ACE_OptionsMenu_OpenConfigMenu";
+ text = CSTRING(OpenConfigMenu);
};
class labelSubHeader: ACE_gui_staticBase {
idc = 13;
@@ -278,7 +278,7 @@ class ACE_serverSettingsMenu: ACE_settingsMenu {
};
class selectionAction_1: ACE_gui_buttonBase {
idc = 1000;
- text = "$STR_ACE_OptionsMenu_TabOptions";
+ text = CSTRING(TabOptions);
x = X_PART(1);
y = Y_PART(2.1);
w = W_PART(9.5);
@@ -302,13 +302,13 @@ class ACE_serverSettingsMenu: ACE_settingsMenu {
};
class selectionAction_2: selectionAction_1 {
idc = 1001;
- text = "$STR_ACE_OptionsMenu_TabColors";
+ text = CSTRING(TabColors);
x = X_PART(10.5);
action = QUOTE([MENU_TAB_SERVER_COLORS] call FUNC(onServerListBoxShowSelectionChanged););
};
class selectionAction_3: selectionAction_1 {
idc = 1002;
- text = "$STR_ACE_OptionsMenu_TabValues";
+ text = CSTRING(TabValues);
x = X_PART(20);
action = QUOTE([MENU_TAB_SERVER_VALUES] call FUNC(onServerListBoxShowSelectionChanged););
};
@@ -351,7 +351,7 @@ class ACE_serverSettingsMenu: ACE_settingsMenu {
class Label2: labelKey {
idc = 301;
y = Y_PART(7.3);
- text = "$STR_ACE_OptionsMenu_Setting";
+ text = CSTRING(Setting);
SizeEx = H_PART(1);
};
class comboBox1: ACE_gui_comboBoxBase {
@@ -411,7 +411,7 @@ class ACE_serverSettingsMenu: ACE_settingsMenu {
};
class saveInputButton: selectionAction_1 {
idc = 416;
- text = "$STR_ACE_OptionsMenu_SaveInput";
+ text = CSTRING(SaveInput);
x = X_PART(27.1);
y = Y_PART(9.1);
w = W_PART(11);
@@ -432,19 +432,19 @@ class ACE_serverSettingsMenu: ACE_settingsMenu {
class actionClose;
class action_reset: actionClose {
idc = 1100;
- text = "$STR_ACE_OptionsMenu_ResetAll";
+ text = CSTRING(ResetAll);
x = X_PART(26.1);
action = QUOTE([] call FUNC(serverResetSettings));
};
class action_exportServerConfig: actionClose {
idc = 1101;
- text = "$STR_ACE_OptionsMenu_Export";
+ text = CSTRING(Export);
x = X_PART(1);
action = QUOTE([] call FUNC(exportSettings));
};
class action_toggleIncludeClientSettings: actionClose {
idc = 1102;
- text = "$STR_ACE_OptionsMenu_inClientSettings";
+ text = CSTRING(inClientSettings);
x = X_PART(9);
action = QUOTE([] call FUNC(toggleIncludeClientSettings));
};
diff --git a/addons/overheating/ACE_Settings.hpp b/addons/overheating/ACE_Settings.hpp
index f68898c434..2d63614a40 100644
--- a/addons/overheating/ACE_Settings.hpp
+++ b/addons/overheating/ACE_Settings.hpp
@@ -3,7 +3,7 @@ class ACE_Settings {
typeName = "BOOL";
isClientSettable = 1;
value = 1;
- displayName = "$STR_ACE_overheating_SettingDisplayTextName";
- description = "$STR_ACE_overheating_SettingDisplayTextDesc";
+ displayName = CSTRING(SettingDisplayTextName);
+ description = CSTRING(SettingDisplayTextDesc);
};
};
diff --git a/addons/overheating/CfgVehicles.hpp b/addons/overheating/CfgVehicles.hpp
index 5c7f7b9eb6..3041075c8d 100644
--- a/addons/overheating/CfgVehicles.hpp
+++ b/addons/overheating/CfgVehicles.hpp
@@ -5,7 +5,7 @@ class CfgVehicles {
class ACE_SelfActions {
class ACE_Equipment {
class ACE_SwapBarrel {
- displayName = "$STR_ACE_Overheating_SwapBarrel";
+ displayName = CSTRING(SwapBarrel);
condition = QUOTE( 'ACE_SpareBarrel' in items _player && {getNumber (configFile >> 'CfgWeapons' >> currentWeapon _player >> 'ACE_Overheating_allowSwapBarrel') == 1} );
statement = QUOTE( [ARR_2(_player, currentWeapon _player)] call FUNC(swapBarrel); );
showDisabled = 0;
@@ -14,7 +14,7 @@ class CfgVehicles {
hotkey = "B";
};
class ACE_CheckTemperature {
- displayName = "$STR_ACE_Overheating_CheckTemperatureShort";
+ displayName = CSTRING(CheckTemperatureShort);
condition = "switch (currentWeapon _player) do {case (''): {false}; case (primaryWeapon _player); case (secondaryWeapon _player); case (handgunWeapon _player): {true}; default {false}}";
exceptions[] = {"isNotInside"};
statement = QUOTE( [ARR_2(_player, currentWeapon _player)] call FUNC(CheckTemperature); );
diff --git a/addons/overheating/CfgWeapons.hpp b/addons/overheating/CfgWeapons.hpp
index 12ec43024f..d3146a5ffd 100644
--- a/addons/overheating/CfgWeapons.hpp
+++ b/addons/overheating/CfgWeapons.hpp
@@ -3,8 +3,8 @@ class CfgWeapons {
class InventoryItem_Base_F;
class ACE_SpareBarrel: ACE_ItemCore {
- displayname = "$STR_ACE_Overheating_SpareBarrelName";
- descriptionshort = "$STR_ACE_Overheating_SpareBarrelDescription";
+ displayname = CSTRING(SpareBarrelName);
+ descriptionshort = CSTRING(SpareBarrelDescription);
//model = "";
picture = QUOTE(PATHTOF(UI\spare_barrel_ca.paa));
scope = 2;
diff --git a/addons/overheating/XEH_postInit.sqf b/addons/overheating/XEH_postInit.sqf
index 5e7089ab75..3b270f2d85 100644
--- a/addons/overheating/XEH_postInit.sqf
+++ b/addons/overheating/XEH_postInit.sqf
@@ -4,7 +4,7 @@
if !(hasInterface) exitWith {};
// Add keybinds
-["ACE3 Weapons", QGVAR(unjamWeapon), localize "STR_ACE_Overheating_UnjamWeapon",
+["ACE3 Weapons", QGVAR(unjamWeapon), localize STRING(UnjamWeapon),
{
// Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
diff --git a/addons/overheating/functions/fnc_clearJam.sqf b/addons/overheating/functions/fnc_clearJam.sqf
index 4bba92eb3f..be6d073b6f 100644
--- a/addons/overheating/functions/fnc_clearJam.sqf
+++ b/addons/overheating/functions/fnc_clearJam.sqf
@@ -52,6 +52,6 @@ if (_weapon in _jammedWeapons) then {
};
if (GVAR(DisplayTextOnJam)) then {
- [localize "STR_ACE_Overheating_WeaponUnjammed"] call EFUNC(common,displayTextStructured);
+ [localize STRING(WeaponUnjammed)] call EFUNC(common,displayTextStructured);
};
};
diff --git a/addons/overheating/functions/fnc_jamWeapon.sqf b/addons/overheating/functions/fnc_jamWeapon.sqf
index 7810fb0ce2..487266be32 100644
--- a/addons/overheating/functions/fnc_jamWeapon.sqf
+++ b/addons/overheating/functions/fnc_jamWeapon.sqf
@@ -62,7 +62,7 @@ if (_unit getVariable [QGVAR(JammingActionID), -1] == -1) then {
playSound3D ["a3\sounds_f\weapons\Other\dry9.wss", _this select 0];
if (!(missionNamespace getVariable [QGVAR(knowAboutJam), false]) && {(_this select 1) ammo currentWeapon (_this select 1) > 0} && {GVAR(DisplayTextOnJam)}) then {
- [localize "STR_ACE_Overheating_WeaponJammed"] call EFUNC(common,displayTextStructured);
+ [localize STRING(WeaponJammed)] call EFUNC(common,displayTextStructured);
GVAR(knowAboutJam) = true;
};
};
@@ -75,7 +75,7 @@ if (_unit getVariable [QGVAR(JammingActionID), -1] == -1) then {
[_this select 1, currentWeapon (_this select 1), false] call FUNC(clearJam);
};
- //_id = [_unit, format ["%1", localize "STR_ACE_Overheating_UnjamWeapon"], "DefaultAction", _condition, _statement, _condition2, _statement2, 10] call EFUNC(common,addActionMenuEventHandler);
+ //_id = [_unit, format ["%1", localize STRING(UnjamWeapon)], "DefaultAction", _condition, _statement, _condition2, _statement2, 10] call EFUNC(common,addActionMenuEventHandler);
_id = [_unit, "DefaultAction", _condition, _statement] call EFUNC(common,addActionEventHandler);
_unit setVariable [QGVAR(JammingActionID), _id];
diff --git a/addons/overheating/functions/fnc_swapBarrel.sqf b/addons/overheating/functions/fnc_swapBarrel.sqf
index 2384fb470e..f2c92d5b4a 100644
--- a/addons/overheating/functions/fnc_swapBarrel.sqf
+++ b/addons/overheating/functions/fnc_swapBarrel.sqf
@@ -22,4 +22,4 @@ _player playActionNow "GestureDismountMuzzle";
_player playAction "GestureMountMuzzle";
playSound "ACE_BarrelSwap";
-[10, [_player, _weapon], {(_this select 0) call FUNC(swapBarrelCallback)}, {}, (localize "STR_ACE_Overheating_SwappingBarrel")] call EFUNC(common,progressBar);
+[10, [_player, _weapon], {(_this select 0) call FUNC(swapBarrelCallback)}, {}, (localize STRING(SwappingBarrel))] call EFUNC(common,progressBar);
diff --git a/addons/overheating/functions/fnc_swapBarrelCallback.sqf b/addons/overheating/functions/fnc_swapBarrelCallback.sqf
index e626bf2aea..415908aea3 100644
--- a/addons/overheating/functions/fnc_swapBarrelCallback.sqf
+++ b/addons/overheating/functions/fnc_swapBarrelCallback.sqf
@@ -16,6 +16,6 @@
EXPLODE_2_PVT(_this,_player,_weapon);
// don't consume the barrel, but rotate through them.
-[localize "STR_ACE_Overheating_SwappedBarrel", QUOTE(PATHTOF(UI\spare_barrel_ca.paa))] call EFUNC(common,displayTextPicture);
+[localize STRING(SwappedBarrel), QUOTE(PATHTOF(UI\spare_barrel_ca.paa))] call EFUNC(common,displayTextPicture);
_player setVariable [format [QGVAR(%1), _weapon], [0, 0], false];
diff --git a/addons/parachute/CfgVehicles.hpp b/addons/parachute/CfgVehicles.hpp
index 04732d0506..a1e34fa4d8 100644
--- a/addons/parachute/CfgVehicles.hpp
+++ b/addons/parachute/CfgVehicles.hpp
@@ -19,7 +19,7 @@ class CfgVehicles {
class ACE_NonSteerableParachute: B_Parachute {
author = "$STR_ACE_Common_ACETeam";
scope = 2;
- displayName = "$STR_ACE_Parachute_NonSteerableParachute";
+ displayName = CSTRING(NonSteerableParachute);
//picture = "\A3\Characters_F\data\ui\icon_b_parachute_ca.paa"; // @todo
//model = "\A3\Weapons_F\Ammoboxes\Bags\Backpack_Parachute"; // @todo
// backpackSimulation = "ParachuteNonSteerable"; //ParachuteSteerable //Bis broke this in 1.40
diff --git a/addons/parachute/CfgWeapons.hpp b/addons/parachute/CfgWeapons.hpp
index 067d065bf0..8852caec7c 100644
--- a/addons/parachute/CfgWeapons.hpp
+++ b/addons/parachute/CfgWeapons.hpp
@@ -4,8 +4,8 @@ class CfgWeapons {
ACE_hideItemType = "Watch";
author = "$STR_ACE_Common_ACETeam";
- descriptionShort = "$STR_ACE_Parachute_AltimeterDescription";
- displayName = "$STR_ACE_Parachute_AltimeterDisplayName";
+ descriptionShort = CSTRING(AltimeterDescription);
+ displayName = CSTRING(AltimeterDisplayName);
picture = PATHTOF(UI\watch_altimeter.paa);
};
};
diff --git a/addons/parachute/XEH_postInit.sqf b/addons/parachute/XEH_postInit.sqf
index a6c589a39a..9ee62d08ba 100644
--- a/addons/parachute/XEH_postInit.sqf
+++ b/addons/parachute/XEH_postInit.sqf
@@ -17,7 +17,7 @@
if (!hasInterface) exitWith {};
-["ACE3 Equipment", QGVAR(showAltimeter), localize "STR_ACE_Parachute_showAltimeter",
+["ACE3 Equipment", QGVAR(showAltimeter), localize STRING(showAltimeter),
{
// Conditions: canInteract
if !([ACE_player, objNull, ["isNotEscorting", "isNotInside"]] call EFUNC(common,canInteractWith)) exitWith {false};
diff --git a/addons/realisticnames/CfgMagazines.hpp b/addons/realisticnames/CfgMagazines.hpp
index cf555c9603..69d6cfa579 100644
--- a/addons/realisticnames/CfgMagazines.hpp
+++ b/addons/realisticnames/CfgMagazines.hpp
@@ -359,61 +359,61 @@ class CfgMagazines {
class CA_Magazine;
// http://en.wikipedia.org/wiki/M15_mine
class ATMine_Range_Mag: CA_Magazine {
- displayName = "$STR_ACE_RealisticNames_ATMine_Name";
+ displayName = CSTRING(ATMine_Name);
};
// http://en.wikipedia.org/wiki/VS-50_mine
class APERSMine_Range_Mag: ATMine_Range_Mag {
- displayName = "$STR_ACE_RealisticNames_APERSMine_Name";
+ displayName = CSTRING(APERSMine_Name);
};
// https://www.buymilsurp.com/us-m26-antipersonnel-bounding-mine-p-5419.html
class APERSBoundingMine_Range_Mag: ATMine_Range_Mag {
- displayName = "$STR_ACE_RealisticNames_APERSBoundingMine_Name";
+ displayName = CSTRING(APERSBoundingMine_Name);
};
// http://en.wikipedia.org/wiki/PMR-3_mine
class APERSTripMine_Wire_Mag: ATMine_Range_Mag {
- displayName = "$STR_ACE_RealisticNames_APERSTripwireMine_Name";
+ displayName = CSTRING(APERSTripwireMine_Name);
};
// the following ones can be found here: http://www.dtic.mil/dtic/tr/fulltext/u2/a567897.pdf
class SLAMDirectionalMine_Wire_Mag: ATMine_Range_Mag {
- displayName = "$STR_ACE_RealisticNames_SLAM_Name";
+ displayName = CSTRING(SLAM_Name);
};
// claymore
class ClaymoreDirectionalMine_Remote_Mag: CA_Magazine {
- displayName = "$STR_ACE_RealisticNames_Claymore_Name";
+ displayName = CSTRING(Claymore_Name);
};
// satchels
class SatchelCharge_Remote_Mag: CA_Magazine {
- displayName = "$STR_ACE_RealisticNames_SatchelCharge_Name";
+ displayName = CSTRING(SatchelCharge_Name);
};
class DemoCharge_Remote_Mag: SatchelCharge_Remote_Mag {
- displayName = "$STR_ACE_RealisticNames_DemoCharge_Name";
+ displayName = CSTRING(DemoCharge_Name);
};
// hand grenades
class HandGrenade: CA_Magazine {
- displayName = "$STR_ACE_RealisticNames_HandGrenade_Name";
+ displayName = CSTRING(HandGrenade_Name);
};
class SmokeShell: HandGrenade {
- displayName = "$STR_ACE_RealisticNames_SmokeShell_Name";
+ displayName = CSTRING(SmokeShell_Name);
};
class SmokeShellBlue: SmokeShell {
- displayName = "$STR_ACE_RealisticNames_SmokeShellBlue_Name";
+ displayName = CSTRING(SmokeShellBlue_Name);
};
class SmokeShellGreen: SmokeShell {
- displayName = "$STR_ACE_RealisticNames_SmokeShellGreen_Name";
+ displayName = CSTRING(SmokeShellGreen_Name);
};
class SmokeShellOrange: SmokeShell {
- displayName = "$STR_ACE_RealisticNames_SmokeShellOrange_Name";
+ displayName = CSTRING(SmokeShellOrange_Name);
};
class SmokeShellPurple: SmokeShell {
- displayName = "$STR_ACE_RealisticNames_SmokeShellPurple_Name";
+ displayName = CSTRING(SmokeShellPurple_Name);
};
class SmokeShellRed: SmokeShell {
- displayName = "$STR_ACE_RealisticNames_SmokeShellRed_Name";
+ displayName = CSTRING(SmokeShellRed_Name);
};
class SmokeShellYellow: SmokeShell {
- displayName = "$STR_ACE_RealisticNames_SmokeShellYellow_Name";
+ displayName = CSTRING(SmokeShellYellow_Name);
};
};
diff --git a/addons/realisticnames/CfgVehicles.hpp b/addons/realisticnames/CfgVehicles.hpp
index cf1ce87b80..aef52578e2 100644
--- a/addons/realisticnames/CfgVehicles.hpp
+++ b/addons/realisticnames/CfgVehicles.hpp
@@ -3,94 +3,94 @@ class CfgVehicles {
// static weapons
class StaticMGWeapon;
class HMG_01_base_F: StaticMGWeapon {
- displayName = "$STR_ACE_RealisticNames_HMG_01_Name";
+ displayName = CSTRING(HMG_01_Name);
};
class HMG_01_A_base_F: HMG_01_base_F {
- displayName = "$STR_ACE_RealisticNames_HMG_01_A_Name";
+ displayName = CSTRING(HMG_01_A_Name);
};
class HMG_01_high_base_F: HMG_01_base_F {
- displayName = "$STR_ACE_RealisticNames_HMG_01_high_Name";
+ displayName = CSTRING(HMG_01_high_Name);
};
class AT_01_base_F;
class B_static_AT_F: AT_01_base_F {
- displayName = "$STR_ACE_RealisticNames_static_AT_Name";
+ displayName = CSTRING(static_AT_Name);
};
class O_static_AT_F: AT_01_base_F {
- displayName = "$STR_ACE_RealisticNames_static_AT_Name";
+ displayName = CSTRING(static_AT_Name);
};
class I_static_AT_F: AT_01_base_F {
- displayName = "$STR_ACE_RealisticNames_static_AT_Name";
+ displayName = CSTRING(static_AT_Name);
};
class AA_01_base_F;
class B_static_AA_F: AA_01_base_F {
- displayName = "$STR_ACE_RealisticNames_static_AA_Name";
+ displayName = CSTRING(static_AA_Name);
};
class O_static_AA_F: AA_01_base_F {
- displayName = "$STR_ACE_RealisticNames_static_AA_Name";
+ displayName = CSTRING(static_AA_Name);
};
class I_static_AA_F: AA_01_base_F {
- displayName = "$STR_ACE_RealisticNames_static_AA_Name";
+ displayName = CSTRING(static_AA_Name);
};
class GMG_TriPod;
class GMG_01_base_F: GMG_TriPod {
- displayName = "$STR_ACE_RealisticNames_GMG_01_Name";
+ displayName = CSTRING(GMG_01_Name);
};
class GMG_01_A_base_F: GMG_01_base_F {
- displayName = "$STR_ACE_RealisticNames_GMG_01_A_Name";
+ displayName = CSTRING(GMG_01_A_Name);
};
class GMG_01_high_base_F: GMG_01_base_F {
- displayName = "$STR_ACE_RealisticNames_GMG_01_high_Name";
+ displayName = CSTRING(GMG_01_high_Name);
};
// M-ATV
class MRAP_01_base_F;
class B_MRAP_01_F: MRAP_01_base_F {
- displayName = "$STR_ACE_RealisticNames_MRAP_01_Name";
+ displayName = CSTRING(MRAP_01_Name);
};
class MRAP_01_gmg_base_F: MRAP_01_base_F {};
class B_MRAP_01_gmg_F: MRAP_01_gmg_base_F {
- displayName = "$STR_ACE_RealisticNames_MRAP_01_gmg_Name";
+ displayName = CSTRING(MRAP_01_gmg_Name);
};
class MRAP_01_hmg_base_F: MRAP_01_gmg_base_F {};
class B_MRAP_01_hmg_F: MRAP_01_hmg_base_F {
- displayName = "$STR_ACE_RealisticNames_MRAP_01_hmg_Name";
+ displayName = CSTRING(MRAP_01_hmg_Name);
};
// punisher
class MRAP_02_base_F;
class O_MRAP_02_F: MRAP_02_base_F {
- displayName = "$STR_ACE_RealisticNames_MRAP_02_Name";
+ displayName = CSTRING(MRAP_02_Name);
};
class MRAP_02_hmg_base_F: MRAP_02_base_F {};
class O_MRAP_02_hmg_F: MRAP_02_hmg_base_F {
- displayName = "$STR_ACE_RealisticNames_MRAP_02_hmg_Name";
+ displayName = CSTRING(MRAP_02_hmg_Name);
};
class MRAP_02_gmg_base_F: MRAP_02_hmg_base_F {};
class O_MRAP_02_gmg_F: MRAP_02_gmg_base_F {
- displayName = "$STR_ACE_RealisticNames_MRAP_02_gmg_Name";
+ displayName = CSTRING(MRAP_02_gmg_Name);
};
// strider
class MRAP_03_base_F;
class I_MRAP_03_F: MRAP_03_base_F {
- displayName = "$STR_ACE_RealisticNames_MRAP_03_Name";
+ displayName = CSTRING(MRAP_03_Name);
};
class MRAP_03_hmg_base_F: MRAP_03_base_F {};
class I_MRAP_03_hmg_F: MRAP_03_hmg_base_F {
- displayName = "$STR_ACE_RealisticNames_MRAP_03_hmg_Name";
+ displayName = CSTRING(MRAP_03_hmg_Name);
};
class MRAP_03_gmg_base_F: MRAP_03_hmg_base_F {};
class I_MRAP_03_gmg_F: MRAP_03_gmg_base_F {
- displayName = "$STR_ACE_RealisticNames_MRAP_03_gmg_Name";
+ displayName = CSTRING(MRAP_03_gmg_Name);
};
// merkava derivates
@@ -98,24 +98,24 @@ class CfgVehicles {
class B_MBT_01_base_F: MBT_01_base_F {};
class B_MBT_01_cannon_F: B_MBT_01_base_F {
- displayName = "$STR_ACE_RealisticNames_MBT_01_cannon_Name";
+ displayName = CSTRING(MBT_01_cannon_Name);
};
class B_MBT_01_TUSK_F: B_MBT_01_cannon_F {
- displayName = "$STR_ACE_RealisticNames_MBT_01_TUSK_Name";
+ displayName = CSTRING(MBT_01_TUSK_Name);
};
class MBT_01_arty_base_F: MBT_01_base_F {};
class B_MBT_01_arty_base_F: MBT_01_arty_base_F {};
class B_MBT_01_arty_F: B_MBT_01_arty_base_F {
- displayName = "$STR_ACE_RealisticNames_MBT_01_arty_Name";
+ displayName = CSTRING(MBT_01_arty_Name);
};
class MBT_01_mlrs_base_F: MBT_01_base_F {};
class B_MBT_01_mlrs_base_F: MBT_01_mlrs_base_F {};
class B_MBT_01_mlrs_F: B_MBT_01_mlrs_base_F {
- displayName = "$STR_ACE_RealisticNames_MBT_01_mlrs_Name"; // Fictional name, (probably wrong) hebrew translation of storm.
+ displayName = CSTRING(MBT_01_mlrs_Name); // Fictional name, (probably wrong) hebrew translation of storm.
};
// T100 derivates
@@ -123,306 +123,306 @@ class CfgVehicles {
class O_MBT_02_base_F: MBT_02_base_F {};
class O_MBT_02_cannon_F: O_MBT_02_base_F {
- displayName = "$STR_ACE_RealisticNames_MBT_02_cannon_Name";
+ displayName = CSTRING(MBT_02_cannon_Name);
};
class MBT_02_arty_base_F: MBT_02_base_F {};
class O_MBT_02_arty_base_F: MBT_02_arty_base_F {};
class O_MBT_02_arty_F: O_MBT_02_arty_base_F {
- displayName = "$STR_ACE_RealisticNames_MBT_02_arty_Name";
+ displayName = CSTRING(MBT_02_arty_Name);
};
// leopard sg
class I_MBT_03_base_F;
class I_MBT_03_cannon_F: I_MBT_03_base_F {
- displayName = "$STR_ACE_RealisticNames_MBT_03_cannon_Name";
+ displayName = CSTRING(MBT_03_cannon_Name);
};
// tracked apcs
class B_APC_Tracked_01_base_F;
class B_APC_Tracked_01_rcws_F: B_APC_Tracked_01_base_F {
- displayName = "$STR_ACE_RealisticNames_APC_Tracked_01_rcws_Name";
+ displayName = CSTRING(APC_Tracked_01_rcws_Name);
};
class B_APC_Tracked_01_AA_F: B_APC_Tracked_01_base_F {
- displayName = "$STR_ACE_RealisticNames_APC_Tracked_01_AA_Name"; // Fictional name, (probably wrong) hebrew translation of cheetah.
+ displayName = CSTRING(APC_Tracked_01_AA_Name); // Fictional name, (probably wrong) hebrew translation of cheetah.
};
class B_APC_Tracked_01_CRV_F: B_APC_Tracked_01_base_F {
- displayName = "$STR_ACE_RealisticNames_APC_Tracked_01_CRV_Name";
+ displayName = CSTRING(APC_Tracked_01_CRV_Name);
};
class O_APC_Tracked_02_base_F;
class O_APC_Tracked_02_cannon_F: O_APC_Tracked_02_base_F {
- displayName = "$STR_ACE_RealisticNames_APC_Tracked_02_cannon_Name";
+ displayName = CSTRING(APC_Tracked_02_cannon_Name);
};
class O_APC_Tracked_02_AA_F: O_APC_Tracked_02_base_F {
- displayName = "$STR_ACE_RealisticNames_APC_Tracked_02_AA_Name";
+ displayName = CSTRING(APC_Tracked_02_AA_Name);
};
class I_APC_tracked_03_base_F;
class I_APC_tracked_03_cannon_F: I_APC_tracked_03_base_F {
- displayName = "$STR_ACE_RealisticNames_APC_tracked_03_cannon_Name";
+ displayName = CSTRING(APC_tracked_03_cannon_Name);
};
// wheeled apcs
class B_APC_Wheeled_01_base_F;
class B_APC_Wheeled_01_cannon_F: B_APC_Wheeled_01_base_F {
- displayName = "$STR_ACE_RealisticNames_APC_Wheeled_cannon_Name";
+ displayName = CSTRING(APC_Wheeled_cannon_Name);
};
class O_APC_Wheeled_02_base_F;
class O_APC_Wheeled_02_rcws_F: O_APC_Wheeled_02_base_F {
- displayName = "$STR_ACE_RealisticNames_APC_Wheeled_02_rcws_Name";
+ displayName = CSTRING(APC_Wheeled_02_rcws_Name);
};
class I_APC_Wheeled_03_base_F;
class I_APC_Wheeled_03_cannon_F: I_APC_Wheeled_03_base_F {
- displayName = "$STR_ACE_RealisticNames_APC_Wheeled_03_cannon_Name";
+ displayName = CSTRING(APC_Wheeled_03_cannon_Name);
};
// trucks
class Truck_01_base_F;
class B_Truck_01_transport_F: Truck_01_base_F {
- displayName = "$STR_ACE_RealisticNames_Truck_01_transport_Name";
+ displayName = CSTRING(Truck_01_transport_Name);
};
class B_Truck_01_covered_F: B_Truck_01_transport_F {
- displayName = "$STR_ACE_RealisticNames_Truck_01_covered_Name";
+ displayName = CSTRING(Truck_01_covered_Name);
};
class B_Truck_01_mover_F: B_Truck_01_transport_F {
- displayName = "$STR_ACE_RealisticNames_Truck_01_mover_Name";
+ displayName = CSTRING(Truck_01_mover_Name);
};
class B_Truck_01_box_F: B_Truck_01_mover_F {
- displayName = "$STR_ACE_RealisticNames_Truck_01_box_Name";
+ displayName = CSTRING(Truck_01_box_Name);
};
class B_Truck_01_medical_F: B_Truck_01_transport_F {
- displayName = "$STR_ACE_RealisticNames_Truck_01_medical_Name";
+ displayName = CSTRING(Truck_01_medical_Name);
};
class B_Truck_01_ammo_F: B_Truck_01_mover_F {
- displayName = "$STR_ACE_RealisticNames_Truck_01_ammo_Name";
+ displayName = CSTRING(Truck_01_ammo_Name);
};
class B_Truck_01_fuel_F: B_Truck_01_mover_F {
- displayName = "$STR_ACE_RealisticNames_Truck_01_fuel_Name";
+ displayName = CSTRING(Truck_01_fuel_Name);
};
class B_Truck_01_Repair_F: B_Truck_01_mover_F {
- displayName = "$STR_ACE_RealisticNames_Truck_01_Repair_Name";
+ displayName = CSTRING(Truck_01_Repair_Name);
};
class Truck_02_transport_base_F;
class O_Truck_02_transport_F: Truck_02_transport_base_F {
- displayName = "$STR_ACE_RealisticNames_Truck_02_transport_Name";
+ displayName = CSTRING(Truck_02_transport_Name);
};
class Truck_02_base_F;
class O_Truck_02_covered_F: Truck_02_base_F {
- displayName = "$STR_ACE_RealisticNames_Truck_02_covered_Name";
+ displayName = CSTRING(Truck_02_covered_Name);
};
class Truck_02_Ammo_base_F;
class O_Truck_02_ammo_F: Truck_02_Ammo_base_F {
- displayName = "$STR_ACE_RealisticNames_Truck_02_ammo_Name";
+ displayName = CSTRING(Truck_02_ammo_Name);
};
class Truck_02_fuel_base_F;
class O_Truck_02_fuel_F: Truck_02_fuel_base_F {
- displayName = "$STR_ACE_RealisticNames_Truck_02_fuel_Name";
+ displayName = CSTRING(Truck_02_fuel_Name);
};
class Truck_02_box_base_F;
class O_Truck_02_box_F: Truck_02_box_base_F {
- displayName = "$STR_ACE_RealisticNames_Truck_02_box_Name";
+ displayName = CSTRING(Truck_02_box_Name);
};
class Truck_02_medical_base_F;
class O_Truck_02_medical_F: Truck_02_medical_base_F {
- displayName = "$STR_ACE_RealisticNames_Truck_02_medical_Name";
+ displayName = CSTRING(Truck_02_medical_Name);
};
class I_Truck_02_transport_F: Truck_02_transport_base_F {
- displayName = "$STR_ACE_RealisticNames_Truck_02_transport_Name";
+ displayName = CSTRING(Truck_02_transport_Name);
};
class I_Truck_02_covered_F: Truck_02_base_F {
- displayName = "$STR_ACE_RealisticNames_Truck_02_covered_Name";
+ displayName = CSTRING(Truck_02_covered_Name);
};
class I_Truck_02_ammo_F: Truck_02_Ammo_base_F {
- displayName = "$STR_ACE_RealisticNames_Truck_02_ammo_Name";
+ displayName = CSTRING(Truck_02_ammo_Name);
};
class I_Truck_02_fuel_F: Truck_02_fuel_base_F {
- displayName = "$STR_ACE_RealisticNames_Truck_02_fuel_Name";
+ displayName = CSTRING(Truck_02_fuel_Name);
};
class I_Truck_02_box_F: Truck_02_box_base_F {
- displayName = "$STR_ACE_RealisticNames_Truck_02_box_Name";
+ displayName = CSTRING(Truck_02_box_Name);
};
class I_Truck_02_medical_F: Truck_02_medical_base_F {
- displayName = "$STR_ACE_RealisticNames_Truck_02_medical_Name";
+ displayName = CSTRING(Truck_02_medical_Name);
};
class Truck_03_base_F;
class O_Truck_03_transport_F: Truck_03_base_F {
- displayName = "$STR_ACE_RealisticNames_Truck_03_transport_Name";
+ displayName = CSTRING(Truck_03_transport_Name);
};
class O_Truck_03_covered_F: Truck_03_base_F {
- displayName = "$STR_ACE_RealisticNames_Truck_03_covered_Name";
+ displayName = CSTRING(Truck_03_covered_Name);
};
class O_Truck_03_device_F: Truck_03_base_F {
- displayName = "$STR_ACE_RealisticNames_Truck_03_device_Name";
+ displayName = CSTRING(Truck_03_device_Name);
};
class O_Truck_03_ammo_F: Truck_03_base_F {
- displayName = "$STR_ACE_RealisticNames_Truck_03_ammo_Name";
+ displayName = CSTRING(Truck_03_ammo_Name);
};
class O_Truck_03_fuel_F: Truck_03_base_F {
- displayName = "$STR_ACE_RealisticNames_Truck_03_fuel_Name";
+ displayName = CSTRING(Truck_03_fuel_Name);
};
class O_Truck_03_repair_F: Truck_03_base_F {
- displayName = "$STR_ACE_RealisticNames_Truck_03_repair_Name";
+ displayName = CSTRING(Truck_03_repair_Name);
};
class O_Truck_03_medical_F: Truck_03_base_F {
- displayName = "$STR_ACE_RealisticNames_Truck_03_medical_Name";
+ displayName = CSTRING(Truck_03_medical_Name);
};
// helicopters
class Heli_Attack_01_base_F;
class B_Heli_Attack_01_F: Heli_Attack_01_base_F {
- displayName = "$STR_ACE_RealisticNames_Heli_Attack_01_Name";
+ displayName = CSTRING(Heli_Attack_01_Name);
};
class Heli_Light_01_unarmed_base_F;
class B_Heli_Light_01_F: Heli_Light_01_unarmed_base_F {
- displayName = "$STR_ACE_RealisticNames_Heli_Light_01_Name";
+ displayName = CSTRING(Heli_Light_01_Name);
};
class Heli_Light_01_armed_base_F;
class B_Heli_Light_01_armed_F: Heli_Light_01_armed_base_F {
- displayName = "$STR_ACE_RealisticNames_Heli_Light_01_armed_Name";
+ displayName = CSTRING(Heli_Light_01_armed_Name);
};
class Heli_Light_01_civil_base_F: Heli_Light_01_unarmed_base_F {
- displayName = "$STR_ACE_RealisticNames_Heli_Light_01_civil_Name";
+ displayName = CSTRING(Heli_Light_01_civil_Name);
};
class Heli_Transport_03_base_F;
class B_Heli_Transport_03_F: Heli_Transport_03_base_F {
- displayName = "$STR_ACE_RealisticNames_Heli_Transport_03_Name";
+ displayName = CSTRING(Heli_Transport_03_Name);
};
class Heli_Transport_03_unarmed_base_F;
class B_Heli_Transport_03_unarmed_F: Heli_Transport_03_unarmed_base_F {
- displayName = "$STR_ACE_RealisticNames_Heli_Transport_03_unarmed_Name";
+ displayName = CSTRING(Heli_Transport_03_unarmed_Name);
};
class Heli_Light_02_base_F;
class O_Heli_Light_02_F: Heli_Light_02_base_F {
- displayName = "$STR_ACE_RealisticNames_Heli_Light_02_Name";
+ displayName = CSTRING(Heli_Light_02_Name);
};
class Heli_Light_02_unarmed_base_F;
class O_Heli_Light_02_unarmed_F: Heli_Light_02_unarmed_base_F {
- displayName = "$STR_ACE_RealisticNames_Heli_Light_02_unarmed_Name";
+ displayName = CSTRING(Heli_Light_02_unarmed_Name);
};
class Heli_light_03_base_F;
class I_Heli_light_03_F: Heli_light_03_base_F {
- displayName = "$STR_ACE_RealisticNames_Heli_light_03_Name";
+ displayName = CSTRING(Heli_light_03_Name);
};
class Heli_light_03_unarmed_base_F;
class I_Heli_light_03_unarmed_F: Heli_light_03_unarmed_base_F {
- displayName = "$STR_ACE_RealisticNames_Heli_light_03_unarmed_Name";
+ displayName = CSTRING(Heli_light_03_unarmed_Name);
};
class Heli_Transport_02_base_F;
class I_Heli_Transport_02_F: Heli_Transport_02_base_F {
- displayName = "$STR_ACE_RealisticNames_Heli_Transport_02_Name";
+ displayName = CSTRING(Heli_Transport_02_Name);
};
// planes
class Plane_CAS_01_base_F;
class B_Plane_CAS_01_F: Plane_CAS_01_base_F {
- displayName = "$STR_ACE_RealisticNames_Plane_CAS_01_Name";
+ displayName = CSTRING(Plane_CAS_01_Name);
};
class Plane_CAS_02_base_F;
class O_Plane_CAS_02_F: Plane_CAS_02_base_F {
- displayName = "$STR_ACE_RealisticNames_Plane_CAS_02_Name";
+ displayName = CSTRING(Plane_CAS_02_Name);
};
class Plane_Fighter_03_base_F;
class I_Plane_Fighter_03_CAS_F: Plane_Fighter_03_base_F {
- displayName = "$STR_ACE_RealisticNames_Plane_Fighter_03_CAS_Name";
+ displayName = CSTRING(Plane_Fighter_03_CAS_Name);
};
class I_Plane_Fighter_03_AA_F: I_Plane_Fighter_03_CAS_F {
- displayName = "$STR_ACE_RealisticNames_Plane_Fighter_03_AA_Name";
+ displayName = CSTRING(Plane_Fighter_03_AA_Name);
};
// uavs
class UAV_02_base_F;
class B_UAV_02_F: UAV_02_base_F {
- displayName = "$STR_ACE_RealisticNames_UAV_02_Name";
+ displayName = CSTRING(UAV_02_Name);
};
class O_UAV_02_F: UAV_02_base_F {
- displayName = "$STR_ACE_RealisticNames_UAV_02_Name";
+ displayName = CSTRING(UAV_02_Name);
};
class I_UAV_02_F: UAV_02_base_F {
- displayName = "$STR_ACE_RealisticNames_UAV_02_Name";
+ displayName = CSTRING(UAV_02_Name);
};
class UAV_02_CAS_base_F: UAV_02_base_F {};
class B_UAV_02_CAS_F: UAV_02_CAS_base_F {
- displayName = "$STR_ACE_RealisticNames_UAV_02_CAS_Name";
+ displayName = CSTRING(UAV_02_CAS_Name);
};
class O_UAV_02_CAS_F: UAV_02_CAS_base_F {
- displayName = "$STR_ACE_RealisticNames_UAV_02_CAS_Name";
+ displayName = CSTRING(UAV_02_CAS_Name);
};
class I_UAV_02_CAS_F: UAV_02_CAS_base_F {
- displayName = "$STR_ACE_RealisticNames_UAV_02_CAS_Name";
+ displayName = CSTRING(UAV_02_CAS_Name);
};
// pistols
class Pistol_Base_F;
class Weapon_hgun_P07_F: Pistol_Base_F {
- displayName = "$STR_ACE_RealisticNames_hgun_P07_Name";
+ displayName = CSTRING(hgun_P07_Name);
};
class Weapon_hgun_Rook40_F: Pistol_Base_F {
- displayName = "$STR_ACE_RealisticNames_hgun_Rook40_Name";
+ displayName = CSTRING(hgun_Rook40_Name);
};
class Weapon_hgun_ACPC2_F: Pistol_Base_F {
- displayName = "$STR_ACE_RealisticNames_hgun_ACPC2_Name";
+ displayName = CSTRING(hgun_ACPC2_Name);
};
class Weapon_hgun_Pistol_heavy_01_F: Pistol_Base_F {
- displayName = "$STR_ACE_RealisticNames_hgun_Pistol_heavy_01_Name";
+ displayName = CSTRING(hgun_Pistol_heavy_01_Name);
};
class Weapon_hgun_Pistol_heavy_02_F: Pistol_Base_F {
- displayName = "$STR_ACE_RealisticNames_hgun_Pistol_heavy_02_Name";
+ displayName = CSTRING(hgun_Pistol_heavy_02_Name);
};
class Weapon_hgun_Pistol_Signal_F: Pistol_Base_F {
- displayName = "$STR_ACE_RealisticNames_hgun_Pistol_Signal_Name";
+ displayName = CSTRING(hgun_Pistol_Signal_Name);
};
// rocket launchers
class Launcher_Base_F;
class Weapon_launch_NLAW_F: Launcher_Base_F {
- displayName = "$STR_ACE_RealisticNames_launch_NLAW_Name";
+ displayName = CSTRING(launch_NLAW_Name);
};
class Weapon_launch_RPG32_F: Launcher_Base_F {
- displayName = "$STR_ACE_RealisticNames_launch_RPG32_Name";
+ displayName = CSTRING(launch_RPG32_Name);
};
/*class Weapon_launch_Titan_F: Launcher_Base_F {
- displayName = "$STR_ACE_RealisticNames_launch_Titan_Name";
+ displayName = CSTRING(launch_Titan_Name);
};
class Weapon_launch_Titan_short_F: Launcher_Base_F {
- displayName = "$STR_ACE_RealisticNames_launch_Titan_short_Name";
+ displayName = CSTRING(launch_Titan_short_Name);
};
class Weapon_launch_B_Titan_F: Launcher_Base_F {
- displayName = "$STR_ACE_RealisticNames_launch_Titan_Name";
+ displayName = CSTRING(launch_Titan_Name);
};*/
//class Weapon_launch_I_Titan_F: Weapon_launch_B_Titan_F {};
//class Weapon_launch_O_Titan_F: Weapon_launch_B_Titan_F {};
/*class Weapon_launch_launch_B_Titan_short_F: Launcher_Base_F {
- displayName = "$STR_ACE_RealisticNames_launch_Titan_short_Name";
+ displayName = CSTRING(launch_Titan_short_Name);
};*/
//class Weapon_launch_I_Titan_short_F: Weapon_launch_launch_B_Titan_short_F {};
//class Weapon_launch_O_Titan_short_F: Weapon_launch_launch_B_Titan_short_F {};
@@ -432,205 +432,205 @@ class CfgVehicles {
// MX
class Weapon_Base_F;
class Weapon_arifle_MX_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_MX_Name";
+ displayName = CSTRING(arifle_MX_Name);
};
class Weapon_arifle_MXC_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_MXC_Name";
+ displayName = CSTRING(arifle_MXC_Name);
};
class Weapon_arifle_MX_GL_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_MX_GL_Name";
+ displayName = CSTRING(arifle_MX_GL_Name);
};
class Weapon_arifle_MX_SW_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_MX_SW_Name";
+ displayName = CSTRING(arifle_MX_SW_Name);
};
class Weapon_arifle_MXM_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_MXM_Name";
+ displayName = CSTRING(arifle_MXM_Name);
};
// Katiba
class Weapon_arifle_Katiba_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_Katiba_Name";
+ displayName = CSTRING(arifle_Katiba_Name);
};
class Weapon_arifle_Katiba_C_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_Katiba_C_Name";
+ displayName = CSTRING(arifle_Katiba_C_Name);
};
class Weapon_arifle_Katiba_GL_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_Katiba_GL_Name";
+ displayName = CSTRING(arifle_Katiba_GL_Name);
};
// F2000
class Weapon_arifle_Mk20_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_Mk20_Name";
+ displayName = CSTRING(arifle_Mk20_Name);
};
class Weapon_arifle_Mk20_plain_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_Mk20_plain_Name";
+ displayName = CSTRING(arifle_Mk20_plain_Name);
};
class Weapon_arifle_Mk20C_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_Mk20C_Name";
+ displayName = CSTRING(arifle_Mk20C_Name);
};
class Weapon_arifle_Mk20C_plain_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_Mk20C_plain_Name";
+ displayName = CSTRING(arifle_Mk20C_plain_Name);
};
class Weapon_arifle_Mk20_GL_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_Mk20_GL_Name";
+ displayName = CSTRING(arifle_Mk20_GL_Name);
};
class Weapon_arifle_Mk20_GL_plain_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_Mk20_GL_plain_Name";
+ displayName = CSTRING(arifle_Mk20_GL_plain_Name);
};
// TAR-21
class Weapon_arifle_TRG21_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_TRG21_Name";
+ displayName = CSTRING(arifle_TRG21_Name);
};
class Weapon_arifle_TRG20_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_TRG20_Name";
+ displayName = CSTRING(arifle_TRG20_Name);
};
class Weapon_arifle_TRG21_GL_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_TRG21_GL_Name";
+ displayName = CSTRING(arifle_TRG21_GL_Name);
};
// sub machine guns
class Weapon_SMG_01_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_SMG_01_Name";
+ displayName = CSTRING(SMG_01_Name);
};
class Weapon_SMG_02_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_SMG_02_Name";
+ displayName = CSTRING(SMG_02_Name);
};
class Weapon_hgun_PDW2000_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_hgun_PDW2000_Name";
+ displayName = CSTRING(hgun_PDW2000_Name);
};
class Weapon_arifle_SDAR_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_SDAR_Name";
+ displayName = CSTRING(arifle_SDAR_Name);
};
// machine guns
class Weapon_LMG_Mk200_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_LMG_Mk200_Name";
+ displayName = CSTRING(LMG_Mk200_Name);
};
class Weapon_LMG_Zafir_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_LMG_Zafir_Name";
+ displayName = CSTRING(LMG_Zafir_Name);
};
// sniper rifles
class Weapon_srifle_EBR_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_EBR_Name";
+ displayName = CSTRING(srifle_EBR_Name);
};
class Weapon_srifle_GM6_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_GM6_Name";
+ displayName = CSTRING(srifle_GM6_Name);
};
class Weapon_srifle_GM6_camo_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_GM6_camo_Name";
+ displayName = CSTRING(srifle_GM6_camo_Name);
};
class Weapon_srifle_LRR_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_LRR_Name";
+ displayName = CSTRING(srifle_LRR_Name);
};
class Weapon_srifle_LRR_camo_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_LRR_camo_Name";
+ displayName = CSTRING(srifle_LRR_camo_Name);
};
class Weapon_srifle_DMR_01_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_01_Name";
+ displayName = CSTRING(srifle_DMR_01_Name);
};
// marksmen
/*class Weapon_srifle_DMR_02_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_02";
+ displayName = CSTRING(srifle_DMR_02);
};
class Weapon_srifle_DMR_02_camo_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_02_camo";
+ displayName = CSTRING(srifle_DMR_02_camo);
};
class Weapon_srifle_DMR_02_sniper_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_02_sniper";
+ displayName = CSTRING(srifle_DMR_02_sniper);
};
class Weapon_srifle_DMR_03_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_03";
+ displayName = CSTRING(srifle_DMR_03);
};
class Weapon_srifle_DMR_03_khaki_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_03_khaki";
+ displayName = CSTRING(srifle_DMR_03_khaki);
};
class Weapon_srifle_DMR_03_tan_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_03_tan";
+ displayName = CSTRING(srifle_DMR_03_tan);
};
class Weapon_srifle_DMR_03_multicam_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_03_multicam";
+ displayName = CSTRING(srifle_DMR_03_multicam);
};
class Weapon_srifle_DMR_03_woodland_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_03_woodland";
+ displayName = CSTRING(srifle_DMR_03_woodland);
};
class Weapon_srifle_DMR_04_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_04";
+ displayName = CSTRING(srifle_DMR_04);
};
class Weapon_srifle_DMR_04_Tan_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_04_Tan";
+ displayName = CSTRING(srifle_DMR_04_Tan);
};
class Weapon_srifle_DMR_05_blk_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_05_blk";
+ displayName = CSTRING(srifle_DMR_05_blk);
};
class Weapon_srifle_DMR_05_hex_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_05_hex";
+ displayName = CSTRING(srifle_DMR_05_hex);
};
class Weapon_srifle_DMR_05_tan_f: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_05_tan";
+ displayName = CSTRING(srifle_DMR_05_tan);
};
class Weapon_srifle_DMR_06_camo_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_06_camo";
+ displayName = CSTRING(srifle_DMR_06_camo);
};
class Weapon_srifle_DMR_06_olive_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_06_olive";
+ displayName = CSTRING(srifle_DMR_06_olive);
};
class Weapon_MMG_01_hex_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_MMG_01_hex";
+ displayName = CSTRING(MMG_01_hex);
};
class Weapon_MMG_01_tan_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_MMG_01_tan";
+ displayName = CSTRING(MMG_01_tan);
};
class Weapon_MMG_02_camo_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_MMG_02_camo";
+ displayName = CSTRING(MMG_02_camo);
};
class Weapon_MMG_02_black_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_MMG_02_black";
+ displayName = CSTRING(MMG_02_black);
};
class Weapon_MMG_02_sand_F: Weapon_Base_F {
- displayName = "$STR_ACE_RealisticNames_MMG_02_sand";
+ displayName = CSTRING(MMG_02_sand);
};*/
};
diff --git a/addons/realisticnames/CfgWeapons.hpp b/addons/realisticnames/CfgWeapons.hpp
index e61457df5d..ecadbb5921 100644
--- a/addons/realisticnames/CfgWeapons.hpp
+++ b/addons/realisticnames/CfgWeapons.hpp
@@ -7,299 +7,299 @@ class CfgWeapons {
// MX
class arifle_MX_Base_F;
class arifle_MX_F: arifle_MX_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_MX_Name";
+ displayName = CSTRING(arifle_MX_Name);
};
class arifle_MX_Black_F: arifle_MX_F {
- displayName = "$STR_ACE_RealisticNames_arifle_MX_Black_Name";
+ displayName = CSTRING(arifle_MX_Black_Name);
};
class arifle_MXC_F: arifle_MX_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_MXC_Name";
+ displayName = CSTRING(arifle_MXC_Name);
};
class arifle_MXC_Black_F: arifle_MXC_F {
- displayName = "$STR_ACE_RealisticNames_arifle_MXC_Black_Name";
+ displayName = CSTRING(arifle_MXC_Black_Name);
};
class arifle_MX_GL_F: arifle_MX_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_MX_GL_Name";
+ displayName = CSTRING(arifle_MX_GL_Name);
};
class arifle_MX_GL_Black_F: arifle_MX_GL_F {
- displayName = "$STR_ACE_RealisticNames_arifle_MX_GL_Black_Name";
+ displayName = CSTRING(arifle_MX_GL_Black_Name);
};
class arifle_MX_SW_F: arifle_MX_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_MX_SW_Name";
+ displayName = CSTRING(arifle_MX_SW_Name);
};
class arifle_MX_SW_Black_F: arifle_MX_SW_F {
- displayName = "$STR_ACE_RealisticNames_arifle_MX_SW_Black_Name";
+ displayName = CSTRING(arifle_MX_SW_Black_Name);
};
class arifle_MXM_F: arifle_MX_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_MXM_Name";
+ displayName = CSTRING(arifle_MXM_Name);
};
class arifle_MXM_Black_F: arifle_MXM_F {
- displayName = "$STR_ACE_RealisticNames_arifle_MXM_Black_Name";
+ displayName = CSTRING(arifle_MXM_Black_Name);
};
// Katiba
class arifle_katiba_Base_F;
class arifle_Katiba_F: arifle_katiba_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_Katiba_Name";
+ displayName = CSTRING(arifle_Katiba_Name);
};
class arifle_Katiba_GL_F: arifle_katiba_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_Katiba_GL_Name";
+ displayName = CSTRING(arifle_Katiba_GL_Name);
};
class arifle_Katiba_C_F: arifle_katiba_Base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_Katiba_C_Name";
+ displayName = CSTRING(arifle_Katiba_C_Name);
};
// SDAR
class SDAR_base_F;
class arifle_SDAR_F: SDAR_base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_SDAR_Name";
+ displayName = CSTRING(arifle_SDAR_Name);
};
// TAR-21
class Tavor_base_F;
class arifle_TRG21_F: Tavor_base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_TRG21_Name";
+ displayName = CSTRING(arifle_TRG21_Name);
};
class arifle_TRG21_GL_F: arifle_TRG21_F {
- displayName = "$STR_ACE_RealisticNames_arifle_TRG21_GL_Name";
+ displayName = CSTRING(arifle_TRG21_GL_Name);
};
class arifle_TRG20_F: Tavor_base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_TRG20_Name";
+ displayName = CSTRING(arifle_TRG20_Name);
};
// F2000
class mk20_base_F;
class arifle_Mk20_F: mk20_base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_Mk20_Name";
+ displayName = CSTRING(arifle_Mk20_Name);
};
class arifle_Mk20_plain_F: arifle_Mk20_F {
- displayName = "$STR_ACE_RealisticNames_arifle_Mk20_plain_Name";
+ displayName = CSTRING(arifle_Mk20_plain_Name);
};
class arifle_Mk20C_F: mk20_base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_Mk20C_Name";
+ displayName = CSTRING(arifle_Mk20C_Name);
};
class arifle_Mk20C_plain_F: arifle_Mk20C_F {
- displayName = "$STR_ACE_RealisticNames_arifle_Mk20C_plain_Name";
+ displayName = CSTRING(arifle_Mk20C_plain_Name);
};
class arifle_Mk20_GL_F: mk20_base_F {
- displayName = "$STR_ACE_RealisticNames_arifle_Mk20_GL_Name";
+ displayName = CSTRING(arifle_Mk20_GL_Name);
};
class arifle_Mk20_GL_plain_F: arifle_Mk20_GL_F {
- displayName = "$STR_ACE_RealisticNames_arifle_Mk20_GL_plain_Name";
+ displayName = CSTRING(arifle_Mk20_GL_plain_Name);
};
// Vector
class SMG_01_Base;
class SMG_01_F: SMG_01_Base {
- displayName = "$STR_ACE_RealisticNames_SMG_01_Name";
+ displayName = CSTRING(SMG_01_Name);
};
// Scorpion
class SMG_02_base_F;
class SMG_02_F: SMG_02_base_F {
- displayName = "$STR_ACE_RealisticNames_SMG_02_Name";
+ displayName = CSTRING(SMG_02_Name);
};
// PDW 2000
class pdw2000_base_F;
class hgun_pdw2000_F: pdw2000_base_F {
- displayName = "$STR_ACE_RealisticNames_hgun_PDW2000_Name";
+ displayName = CSTRING(hgun_PDW2000_Name);
};
// pistols
class Pistol_Base_F;
class hgun_P07_F: Pistol_Base_F {
- displayName = "$STR_ACE_RealisticNames_hgun_P07_Name";
+ displayName = CSTRING(hgun_P07_Name);
};
class hgun_Rook40_F: Pistol_Base_F {
- displayName = "$STR_ACE_RealisticNames_hgun_Rook40_Name";
+ displayName = CSTRING(hgun_Rook40_Name);
};
class hgun_ACPC2_F: Pistol_Base_F {
- displayName = "$STR_ACE_RealisticNames_hgun_ACPC2_Name";
+ displayName = CSTRING(hgun_ACPC2_Name);
};
class hgun_Pistol_heavy_01_F: Pistol_Base_F {
- displayName = "$STR_ACE_RealisticNames_hgun_Pistol_heavy_01_Name";
+ displayName = CSTRING(hgun_Pistol_heavy_01_Name);
};
class hgun_Pistol_heavy_02_F: Pistol_Base_F {
- displayName = "$STR_ACE_RealisticNames_hgun_Pistol_heavy_02_Name";
+ displayName = CSTRING(hgun_Pistol_heavy_02_Name);
};
class hgun_Pistol_Signal_F: Pistol_Base_F {
- displayName = "$STR_ACE_RealisticNames_hgun_Pistol_Signal_Name";
+ displayName = CSTRING(hgun_Pistol_Signal_Name);
};
// machine guns
class Rifle_Long_Base_F;
class LMG_Mk200_F: Rifle_Long_Base_F {
- displayName = "$STR_ACE_RealisticNames_LMG_Mk200_Name";
+ displayName = CSTRING(LMG_Mk200_Name);
};
class LMG_Zafir_F: Rifle_Long_Base_F {
- displayName = "$STR_ACE_RealisticNames_LMG_Zafir_Name";
+ displayName = CSTRING(LMG_Zafir_Name);
};
// sniper rifles
class EBR_base_F;
class srifle_EBR_F: EBR_base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_EBR_Name";
+ displayName = CSTRING(srifle_EBR_Name);
};
class LRR_base_F;
class srifle_LRR_F: LRR_base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_LRR_Name";
+ displayName = CSTRING(srifle_LRR_Name);
};
class srifle_LRR_camo_F: srifle_LRR_F {
- displayName = "$STR_ACE_RealisticNames_srifle_LRR_camo_Name";
+ displayName = CSTRING(srifle_LRR_camo_Name);
};
class GM6_base_F;
class srifle_GM6_F: GM6_base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_GM6_Name";
+ displayName = CSTRING(srifle_GM6_Name);
};
class srifle_GM6_camo_F: srifle_GM6_F {
- displayName = "$STR_ACE_RealisticNames_srifle_GM6_camo_Name";
+ displayName = CSTRING(srifle_GM6_camo_Name);
};
class DMR_01_base_F;
class srifle_DMR_01_F: DMR_01_base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_01_Name";
+ displayName = CSTRING(srifle_DMR_01_Name);
};
// launchers
class Launcher_Base_F;
class launch_RPG32_F: Launcher_Base_F {
- displayName = "$STR_ACE_RealisticNames_launch_RPG32_Name";
+ displayName = CSTRING(launch_RPG32_Name);
};
/*class launch_Titan_base: Launcher_Base_F {
- displayName = "$STR_ACE_RealisticNames_launch_Titan_Name";
+ displayName = CSTRING(launch_Titan_Name);
};
class launch_Titan_short_base: launch_Titan_base {
- displayName = "$STR_ACE_RealisticNames_launch_Titan_short_Name";
+ displayName = CSTRING(launch_Titan_short_Name);
};*/
class launch_NLAW_F: Launcher_Base_F {
- displayName = "$STR_ACE_RealisticNames_launch_NLAW_Name";
+ displayName = CSTRING(launch_NLAW_Name);
};
// marksmen marksman
class DMR_02_base_F: Rifle_Long_Base_F {
- displayName = "$STR_ACE_RealisticNames_DMR_02"; //MAR-10 .338";
+ displayName = CSTRING(DMR_02"; //MAR-10 .338);
};
class srifle_DMR_02_F: DMR_02_base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_02"; //MAR-10 .338 (Black)";
+ displayName = CSTRING(srifle_DMR_02"; //MAR-10 .338 (Black));
};
class srifle_DMR_02_camo_F: srifle_DMR_02_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_02_camo"; //MAR-10 .338 (Camo)";
+ displayName = CSTRING(srifle_DMR_02_camo"; //MAR-10 .338 (Camo));
};
class srifle_DMR_02_sniper_F: srifle_DMR_02_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_02_sniper"; //MAR-10 .338 (Sand)";
+ displayName = CSTRING(srifle_DMR_02_sniper"; //MAR-10 .338 (Sand));
};
class DMR_03_base_F: Rifle_Long_Base_F {
- displayName = "$STR_ACE_RealisticNames_DMR_03"; //Mk-I EMR 7.62 mm";
+ displayName = CSTRING(DMR_03"; //Mk-I EMR 7.62 mm);
};
class srifle_DMR_03_F: DMR_03_base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_03"; //Mk-I EMR 7.62 mm (Black)";
+ displayName = CSTRING(srifle_DMR_03"; //Mk-I EMR 7.62 mm (Black));
};
class srifle_DMR_03_khaki_F: srifle_DMR_03_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_03_khaki"; //Mk-I EMR 7.62 mm (Khaki)";
+ displayName = CSTRING(srifle_DMR_03_khaki"; //Mk-I EMR 7.62 mm (Khaki));
};
class srifle_DMR_03_tan_F: srifle_DMR_03_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_03_tan"; //Mk-I EMR 7.62 mm (Sand)";
+ displayName = CSTRING(srifle_DMR_03_tan"; //Mk-I EMR 7.62 mm (Sand));
};
class srifle_DMR_03_multicam_F: srifle_DMR_03_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_03_multicam"; //Mk-I EMR 7.62 mm (Camo)";
+ displayName = CSTRING(srifle_DMR_03_multicam"; //Mk-I EMR 7.62 mm (Camo));
};
class srifle_DMR_03_woodland_F: srifle_DMR_03_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_03_woodland"; //Mk-I EMR 7.62 mm (Woodland)";
+ displayName = CSTRING(srifle_DMR_03_woodland"; //Mk-I EMR 7.62 mm (Woodland));
};
class srifle_DMR_03_spotter_F: srifle_DMR_03_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_03_spotter"; //NATO DMR (provisional) spotter";
+ displayName = CSTRING(srifle_DMR_03_spotter"; //NATO DMR (provisional) spotter);
};
class DMR_04_base_F: Rifle_Long_Base_F {
- displayName = "$STR_ACE_RealisticNames_DMR_04"; //ASP-1 Kir 12.7 mm";
+ displayName = CSTRING(DMR_04"; //ASP-1 Kir 12.7 mm);
};
class srifle_DMR_04_F: DMR_04_base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_04"; //ASP-1 Kir 12.7 mm (Black)";
+ displayName = CSTRING(srifle_DMR_04"; //ASP-1 Kir 12.7 mm (Black));
};
class srifle_DMR_04_Tan_F: srifle_DMR_04_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_04_Tan"; //ASP-1 Kir 12.7 mm (Tan)";
+ displayName = CSTRING(srifle_DMR_04_Tan"; //ASP-1 Kir 12.7 mm (Tan));
};
class DMR_05_base_F: Rifle_Long_Base_F {
- displayName = "$STR_ACE_RealisticNames_DMR_05"; //Cyrus 9.3 mm";
+ displayName = CSTRING(DMR_05"; //Cyrus 9.3 mm);
};
class srifle_DMR_05_blk_F: DMR_05_base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_05_blk"; //Cyrus 9.3 mm (Black)
+ displayName = CSTRING(srifle_DMR_05_blk); //Cyrus 9.3 mm (Black)
};
class srifle_DMR_05_hex_F: srifle_DMR_05_blk_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_05_hex"; //Cyrus 9.3 mm (Hex)";
+ displayName = CSTRING(srifle_DMR_05_hex"; //Cyrus 9.3 mm (Hex));
};
class srifle_DMR_05_tan_f: srifle_DMR_05_blk_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_05_tan"; //Cyrus 9.3 mm (Tan)";
+ displayName = CSTRING(srifle_DMR_05_tan"; //Cyrus 9.3 mm (Tan));
};
class DMR_06_base_F: Rifle_Long_Base_F {
- displayName = "$STR_ACE_RealisticNames_DMR_06"; //Mk14 7.62 mm";
+ displayName = CSTRING(DMR_06"; //Mk14 7.62 mm);
};
class srifle_DMR_06_camo_F: DMR_06_base_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_06_camo"; //Mk14 7.62 mm (Camo)
+ displayName = CSTRING(srifle_DMR_06_camo); //Mk14 7.62 mm (Camo)
};
class srifle_DMR_06_olive_F: srifle_DMR_06_camo_F {
- displayName = "$STR_ACE_RealisticNames_srifle_DMR_06_olive"; //Mk14 7.62 mm (Olive)";
+ displayName = CSTRING(srifle_DMR_06_olive"; //Mk14 7.62 mm (Olive));
};
// marksmen mgs
class MMG_01_base_F: Rifle_Long_Base_F {
- displayName = "$STR_ACE_RealisticNames_MMG_01"; //Navid 9.3 mm";
+ displayName = CSTRING(MMG_01"; //Navid 9.3 mm);
};
class MMG_01_hex_F: MMG_01_base_F {
- displayName = "$STR_ACE_RealisticNames_MMG_01_hex"; //Navid 9.3 mm (Hex)";
+ displayName = CSTRING(MMG_01_hex"; //Navid 9.3 mm (Hex));
};
class MMG_01_tan_F: MMG_01_hex_F {
- displayName = "$STR_ACE_RealisticNames_MMG_01_tan"; //Navid 9.3 mm (Tan)";
+ displayName = CSTRING(MMG_01_tan"; //Navid 9.3 mm (Tan));
};
class MMG_02_base_F: Rifle_Long_Base_F {
- displayName = "$STR_ACE_RealisticNames_MMG_02"; //SPMG .338";
+ displayName = CSTRING(MMG_02"; //SPMG .338);
};
class MMG_02_camo_F: MMG_02_base_F {
- displayName = "$STR_ACE_RealisticNames_MMG_02_camo"; //SPMG .338 (MTP)";
+ displayName = CSTRING(MMG_02_camo"; //SPMG .338 (MTP));
};
class MMG_02_black_F: MMG_02_camo_F {
- displayName = "$STR_ACE_RealisticNames_MMG_02_black"; //SPMG .338 (Black)";
+ displayName = CSTRING(MMG_02_black"; //SPMG .338 (Black));
};
class MMG_02_sand_F: MMG_02_camo_F {
- displayName = "$STR_ACE_RealisticNames_MMG_02_sand"; //SPMG .338 (Sand)";
+ displayName = CSTRING(MMG_02_sand"; //SPMG .338 (Sand));
};
// vehicle weapons
diff --git a/addons/reload/ACE_Settings.hpp b/addons/reload/ACE_Settings.hpp
index ce122a28f8..7b60527449 100644
--- a/addons/reload/ACE_Settings.hpp
+++ b/addons/reload/ACE_Settings.hpp
@@ -3,7 +3,7 @@ class ACE_Settings {
typeName = "BOOL";
isClientSettable = 1;
value = 1;
- displayName = "$STR_ACE_reload_SettingDisplayTextName";
- description = "$STR_ACE_reload_SettingDisplayTextDesc";
+ displayName = CSTRING(SettingDisplayTextName);
+ description = CSTRING(SettingDisplayTextDesc);
};
};
diff --git a/addons/reload/CfgVehicles.hpp b/addons/reload/CfgVehicles.hpp
index b6bd212015..a9fa4deadd 100644
--- a/addons/reload/CfgVehicles.hpp
+++ b/addons/reload/CfgVehicles.hpp
@@ -4,13 +4,13 @@ class CfgVehicles {
class ACE_Actions {
class ACE_Weapon {
class GVAR(LinkBelt) {
- displayName = "$STR_ACE_Reload_LinkBelt";
+ displayName = CSTRING(LinkBelt);
distance = 2.0;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canLinkBelt));
statement = QUOTE([ARR_2(_player, _target)] call FUNC(startLinkingBelt));
};
class GVAR(CheckAmmo) {
- displayName = "$STR_ACE_Reload_checkAmmo";
+ displayName = CSTRING(checkAmmo);
distance = 2.0;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canCheckAmmo));
statement = QUOTE([ARR_2(_player, _target)] call FUNC(checkAmmo));
@@ -24,7 +24,7 @@ class CfgVehicles {
class ACE_Actions {
class ACE_MainActions {
class GVAR(CheckAmmo) {
- displayName = "$STR_ACE_Reload_checkAmmo";
+ displayName = CSTRING(checkAmmo);
distance = 2.0;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canCheckAmmo));
statement = QUOTE([ARR_2(_player, _target)] call FUNC(checkAmmo));
diff --git a/addons/reload/XEH_postInit.sqf b/addons/reload/XEH_postInit.sqf
index 4444fe1e34..869e151b6a 100644
--- a/addons/reload/XEH_postInit.sqf
+++ b/addons/reload/XEH_postInit.sqf
@@ -4,7 +4,7 @@
if !(hasInterface) exitWith {};
// Add keybinds
-["ACE3 Weapons", QGVAR(checkAmmo), localize "STR_ACE_Reload_checkAmmo",
+["ACE3 Weapons", QGVAR(checkAmmo), localize STRING(checkAmmo),
{
// Conditions: canInteract
if !([ACE_player, (vehicle ACE_player), ["isNotInside"]] call EFUNC(common,canInteractWith)) exitWith {false};
diff --git a/addons/reload/functions/fnc_startLinkingBelt.sqf b/addons/reload/functions/fnc_startLinkingBelt.sqf
index 8b9145c237..c76dc5ccd5 100644
--- a/addons/reload/functions/fnc_startLinkingBelt.sqf
+++ b/addons/reload/functions/fnc_startLinkingBelt.sqf
@@ -66,4 +66,4 @@ _player playActionNow "PutDown";
[_player, _magazineType, _maxAmmo] call EFUNC(common,removeSpecificMagazine);
// Call progress bar
-[4, [_player, _target, [_magazineType, _maxAmmo]], _onFinish, _onFailure, (localize "STR_ACE_Reload_LinkingBelt"), _condition] call EFUNC(common,progressBar);
+[4, [_player, _target, [_magazineType, _maxAmmo]], _onFinish, _onFailure, (localize STRING(LinkingBelt)), _condition] call EFUNC(common,progressBar);
diff --git a/addons/reloadlaunchers/CfgVehicles.hpp b/addons/reloadlaunchers/CfgVehicles.hpp
index 617aa26b5c..3d7a5c9353 100644
--- a/addons/reloadlaunchers/CfgVehicles.hpp
+++ b/addons/reloadlaunchers/CfgVehicles.hpp
@@ -4,7 +4,7 @@ class CfgVehicles {
class CAManBase: Man {
class ACE_Actions {
class GVAR(ReloadLauncher) {
- displayName = "$STR_ACE_ReloadLaunchers_LoadLauncher";
+ displayName = CSTRING(LoadLauncher);
selection = "launcher";
distance = 4;
condition = "";
diff --git a/addons/reloadlaunchers/functions/fnc_addMissileReloadActions.sqf b/addons/reloadlaunchers/functions/fnc_addMissileReloadActions.sqf
index 58cd53699e..40c4e85c62 100644
--- a/addons/reloadlaunchers/functions/fnc_addMissileReloadActions.sqf
+++ b/addons/reloadlaunchers/functions/fnc_addMissileReloadActions.sqf
@@ -30,7 +30,7 @@ _loadableMissiles = [_unit, _weapon] call FUNC(getLoadableMissiles);
private ["_name", "_displayName", "_statement", "_condition", "_action"];
_name = format [QGVAR(Missile_%1), _x];
- _displayName = format [localize "STR_ACE_ReloadLaunchers_LoadMagazine", getText (configFile >> "CfgMagazines" >> _x >> "displayName")];
+ _displayName = format [localize STRING(LoadMagazine), getText (configFile >> "CfgMagazines" >> _x >> "displayName")];
_statement = {
(_this select 2) call DFUNC(load);
diff --git a/addons/reloadlaunchers/functions/fnc_load.sqf b/addons/reloadlaunchers/functions/fnc_load.sqf
index bf14b9b691..3005ee231c 100644
--- a/addons/reloadlaunchers/functions/fnc_load.sqf
+++ b/addons/reloadlaunchers/functions/fnc_load.sqf
@@ -34,7 +34,7 @@ _onSuccess = {
(_this select 0 select 0) removeMagazine (_this select 0 select 3);
["reloadLauncher", _this select 0 select 1, _this select 0] call DEFUNC(common,targetEvent);
- [localize "STR_ACE_ReloadLaunchers_LauncherLoaded"] call DEFUNC(common,displayTextStructured);
+ [localize STRING(LauncherLoaded)] call DEFUNC(common,displayTextStructured);
};
_onFailure = {
@@ -45,4 +45,4 @@ _condition = {
(_this select 0) call DFUNC(canLoad) && {(_this select 0 select 0) distance (_this select 0 select 1) < 4}
};
-[_reloadTime, [_unit, _target, _weapon, _magazine], _onSuccess, _onFailure, localize "STR_ACE_ReloadLaunchers_LoadingLauncher", _condition] call EFUNC(common,progressBar);
+[_reloadTime, [_unit, _target, _weapon, _magazine], _onSuccess, _onFailure, localize STRING(LoadingLauncher), _condition] call EFUNC(common,progressBar);
diff --git a/addons/respawn/CfgVehicleClasses.hpp b/addons/respawn/CfgVehicleClasses.hpp
index 19ed9fede8..ab9c9b6c7e 100644
--- a/addons/respawn/CfgVehicleClasses.hpp
+++ b/addons/respawn/CfgVehicleClasses.hpp
@@ -1,5 +1,5 @@
class CfgVehicleClasses {
class GVAR(Rallypoints) {
- displayName = "$STR_ACE_Respawn_EditorCategory";
+ displayName = CSTRING(EditorCategory);
};
};
diff --git a/addons/respawn/CfgVehicles.hpp b/addons/respawn/CfgVehicles.hpp
index e90f4ba08e..21d934c4fd 100644
--- a/addons/respawn/CfgVehicles.hpp
+++ b/addons/respawn/CfgVehicles.hpp
@@ -6,7 +6,7 @@ class CfgVehicles {
class ACE_ModuleRespawn: Module_F {
author = "$STR_ACE_Common_ACETeam";
category = "ACE";
- displayName = "$STR_ACE_Respawn_Module_DisplayName";
+ displayName = CSTRING(Module_DisplayName);
function = QFUNC(module);
scope = 2;
isGlobal = 1;
@@ -14,28 +14,28 @@ class CfgVehicles {
class Arguments {
class SavePreDeathGear {
- displayName = "$STR_ACE_Respawn_SavePreDeathGear_DisplayName";
- description = "$STR_ACE_Respawn_SavePreDeathGear_Description";
+ displayName = CSTRING(SavePreDeathGear_DisplayName);
+ description = CSTRING(SavePreDeathGear_Description);
typeName = "BOOL";
defaultValue = 0;
};
class RemoveDeadBodiesDisconnected {
- displayName = "$STR_ACE_Respawn_RemoveDeadBodiesDisconnected_DisplayName";
- description = "$STR_ACE_Respawn_RemoveDeadBodiesDisconnected_Description";
+ displayName = CSTRING(RemoveDeadBodiesDisconnected_DisplayName);
+ description = CSTRING(RemoveDeadBodiesDisconnected_Description);
typeName = "BOOL";
defaultValue = 1;
};
};
class ModuleDescription: ModuleDescription {
- description = "$STR_ACE_Respawn_Module_Description";
+ description = CSTRING(Module_Description);
};
};
class ACE_ModuleFriendlyFire: Module_F {
author = "$STR_ACE_Common_ACETeam";
category = "ACE";
- displayName = "$STR_ACE_FriendlyFire_Module_DisplayName";
+ displayName = CSTRING(Module_DisplayName);
function = QFUNC(moduleFriendlyFire);
scope = 2;
isGlobal = 1;
@@ -43,14 +43,14 @@ class CfgVehicles {
class Arguments {};
class ModuleDescription: ModuleDescription {
- description = "$STR_ACE_FriendlyFire_Module_Description";
+ description = CSTRING(Module_Description);
};
};
class ACE_ModuleRallypoint: Module_F {
author = "$STR_ACE_Common_ACETeam";
category = "ACE";
- displayName = "$STR_ACE_Rallypoint_Module_DisplayName";
+ displayName = CSTRING(Module_DisplayName);
function = QFUNC(moduleRallypoint);
scope = 2;
isGlobal = 1;
@@ -58,7 +58,7 @@ class CfgVehicles {
class Arguments {};
class ModuleDescription: ModuleDescription {
- description = "$STR_ACE_Rallypoint_Module_Description";
+ description = CSTRING(Module_Description);
};
};
@@ -67,7 +67,7 @@ class CfgVehicles {
class CAManBase : Man {
class ACE_SelfActions {
class ACE_MoveRallypoint {
- displayName = "$STR_ACE_Rallypoint_MoveRallypoint";
+ displayName = CSTRING(MoveRallypoint);
condition = QUOTE([ARR_2(_player, side group _player)] call FUNC(canMoveRallypoint));
statement = QUOTE([ARR_2(_player, side group _player)] call FUNC(moveRallypoint));
showDisabled = 0;
@@ -95,12 +95,12 @@ class CfgVehicles {
XEH_ENABLED;
author = "$STR_ACE_Common_ACETeam";
- displayName = "$STR_ACE_Respawn_RallypointWestBase";
+ displayName = CSTRING(RallypointWestBase);
vehicleClass = QGVAR(Rallypoints);
class ACE_Actions: ACE_Actions {
class ACE_Teleport {
- displayName = "$STR_ACE_Respawn_TeleportToRallypoint";
+ displayName = CSTRING(TeleportToRallypoint);
distance = 4;
condition = QUOTE(side group _player == west);
statement = QUOTE([ARR_3(_player,side group _player,'ACE_Rallypoint_West')] call FUNC(teleportToRallypoint));
@@ -115,12 +115,12 @@ class CfgVehicles {
XEH_ENABLED;
author = "$STR_ACE_Common_ACETeam";
- displayName = "$STR_ACE_Respawn_RallypointEastBase";
+ displayName = CSTRING(RallypointEastBase);
vehicleClass = QGVAR(Rallypoints);
class ACE_Actions: ACE_Actions {
class ACE_Teleport {
- displayName = "$STR_ACE_Respawn_TeleportToRallypoint";
+ displayName = CSTRING(TeleportToRallypoint);
distance = 4;
condition = QUOTE(side group _player == east);
statement = QUOTE([ARR_3(_player,side group _player,'ACE_Rallypoint_East')] call FUNC(teleportToRallypoint));
@@ -135,12 +135,12 @@ class CfgVehicles {
XEH_ENABLED;
author = "$STR_ACE_Common_ACETeam";
- displayName = "$STR_ACE_Respawn_RallypointIndependentBase";
+ displayName = CSTRING(RallypointIndependentBase);
vehicleClass = QGVAR(Rallypoints);
class ACE_Actions: ACE_Actions {
class ACE_Teleport {
- displayName = "$STR_ACE_Respawn_TeleportToRallypoint";
+ displayName = CSTRING(TeleportToRallypoint);
distance = 4;
condition = QUOTE(side group _player == independent);
statement = QUOTE([ARR_3(_player,side group _player,'ACE_Rallypoint_Independent')] call FUNC(teleportToRallypoint));
@@ -156,12 +156,12 @@ class CfgVehicles {
XEH_ENABLED;
author = "$STR_ACE_Common_ACETeam";
- displayName = "$STR_ACE_Respawn_RallypointWest";
+ displayName = CSTRING(RallypointWest);
vehicleClass = QGVAR(Rallypoints);
class ACE_Actions: ACE_Actions {
class ACE_Teleport {
- displayName = "$STR_ACE_Respawn_TeleportToBase";
+ displayName = CSTRING(TeleportToBase);
distance = 4;
condition = QUOTE(side group _player == west);
statement = QUOTE([ARR_3(_player,side group _player,'ACE_Rallypoint_West_Base')] call FUNC(teleportToRallypoint));
@@ -176,12 +176,12 @@ class CfgVehicles {
XEH_ENABLED;
author = "$STR_ACE_Common_ACETeam";
- displayName = "$STR_ACE_Respawn_RallypointEast";
+ displayName = CSTRING(RallypointEast);
vehicleClass = QGVAR(Rallypoints);
class ACE_Actions: ACE_Actions {
class ACE_Teleport {
- displayName = "$STR_ACE_Respawn_TeleportToBase";
+ displayName = CSTRING(TeleportToBase);
distance = 4;
condition = QUOTE(side group _player == east);
statement = QUOTE([ARR_3(_player,side group _player,'ACE_Rallypoint_East_Base')] call FUNC(teleportToRallypoint));
@@ -196,12 +196,12 @@ class CfgVehicles {
XEH_ENABLED;
author = "$STR_ACE_Common_ACETeam";
- displayName = "$STR_ACE_Respawn_RallypointIndependent";
+ displayName = CSTRING(RallypointIndependent);
vehicleClass = QGVAR(Rallypoints);
class ACE_Actions: ACE_Actions {
class ACE_Teleport {
- displayName = "$STR_ACE_Respawn_TeleportToBase";
+ displayName = CSTRING(TeleportToBase);
distance = 4;
condition = QUOTE(side group _player == independent);
statement = QUOTE([ARR_3(_player,side group _player,'ACE_Rallypoint_Independent_Base')] call FUNC(teleportToRallypoint));
diff --git a/addons/respawn/functions/fnc_moveRallypoint.sqf b/addons/respawn/functions/fnc_moveRallypoint.sqf
index da9054e6aa..ef84c93dc8 100644
--- a/addons/respawn/functions/fnc_moveRallypoint.sqf
+++ b/addons/respawn/functions/fnc_moveRallypoint.sqf
@@ -38,7 +38,7 @@ if (count _position == 0) then {_position = getPosATL _unit};
_position set [2, 0];
-[localize "STR_ACE_Respawn_Deploy"] call EFUNC(common,displayTextStructured);
+[localize STRING(Deploy)] call EFUNC(common,displayTextStructured);
[{
_rallypoint = _this select 0;
@@ -53,6 +53,6 @@ _position set [2, 0];
["rallypointMoved", [_rallypoint, _side, _position]] call EFUNC(common,globalEvent);
- [localize "STR_ACE_Respawn_Deployed"] call EFUNC(common,displayTextStructured);
+ [localize STRING(Deployed)] call EFUNC(common,displayTextStructured);
},
[_rallypoint, _unit, _position, _rallypoint], 5, 1] call EFUNC(common,waitAndExecute);
diff --git a/addons/respawn/functions/fnc_teleportToRallypoint.sqf b/addons/respawn/functions/fnc_teleportToRallypoint.sqf
index dc3cc16b92..11bdad618f 100644
--- a/addons/respawn/functions/fnc_teleportToRallypoint.sqf
+++ b/addons/respawn/functions/fnc_teleportToRallypoint.sqf
@@ -31,4 +31,4 @@ _rallypoint = missionNamespace getVariable [_rallypoint, objNull],
if (isNull _rallypoint) exitWith {};
_unit setPosASL getPosASL _rallypoint;
-[[localize "STR_ACE_Respawn_TeleportedToRallypoint", localize "STR_ACE_Respawn_TeleportedToBase"] select _toBase] call EFUNC(common,displayTextStructured);
+[[localize STRING(TeleportedToRallypoint), localize STRING(TeleportedToBase)] select _toBase] call EFUNC(common,displayTextStructured);
diff --git a/addons/safemode/XEH_postInit.sqf b/addons/safemode/XEH_postInit.sqf
index 9c3d989425..9f19fe61c9 100644
--- a/addons/safemode/XEH_postInit.sqf
+++ b/addons/safemode/XEH_postInit.sqf
@@ -9,7 +9,7 @@ if (!hasInterface) exitWith {};
// Add keybinds
-["ACE3 Weapons", QGVAR(safeMode), localize "STR_ACE_SafeMode_SafeMode",
+["ACE3 Weapons", QGVAR(safeMode), localize STRING(SafeMode),
{
// Conditions: canInteract
if !([ACE_player, objNull, ["isNotEscorting"]] call EFUNC(common,canInteractWith)) exitWith {false};
diff --git a/addons/safemode/functions/fnc_lockSafety.sqf b/addons/safemode/functions/fnc_lockSafety.sqf
index 59aa9e78e5..b723e25dbd 100644
--- a/addons/safemode/functions/fnc_lockSafety.sqf
+++ b/addons/safemode/functions/fnc_lockSafety.sqf
@@ -47,7 +47,7 @@ if (_unit getVariable [QGVAR(actionID), -1] == -1) then {
[_this select 1, currentWeapon (_this select 1), currentMuzzle (_this select 1)] call FUNC(unlockSafety);
};
- //_id = [_unit, format ["%1", localize "STR_ACE_SafeMode_TakeOffSafety"], "DefaultAction", _condition, {}, {true}, _statement, 10] call EFUNC(common,addActionMenuEventHandler);
+ //_id = [_unit, format ["%1", localize STRING(TakeOffSafety)], "DefaultAction", _condition, {}, {true}, _statement, 10] call EFUNC(common,addActionMenuEventHandler);
_id = [_unit, "DefaultAction", _condition, {}] call EFUNC(common,addActionEventHandler);
_unit setVariable [QGVAR(actionID), _id];
@@ -62,4 +62,4 @@ if ((typeName _muzzle) == (typeName "")) then {
private "_picture";
_picture = getText (configFile >> "CfgWeapons" >> _weapon >> "picture");
-[localize "STR_ACE_SafeMode_PutOnSafety", _picture] call EFUNC(common,displayTextPicture);
+[localize STRING(PutOnSafety), _picture] call EFUNC(common,displayTextPicture);
diff --git a/addons/safemode/functions/fnc_unlockSafety.sqf b/addons/safemode/functions/fnc_unlockSafety.sqf
index 6e67e33126..742fd878d8 100644
--- a/addons/safemode/functions/fnc_unlockSafety.sqf
+++ b/addons/safemode/functions/fnc_unlockSafety.sqf
@@ -59,4 +59,4 @@ if (inputAction "nextWeapon" > 0) then {
private "_picture";
_picture = getText (configFile >> "CfgWeapons" >> _weapon >> "picture");
-[localize "STR_ACE_SafeMode_TookOffSafety", _picture] call EFUNC(common,displayTextPicture);
+[localize STRING(TookOffSafety), _picture] call EFUNC(common,displayTextPicture);
diff --git a/addons/scopes/CfgVehicles.hpp b/addons/scopes/CfgVehicles.hpp
index 7653fe0443..b3d4ef8806 100644
--- a/addons/scopes/CfgVehicles.hpp
+++ b/addons/scopes/CfgVehicles.hpp
@@ -5,7 +5,7 @@ class CfgVehicles {
class ACE_Equipment {
class GVAR(adjustZero) {
// Updates the zero reference
- displayName = "$STR_ACE_Scopes_AdjustZero";
+ displayName = CSTRING(AdjustZero);
condition = QUOTE([ACE_player] call FUNC(canAdjustZero));
statement = QUOTE([ACE_player] call FUNC(adjustZero));
showDisabled = 0;
diff --git a/addons/scopes/XEH_postInit.sqf b/addons/scopes/XEH_postInit.sqf
index d7affc0534..18572327ea 100644
--- a/addons/scopes/XEH_postInit.sqf
+++ b/addons/scopes/XEH_postInit.sqf
@@ -33,7 +33,7 @@ if !(hasInterface) exitWith {};
// Add keybinds
-["ACE3 Scope Adjustment", QGVAR(AdjustUpMinor), localize "STR_ACE_Scopes_AdjustUpMinor",
+["ACE3 Scope Adjustment", QGVAR(AdjustUpMinor), localize STRING(AdjustUpMinor),
{
// Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -46,7 +46,7 @@ if !(hasInterface) exitWith {};
{false},
[201, [false, false, false]], true] call cba_fnc_addKeybind;
-["ACE3 Scope Adjustment", QGVAR(AdjustDownMinor), localize "STR_ACE_Scopes_AdjustDownMinor",
+["ACE3 Scope Adjustment", QGVAR(AdjustDownMinor), localize STRING(AdjustDownMinor),
{
// Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -59,7 +59,7 @@ if !(hasInterface) exitWith {};
{false},
[209, [false, false, false]], true] call cba_fnc_addKeybind;
-["ACE3 Scope Adjustment", QGVAR(AdjustLeftMinor), localize "STR_ACE_Scopes_AdjustLeftMinor",
+["ACE3 Scope Adjustment", QGVAR(AdjustLeftMinor), localize STRING(AdjustLeftMinor),
{
// Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -72,7 +72,7 @@ if !(hasInterface) exitWith {};
{false},
[209, [false, true, false]], true] call cba_fnc_addKeybind;
-["ACE3 Scope Adjustment", QGVAR(AdjustRightMinor), localize "STR_ACE_Scopes_AdjustRightMinor",
+["ACE3 Scope Adjustment", QGVAR(AdjustRightMinor), localize STRING(AdjustRightMinor),
{
// Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -85,7 +85,7 @@ if !(hasInterface) exitWith {};
{false},
[201, [false, true, false]], true] call cba_fnc_addKeybind;
-["ACE3 Scope Adjustment", QGVAR(AdjustUpMajor), localize "STR_ACE_Scopes_AdjustUpMajor",
+["ACE3 Scope Adjustment", QGVAR(AdjustUpMajor), localize STRING(AdjustUpMajor),
{
// Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -98,7 +98,7 @@ if !(hasInterface) exitWith {};
{false},
[201, [true, false, false]], true] call cba_fnc_addKeybind;
-["ACE3 Scope Adjustment", QGVAR(AdjustDownMajor), localize "STR_ACE_Scopes_AdjustDownMajor",
+["ACE3 Scope Adjustment", QGVAR(AdjustDownMajor), localize STRING(AdjustDownMajor),
{
// Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -111,7 +111,7 @@ if !(hasInterface) exitWith {};
{false},
[209, [true, false, false]], true] call cba_fnc_addKeybind;
-["ACE3 Scope Adjustment", QGVAR(AdjustLeftMajor), localize "STR_ACE_Scopes_AdjustLeftMajor",
+["ACE3 Scope Adjustment", QGVAR(AdjustLeftMajor), localize STRING(AdjustLeftMajor),
{
// Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -124,7 +124,7 @@ if !(hasInterface) exitWith {};
{false},
[209, [true, true, false]], true] call cba_fnc_addKeybind;
-["ACE3 Scope Adjustment", QGVAR(AdjustRightMajor), localize "STR_ACE_Scopes_AdjustRightMajor",
+["ACE3 Scope Adjustment", QGVAR(AdjustRightMajor), localize STRING(AdjustRightMajor),
{
// Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
diff --git a/addons/switchunits/CfgVehicles.hpp b/addons/switchunits/CfgVehicles.hpp
index 0f76c78568..2f02571344 100644
--- a/addons/switchunits/CfgVehicles.hpp
+++ b/addons/switchunits/CfgVehicles.hpp
@@ -3,51 +3,51 @@ class CfgVehicles {
class ACE_ModuleSwitchUnits: Module_F {
author = "$STR_ACE_Common_ACETeam";
category = "ACE";
- displayName = "$STR_ACE_SwitchUnits_Module_DisplayName";
+ displayName = CSTRING(Module_DisplayName);
function = FUNC(module);
scope = 2;
isGlobal = 1;
icon = QUOTE(PATHTOF(UI\Icon_Module_SwitchUnits_ca.paa));
class Arguments {
class SwitchToWest {
- displayName = "$STR_ACE_SwitchUnits_SwitchToWest_DisplayName";
- description = "$STR_ACE_SwitchUnits_SwitchToWest_Description";
+ displayName = CSTRING(SwitchToWest_DisplayName);
+ description = CSTRING(SwitchToWest_Description);
typeName = "BOOL";
defaultValue = 0;
};
class SwitchToEast {
- displayName = "$STR_ACE_SwitchUnits_SwitchToEast_DisplayName";
- description = "$STR_ACE_SwitchUnits_SwitchToEast_Description";
+ displayName = CSTRING(SwitchToEast_DisplayName);
+ description = CSTRING(SwitchToEast_Description);
typeName = "BOOL";
defaultValue = 0;
};
class SwitchToIndependent {
- displayName = "$STR_ACE_SwitchUnits_SwitchToIndependent_DisplayName";
- description = "$STR_ACE_SwitchUnits_SwitchToIndependent_Description";
+ displayName = CSTRING(SwitchToIndependent_DisplayName);
+ description = CSTRING(SwitchToIndependent_Description);
typeName = "BOOL";
defaultValue = 0;
};
class SwitchToCivilian {
- displayName = "$STR_ACE_SwitchUnits_SwitchToCivilian_DisplayName";
- description = "$STR_ACE_SwitchUnits_SwitchToCivilian_Description";
+ displayName = CSTRING(SwitchToCivilian_DisplayName);
+ description = CSTRING(SwitchToCivilian_Description);
typeName = "BOOL";
defaultValue = 0;
};
class EnableSafeZone {
- displayName = "$STR_ACE_SwitchUnits_EnableSafeZone_DisplayName";
- description = "$STR_ACE_SwitchUnits_EnableSafeZone_Description";
+ displayName = CSTRING(EnableSafeZone_DisplayName);
+ description = CSTRING(EnableSafeZone_Description);
typeName = "BOOL";
defaultValue = 1;
};
class SafeZoneRadius {
- displayName = "$STR_ACE_SwitchUnits_SafeZoneRadius_DisplayName";
- description = "$STR_ACE_SwitchUnits_SafeZoneRadius_Description";
+ displayName = CSTRING(SafeZoneRadius_DisplayName);
+ description = CSTRING(SafeZoneRadius_Description);
typeName = "NUMBER";
defaultValue = 100;
};
};
class ModuleDescription {
- description = "$STR_ACE_SwitchUnits_Module_Description";
+ description = CSTRING(Module_Description);
};
};
};
\ No newline at end of file
diff --git a/addons/switchunits/functions/fnc_switchUnit.sqf b/addons/switchunits/functions/fnc_switchUnit.sqf
index c263bdd721..905efa72ea 100644
--- a/addons/switchunits/functions/fnc_switchUnit.sqf
+++ b/addons/switchunits/functions/fnc_switchUnit.sqf
@@ -41,7 +41,7 @@ if (GVAR(EnableSafeZone)) then {
// exitWith doesn't exit past the "if(EnableSafeZone)" block
if (_leave) exitWith {
- [localize "STR_ACE_SwitchUnits_TooCloseToEnemy"] call EFUNC(common,displayTextStructured);
+ [localize STRING(TooCloseToEnemy)] call EFUNC(common,displayTextStructured);
};
// should switch locality
@@ -88,7 +88,7 @@ DFUNC(pfhSwitchUnit) = {
[[_oldUnit, _oldOwner], QUOTE({(_this select 0) setOwner (_this select 1)}), 1] call EFUNC(common,execRemoteFnc);
};
- [localize "STR_ACE_SwitchUnits_SwitchedUnit"] call EFUNC(common,displayTextStructured);
+ [localize STRING(SwitchedUnit)] call EFUNC(common,displayTextStructured);
[(_this select 1)] call cba_fnc_removePerFrameHandler;
diff --git a/addons/vector/CfgVehicles.hpp b/addons/vector/CfgVehicles.hpp
index e9fd8945de..061fb5b226 100644
--- a/addons/vector/CfgVehicles.hpp
+++ b/addons/vector/CfgVehicles.hpp
@@ -10,7 +10,7 @@ class CfgVehicles {
author = "$STR_ACE_Common_ACETeam";
scope = 2;
scopeCurator = 2;
- displayName = "$STR_ACE_Vector_VectorName";
+ displayName = CSTRING(VectorName);
vehicleClass = "Items";
class TransportWeapons {
MACRO_ADDWEAPON(ACE_Vector,1);
diff --git a/addons/vector/CfgWeapons.hpp b/addons/vector/CfgWeapons.hpp
index 6b8757d143..99c68fec16 100644
--- a/addons/vector/CfgWeapons.hpp
+++ b/addons/vector/CfgWeapons.hpp
@@ -3,8 +3,8 @@ class CfgWeapons {
class Binocular;
class ACE_Vector: Binocular {
author = "$STR_ACE_Common_ACETeam";
- displayName = "$STR_ACE_Vector_VectorName";
- descriptionShort = "$STR_ACE_Vector_VectorDescription";
+ displayName = CSTRING(VectorName);
+ descriptionShort = CSTRING(VectorDescription);
model = PATHTOF(ace_vector.p3d);
modelOptics = PATHTOF(ace_vector_optics.p3d);
picture = PATHTOF(UI\ace_vector_x_ca.paa);
diff --git a/addons/vector/initKeybinds.sqf b/addons/vector/initKeybinds.sqf
index 79df40b0a2..84459f551a 100644
--- a/addons/vector/initKeybinds.sqf
+++ b/addons/vector/initKeybinds.sqf
@@ -1,6 +1,6 @@
// by commy2
-["ACE3 Equipment", QGVAR(AzimuthKey), localize "STR_ACE_Vector_AzimuthKey",
+["ACE3 Equipment", QGVAR(AzimuthKey), localize STRING(AzimuthKey),
{
// Conditions: canInteract
if !([ACE_player, objNull, ["isNotInside"]] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -29,7 +29,7 @@
[15, [false, false, false]], false, 0] call CBA_fnc_addKeybind; //Tab Key
-["ACE3 Equipment", QGVAR(DistanceKey), localize "STR_ACE_Vector_DistanceKey",
+["ACE3 Equipment", QGVAR(DistanceKey), localize STRING(DistanceKey),
{
// Conditions: canInteract
if !([ACE_player, objNull, ["isNotInside"]] call EFUNC(common,canInteractWith)) exitWith {false};
diff --git a/addons/vehiclelock/CfgMagazines.hpp b/addons/vehiclelock/CfgMagazines.hpp
index d57e8fff6f..62c6fdcec2 100644
--- a/addons/vehiclelock/CfgMagazines.hpp
+++ b/addons/vehiclelock/CfgMagazines.hpp
@@ -3,7 +3,7 @@ class CfgMagazines {
class ACE_key_customKeyMagazine: CA_Magazine {
picture = QUOTE(PATHTOF(ui\keyBlack.paa));
displayName = "ACE Vehicle Key"; //!!!CANNOT be localized!!!: because it is used as part of the magazineDetail string
- descriptionShort = "$STR_ACE_Vehicle_Item_Custom_Description";
+ descriptionShort = CSTRING(Item_Custom_Description);
count = 1;
mass = 0;
ACE_isUnique = 1;
diff --git a/addons/vehiclelock/CfgVehicles.hpp b/addons/vehiclelock/CfgVehicles.hpp
index 60cb67d4c4..2279a76616 100644
--- a/addons/vehiclelock/CfgVehicles.hpp
+++ b/addons/vehiclelock/CfgVehicles.hpp
@@ -1,21 +1,21 @@
#define MACRO_LOCK_ACTIONS \
class ACE_SelfActions { \
class ACE_unlockVehicle { \
- displayName = "$STR_ACE_Vehicle_Action_UnLock"; \
+ displayName = CSTRING(Action_UnLock); \
condition = QUOTE(([ARR_2(_player, _target)] call FUNC(hasKeyForVehicle)) && {(locked _target) in [ARR_2(2,3)]}); \
statement = QUOTE([ARR_3('VehicleLock_SetVehicleLock', [_target], [ARR_2(_target,false)])] call EFUNC(common,targetEvent)); \
priority = 0.3; \
icon = QUOTE(PATHTOF(UI\key_menuIcon_ca.paa)); \
}; \
class ACE_lockVehicle { \
- displayName = "$STR_ACE_Vehicle_Action_Lock"; \
+ displayName = CSTRING(Action_Lock); \
condition = QUOTE(([ARR_2(_player, _target)] call FUNC(hasKeyForVehicle)) && {(locked _target) in [ARR_2(0,1)]}); \
statement = QUOTE([ARR_3('VehicleLock_SetVehicleLock', [_target], [ARR_2(_target,true)])] call EFUNC(common,targetEvent)); \
priority = 0.2; \
icon = QUOTE(PATHTOF(UI\key_menuIcon_ca.paa)); \
}; \
class ACE_lockpickVehicle { \
- displayName = "$STR_ACE_Vehicle_Action_Lockpick"; \
+ displayName = CSTRING(Action_Lockpick); \
condition = QUOTE([ARR_3(_player, _target, 'canLockpick')] call FUNC(lockpick)); \
statement = QUOTE([ARR_3(_player, _target, 'startLockpick')] call FUNC(lockpick)); \
priority = 0.1; \
@@ -24,7 +24,7 @@
class ACE_Actions { \
class ACE_MainActions { \
class ACE_unlockVehicle { \
- displayName = "$STR_ACE_Vehicle_Action_UnLock"; \
+ displayName = CSTRING(Action_UnLock); \
distance = 4; \
condition = QUOTE(([ARR_2(_player, _target)] call FUNC(hasKeyForVehicle)) && {(locked _target) in [ARR_2(2,3)]}); \
statement = QUOTE([ARR_3('VehicleLock_SetVehicleLock', [_target], [ARR_2(_target,false)])] call EFUNC(common,targetEvent)); \
@@ -32,7 +32,7 @@
icon = QUOTE(PATHTOF(UI\key_menuIcon_ca.paa)); \
}; \
class ACE_lockVehicle { \
- displayName = "$STR_ACE_Vehicle_Action_Lock"; \
+ displayName = CSTRING(Action_Lock); \
distance = 4; \
condition = QUOTE(([ARR_2(_player, _target)] call FUNC(hasKeyForVehicle)) && {(locked _target) in [ARR_2(0,1)]}); \
statement = QUOTE([ARR_3('VehicleLock_SetVehicleLock', [_target], [ARR_2(_target,true)])] call EFUNC(common,targetEvent)); \
@@ -40,7 +40,7 @@
icon = QUOTE(PATHTOF(UI\key_menuIcon_ca.paa)); \
}; \
class ACE_lockpickVehicle { \
- displayName = "$STR_ACE_Vehicle_Action_Lockpick"; \
+ displayName = CSTRING(Action_Lockpick); \
distance = 4; \
condition = QUOTE([ARR_3(_player, _target, 'canLockpick')] call FUNC(lockpick)); \
statement = QUOTE([ARR_3(_player, _target, 'startLockpick')] call FUNC(lockpick)); \
@@ -69,7 +69,7 @@ class CfgVehicles {
class ACE_VehicleLock_ModuleSetup: Module_F {
author = "$STR_ACE_Common_ACETeam";
category = "ACE";
- displayName = "$STR_ACE_VehicleLock_Module_DisplayName";
+ displayName = CSTRING(Module_DisplayName);
function = QFUNC(moduleInit);
scope = 2;
isGlobal = 0;
@@ -77,37 +77,37 @@ class CfgVehicles {
functionPriority = 0;
class Arguments {
class LockVehicleInventory {
- displayName = "$STR_ACE_VehicleLock_LockVehicleInventory_DisplayName";
- description = "$STR_ACE_VehicleLock_LockVehicleInventory_Description";
+ displayName = CSTRING(LockVehicleInventory_DisplayName);
+ description = CSTRING(LockVehicleInventory_Description);
typeName = "BOOL";
defaultValue = 0;
};
class VehicleStartingLockState {
- displayName = "$STR_ACE_VehicleLock_VehicleStartingLockState_DisplayName";
- description = "$STR_ACE_VehicleLock_VehicleStartingLockState_Description";
+ displayName = CSTRING(VehicleStartingLockState_DisplayName);
+ description = CSTRING(VehicleStartingLockState_Description);
typeName = "NUMBER";
class values {
- class None {name = "$STR_ACE_VehicleLock_VehicleStartingLockState_AsIs"; value = 0; default = 1;};
- class Side {name = "$STR_ACE_VehicleLock_VehicleStartingLockState_Locked"; value = 1;};
- class Unique {name = "$STR_ACE_VehicleLock_VehicleStartingLockState_Unlocked"; value = 2;};
+ class None {name = CSTRING(VehicleStartingLockState_AsIs); value = 0; default = 1;};
+ class Side {name = CSTRING(VehicleStartingLockState_Locked); value = 1;};
+ class Unique {name = CSTRING(VehicleStartingLockState_Unlocked); value = 2;};
};
};
class DefaultLockpickStrength {
- displayName = "$STR_ACE_VehicleLock_DefaultLockpickStrength_DisplayName";
- description = "$STR_ACE_VehicleLock_DefaultLockpickStrength_Description";
+ displayName = CSTRING(DefaultLockpickStrength_DisplayName);
+ description = CSTRING(DefaultLockpickStrength_Description);
typeName = "NUMBER";
defaultValue = "10";
};
};
class ModuleDescription: ModuleDescription {
- description = "$STR_ACE_VehicleLock_Module_Description";
+ description = CSTRING(Module_Description);
};
};
class ACE_VehicleLock_ModuleSyncedAssign: Module_F {
author = "$STR_ACE_Common_ACETeam";
category = "ACE";
- displayName = "$STR_ACE_VehicleLock_VehicleKeyAssign_Module_DisplayName";
+ displayName = CSTRING(VehicleKeyAssign_Module_DisplayName);
function = QFUNC(moduleSync);
scope = 2;
isGlobal = 0;
@@ -115,7 +115,7 @@ class CfgVehicles {
functionPriority = 0;
class Arguments {};
class ModuleDescription: ModuleDescription {
- description = "$STR_ACE_VehicleLock_VehicleKeyAssign_Module_Description";
+ description = CSTRING(VehicleKeyAssign_Module_Description);
sync[] = {"AnyPlayer", "AnyVehicle"};
};
};
diff --git a/addons/vehiclelock/CfgWeapons.hpp b/addons/vehiclelock/CfgWeapons.hpp
index 4b20de15d7..0263f5da40 100644
--- a/addons/vehiclelock/CfgWeapons.hpp
+++ b/addons/vehiclelock/CfgWeapons.hpp
@@ -5,7 +5,7 @@ class CfgWeapons {
class ACE_key_master: ACE_ItemCore {
author = "$STR_ACE_Common_ACETeam";
displayName = "Vehicle Key: Master";
- descriptionShort = "$STR_ACE_Vehicle_Item_Master_Description";
+ descriptionShort = CSTRING(Item_Master_Description);
model = "\A3\weapons_F\ammo\mag_univ.p3d";
picture = QUOTE(PATHTOF(ui\keyBlack.paa));
scope = 2;
@@ -15,27 +15,27 @@ class CfgWeapons {
};
class ACE_key_lockpick: ACE_key_master {
displayName = "Lockpick";
- descriptionShort = "$STR_ACE_Vehicle_Item_Lockpick_Description";
+ descriptionShort = CSTRING(Item_Lockpick_Description);
picture = QUOTE(PATHTOF(ui\lockpick.paa));
};
class ACE_key_west: ACE_key_master {
displayName = "Vehicle Key: West";
- descriptionShort = "$STR_ACE_Vehicle_Item_West_Description";
+ descriptionShort = CSTRING(Item_West_Description);
picture = QUOTE(PATHTOF(ui\keyBlue.paa));
};
class ACE_key_east: ACE_key_master {
displayName = "Vehicle Key: East";
- descriptionShort = "$STR_ACE_Vehicle_Item_East_Description";
+ descriptionShort = CSTRING(Item_East_Description);
picture = QUOTE(PATHTOF(ui\keyRed.paa));
};
class ACE_key_indp: ACE_key_master {
displayName = "Vehicle Key: Independent";
- descriptionShort = "$STR_ACE_Vehicle_Item_Indp_Description";
+ descriptionShort = CSTRING(Item_Indp_Description);
picture = QUOTE(PATHTOF(ui\keyPurple.paa));
};
class ACE_key_civ: ACE_key_master {
displayName = "Vehicle Key: Civilian";
- descriptionShort = "$STR_ACE_Vehicle_Item_Civ_Description";
+ descriptionShort = CSTRING(Item_Civ_Description);
picture = QUOTE(PATHTOF(ui\keyGreen.paa));
};
};
diff --git a/addons/vehiclelock/functions/fnc_lockpick.sqf b/addons/vehiclelock/functions/fnc_lockpick.sqf
index fc7fecc693..608ad8eeb6 100644
--- a/addons/vehiclelock/functions/fnc_lockpick.sqf
+++ b/addons/vehiclelock/functions/fnc_lockpick.sqf
@@ -54,7 +54,7 @@ case (_funcType == "canLockpick"): {
_returnValue = true;
};
case (_funcType == "startLockpick"): {
- [_vehLockpickStrenth, [_unit, _veh, "finishLockpick"], {(_this select 0) call FUNC(lockpick)}, {}, (localize "STR_ACE_Vehicle_Action_LockpickInUse"), _condition] call EFUNC(common,progressBar);
+ [_vehLockpickStrenth, [_unit, _veh, "finishLockpick"], {(_this select 0) call FUNC(lockpick)}, {}, (localize STRING(Action_LockpickInUse)), _condition] call EFUNC(common,progressBar);
_returnValue = true;
};
case (_funcType == "finishLockpick"): {
diff --git a/addons/vehicles/XEH_postInit.sqf b/addons/vehicles/XEH_postInit.sqf
index 6ff723338b..e47f00541d 100644
--- a/addons/vehicles/XEH_postInit.sqf
+++ b/addons/vehicles/XEH_postInit.sqf
@@ -4,7 +4,7 @@
if !(hasInterface) exitWith {};
// Add keybinds
-["ACE3 Vehicles", QGVAR(speedLimiter), localize "STR_ACE_SpeedLimiter",
+["ACE3 Vehicles", QGVAR(speedLimiter), localize STRING(SpeedLimiter),
{
// Conditions: canInteract
if !([ACE_player, objNull, ["isnotinside"]] call EFUNC(common,canInteractWith)) exitWith {false};
diff --git a/addons/vehicles/functions/fnc_speedLimiter.sqf b/addons/vehicles/functions/fnc_speedLimiter.sqf
index 053d96d470..0b77e3f622 100644
--- a/addons/vehicles/functions/fnc_speedLimiter.sqf
+++ b/addons/vehicles/functions/fnc_speedLimiter.sqf
@@ -7,12 +7,12 @@ _driver = _this select 0;
_vehicle = _this select 1;
if (GETGVAR(isSpeedLimiter,false)) exitWith {
- [localize "STR_ACE_SpeedLimiter_Off"] call EFUNC(common,displayTextStructured);
+ [localize STRING(Off)] call EFUNC(common,displayTextStructured);
playSound "ACE_Sound_Click";
GVAR(isSpeedLimiter) = false;
};
-[localize "STR_ACE_SpeedLimiter_On"] call EFUNC(common,displayTextStructured);
+[localize STRING(On)] call EFUNC(common,displayTextStructured);
playSound "ACE_Sound_Click";
GVAR(isSpeedLimiter) = true;
diff --git a/addons/weaponselect/ACE_Settings.hpp b/addons/weaponselect/ACE_Settings.hpp
index 34fdc809ea..7b60527449 100644
--- a/addons/weaponselect/ACE_Settings.hpp
+++ b/addons/weaponselect/ACE_Settings.hpp
@@ -3,7 +3,7 @@ class ACE_Settings {
typeName = "BOOL";
isClientSettable = 1;
value = 1;
- displayName = "$STR_ACE_Weaponselect_SettingDisplayTextName";
- description = "$STR_ACE_Weaponselect_SettingDisplayTextDesc";
+ displayName = CSTRING(SettingDisplayTextName);
+ description = CSTRING(SettingDisplayTextDesc);
};
};
diff --git a/addons/weaponselect/XEH_postInit.sqf b/addons/weaponselect/XEH_postInit.sqf
index d4fd02122f..d8676ef60f 100644
--- a/addons/weaponselect/XEH_postInit.sqf
+++ b/addons/weaponselect/XEH_postInit.sqf
@@ -4,7 +4,7 @@
if !(hasInterface) exitWith {};
// Add keybinds
-["ACE3 Weapons", QGVAR(SelectPistolNew), localize "STR_ACE_WeaponSelect_SelectPistol",
+["ACE3 Weapons", QGVAR(SelectPistolNew), localize STRING(SelectPistol),
{
// Conditions: canInteract
if !([ACE_player, ACE_player, ["isNotEscorting"]] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -18,7 +18,7 @@ if !(hasInterface) exitWith {};
{false},
[0, [false, false, false]], false] call cba_fnc_addKeybind; //Unbound (was 1 Key)
-["ACE3 Weapons", QGVAR(SelectRifleNew), localize "STR_ACE_WeaponSelect_SelectRifle",
+["ACE3 Weapons", QGVAR(SelectRifleNew), localize STRING(SelectRifle),
{
// Conditions: canInteract
if !([ACE_player, ACE_player, ["isNotEscorting"]] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -32,7 +32,7 @@ if !(hasInterface) exitWith {};
{false},
[0, [false, false, false]], false] call cba_fnc_addKeybind; //Unbound (was 2 Key)
-["ACE3 Weapons", QGVAR(SelectRifleMuzzleNew), localize "STR_ACE_WeaponSelect_SelectRifleMuzzle",
+["ACE3 Weapons", QGVAR(SelectRifleMuzzleNew), localize STRING(SelectRifleMuzzle),
{
// Conditions: canInteract
if !([ACE_player, ACE_player, ["isNotEscorting"]] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -46,7 +46,7 @@ if !(hasInterface) exitWith {};
{false},
[0, [false, false, false]], false] call cba_fnc_addKeybind; //Unbound (was 3 Key)
-["ACE3 Weapons", QGVAR(SelectLauncherNew), localize "STR_ACE_WeaponSelect_SelectLauncher",
+["ACE3 Weapons", QGVAR(SelectLauncherNew), localize STRING(SelectLauncher),
{
// Conditions: canInteract
if !([ACE_player, ACE_player, ["isNotEscorting"]] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -60,7 +60,7 @@ if !(hasInterface) exitWith {};
{false},
[0, [false, false, false]], false] call cba_fnc_addKeybind; //Unbound (was 4 Key)
-["ACE3 Weapons", QGVAR(SelectBinocularNew), localize "STR_ACE_WeaponSelect_SelectBinocular",
+["ACE3 Weapons", QGVAR(SelectBinocularNew), localize STRING(SelectBinocular),
{
// Conditions: canInteract
if !([ACE_player, ACE_player, ["isNotEscorting"]] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -74,7 +74,7 @@ if !(hasInterface) exitWith {};
{false},
[0, [false, false, false]], false] call cba_fnc_addKeybind; //Unbound (was 5 Key)
-["ACE3 Weapons", QGVAR(SelectGrenadeFrag), localize "STR_ACE_WeaponSelect_SelectGrenadeFrag",
+["ACE3 Weapons", QGVAR(SelectGrenadeFrag), localize STRING(SelectGrenadeFrag),
{
// Conditions: canInteract
if !([ACE_player, ACE_player, ["isNotEscorting"]] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -88,7 +88,7 @@ if !(hasInterface) exitWith {};
{false},
[7, [false, false, false]], false] call cba_fnc_addKeybind; //6 Key
-["ACE3 Weapons", QGVAR(SelectGrenadeOther), localize "STR_ACE_WeaponSelect_SelectGrenadeOther",
+["ACE3 Weapons", QGVAR(SelectGrenadeOther), localize STRING(SelectGrenadeOther),
{
// Conditions: canInteract
if !([ACE_player, ACE_player, ["isNotEscorting"]] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -102,7 +102,7 @@ if !(hasInterface) exitWith {};
{false},
[8, [false, false, false]], false] call cba_fnc_addKeybind; //7 Key
-["ACE3 Weapons", QGVAR(HolsterWeapon), localize "STR_ACE_WeaponSelect_HolsterWeapon",
+["ACE3 Weapons", QGVAR(HolsterWeapon), localize STRING(HolsterWeapon),
{
// Conditions: canInteract
if !([ACE_player, ACE_player, ["isNotEscorting"]] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -116,7 +116,7 @@ if !(hasInterface) exitWith {};
{false},
[11, [false, false, false]], false] call cba_fnc_addKeybind; //0 Key
-["ACE3 Vehicles", QGVAR(EngineOn), localize "STR_ACE_WeaponSelect_EngineOn",
+["ACE3 Vehicles", QGVAR(EngineOn), localize STRING(EngineOn),
{
// Conditions: canInteract
if !([ACE_player, (vehicle ACE_player), []] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -130,7 +130,7 @@ if !(hasInterface) exitWith {};
{false},
[3, [false, false, false]], false] call cba_fnc_addKeybind; //2 Key
-["ACE3 Vehicles", QGVAR(EngineOff), localize "STR_ACE_WeaponSelect_EngineOff",
+["ACE3 Vehicles", QGVAR(EngineOff), localize STRING(EngineOff),
{
// Conditions: canInteract
if !([ACE_player, (vehicle ACE_player), []] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -144,7 +144,7 @@ if !(hasInterface) exitWith {};
{false},
[2, [false, false, false]], false] call cba_fnc_addKeybind; //1 Key
-["ACE3 Vehicles", QGVAR(SelectMainGunNew), localize "STR_ACE_WeaponSelect_SelectMainGun",
+["ACE3 Vehicles", QGVAR(SelectMainGunNew), localize STRING(SelectMainGun),
{
// Conditions: canInteract
if !([ACE_player, (vehicle ACE_player), []] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -158,7 +158,7 @@ if !(hasInterface) exitWith {};
{false},
[0, [false, false, false]], false] call cba_fnc_addKeybind; //Unbound (was 3 Key)
-["ACE3 Vehicles", QGVAR(SelectMachineGunNew), localize "STR_ACE_WeaponSelect_SelectMachineGun",
+["ACE3 Vehicles", QGVAR(SelectMachineGunNew), localize STRING(SelectMachineGun),
{
// Conditions: canInteract
if !([ACE_player, (vehicle ACE_player), []] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -172,7 +172,7 @@ if !(hasInterface) exitWith {};
{false},
[0, [false, false, false]], false] call cba_fnc_addKeybind; //Unbound (was 4 Key)
-["ACE3 Vehicles", QGVAR(SelectMissilesNew), localize "STR_ACE_WeaponSelect_SelectMissiles",
+["ACE3 Vehicles", QGVAR(SelectMissilesNew), localize STRING(SelectMissiles),
{
// Conditions: canInteract
if !([ACE_player, (vehicle ACE_player), []] call EFUNC(common,canInteractWith)) exitWith {false};
@@ -186,7 +186,7 @@ if !(hasInterface) exitWith {};
{false},
[0, [false, false, false]], false] call cba_fnc_addKeybind; //Unbound (was 5 Key)
-["ACE3 Vehicles", QGVAR(FireSmokeLauncher), localize "STR_ACE_WeaponSelect_FireSmokeLauncher",
+["ACE3 Vehicles", QGVAR(FireSmokeLauncher), localize STRING(FireSmokeLauncher),
{
// Conditions: canInteract
if !([ACE_player, (vehicle ACE_player), []] call EFUNC(common,canInteractWith)) exitWith {false};
diff --git a/addons/weaponselect/functions/fnc_selectGrenadeAll.sqf b/addons/weaponselect/functions/fnc_selectGrenadeAll.sqf
index a75a11c202..d07768729d 100644
--- a/addons/weaponselect/functions/fnc_selectGrenadeAll.sqf
+++ b/addons/weaponselect/functions/fnc_selectGrenadeAll.sqf
@@ -37,7 +37,7 @@ if (_nextMuzzle != "") then {
GVAR(CurrentGrenadeMuzzleFrag) = ""; GVAR(CurrentGrenadeMuzzleOther) = "";
if (GVAR(DisplayText)) then {
- _text = [localize "STR_ACE_WeaponSelect_NoGrenadesLeft", [1,0,0]] call EFUNC(common,stringToColoredText);
+ _text = [localize STRING(NoGrenadesLeft), [1,0,0]] call EFUNC(common,stringToColoredText);
[composeText [lineBreak, _text]] call EFUNC(common,displayTextStructured);
};
};
diff --git a/addons/weaponselect/functions/fnc_selectGrenadeFrag.sqf b/addons/weaponselect/functions/fnc_selectGrenadeFrag.sqf
index 0dee3e5c57..3ffae72300 100644
--- a/addons/weaponselect/functions/fnc_selectGrenadeFrag.sqf
+++ b/addons/weaponselect/functions/fnc_selectGrenadeFrag.sqf
@@ -36,7 +36,7 @@ if (_nextMuzzle != "") then {
// There is a no muzzle with magazines --> select nothing
GVAR(CurrentGrenadeMuzzleFrag) = "";
if (GVAR(DisplayText)) then {
- _text = [localize "STR_ACE_WeaponSelect_NoFragsLeft", [1,0,0]] call EFUNC(common,stringToColoredText);
+ _text = [localize STRING(NoFragsLeft), [1,0,0]] call EFUNC(common,stringToColoredText);
[composeText [lineBreak, _text]] call EFUNC(common,displayTextStructured);
};
};
diff --git a/addons/weaponselect/functions/fnc_selectGrenadeOther.sqf b/addons/weaponselect/functions/fnc_selectGrenadeOther.sqf
index 4ab65e5bf3..0fe6b1c204 100644
--- a/addons/weaponselect/functions/fnc_selectGrenadeOther.sqf
+++ b/addons/weaponselect/functions/fnc_selectGrenadeOther.sqf
@@ -36,7 +36,7 @@ if (_nextMuzzle != "") then {
// There is a no muzzle with magazines --> select nothing
GVAR(CurrentGrenadeMuzzleOther) = "";
if (GVAR(DisplayText)) then {
- _text = [localize "STR_ACE_WeaponSelect_NoMiscGrenadeLeft", [1,0,0]] call EFUNC(common,stringToColoredText);
+ _text = [localize STRING(NoMiscGrenadeLeft), [1,0,0]] call EFUNC(common,stringToColoredText);
[composeText [lineBreak, _text]] call EFUNC(common,displayTextStructured);
};
};
diff --git a/addons/weather/CfgVehicles.hpp b/addons/weather/CfgVehicles.hpp
index d2b5bddcba..8b7db2d5d3 100644
--- a/addons/weather/CfgVehicles.hpp
+++ b/addons/weather/CfgVehicles.hpp
@@ -2,7 +2,7 @@ class CfgVehicles {
class ACE_Module;
class GVAR(ModuleSettings): ACE_Module {
scope = 2;
- displayName = "$STR_ACE_Weather_Module_DisplayName";
+ displayName = CSTRING(Module_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Wind_ca.paa));
category = "ACE";
function = QUOTE(DFUNC(initModuleSettings));
@@ -12,44 +12,44 @@ class CfgVehicles {
author = "$STR_ACE_Common_ACETeam";
class Arguments {
class enableServerController {
- displayName = "$STR_ACE_Weather_enableServerController_DisplayName";
- description = "$STR_ACE_Weather_enableServerController_Description";
+ displayName = CSTRING(enableServerController_DisplayName);
+ description = CSTRING(enableServerController_Description);
typeName = "BOOL";
defaultValue = 1;
};
class useACEWeather {
- displayName = "$STR_ACE_Weather_useACEWeather_DisplayName";
- description = "$STR_ACE_Weather_useACEWeather_Description";
+ displayName = CSTRING(useACEWeather_DisplayName);
+ description = CSTRING(useACEWeather_Description);
typeName = "BOOL";
defaultValue = 1;
};
class syncRain {
- displayName = "$STR_ACE_Weather_syncRain_DisplayName";
- description = "$STR_ACE_Weather_syncRain_Description";
+ displayName = CSTRING(syncRain_DisplayName);
+ description = CSTRING(syncRain_Description);
typeName = "BOOL";
defaultValue = 1;
};
class syncWind {
- displayName = "$STR_ACE_Weather_syncWind_DisplayName";
- description = "$STR_ACE_Weather_syncWind_Description";
+ displayName = CSTRING(syncWind_DisplayName);
+ description = CSTRING(syncWind_Description);
typeName = "BOOL";
defaultValue = 1;
};
class syncMisc {
- displayName = "$STR_ACE_Weather_syncMisc_DisplayName";
- description = "$STR_ACE_Weather_syncMisc_Description";
+ displayName = CSTRING(syncMisc_DisplayName);
+ description = CSTRING(syncMisc_Description);
typeName = "BOOL";
defaultValue = 1;
};
class serverUpdateInterval {
- displayName = "$STR_ACE_Weather_serverUpdateInterval_DisplayName";
- description = "$STR_ACE_Weather_serverUpdateInterval_Description";
+ displayName = CSTRING(serverUpdateInterval_DisplayName);
+ description = CSTRING(serverUpdateInterval_Description);
typeName = "NUMBER";
defaultValue = 60;
};
};
class ModuleDescription {
- description = "$STR_ACE_Weather_Module_Description";
+ description = CSTRING(Module_Description);
};
};
};
\ No newline at end of file
diff --git a/addons/weather/XEH_postInit.sqf b/addons/weather/XEH_postInit.sqf
index 9f5d94f182..2b862ef1a5 100644
--- a/addons/weather/XEH_postInit.sqf
+++ b/addons/weather/XEH_postInit.sqf
@@ -25,7 +25,7 @@ GVAR(rain_period_start_time) = ACE_time;
};
};
-["ACE3 Common", QGVAR(WindInfoKey), localize "STR_ACE_Weather_WindInfoKey",
+["ACE3 Common", QGVAR(WindInfoKey), localize STRING(WindInfoKey),
{
// Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
diff --git a/addons/winddeflection/CfgVehicles.hpp b/addons/winddeflection/CfgVehicles.hpp
index f7e2a33980..4720e2e150 100644
--- a/addons/winddeflection/CfgVehicles.hpp
+++ b/addons/winddeflection/CfgVehicles.hpp
@@ -2,7 +2,7 @@ class CfgVehicles {
class ACE_Module;
class GVAR(ModuleSettings): ACE_Module {
scope = 2;
- displayName = "$STR_ACE_Weather_windDeflection_DisplayName";
+ displayName = CSTRING(windDeflection_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Wind_ca.paa));
category = "ACE";
function = QUOTE(DFUNC(initModuleSettings));
@@ -12,32 +12,32 @@ class CfgVehicles {
author = "$STR_ACE_Common_ACETeam";
class Arguments {
class enabled {
- displayName = "$STR_ACE_Weather_deflectionModule_DisplayName";
- description = "$STR_ACE_Weather_deflectionModule_Description";
+ displayName = CSTRING(deflectionModule_DisplayName);
+ description = CSTRING(deflectionModule_Description);
typeName = "BOOL";
defaultValue = 1;
};
class vehicleEnabled {
- displayName = "$STR_ACE_Weather_vehicleEnabled_DisplayName";
- description = "$STR_ACE_Weather_vehicleEnabled_Description";
+ displayName = CSTRING(vehicleEnabled_DisplayName);
+ description = CSTRING(vehicleEnabled_Description);
typeName = "BOOL";
defaultValue = 1;
};
class simulationInterval {
- displayName = "$STR_ACE_Weather_simulationInterval_DisplayName";
- description = "$STR_ACE_Weather_simulationInterval_Description";
+ displayName = CSTRING(simulationInterval_DisplayName);
+ description = CSTRING(simulationInterval_Description);
typeName = "NUMBER";
defaultValue = 0.05;
};
class simulationRadius {
- displayName = "$STR_ACE_Weather_simulationRadius_DisplayName";
- description = "$STR_ACE_Weather_simulationRadius_Description";
+ displayName = CSTRING(simulationRadius_DisplayName);
+ description = CSTRING(simulationRadius_Description);
typeName = "NUMBER";
defaultValue = 3000;
};
};
class ModuleDescription {
- description = "$STR_ACE_Weather_windDeflection_Description";
+ description = CSTRING(windDeflection_Description);
};
};
};
\ No newline at end of file