Changed all strings to macros (except external)

This commit is contained in:
jonpas 2015-05-27 19:04:25 +02:00
parent 600fe61f72
commit 6072e14077
192 changed files with 1418 additions and 1418 deletions

View File

@ -2,7 +2,7 @@ class CfgVehicles {
class ACE_Module; class ACE_Module;
class GVAR(ModuleSettings): ACE_Module { class GVAR(ModuleSettings): ACE_Module {
scope = 2; scope = 2;
displayName = "$STR_ACE_AdvancedBallistics_DisplayName"; displayName = CSTRING(DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Wind_ca.paa)); icon = QUOTE(PATHTOF(UI\Icon_Module_Wind_ca.paa));
category = "ACE"; category = "ACE";
function = QUOTE(DFUNC(initModuleSettings)); function = QUOTE(DFUNC(initModuleSettings));
@ -12,32 +12,32 @@ class CfgVehicles {
author = "Ruthberg"; author = "Ruthberg";
class Arguments { class Arguments {
class enabled { class enabled {
displayName = "$STR_ACE_AdvancedBallistics_enabled_DisplayName"; displayName = CSTRING(enabled_DisplayName);
description = "$STR_ACE_AdvancedBallistics_enabled_Description"; description = CSTRING(enabled_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 0; defaultValue = 0;
}; };
class simulateForSnipers { class simulateForSnipers {
displayName = "$STR_ACE_AdvancedBallistics_simulateForSnipers_DisplayName"; displayName = CSTRING(simulateForSnipers_DisplayName);
description = "$STR_ACE_AdvancedBallistics_simulateForSnipers_Description"; description = CSTRING(simulateForSnipers_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 1; defaultValue = 1;
}; };
class simulateForGroupMembers { class simulateForGroupMembers {
displayName = "$STR_ACE_AdvancedBallistics_simulateForGroupMembers_DisplayName"; displayName = CSTRING(simulateForGroupMembers_DisplayName);
description = "$STR_ACE_AdvancedBallistics_simulateForGroupMembers_Description"; description = CSTRING(simulateForGroupMembers_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 0; defaultValue = 0;
}; };
class simulateForEveryone { class simulateForEveryone {
displayName = "$STR_ACE_AdvancedBallistics_simulateForEveryone_DisplayName"; displayName = CSTRING(simulateForEveryone_DisplayName);
description = "$STR_ACE_AdvancedBallistics_simulateForEveryone_Description"; description = CSTRING(simulateForEveryone_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 0; defaultValue = 0;
}; };
class disabledInFullAutoMode { class disabledInFullAutoMode {
displayName = "$STR_ACE_AdvancedBallistics_disabledInFullAutoMod_DisplayName"; displayName = CSTRING(disabledInFullAutoMod_DisplayName);
description = "$STR_ACE_AdvancedBallistics_disabledInFullAutoMod_Description"; description = CSTRING(disabledInFullAutoMod_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 0; defaultValue = 0;
}; };
@ -50,38 +50,38 @@ class CfgVehicles {
}; };
*/ */
class ammoTemperatureEnabled { class ammoTemperatureEnabled {
displayName = "$STR_ACE_AdvancedBallistics_ammoTemperatureEnabled_DisplayName"; displayName = CSTRING(ammoTemperatureEnabled_DisplayName);
description = "$STR_ACE_AdvancedBallistics_ammoTemperatureEnabled_Description"; description = CSTRING(ammoTemperatureEnabled_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 1; defaultValue = 1;
}; };
class barrelLengthInfluenceEnabled { class barrelLengthInfluenceEnabled {
displayName = "$STR_ACE_AdvancedBallistics_barrelLengthInfluenceEnabled_DisplayName"; displayName = CSTRING(barrelLengthInfluenceEnabled_DisplayName);
description = "$STR_ACE_AdvancedBallistics_barrelLengthInfluenceEnabled_Description"; description = CSTRING(barrelLengthInfluenceEnabled_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 1; defaultValue = 1;
}; };
class bulletTraceEnabled { class bulletTraceEnabled {
displayName = "$STR_ACE_AdvancedBallistics_bulletTraceEnabled_DisplayName"; displayName = CSTRING(bulletTraceEnabled_DisplayName);
description = "$STR_ACE_AdvancedBallistics_bulletTraceEnabled_Description"; description = CSTRING(bulletTraceEnabled_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 1; defaultValue = 1;
}; };
class simulationInterval { class simulationInterval {
displayName = "$STR_ACE_AdvancedBallistics_simulationInterval_DisplayName"; displayName = CSTRING(simulationInterval_DisplayName);
description = "$STR_ACE_AdvancedBallistics_simulationInterval_Description"; description = CSTRING(simulationInterval_Description);
typeName = "NUMBER"; typeName = "NUMBER";
defaultValue = 0.0; defaultValue = 0.0;
}; };
class simulationRadius { class simulationRadius {
displayName = "$STR_ACE_AdvancedBallistics_simulationRadius_DisplayName"; displayName = CSTRING(simulationRadius_DisplayName);
description = "$STR_ACE_AdvancedBallistics_simulationRadius_Description"; description = CSTRING(simulationRadius_Description);
typeName = "NUMBER"; typeName = "NUMBER";
defaultValue = 3000; defaultValue = 3000;
}; };
}; };
class ModuleDescription { class ModuleDescription {
description = "$STR_ACE_AdvancedBallistics_Description"; description = CSTRING(Description);
}; };
}; };
}; };

View File

@ -1,4 +1,4 @@
["ACE3 Equipment", QGVAR(ProtractorKey), localize "STR_ACE_AdvancedBallistics_ProtractorKey", ["ACE3 Equipment", QGVAR(ProtractorKey), localize STRING(ProtractorKey),
{ {
// Conditions: canInteract // Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false}; if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};

View File

@ -176,8 +176,8 @@ class CfgVehicles {
}; };
class CargoRamp_Open: DoorL1_Open { class CargoRamp_Open: DoorL1_Open {
userActionID = 52; userActionID = 52;
displayName = "$STR_ACE_Aircraft_OpenCargoRamp"; displayName = CSTRING(OpenCargoRamp);
textToolTip = "$STR_ACE_Aircraft_OpenCargoRamp"; textToolTip = CSTRING(OpenCargoRamp);
position = "action_cargoramp"; position = "action_cargoramp";
radius = 3.0; radius = 3.0;
condition = "this animationPhase ""cargoramp_open"" < 0.5 AND Alive(this)"; condition = "this animationPhase ""cargoramp_open"" < 0.5 AND Alive(this)";
@ -185,8 +185,8 @@ class CfgVehicles {
}; };
class CargoRamp_Close: DoorL1_Close { class CargoRamp_Close: DoorL1_Close {
userActionID = 55; userActionID = 55;
displayName = "$STR_ACE_Aircraft_CloseCargoRamp"; displayName = CSTRING(CloseCargoRamp);
textToolTip = "$STR_ACE_Aircraft_CloseCargoRamp"; textToolTip = CSTRING(CloseCargoRamp);
position = "action_cargoramp"; position = "action_cargoramp";
radius = 3.0; radius = 3.0;
condition = "this animationPhase ""cargoramp_open"" > 0.5 AND Alive(this)"; condition = "this animationPhase ""cargoramp_open"" > 0.5 AND Alive(this)";

View File

@ -29,7 +29,7 @@ class CfgWeapons {
reloadTime = 0.1; reloadTime = 0.1;
}; };
class Burst: Mode_Burst { 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 { class ACE_gatling_20mm_Comanche: gatling_20mm {
displayName = "$STR_ACE_Aircraft_gatling_20mm_Name"; displayName = CSTRING(gatling_20mm_Name);
class manual: manual { class manual: manual {
reloadTime = 0.04; reloadTime = 0.04;
dispersion = 0.006; dispersion = 0.006;
displayName = "$STR_ACE_Aircraft_gatling_20mm_Name"; displayName = CSTRING(gatling_20mm_Name);
}; };
class close: close { class close: close {
reloadTime = 0.04; reloadTime = 0.04;

View File

@ -4,7 +4,7 @@ class CfgVehicles {
class ACE_SelfActions { class ACE_SelfActions {
class ACE_Equipment { class ACE_Equipment {
class GVAR(open) { class GVAR(open) {
displayName = "$STR_ACE_ATragMX_OpenATragMXDialog"; displayName = CSTRING(OpenATragMXDialog);
condition = QUOTE(call FUNC(can_show)); condition = QUOTE(call FUNC(can_show));
statement = QUOTE(call FUNC(create_dialog)); statement = QUOTE(call FUNC(create_dialog));
showDisabled = 0; showDisabled = 0;

View File

@ -6,8 +6,8 @@ class CfgWeapons {
class ACE_ATragMX: ACE_ItemCore { class ACE_ATragMX: ACE_ItemCore {
author = "Ruthberg"; author = "Ruthberg";
scope = 2; scope = 2;
displayName = "$STR_ACE_ATragMX_Name"; displayName = CSTRING(Name);
descriptionShort = "$STR_ACE_ATragMX_Description"; descriptionShort = CSTRING(Description);
model = PATHTOF(data\tdsrecon.p3d); model = PATHTOF(data\tdsrecon.p3d);
picture = PATHTOF(UI\ATRAG_Icon.paa); picture = PATHTOF(UI\ATRAG_Icon.paa);
icon = "iconObject_circle"; icon = "iconObject_circle";

View File

@ -1,4 +1,4 @@
["ACE3 Equipment", QGVAR(ATragMXDialogKey), localize "STR_ACE_ATragMX_ATragMXDialogKey", ["ACE3 Equipment", QGVAR(ATragMXDialogKey), localize STRING(ATragMXDialogKey),
{ {
// Conditions: canInteract // Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false}; if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};

View File

@ -3,7 +3,7 @@
class ACE_Actions { \ class ACE_Actions { \
class ACE_MainActions { \ class ACE_MainActions { \
class GVAR(AttachVehicle) { \ class GVAR(AttachVehicle) { \
displayName = "$STR_ACE_Attach_AttachDetach"; \ displayName = CSTRING(AttachDetach); \
condition = QUOTE(_this call FUNC(canAttach)); \ condition = QUOTE(_this call FUNC(canAttach)); \
insertChildren = QUOTE(_this call FUNC(getChildrenAttachActions)); \ insertChildren = QUOTE(_this call FUNC(getChildrenAttachActions)); \
exceptions[] = {}; \ exceptions[] = {}; \
@ -13,7 +13,7 @@
distance = 4.5; \ distance = 4.5; \
}; \ }; \
class GVAR(DetachVehicle) { \ class GVAR(DetachVehicle) { \
displayName = "$STR_ACE_Attach_Detach"; \ displayName = CSTRING(Detach); \
condition = QUOTE(_this call FUNC(canDetach)); \ condition = QUOTE(_this call FUNC(canDetach)); \
statement = QUOTE(_this call FUNC(detach) ); \ statement = QUOTE(_this call FUNC(detach) ); \
exceptions[] = {}; \ exceptions[] = {}; \
@ -54,7 +54,7 @@ class CfgVehicles {
class ACE_SelfActions { class ACE_SelfActions {
class ACE_Equipment { class ACE_Equipment {
class GVAR(Attach) { class GVAR(Attach) {
displayName = "$STR_ACE_Attach_AttachDetach"; displayName = CSTRING(AttachDetach);
condition = QUOTE(_this call FUNC(canAttach)); condition = QUOTE(_this call FUNC(canAttach));
insertChildren = QUOTE(_this call FUNC(getChildrenAttachActions)); insertChildren = QUOTE(_this call FUNC(getChildrenAttachActions));
exceptions[] = {"isNotDragging"}; exceptions[] = {"isNotDragging"};
@ -64,7 +64,7 @@ class CfgVehicles {
// hotkey = "T"; // hotkey = "T";
}; };
class GVAR(Detach) { class GVAR(Detach) {
displayName = "$STR_ACE_Attach_Detach"; displayName = CSTRING(Detach);
condition = QUOTE(_this call FUNC(canDetach)); condition = QUOTE(_this call FUNC(canDetach));
statement = QUOTE(_this call FUNC(detach)); statement = QUOTE(_this call FUNC(detach));
exceptions[] = {"isNotDragging"}; exceptions[] = {"isNotDragging"};

View File

@ -7,8 +7,8 @@ class CfgWeapons {
ACE_attachable = "ACE_IR_Strobe_Effect"; ACE_attachable = "ACE_IR_Strobe_Effect";
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
scope = 2; scope = 2;
displayName = "$STR_ACE_IrStrobe_Name"; displayName = CSTRING(IrStrobe_Name);
descriptionShort = "$STR_ACE_IrStrobe_Description"; descriptionShort = CSTRING(IrStrobe_Description);
model = "\A3\weapons_F\ammo\mag_univ.p3d"; model = "\A3\weapons_F\ammo\mag_univ.p3d";
picture = PATHTOF(UI\irstrobe_item.paa); picture = PATHTOF(UI\irstrobe_item.paa);

View File

@ -37,7 +37,7 @@ if (_itemVehClass == "") then {
if (_itemVehClass == "") exitWith {ERROR("no ACE_Attachable for Item");}; 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 if (_unit == _attachToVehicle) then { //Self Attachment
_unit removeItem _itemClassname; // Remove item _unit removeItem _itemClassname; // Remove item
@ -54,12 +54,12 @@ if (_unit == _attachToVehicle) then { //Self Attachment
[_unit, QGVAR(vehAttach), true] call EFUNC(common,setForceWalkStatus); [_unit, QGVAR(vehAttach), true] call EFUNC(common,setForceWalkStatus);
//MenuBack isn't working for now (localize "STR_ACE_Attach_CancelAction") //MenuBack isn't working for now (localize STRING(CancelAction))
[{[localize "STR_ACE_Attach_PlaceAction", ""] call EFUNC(interaction,showMouseHint)}, [], 0, 0] call EFUNC(common,waitAndExecute); [{[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(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)]; // _unit setVariable [QGVAR(cancelActionEH), [_unit, "MenuBack", {true}, {GVAR(placeAction) = 0;}] call EFUNC(common,AddActionEventHandler)];
_actionID = _unit addAction [format ["<t color='#FF0000'>%1</t>", localize "STR_ACE_Attach_CancelAction"], {GVAR(placeAction) = 0}]; _actionID = _unit addAction [format ["<t color='#FF0000'>%1</t>", localize STRING(CancelAction)], {GVAR(placeAction) = 0}];
[{ [{
private "_startingPosition"; private "_startingPosition";

View File

@ -49,7 +49,7 @@ if (isNull _attachedObject || {_itemName == ""}) exitWith {ERROR("Could not find
// Exit if can't add the item // Exit if can't add the item
if !(_unit canAdd _itemName) exitWith { 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 // Add item to inventory
@ -78,4 +78,4 @@ if (_itemDisplayName == "") then {
_itemDisplayName = getText (configFile >> "CfgMagazines" >> _itemName >> "displayName"); _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);

View File

@ -74,7 +74,7 @@ _closeInDistance = (_closeInMax + _closeInMin) / 2;
//Checks (too close to center or can't attach) //Checks (too close to center or can't attach)
if (((_startDistanceFromCenter - _closeInDistance) < 0.1) || {!([_attachToVehicle, _unit, _itemClassname] call FUNC(canAttach))}) exitWith { if (((_startDistanceFromCenter - _closeInDistance) < 0.1) || {!([_attachToVehicle, _unit, _itemClassname] call FUNC(canAttach))}) exitWith {
TRACE_2("no valid spot found",_closeInDistance,_startDistanceFromCenter); 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) //Move it out slightly, for visability sake (better to look a little funny than be embedded//sunk in the hull and be useless)

View File

@ -14,9 +14,9 @@ class CfgMagazines {
class ACE_100Rnd_65x39_caseless_mag_Tracer_Dim: 100Rnd_65x39_caseless_mag_Tracer { class ACE_100Rnd_65x39_caseless_mag_Tracer_Dim: 100Rnd_65x39_caseless_mag_Tracer {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_65x39_Caseless_Tracer_Dim"; ammo = "ACE_65x39_Caseless_Tracer_Dim";
displayName = "$STR_ACE_100Rnd_65x39_caseless_mag_Tracer_DimName"; displayName = CSTRING(100Rnd_65x39_caseless_mag_Tracer_DimName);
displayNameShort = "$STR_ACE_100Rnd_65x39_caseless_mag_Tracer_DimNameShort"; displayNameShort = CSTRING(100Rnd_65x39_caseless_mag_Tracer_DimNameShort);
descriptionShort = "$STR_ACE_100Rnd_65x39_caseless_mag_Tracer_DimDescription"; descriptionShort = CSTRING(100Rnd_65x39_caseless_mag_Tracer_DimDescription);
picture = "\A3\weapons_f\data\ui\m_100rnd_65x39_yellow_ca.paa"; picture = "\A3\weapons_f\data\ui\m_100rnd_65x39_yellow_ca.paa";
}; };
class 200Rnd_65x39_cased_Box: 100Rnd_65x39_caseless_mag { 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 { class ACE_200Rnd_65x39_cased_Box_Tracer_Dim: 200Rnd_65x39_cased_Box {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_65x39_Caseless_Tracer_Dim"; ammo = "ACE_65x39_Caseless_Tracer_Dim";
displayName = "$STR_ACE_200Rnd_65x39_cased_Box_Tracer_DimName"; displayName = CSTRING(200Rnd_65x39_cased_Box_Tracer_DimName);
displayNameShort = "$STR_ACE_200Rnd_65x39_cased_Box_Tracer_DimNameShort"; displayNameShort = CSTRING(200Rnd_65x39_cased_Box_Tracer_DimNameShort);
descriptionShort = "$STR_ACE_200Rnd_65x39_cased_Box_Tracer_DimDescription"; descriptionShort = CSTRING(200Rnd_65x39_cased_Box_Tracer_DimDescription);
picture = "\A3\weapons_f\data\ui\m_200rnd_65x39_yellow_ca.paa"; picture = "\A3\weapons_f\data\ui\m_200rnd_65x39_yellow_ca.paa";
}; };
class 30Rnd_65x39_caseless_mag_Tracer; class 30Rnd_65x39_caseless_mag_Tracer;
class ACE_30Rnd_65x39_caseless_mag_Tracer_Dim: 30Rnd_65x39_caseless_mag_Tracer { class ACE_30Rnd_65x39_caseless_mag_Tracer_Dim: 30Rnd_65x39_caseless_mag_Tracer {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_65x39_Caseless_Tracer_Dim"; ammo = "ACE_65x39_Caseless_Tracer_Dim";
displayName = "$STR_ACE_30Rnd_65x39_caseless_mag_Tracer_DimName"; displayName = CSTRING(30Rnd_65x39_caseless_mag_Tracer_DimName);
displayNameShort = "$STR_ACE_30Rnd_65x39_caseless_mag_Tracer_DimNameShort"; displayNameShort = CSTRING(30Rnd_65x39_caseless_mag_Tracer_DimNameShort);
descriptionShort = "$STR_ACE_30Rnd_65x39_caseless_mag_Tracer_DimDescription"; descriptionShort = CSTRING(30Rnd_65x39_caseless_mag_Tracer_DimDescription);
}; };
class 30Rnd_65x39_caseless_green_mag_Tracer; class 30Rnd_65x39_caseless_green_mag_Tracer;
class ACE_30Rnd_65x39_caseless_green_mag_Tracer_Dim: 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"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_65x39_Caseless_green_Tracer_Dim"; ammo = "ACE_65x39_Caseless_green_Tracer_Dim";
displayName = "$STR_ACE_30Rnd_65x39_caseless_green_mag_Tracer_DimName"; displayName = CSTRING(30Rnd_65x39_caseless_green_mag_Tracer_DimName);
displayNameShort = "$STR_ACE_30Rnd_65x39_caseless_green_mag_Tracer_DimNameShort"; displayNameShort = CSTRING(30Rnd_65x39_caseless_green_mag_Tracer_DimNameShort);
descriptionShort = "$STR_ACE_30Rnd_65x39_caseless_green_mag_Tracer_DimDescription"; descriptionShort = CSTRING(30Rnd_65x39_caseless_green_mag_Tracer_DimDescription);
}; };
class 30Rnd_556x45_Stanag: CA_Magazine { class 30Rnd_556x45_Stanag: CA_Magazine {
@ -52,25 +52,25 @@ class CfgMagazines {
class ACE_30Rnd_556x45_Stanag_M995_AP_mag: 30Rnd_556x45_Stanag { class ACE_30Rnd_556x45_Stanag_M995_AP_mag: 30Rnd_556x45_Stanag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_556x45_Ball_M995_AP"; ammo = "ACE_556x45_Ball_M995_AP";
displayName = "$STR_ACE_30Rnd_556x45_Stanag_M995_AP_mag_Name"; displayName = CSTRING(30Rnd_556x45_Stanag_M995_AP_mag_Name);
displayNameShort = "$STR_ACE_30Rnd_556x45_Stanag_M995_AP_mag_NameShort"; displayNameShort = CSTRING(30Rnd_556x45_Stanag_M995_AP_mag_NameShort);
descriptionShort = "$STR_ACE_30Rnd_556x45_Stanag_M995_AP_mag_Description"; descriptionShort = CSTRING(30Rnd_556x45_Stanag_M995_AP_mag_Description);
initSpeed = 865; initSpeed = 865;
}; };
class ACE_30Rnd_556x45_Stanag_Mk262_mag: 30Rnd_556x45_Stanag { class ACE_30Rnd_556x45_Stanag_Mk262_mag: 30Rnd_556x45_Stanag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_556x45_Ball_Mk262"; ammo = "ACE_556x45_Ball_Mk262";
displayName = "$STR_ACE_30Rnd_556x45_Stanag_Mk262_mag_Name"; displayName = CSTRING(30Rnd_556x45_Stanag_Mk262_mag_Name);
displayNameShort = "$STR_ACE_30Rnd_556x45_Stanag_Mk262_mag_NameShort"; displayNameShort = CSTRING(30Rnd_556x45_Stanag_Mk262_mag_NameShort);
descriptionShort = "$STR_ACE_30Rnd_556x45_Stanag_Mk262_mag_Description"; descriptionShort = CSTRING(30Rnd_556x45_Stanag_Mk262_mag_Description);
initSpeed = 832; initSpeed = 832;
}; };
class ACE_30Rnd_556x45_Stanag_Mk318_mag: 30Rnd_556x45_Stanag { class ACE_30Rnd_556x45_Stanag_Mk318_mag: 30Rnd_556x45_Stanag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_556x45_Ball_Mk318"; ammo = "ACE_556x45_Ball_Mk318";
displayName = "$STR_ACE_30Rnd_556x45_Stanag_Mk318_mag_Name"; displayName = CSTRING(30Rnd_556x45_Stanag_Mk318_mag_Name);
displayNameShort = "$STR_ACE_30Rnd_556x45_Stanag_Mk318_mag_NameShort"; displayNameShort = CSTRING(30Rnd_556x45_Stanag_Mk318_mag_NameShort);
descriptionShort = "$STR_ACE_30Rnd_556x45_Stanag_Mk318_mag_Description"; descriptionShort = CSTRING(30Rnd_556x45_Stanag_Mk318_mag_Description);
initSpeed = 922; initSpeed = 922;
}; };
class 30Rnd_556x45_Stanag_Tracer_Red: 30Rnd_556x45_Stanag { 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 { class ACE_30Rnd_556x45_Stanag_Tracer_Dim: 30Rnd_556x45_Stanag_Tracer_Red {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_B_556x45_Ball_Tracer_Dim"; ammo = "ACE_B_556x45_Ball_Tracer_Dim";
displayName = "$STR_ACE_30Rnd_556x45_mag_Tracer_DimName"; displayName = CSTRING(30Rnd_556x45_mag_Tracer_DimName);
displayNameShort = "$STR_ACE_30Rnd_556x45_mag_Tracer_DimNameShort"; displayNameShort = CSTRING(30Rnd_556x45_mag_Tracer_DimNameShort);
descriptionShort = "$STR_ACE_30Rnd_556x45_mag_Tracer_DimDescription"; descriptionShort = CSTRING(30Rnd_556x45_mag_Tracer_DimDescription);
picture = "\A3\weapons_f\data\ui\m_20stanag_red_ca.paa"; 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 { class ACE_20Rnd_762x51_Mag_Tracer: 20Rnd_762x51_Mag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "B_762x51_Tracer_Red"; ammo = "B_762x51_Tracer_Red";
displayName = "$STR_ACE_20Rnd_762x51_mag_TracerName"; displayName = CSTRING(20Rnd_762x51_mag_TracerName);
displayNameShort = "$STR_ACE_20Rnd_762x51_mag_TracerNameShort"; displayNameShort = CSTRING(20Rnd_762x51_mag_TracerNameShort);
descriptionShort = "$STR_ACE_20Rnd_762x51_mag_TracerDescription"; descriptionShort = CSTRING(20Rnd_762x51_mag_TracerDescription);
tracersEvery = 1; tracersEvery = 1;
}; };
class ACE_20Rnd_762x51_Mag_Tracer_Dim: ACE_20Rnd_762x51_Mag_Tracer { class ACE_20Rnd_762x51_Mag_Tracer_Dim: ACE_20Rnd_762x51_Mag_Tracer {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_B_762x51_Tracer_Dim"; ammo = "ACE_B_762x51_Tracer_Dim";
displayName = "$STR_ACE_20Rnd_762x51_mag_Tracer_DimName"; displayName = CSTRING(20Rnd_762x51_mag_Tracer_DimName);
displayNameShort = "$STR_ACE_20Rnd_762x51_mag_Tracer_DimNameShort"; displayNameShort = CSTRING(20Rnd_762x51_mag_Tracer_DimNameShort);
descriptionShort = "$STR_ACE_20Rnd_762x51_mag_Tracer_DimDescription"; descriptionShort = CSTRING(20Rnd_762x51_mag_Tracer_DimDescription);
}; };
class ACE_20Rnd_762x51_Mag_SD: 20Rnd_762x51_Mag { class ACE_20Rnd_762x51_Mag_SD: 20Rnd_762x51_Mag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x51_Ball_Subsonic"; ammo = "ACE_762x51_Ball_Subsonic";
displayName = "$STR_ACE_20Rnd_762x51_mag_SDName"; displayName = CSTRING(20Rnd_762x51_mag_SDName);
displayNameShort = "$STR_ACE_20Rnd_762x51_mag_SDNameShort"; displayNameShort = CSTRING(20Rnd_762x51_mag_SDNameShort);
descriptionShort = "$STR_ACE_20Rnd_762x51_mag_SDDescription"; descriptionShort = CSTRING(20Rnd_762x51_mag_SDDescription);
initSpeed = 325; initSpeed = 325;
}; };
@ -126,125 +126,125 @@ class CfgMagazines {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x51_Ball_M118LR"; ammo = "ACE_762x51_Ball_M118LR";
count = 10; count = 10;
displayName = "$STR_ACE_10Rnd_762x51_M118LR_Mag_Name"; displayName = CSTRING(10Rnd_762x51_M118LR_Mag_Name);
displayNameShort = "$STR_ACE_10Rnd_762x51_M118LR_Mag_NameShort"; displayNameShort = CSTRING(10Rnd_762x51_M118LR_Mag_NameShort);
descriptionShort = "$STR_ACE_10Rnd_762x51_M118LR_Mag_Description"; descriptionShort = CSTRING(10Rnd_762x51_M118LR_Mag_Description);
initSpeed = 780; initSpeed = 780;
}; };
class ACE_10Rnd_762x51_Mk316_Mod_0_Mag: 10Rnd_762x51_Mag { class ACE_10Rnd_762x51_Mk316_Mod_0_Mag: 10Rnd_762x51_Mag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x51_Ball_Mk316_Mod_0"; ammo = "ACE_762x51_Ball_Mk316_Mod_0";
count = 10; count = 10;
displayName = "$STR_ACE_10Rnd_762x51_Mk316_Mod_0_Mag_Name"; displayName = CSTRING(10Rnd_762x51_Mk316_Mod_0_Mag_Name);
displayNameShort = "$STR_ACE_10Rnd_762x51_Mk316_Mod_0_Mag_NameShort"; displayNameShort = CSTRING(10Rnd_762x51_Mk316_Mod_0_Mag_NameShort);
descriptionShort = "$STR_ACE_10Rnd_762x51_Mk316_Mod_0_Mag_Description"; descriptionShort = CSTRING(10Rnd_762x51_Mk316_Mod_0_Mag_Description);
initSpeed = 790; initSpeed = 790;
}; };
class ACE_10Rnd_762x51_Mk319_Mod_0_Mag: 10Rnd_762x51_Mag { class ACE_10Rnd_762x51_Mk319_Mod_0_Mag: 10Rnd_762x51_Mag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x51_Ball_Mk319_Mod_0"; ammo = "ACE_762x51_Ball_Mk319_Mod_0";
count = 10; count = 10;
displayName = "$STR_ACE_10Rnd_762x51_Mk319_Mod_0_Mag_Name"; displayName = CSTRING(10Rnd_762x51_Mk319_Mod_0_Mag_Name);
displayNameShort = "$STR_ACE_10Rnd_762x51_Mk319_Mod_0_Mag_NameShort"; displayNameShort = CSTRING(10Rnd_762x51_Mk319_Mod_0_Mag_NameShort);
descriptionShort = "$STR_ACE_10Rnd_762x51_Mk319_Mod_0_Mag_Description"; descriptionShort = CSTRING(10Rnd_762x51_Mk319_Mod_0_Mag_Description);
initSpeed = 900; initSpeed = 900;
}; };
class ACE_10Rnd_762x51_M993_AP_Mag: 10Rnd_762x51_Mag { class ACE_10Rnd_762x51_M993_AP_Mag: 10Rnd_762x51_Mag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x51_Ball_M993_AP"; ammo = "ACE_762x51_Ball_M993_AP";
count = 10; count = 10;
displayName = "$STR_ACE_10Rnd_762x51_M993_AP_Mag_Name"; displayName = CSTRING(10Rnd_762x51_M993_AP_Mag_Name);
displayNameShort = "$STR_ACE_10Rnd_762x51_M993_AP_Mag_NameShort"; displayNameShort = CSTRING(10Rnd_762x51_M993_AP_Mag_NameShort);
descriptionShort = "$STR_ACE_10Rnd_762x51_M993_AP_Mag_Description"; descriptionShort = CSTRING(10Rnd_762x51_M993_AP_Mag_Description);
initSpeed = 920; initSpeed = 920;
}; };
class ACE_20Rnd_762x51_M118LR_Mag: 20Rnd_762x51_Mag { class ACE_20Rnd_762x51_M118LR_Mag: 20Rnd_762x51_Mag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x51_Ball_M118LR"; ammo = "ACE_762x51_Ball_M118LR";
displayName = "$STR_ACE_20Rnd_762x51_M118LR_Mag_Name"; displayName = CSTRING(20Rnd_762x51_M118LR_Mag_Name);
displayNameShort = "$STR_ACE_20Rnd_762x51_M118LR_Mag_NameShort"; displayNameShort = CSTRING(20Rnd_762x51_M118LR_Mag_NameShort);
descriptionShort = "$STR_ACE_20Rnd_762x51_M118LR_Mag_Description"; descriptionShort = CSTRING(20Rnd_762x51_M118LR_Mag_Description);
initSpeed = 780; initSpeed = 780;
}; };
class ACE_20Rnd_762x51_Mk316_Mod_0_Mag: 20Rnd_762x51_Mag { class ACE_20Rnd_762x51_Mk316_Mod_0_Mag: 20Rnd_762x51_Mag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x51_Ball_Mk316_Mod_0"; ammo = "ACE_762x51_Ball_Mk316_Mod_0";
count = 20; count = 20;
displayName = "$STR_ACE_20Rnd_762x51_Mk316_Mod_0_Mag_Name"; displayName = CSTRING(20Rnd_762x51_Mk316_Mod_0_Mag_Name);
displayNameShort = "$STR_ACE_20Rnd_762x51_Mk316_Mod_0_Mag_NameShort"; displayNameShort = CSTRING(20Rnd_762x51_Mk316_Mod_0_Mag_NameShort);
descriptionShort = "$STR_ACE_20Rnd_762x51_Mk316_Mod_0_Mag_Description"; descriptionShort = CSTRING(20Rnd_762x51_Mk316_Mod_0_Mag_Description);
initSpeed = 790; initSpeed = 790;
}; };
class ACE_20Rnd_762x51_Mk319_Mod_0_Mag: 20Rnd_762x51_Mag { class ACE_20Rnd_762x51_Mk319_Mod_0_Mag: 20Rnd_762x51_Mag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x51_Ball_Mk319_Mod_0"; ammo = "ACE_762x51_Ball_Mk319_Mod_0";
displayName = "$STR_ACE_20Rnd_762x51_Mk319_Mod_0_Mag_Name"; displayName = CSTRING(20Rnd_762x51_Mk319_Mod_0_Mag_Name);
displayNameShort = "$STR_ACE_20Rnd_762x51_Mk319_Mod_0_Mag_NameShort"; displayNameShort = CSTRING(20Rnd_762x51_Mk319_Mod_0_Mag_NameShort);
descriptionShort = "$STR_ACE_20Rnd_762x51_Mk319_Mod_0_Mag_Description"; descriptionShort = CSTRING(20Rnd_762x51_Mk319_Mod_0_Mag_Description);
initSpeed = 900; initSpeed = 900;
}; };
class ACE_20Rnd_762x51_M993_AP_Mag: 20Rnd_762x51_Mag { class ACE_20Rnd_762x51_M993_AP_Mag: 20Rnd_762x51_Mag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x51_Ball_M993_AP"; ammo = "ACE_762x51_Ball_M993_AP";
count = 20; count = 20;
displayName = "$STR_ACE_20Rnd_762x51_M993_AP_Mag_Name"; displayName = CSTRING(20Rnd_762x51_M993_AP_Mag_Name);
displayNameShort = "$STR_ACE_20Rnd_762x51_M993_AP_Mag_NameShort"; displayNameShort = CSTRING(20Rnd_762x51_M993_AP_Mag_NameShort);
descriptionShort = "$STR_ACE_20Rnd_762x51_M993_AP_Mag_Description"; descriptionShort = CSTRING(20Rnd_762x51_M993_AP_Mag_Description);
initSpeed = 920; initSpeed = 920;
}; };
class ACE_20Rnd_762x67_Mk248_Mod_0_Mag: 20Rnd_762x51_Mag { class ACE_20Rnd_762x67_Mk248_Mod_0_Mag: 20Rnd_762x51_Mag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x67_Ball_Mk248_Mod_0"; ammo = "ACE_762x67_Ball_Mk248_Mod_0";
displayName = "$STR_ACE_20Rnd_762x67_Mk248_Mod_0_Mag_Name"; displayName = CSTRING(20Rnd_762x67_Mk248_Mod_0_Mag_Name);
displayNameShort = "$STR_ACE_20Rnd_762x67_Mk248_Mod_0_Mag_NameShort"; displayNameShort = CSTRING(20Rnd_762x67_Mk248_Mod_0_Mag_NameShort);
descriptionShort = "$STR_ACE_20Rnd_762x67_Mk248_Mod_0_Mag_Description"; descriptionShort = CSTRING(20Rnd_762x67_Mk248_Mod_0_Mag_Description);
initSpeed = 900; initSpeed = 900;
}; };
class ACE_20Rnd_762x67_Mk248_Mod_1_Mag: 20Rnd_762x51_Mag { class ACE_20Rnd_762x67_Mk248_Mod_1_Mag: 20Rnd_762x51_Mag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x67_Ball_Mk248_Mod_1"; ammo = "ACE_762x67_Ball_Mk248_Mod_1";
displayName = "$STR_ACE_20Rnd_762x67_Mk248_Mod_1_Mag_Name"; displayName = CSTRING(20Rnd_762x67_Mk248_Mod_1_Mag_Name);
displayNameShort = "$STR_ACE_20Rnd_762x67_Mk248_Mod_1_Mag_NameShort"; displayNameShort = CSTRING(20Rnd_762x67_Mk248_Mod_1_Mag_NameShort);
descriptionShort = "$STR_ACE_20Rnd_762x67_Mk248_Mod_1_Mag_Description"; descriptionShort = CSTRING(20Rnd_762x67_Mk248_Mod_1_Mag_Description);
initSpeed = 880; initSpeed = 880;
}; };
class ACE_20Rnd_762x67_Berger_Hybrid_OTM_Mag: 20Rnd_762x51_Mag { class ACE_20Rnd_762x67_Berger_Hybrid_OTM_Mag: 20Rnd_762x51_Mag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x67_Ball_Berger_Hybrid_OTM"; ammo = "ACE_762x67_Ball_Berger_Hybrid_OTM";
displayName = "$STR_ACE_20Rnd_762x67_Berger_Hybrid_OTM_Mag_Name"; displayName = CSTRING(20Rnd_762x67_Berger_Hybrid_OTM_Mag_Name);
displayNameShort = "$STR_ACE_20Rnd_762x67_Berger_Hybrid_OTM_Mag_NameShort"; displayNameShort = CSTRING(20Rnd_762x67_Berger_Hybrid_OTM_Mag_NameShort);
descriptionShort = "$STR_ACE_20Rnd_762x67_Berger_Hybrid_OTM_Mag_Description"; descriptionShort = CSTRING(20Rnd_762x67_Berger_Hybrid_OTM_Mag_Description);
initSpeed = 832; initSpeed = 832;
}; };
class ACE_30Rnd_65x47_Scenar_mag: 30Rnd_65x39_caseless_mag { class ACE_30Rnd_65x47_Scenar_mag: 30Rnd_65x39_caseless_mag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_65x47_Ball_Scenar"; ammo = "ACE_65x47_Ball_Scenar";
displayName = "$STR_ACE_30Rnd_65x47_Scenar_mag_Name"; displayName = CSTRING(30Rnd_65x47_Scenar_mag_Name);
displayNameShort = "$STR_ACE_30Rnd_65x47_Scenar_mag_NameShort"; displayNameShort = CSTRING(30Rnd_65x47_Scenar_mag_NameShort);
descriptionShort = "$STR_ACE_30Rnd_65x47_Scenar_mag_Description"; descriptionShort = CSTRING(30Rnd_65x47_Scenar_mag_Description);
}; };
class ACE_30Rnd_65_Creedmor_mag: 30Rnd_65x39_caseless_mag { class ACE_30Rnd_65_Creedmor_mag: 30Rnd_65x39_caseless_mag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_65_Creedmor_Ball"; ammo = "ACE_65_Creedmor_Ball";
displayName = "$STR_ACE_30Rnd_65_Creedmor_mag_Name"; displayName = CSTRING(30Rnd_65_Creedmor_mag_Name);
displayNameShort = "$STR_ACE_30Rnd_65_Creedmor_mag_NameShort"; displayNameShort = CSTRING(30Rnd_65_Creedmor_mag_NameShort);
descriptionShort = "$STR_ACE_30Rnd_65_Creedmor_mag_Description"; descriptionShort = CSTRING(30Rnd_65_Creedmor_mag_Description);
}; };
class 10Rnd_338_Mag; class 10Rnd_338_Mag;
class ACE_10Rnd_338_300gr_HPBT_Mag: 10Rnd_338_Mag { class ACE_10Rnd_338_300gr_HPBT_Mag: 10Rnd_338_Mag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_338_Ball"; ammo = "ACE_338_Ball";
displayName = "$STR_ACE_10Rnd_338_300gr_HPBT_Mag_Name"; displayName = CSTRING(10Rnd_338_300gr_HPBT_Mag_Name);
displayNameShort = "$STR_ACE_10Rnd_338_300gr_HPBT_Mag_NameShort"; displayNameShort = CSTRING(10Rnd_338_300gr_HPBT_Mag_NameShort);
descriptionShort = "$STR_ACE_10Rnd_338_300gr_HPBT_Mag_Description"; descriptionShort = CSTRING(10Rnd_338_300gr_HPBT_Mag_Description);
initSpeed = 800; initSpeed = 800;
}; };
class ACE_10Rnd_338_API526_Mag: 10Rnd_338_Mag { class ACE_10Rnd_338_API526_Mag: 10Rnd_338_Mag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_338_Ball_API526"; ammo = "ACE_338_Ball_API526";
displayName = "$STR_ACE_10Rnd_338_API526_Mag_Name"; displayName = CSTRING(10Rnd_338_API526_Mag_Name);
displayNameShort = "$STR_ACE_10Rnd_338_API526_Mag_NameShort"; displayNameShort = CSTRING(10Rnd_338_API526_Mag_NameShort);
descriptionShort = "$STR_ACE_10Rnd_338_API526_Mag_Description"; descriptionShort = CSTRING(10Rnd_338_API526_Mag_Description);
initSpeed = 880; initSpeed = 880;
}; };
@ -252,25 +252,25 @@ class CfgMagazines {
class ACE_5Rnd_127x99_Mag: 5Rnd_127x108_Mag { class ACE_5Rnd_127x99_Mag: 5Rnd_127x108_Mag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "B_127x99_Ball"; ammo = "B_127x99_Ball";
displayName = "$STR_ACE_5Rnd_127x99_Mag_Name"; displayName = CSTRING(5Rnd_127x99_Mag_Name);
displayNameShort = "$STR_ACE_5Rnd_127x99_Mag_NameShort"; displayNameShort = CSTRING(5Rnd_127x99_Mag_NameShort);
descriptionShort = "$STR_ACE_5Rnd_127x99_Mag_Description"; descriptionShort = CSTRING(5Rnd_127x99_Mag_Description);
initSpeed = 900; initSpeed = 900;
}; };
class ACE_5Rnd_127x99_API_Mag: 5Rnd_127x108_Mag { class ACE_5Rnd_127x99_API_Mag: 5Rnd_127x108_Mag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_127x99_API"; ammo = "ACE_127x99_API";
displayName = "$STR_ACE_5Rnd_127x99_API_Mag_Name"; displayName = CSTRING(5Rnd_127x99_API_Mag_Name);
displayNameShort = "$STR_ACE_5Rnd_127x99_API_Mag_NameShort"; displayNameShort = CSTRING(5Rnd_127x99_API_Mag_NameShort);
descriptionShort = "$STR_ACE_5Rnd_127x99_API_Mag_Description"; descriptionShort = CSTRING(5Rnd_127x99_API_Mag_Description);
initSpeed = 900; initSpeed = 900;
}; };
class ACE_5Rnd_127x99_AMAX_Mag: 5Rnd_127x108_Mag { class ACE_5Rnd_127x99_AMAX_Mag: 5Rnd_127x108_Mag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_127x99_Ball_AMAX"; ammo = "ACE_127x99_Ball_AMAX";
displayName = "$STR_ACE_5Rnd_127x99_AMAX_Mag_Name"; displayName = CSTRING(5Rnd_127x99_AMAX_Mag_Name);
displayNameShort = "$STR_ACE_5Rnd_127x99_AMAX_Mag_NameShort"; displayNameShort = CSTRING(5Rnd_127x99_AMAX_Mag_NameShort);
descriptionShort = "$STR_ACE_5Rnd_127x99_AMAX_Mag_Description"; descriptionShort = CSTRING(5Rnd_127x99_AMAX_Mag_Description);
initSpeed = 860; initSpeed = 860;
}; };
@ -281,9 +281,9 @@ class CfgMagazines {
class ACE_30Rnd_9x19_mag: 30Rnd_9x21_Mag { class ACE_30Rnd_9x19_mag: 30Rnd_9x21_Mag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_9x19_Ball"; ammo = "ACE_9x19_Ball";
displayName = "$STR_ACE_30Rnd_9x19_mag_Name"; displayName = CSTRING(30Rnd_9x19_mag_Name);
displayNameShort = "$STR_ACE_30Rnd_9x19_mag_NameShort"; displayNameShort = CSTRING(30Rnd_9x19_mag_NameShort);
descriptionShort = "$STR_ACE_30Rnd_9x19_mag_Description"; descriptionShort = CSTRING(30Rnd_9x19_mag_Description);
initSpeed = 370; initSpeed = 370;
}; };
@ -313,9 +313,9 @@ class CfgMagazines {
class ACE_16Rnd_9x19_mag: 16Rnd_9x21_Mag { class ACE_16Rnd_9x19_mag: 16Rnd_9x21_Mag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_9x19_Ball"; ammo = "ACE_9x19_Ball";
displayName = "$STR_ACE_16Rnd_9x19_mag_Name"; displayName = CSTRING(16Rnd_9x19_mag_Name);
displayNameShort = "$STR_ACE_16Rnd_9x19_mag_NameShort"; displayNameShort = CSTRING(16Rnd_9x19_mag_NameShort);
descriptionShort = "$STR_ACE_16Rnd_9x19_mag_Description"; descriptionShort = CSTRING(16Rnd_9x19_mag_Description);
initSpeed = 370; initSpeed = 370;
}; };
@ -325,9 +325,9 @@ class CfgMagazines {
class ACE_10Rnd_762x54_Tracer_mag: 10Rnd_762x54_Mag { class ACE_10Rnd_762x54_Tracer_mag: 10Rnd_762x54_Mag {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_762x54_Ball_7T2"; ammo = "ACE_762x54_Ball_7T2";
displayName = "$STR_ACE_10Rnd_762x54_Tracer_mag_Name"; displayName = CSTRING(10Rnd_762x54_Tracer_mag_Name);
displayNameShort = "$STR_ACE_10Rnd_762x54_Tracer_mag_NameShort"; displayNameShort = CSTRING(10Rnd_762x54_Tracer_mag_NameShort);
descriptionShort = "$STR_ACE_10Rnd_762x54_Tracer_mag_Description"; descriptionShort = CSTRING(10Rnd_762x54_Tracer_mag_Description);
initSpeed = 800; initSpeed = 800;
tracersEvery = 1; tracersEvery = 1;
}; };

View File

@ -190,7 +190,7 @@ class CfgVehicles {
class ACE_Box_Ammo: NATO_Box_Base { class ACE_Box_Ammo: NATO_Box_Base {
scope = 2; scope = 2;
accuracy = 1000; accuracy = 1000;
displayName = "$STR_ACE_AmmoSupplyCrate_DisplayName"; displayName = CSTRING(AmmoSupplyCrate_DisplayName);
model = "\A3\weapons_F\AmmoBoxes\AmmoBox_F"; model = "\A3\weapons_F\AmmoBoxes\AmmoBox_F";
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
class TransportMagazines { class TransportMagazines {

View File

@ -4,7 +4,7 @@ class CfgVehicles {
class ACE_Actions { class ACE_Actions {
class ACE_ApplyHandcuffs { class ACE_ApplyHandcuffs {
displayName = "$STR_ACE_Captives_SetCaptive"; displayName = CSTRING(SetCaptive);
selection = "righthand"; selection = "righthand";
distance = 2; distance = 2;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canApplyHandcuffs)); condition = QUOTE([ARR_2(_player, _target)] call FUNC(canApplyHandcuffs));
@ -13,7 +13,7 @@ class CfgVehicles {
icon = QUOTE(PATHTOF(UI\handcuff_ca.paa)); icon = QUOTE(PATHTOF(UI\handcuff_ca.paa));
}; };
class ACE_RemoveHandcuffs { class ACE_RemoveHandcuffs {
displayName = "$STR_ACE_Captives_ReleaseCaptive"; displayName = CSTRING(ReleaseCaptive);
selection = "righthand"; selection = "righthand";
distance = 2; distance = 2;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canRemoveHandcuffs)); condition = QUOTE([ARR_2(_player, _target)] call FUNC(canRemoveHandcuffs));
@ -24,7 +24,7 @@ class CfgVehicles {
class ACE_MainActions { class ACE_MainActions {
class ACE_EscortCaptive { class ACE_EscortCaptive {
displayName = "$STR_ACE_Captives_EscortCaptive"; displayName = CSTRING(EscortCaptive);
distance = 4; distance = 4;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canEscortCaptive)); condition = QUOTE([ARR_2(_player, _target)] call FUNC(canEscortCaptive));
statement = QUOTE([ARR_3(_player, _target, true)] call FUNC(doEscortCaptive)); statement = QUOTE([ARR_3(_player, _target, true)] call FUNC(doEscortCaptive));
@ -35,7 +35,7 @@ class CfgVehicles {
hotkey = "E"; hotkey = "E";
}; };
class ACE_StopEscorting { class ACE_StopEscorting {
displayName = "$STR_ACE_Captives_StopEscorting"; displayName = CSTRING(StopEscorting);
distance = 4; distance = 4;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canStopEscorting)); condition = QUOTE([ARR_2(_player, _target)] call FUNC(canStopEscorting));
statement = QUOTE([ARR_3(_player,_target, false)] call FUNC(doEscortCaptive)); statement = QUOTE([ARR_3(_player,_target, false)] call FUNC(doEscortCaptive));
@ -46,7 +46,7 @@ class CfgVehicles {
hotkey = "E"; hotkey = "E";
}; };
class ACE_LoadCaptive { class ACE_LoadCaptive {
displayName = "$STR_ACE_Captives_LoadCaptive"; displayName = CSTRING(LoadCaptive);
distance = 4; distance = 4;
condition = QUOTE([ARR_3(_player, _target, objNull)] call FUNC(canLoadCaptive)); condition = QUOTE([ARR_3(_player, _target, objNull)] call FUNC(canLoadCaptive));
statement = QUOTE([ARR_3(_player, _target, objNull)] call FUNC(doLoadCaptive)); statement = QUOTE([ARR_3(_player, _target, objNull)] call FUNC(doLoadCaptive));
@ -57,7 +57,7 @@ class CfgVehicles {
hotkey = "L"; hotkey = "L";
}; };
class ACE_FriskPerson { class ACE_FriskPerson {
displayName = "$STR_ACE_Captives_FriskPerson"; displayName = CSTRING(FriskPerson);
distance = 2; distance = 2;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canFriskPerson)); condition = QUOTE([ARR_2(_player, _target)] call FUNC(canFriskPerson));
statement = QUOTE([ARR_2(_player, _target)] call FUNC(doFriskPerson)); statement = QUOTE([ARR_2(_player, _target)] call FUNC(doFriskPerson));
@ -71,7 +71,7 @@ class CfgVehicles {
class ACE_SelfActions { class ACE_SelfActions {
class ACE_StopEscortingSelf { class ACE_StopEscortingSelf {
displayName = "$STR_ACE_Captives_StopEscorting"; displayName = CSTRING(StopEscorting);
condition = QUOTE([ARR_2(_player, objNull)] call FUNC(canStopEscorting)); condition = QUOTE([ARR_2(_player, objNull)] call FUNC(canStopEscorting));
statement = QUOTE([ARR_3(_player,objNull, false)] call FUNC(doEscortCaptive)); statement = QUOTE([ARR_3(_player,objNull, false)] call FUNC(doEscortCaptive));
exceptions[] = {"isNotEscorting"}; exceptions[] = {"isNotEscorting"};
@ -80,7 +80,7 @@ class CfgVehicles {
hotkey = "C"; hotkey = "C";
}; };
class ACE_StartSurrenderingSelf { class ACE_StartSurrenderingSelf {
displayName = "$STR_ACE_Captives_StartSurrendering"; displayName = CSTRING(StartSurrendering);
condition = QUOTE([ARR_2(_player, true)] call FUNC(canSurrender)); condition = QUOTE([ARR_2(_player, true)] call FUNC(canSurrender));
statement = QUOTE([ARR_2(_player, true)] call FUNC(setSurrendered)); statement = QUOTE([ARR_2(_player, true)] call FUNC(setSurrendered));
exceptions[] = {}; exceptions[] = {};
@ -88,7 +88,7 @@ class CfgVehicles {
priority = 0; priority = 0;
}; };
class ACE_StopSurrenderingSelf { class ACE_StopSurrenderingSelf {
displayName = "$STR_ACE_Captives_StopSurrendering"; displayName = CSTRING(StopSurrendering);
condition = QUOTE([ARR_2(_player, false)] call FUNC(canSurrender)); condition = QUOTE([ARR_2(_player, false)] call FUNC(canSurrender));
statement = QUOTE([ARR_2(_player, false)] call FUNC(setSurrendered)); statement = QUOTE([ARR_2(_player, false)] call FUNC(setSurrendered));
exceptions[] = {"isNotSurrendering"}; exceptions[] = {"isNotSurrendering"};
@ -102,7 +102,7 @@ class CfgVehicles {
class ACE_Actions { \ class ACE_Actions { \
class ACE_MainActions { \ class ACE_MainActions { \
class GVAR(LoadCaptive) { \ class GVAR(LoadCaptive) { \
displayName = "$STR_ACE_Captives_LoadCaptive"; \ displayName = CSTRING(LoadCaptive); \
distance = 4; \ distance = 4; \
condition = QUOTE([ARR_3(_player, objNull, _target)] call FUNC(canLoadCaptive)); \ condition = QUOTE([ARR_3(_player, objNull, _target)] call FUNC(canLoadCaptive)); \
statement = QUOTE([ARR_3(_player, objNull, _target)] call FUNC(doLoadCaptive)); \ statement = QUOTE([ARR_3(_player, objNull, _target)] call FUNC(doLoadCaptive)); \
@ -110,7 +110,7 @@ class CfgVehicles {
priority = 1.2; \ priority = 1.2; \
}; \ }; \
class GVAR(UnloadCaptive) { \ class GVAR(UnloadCaptive) { \
displayName = "$STR_ACE_Captives_UnloadCaptive"; \ displayName = CSTRING(UnloadCaptive); \
distance = 4; \ distance = 4; \
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canUnloadCaptive)); \ condition = QUOTE([ARR_2(_player, _target)] call FUNC(canUnloadCaptive)); \
statement = QUOTE([ARR_2(_player, _target)] call FUNC(doUnloadCaptive)); \ statement = QUOTE([ARR_2(_player, _target)] call FUNC(doUnloadCaptive)); \
@ -161,7 +161,7 @@ class CfgVehicles {
class GVAR(ModuleSurrender): Module_F { class GVAR(ModuleSurrender): Module_F {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
category = "ACE"; category = "ACE";
displayName = "$STR_ACE_Captives_ModuleSurrender_DisplayName"; //Make Unit Surrender displayName = CSTRING(ModuleSurrender_DisplayName); //Make Unit Surrender
function = QUOTE(DFUNC(moduleSurrender)); function = QUOTE(DFUNC(moduleSurrender));
scope = 2; //show in editor scope = 2; //show in editor
scopeCurator = 2; //show in zeus scopeCurator = 2; //show in zeus
@ -172,7 +172,7 @@ class CfgVehicles {
functionPriority = 0; functionPriority = 0;
class Arguments {}; class Arguments {};
class ModuleDescription: ModuleDescription { class ModuleDescription: ModuleDescription {
description = "$STR_ACE_Captives_ModuleSurrender_Description"; //Sync a unit to make them surrender.<br/>Source: ace_captives description = CSTRING(ModuleSurrender_Description); //Sync a unit to make them surrender.<br/>Source: ace_captives
sync[] = {"AnyAI"}; sync[] = {"AnyAI"};
}; };
}; };

View File

@ -3,8 +3,8 @@ class CfgWeapons {
class InventoryItem_Base_F; class InventoryItem_Base_F;
class ACE_CableTie: ACE_ItemCore { class ACE_CableTie: ACE_ItemCore {
displayName = "$STR_ACE_Captives_CableTie"; displayName = CSTRING(CableTie);
descriptionShort = "$STR_ACE_Captives_CableTieDescription"; descriptionShort = CSTRING(CableTieDescription);
model = QUOTE(PATHTOF(models\ace_cabletie.p3d)); model = QUOTE(PATHTOF(models\ace_cabletie.p3d));
picture = QUOTE(PATHTOF(UI\ace_cabletie_ca.paa)); picture = QUOTE(PATHTOF(UI\ace_cabletie_ca.paa));
scope = 2; scope = 2;

View File

@ -30,7 +30,7 @@ if (_state) then {
_unit setVariable [QGVAR(escortedUnit), _target, true]; _unit setVariable [QGVAR(escortedUnit), _target, true];
//Add Actionmenu to release captive //Add Actionmenu to release captive
_actionID = _unit addAction [format ["<t color='#FF0000'>%1</t>", localize "STR_ACE_Captives_StopEscorting"], _actionID = _unit addAction [format ["<t color='#FF0000'>%1</t>", localize STRING(StopEscorting)],
{[(_this select 0), ((_this select 0) getVariable [QGVAR(escortedUnit), objNull]), false] call FUNC(doEscortCaptive);}, {[(_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)))]; nil, 20, false, true, "", QUOTE(!isNull (GETVAR(_target,QGVAR(escortedUnit),objNull)))];

View File

@ -27,7 +27,7 @@ if (_weapon == primaryWeapon _player && {_weapon != ""}) then {
_listedItemClasses = []; _listedItemClasses = [];
_actions = [localize "STR_ACE_Captives_FriskMenuHeader", ""] call ACE_Interaction_fnc_prepareSelectMenu; _actions = [localize STRING(FriskMenuHeader), ""] call ACE_Interaction_fnc_prepareSelectMenu;
_allGear = []; _allGear = [];

View File

@ -36,13 +36,13 @@ if (local _logic) then {
["SetSurrendered", [_mouseOverObject], [_mouseOverObject, false]] call EFUNC(common,targetEvent); ["SetSurrendered", [_mouseOverObject], [_mouseOverObject, false]] call EFUNC(common,targetEvent);
}; };
} else { } else {
["STR_ACE_Captives_Zeus_OnlyAlive"] call EFUNC(common,displayTextStructured); [STRING(Zeus_OnlyAlive)] call EFUNC(common,displayTextStructured);
}; };
} else { } else {
["STR_ACE_Captives_Zeus_OnlyInfantry"] call EFUNC(common,displayTextStructured); [STRING(Zeus_OnlyInfantry)] call EFUNC(common,displayTextStructured);
}; };
} else { } else {
["STR_ACE_Captives_Zeus_NothingSelected"] call EFUNC(common,displayTextStructured); [STRING(Zeus_NothingSelected)] call EFUNC(common,displayTextStructured);
}; };
} else { } else {
//an editor module //an editor module

View File

@ -2,13 +2,13 @@
class CfgUnitInsignia { class CfgUnitInsignia {
class ACE_insignia_logo { class ACE_insignia_logo {
displayName = "ACE3"; displayName = "ACE3";
author = "$STR_ACE_Common_ACETeam"; author = CSTRING(ACETeam);
texture = PATHTOF(data\Insignia_ace3logo_ca.paa); texture = PATHTOF(data\Insignia_ace3logo_ca.paa);
textureVehicle = ""; textureVehicle = "";
}; };
class ACE_insignia_banana { class ACE_insignia_banana {
displayName = "ABE3"; displayName = "ABE3";
author = "$STR_ACE_Common_ACETeam"; author = CSTRING(ACETeam);
texture = PATHTOF(data\insignia_banana_ca.paa); texture = PATHTOF(data\insignia_banana_ca.paa);
textureVehicle = ""; textureVehicle = "";
}; };

View File

@ -30,42 +30,42 @@ class CfgVehicles {
class ModuleDescription {}; class ModuleDescription {};
}; };
class ACE_ModuleCheckPBOs: Module_F { class ACE_ModuleCheckPBOs: Module_F {
author = "$STR_ACE_Common_ACETeam"; author = CSTRING(ACETeam);
category = "ACE"; category = "ACE";
displayName = "$STR_ACE_Common_CheckPBO_DisplayName"; displayName = CSTRING(CheckPBO_DisplayName);
function = QFUNC(moduleCheckPBOs); function = QFUNC(moduleCheckPBOs);
scope = 2; scope = 2;
isGlobal = 1; isGlobal = 1;
icon = QUOTE(PATHTOF(UI\Icon_Module_CheckPBO_ca.paa)); icon = QUOTE(PATHTOF(UI\Icon_Module_CheckPBO_ca.paa));
class Arguments { class Arguments {
class Action { class Action {
displayName = "$STR_ACE_Common_CheckPBO_Action_DisplayName"; displayName = CSTRING(CheckPBO_Action_DisplayName);
description = "$STR_ACE_Common_CheckPBO_Action_Description"; description = CSTRING(CheckPBO_Action_Description);
class values { class values {
class WarnOnce { class WarnOnce {
default = 1; default = 1;
name = "$STR_ACE_Common_CheckPBO_Action_WarnOnce"; name = CSTRING(CheckPBO_Action_WarnOnce);
value = 0; value = 0;
}; };
class Warn { class Warn {
name = "$STR_ACE_Common_CheckPBO_Action_WarnPerm"; name = CSTRING(CheckPBO_Action_WarnPerm);
value = 1; value = 1;
}; };
class Kick { class Kick {
name = "$STR_ACE_Common_CheckPBO_Action_Kick"; name = CSTRING(CheckPBO_Action_Kick);
value = 2; value = 2;
}; };
}; };
}; };
class CheckAll { class CheckAll {
displayName = "$STR_ACE_Common_CheckPBO_CheckAll_DisplayName"; displayName = CSTRING(CheckPBO_CheckAll_DisplayName);
description = "$STR_ACE_Common_CheckPBO_CheckAll_Description"; description = CSTRING(CheckPBO_CheckAll_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 0; defaultValue = 0;
}; };
class Whitelist { class Whitelist {
displayName = "$STR_ACE_Common_CheckPBO_Whitelist_DisplayName"; displayName = CSTRING(CheckPBO_Whitelist_DisplayName);
description = "$STR_ACE_Common_CheckPBO_Whitelist_Description"; description = CSTRING(CheckPBO_Whitelist_Description);
typeName = "STRING"; typeName = "STRING";
class values { class values {
default = "[]"; default = "[]";
@ -73,14 +73,14 @@ class CfgVehicles {
}; };
}; };
class ModuleDescription: ModuleDescription { class ModuleDescription: ModuleDescription {
description = "$STR_ACE_Common_CheckPBO_Description"; description = CSTRING(CheckPBO_Description);
}; };
}; };
class ACE_ModuleLSDVehicles: Module_F { class ACE_ModuleLSDVehicles: Module_F {
author = "$STR_ACE_Common_ACETeam"; author = CSTRING(ACETeam);
category = "ACE"; category = "ACE";
displayName = "$STR_ACE_Common_LSDVehicles_DisplayName"; displayName = CSTRING(LSDVehicles_DisplayName);
function = "ACE_Common_fnc_moduleLSDVehicles"; function = "ACE_Common_fnc_moduleLSDVehicles";
scope = 2; scope = 2;
icon = QUOTE(PATHTOF(UI\Icon_Module_LSD_ca.paa)); icon = QUOTE(PATHTOF(UI\Icon_Module_LSD_ca.paa));
@ -88,15 +88,15 @@ class CfgVehicles {
class Arguments { class Arguments {
}; };
class ModuleDescription: ModuleDescription { class ModuleDescription: ModuleDescription {
description = "$STR_ACE_Common_LSDVehicles_Description"; description = CSTRING(LSDVehicles_Description);
sync[] = {"AnyVehicle"}; sync[] = {"AnyVehicle"};
}; };
}; };
class Box_NATO_Support_F; class Box_NATO_Support_F;
class ACE_Box_Misc: Box_NATO_Support_F { class ACE_Box_Misc: Box_NATO_Support_F {
author = "$STR_ACE_Common_ACETeam"; author = CSTRING(ACETeam);
displayName = "$STR_ACE_Common_MiscItems"; displayName = CSTRING(MiscItems);
transportMaxWeapons = 9001; transportMaxWeapons = 9001;
transportMaxMagazines = 9001; transportMaxMagazines = 9001;
transportMaxItems = 9001; transportMaxItems = 9001;
@ -112,8 +112,8 @@ class CfgVehicles {
class ACE_bananaItem: Item_Base_F { class ACE_bananaItem: Item_Base_F {
scope = 2; scope = 2;
scopeCurator = 2; scopeCurator = 2;
displayName = "$STR_ACE_Common_bananaDisplayName"; displayName = CSTRING(bananaDisplayName);
author = "$STR_ACE_Common_ACETeam"; author = CSTRING(ACETeam);
vehicleClass = "Items"; vehicleClass = "Items";
class TransportItems class TransportItems
{ {

View File

@ -209,7 +209,7 @@ class ACE_RadioProtocolNoRadio: RadioProtocolBase {
class CfgVoice { class CfgVoice {
class ACE_NoVoice { class ACE_NoVoice {
author = "$STR_ACE_Common_ACETeam"; author = CSTRING(ACETeam);
protocol = "ACE_RadioProtocolNoRadio"; protocol = "ACE_RadioProtocolNoRadio";
variants[] = {1}; variants[] = {1};
directories[] = {"",""}; directories[] = {"",""};
@ -217,13 +217,13 @@ class CfgVoice {
scope = 2; scope = 2;
voiceType = ""; voiceType = "";
icon = "\a3\Ui_f\data\Map\Markers\Flags\nato_ca.paa"; icon = "\a3\Ui_f\data\Map\Markers\Flags\nato_ca.paa";
displayName = "$STR_ACE_Common_NoVoice"; displayName = CSTRING(NoVoice);
}; };
}; };
class CfgVoiceTypes { class CfgVoiceTypes {
class ACE_NoVoice { class ACE_NoVoice {
name = "$STR_ACE_Common_NoVoice"; name = CSTRING(NoVoice);
voices[] = {"ACE_NoVoice","ACE_NoVoice","ACE_NoVoice"}; voices[] = {"ACE_NoVoice","ACE_NoVoice","ACE_NoVoice"};
preview = "ACE_NoVoice"; preview = "ACE_NoVoice";
alternative = ""; alternative = "";

View File

@ -30,10 +30,10 @@ class CfgWeapons {
class InventoryItem_Base_F; class InventoryItem_Base_F;
class ACE_Banana: ACE_ItemCore { class ACE_Banana: ACE_ItemCore {
author = "$STR_ACE_Common_ACETeam"; author = CSTRING(ACETeam);
scope = 2; scope = 2;
displayName = "$STR_ACE_Common_bananaDisplayName"; displayName = CSTRING(bananaDisplayName);
descriptionShort = "$STR_ACE_Common_bananaDescr"; descriptionShort = CSTRING(bananaDescr);
model = PATHTOF(data\banana.p3d); model = PATHTOF(data\banana.p3d);
picture = PATHTOF(data\icon_banana_ca.paa); picture = PATHTOF(data\icon_banana_ca.paa);
icon = "iconObject_circle"; icon = "iconObject_circle";

View File

@ -74,10 +74,10 @@ class ACE_Settings {
* *
* The following settings only apply when isClientSettable == 1 * The following settings only apply when isClientSettable == 1
* Stringtable entry with the setting name * Stringtable entry with the setting name
* displayName = "$STR_ACE_Common_SettingName"; * displayName = CSTRING(SettingName);
* *
* Stringtable entry with the setting description * Stringtable entry with the setting description
* description = "$STR_ACE_Common_SettingDescription"; * description = CSTRING(SettingDescription);
* *
* Stringtable entries that describe the options * Stringtable entries that describe the options
* Only applies if typeName == "SCALAR"; * Only applies if typeName == "SCALAR";
@ -92,15 +92,15 @@ class ACE_Settings {
value = 1; value = 1;
typeName = "BOOL"; typeName = "BOOL";
isClientSettable = 1; isClientSettable = 1;
displayName = "$STR_ACE_Common_EnableNumberHotkeys"; displayName = CSTRING(EnableNumberHotkeys);
};*/ };*/
class GVAR(settingFeedbackIcons) { class GVAR(settingFeedbackIcons) {
value = 1; value = 1;
typeName = "SCALAR"; typeName = "SCALAR";
force = 0; force = 0;
isClientSettable = 1; isClientSettable = 1;
displayName = "$STR_ACE_Common_SettingFeedbackIconsName"; displayName = CSTRING(SettingFeedbackIconsName);
description = "$STR_ACE_Common_SettingFeedbackIconsDesc"; description = CSTRING(SettingFeedbackIconsDesc);
values[] = {"$STR_ACE_Common_Hide", "$STR_ACE_Common_TopRightDown", "$STR_ACE_Common_TopRightLeft", "$STR_ACE_Common_TopLeftDown", "$STR_ACE_Common_TopLeftRight"}; values[] = {"$STR_ACE_Common_Hide", "$STR_ACE_Common_TopRightDown", "$STR_ACE_Common_TopRightLeft", "$STR_ACE_Common_TopLeftDown", "$STR_ACE_Common_TopLeftRight"};
}; };
class GVAR(SettingProgressBarLocation) { class GVAR(SettingProgressBarLocation) {
@ -108,23 +108,23 @@ class ACE_Settings {
typeName = "SCALAR"; typeName = "SCALAR";
force = 0; force = 0;
isClientSettable = 1; isClientSettable = 1;
displayName = "$STR_ACE_Common_SettingProgressbarLocationName"; displayName = CSTRING(SettingProgressbarLocationName);
description = "$STR_ACE_Common_SettingProgressbarLocationDesc"; description = CSTRING(SettingProgressbarLocationDesc);
values[] = {"$STR_ACE_Common_Top", "$STR_ACE_Common_Bottom"}; values[] = {"$STR_ACE_Common_Top", "$STR_ACE_Common_Bottom"};
}; };
class GVAR(displayTextColor) { class GVAR(displayTextColor) {
value[] = {0,0,0,0.1}; value[] = {0,0,0,0.1};
typeName = "COLOR"; typeName = "COLOR";
isClientSettable = 1; isClientSettable = 1;
displayName = "$STR_ACE_Common_SettingDisplayTextColorName"; displayName = CSTRING(SettingDisplayTextColorName);
description = "$STR_ACE_Common_SettingDisplayTextColorDesc"; description = CSTRING(SettingDisplayTextColorDesc);
}; };
class GVAR(displayTextFontColor) { class GVAR(displayTextFontColor) {
value[] = {1,1,1,1}; value[] = {1,1,1,1};
typeName = "COLOR"; typeName = "COLOR";
isClientSettable = 1; isClientSettable = 1;
displayName = "$STR_ACE_Common_SettingDisplayTextFontColorName"; displayName = CSTRING(SettingDisplayTextFontColorName);
description = "$STR_ACE_Common_SettingDisplayTextFontColorDesc"; description = CSTRING(SettingDisplayTextFontColorDesc);
}; };
}; };

View File

@ -4,7 +4,7 @@ class CfgVehicles {
class ACE_Actions { class ACE_Actions {
class ACE_MainActions { class ACE_MainActions {
class ACE_DisarmInventory { class ACE_DisarmInventory {
displayName = "$STR_ACE_Disarming_OpenInventory"; displayName = CSTRING(OpenInventory);
distance = 3.5; distance = 3.5;
condition = QUOTE([ARR_2(_player,_target)] call FUNC(canPlayerDisarmUnit)); condition = QUOTE([ARR_2(_player,_target)] call FUNC(canPlayerDisarmUnit));
statement = QUOTE([ARR_2(_player,_target)] call FUNC(openDisarmDialog)); statement = QUOTE([ARR_2(_player,_target)] call FUNC(openDisarmDialog));

View File

@ -4,7 +4,7 @@ class CfgMagazines {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
scope = 1; scope = 1;
scopeArsenal = 1; scopeArsenal = 1;
displayName = "$STR_ACE_Disposable_PreloadedMissileDummy"; displayName = CSTRING(PreloadedMissileDummy);
picture = PATHTOEF(common,UI\blank_CO.paa); picture = PATHTOEF(common,UI\blank_CO.paa);
weaponPoolAvailable = 0; weaponPoolAvailable = 0;
mass = 0; mass = 0;
@ -14,8 +14,8 @@ class CfgMagazines {
}; };
class ACE_UsedTube_F: NLAW_F { class ACE_UsedTube_F: NLAW_F {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
displayName = "$STR_ACE_Disposable_UsedTube"; displayName = CSTRING(UsedTube);
descriptionShort = "$STR_ACE_Disposable_UsedTubeDescription"; descriptionShort = CSTRING(UsedTubeDescription);
displayNameShort = "-"; displayNameShort = "-";
count = 0; count = 0;
weaponPoolAvailable = 0; weaponPoolAvailable = 0;

View File

@ -8,8 +8,8 @@ class CfgWeapons {
scope = 1; scope = 1;
ACE_isUsedLauncher = 1; ACE_isUsedLauncher = 1;
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
displayName = "$STR_ACE_Disposable_UsedTube"; displayName = CSTRING(UsedTube);
descriptionShort = "$STR_ACE_Disposable_UsedTubeDescription"; descriptionShort = CSTRING(UsedTubeDescription);
magazines[] = {"ACE_FiredMissileDummy"}; // This will disable the used launcher class from being fired again. magazines[] = {"ACE_FiredMissileDummy"}; // This will disable the used launcher class from being fired again.
//picture = ""; @todo //picture = ""; @todo
//model = ""; @todo //model = ""; @todo

View File

@ -58,7 +58,7 @@ if (_actionID != -1) then {
}; };
_actionID = _unit addAction [ _actionID = _unit addAction [
format ["<t color='#FF0000'>%1</t>", localize "STR_ACE_Dragging_Drop"], format ["<t color='#FF0000'>%1</t>", localize STRING(Drop)],
QUOTE([ARR_2(_this select 0, (_this select 0) getVariable [ARR_2(QUOTE(QGVAR(carriedObject)),objNull)])] call FUNC(dropObject_carry)), QUOTE([ARR_2(_this select 0, (_this select 0) getVariable [ARR_2(QUOTE(QGVAR(carriedObject)),objNull)])] call FUNC(dropObject_carry)),
nil, nil,
20, 20,

View File

@ -49,7 +49,7 @@ if (_actionID != -1) then {
}; };
_actionID = _unit addAction [ _actionID = _unit addAction [
format ["<t color='#FF0000'>%1</t>", localize "STR_ACE_Dragging_Drop"], format ["<t color='#FF0000'>%1</t>", localize STRING(Drop)],
QUOTE([ARR_2(_this select 0, (_this select 0) getVariable [ARR_2(QUOTE(QGVAR(draggedObject)),objNull)])] call FUNC(dropObject)), QUOTE([ARR_2(_this select 0, (_this select 0) getVariable [ARR_2(QUOTE(QGVAR(draggedObject)),objNull)])] call FUNC(dropObject)),
nil, nil,
20, 20,

View File

@ -49,8 +49,8 @@ if (_type in _initializedClasses) exitWith {};
_initializedClasses pushBack _type; _initializedClasses pushBack _type;
GVAR(initializedClasses_carry) = _initializedClasses; 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); _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 "STR_ACE_Dragging_Drop", "", {[_player, _target] call FUNC(dropObject_carry)}, {[_player, _target] call FUNC(canDrop_carry)}] 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, ["ACE_MainActions"], _carryAction] call EFUNC(interact_menu,addActionToClass);
[_type, 0, [], _dropAction] call EFUNC(interact_menu,addActionToClass); [_type, 0, [], _dropAction] call EFUNC(interact_menu,addActionToClass);

View File

@ -49,8 +49,8 @@ if (_type in _initializedClasses) exitWith {};
_initializedClasses pushBack _type; _initializedClasses pushBack _type;
GVAR(initializedClasses) = _initializedClasses; 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); _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 "STR_ACE_Dragging_Drop", "", {[_player, _target] call FUNC(dropObject)}, {[_player, _target] call FUNC(canDrop)}] 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, ["ACE_MainActions"], _dragAction] call EFUNC(interact_menu,addActionToClass);
[_type, 0, [], _dropAction] call EFUNC(interact_menu,addActionToClass); [_type, 0, [], _dropAction] call EFUNC(interact_menu,addActionToClass);

View File

@ -22,7 +22,7 @@ private "_weight";
_weight = [_target] call FUNC(getWeight); _weight = [_target] call FUNC(getWeight);
if (_weight > GETMVAR(ACE_maxWeightCarry,1E11)) exitWith { 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"; private "_timer";

View File

@ -22,7 +22,7 @@ private "_weight";
_weight = [_target] call FUNC(getWeight); _weight = [_target] call FUNC(getWeight);
if (_weight > GETMVAR(ACE_maxWeightDrag,1E11)) exitWith { 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. // add a primary weapon if the unit has none.

View File

@ -5,26 +5,26 @@ class Module_F: Logic {
class ACE_ModuleExplosive: Module_F { class ACE_ModuleExplosive: Module_F {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
category = "ACE"; category = "ACE";
displayName = "$STR_ACE_Explosive_Module_DisplayName"; displayName = CSTRING(Module_DisplayName);
function = QUOTE(FUNC(module)); function = QUOTE(FUNC(module));
scope = 2; scope = 2;
isGlobal = 1; isGlobal = 1;
icon = PATHTOF(UI\Icon_Module_Explosives_ca.paa); icon = PATHTOF(UI\Icon_Module_Explosives_ca.paa);
class Arguments { class Arguments {
class RequireSpecialist { class RequireSpecialist {
displayName = "$STR_ACE_Explosive_RequireSpecialist_DisplayName"; displayName = CSTRING(RequireSpecialist_DisplayName);
description = "$STR_ACE_Explosive_RequireSpecialist_Description"; description = CSTRING(RequireSpecialist_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 0; defaultValue = 0;
}; };
class PunishNonSpecialists { class PunishNonSpecialists {
displayName = "$STR_ACE_Explosive_PunishNonSpecialists_DisplayName"; displayName = CSTRING(PunishNonSpecialists_DisplayName);
description = "$STR_ACE_Explosive_PunishNonSpecialists_Description"; description = CSTRING(PunishNonSpecialists_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 1; defaultValue = 1;
}; };
}; };
class ModuleDescription: ModuleDescription { class ModuleDescription: ModuleDescription {
description = "$STR_ACE_Explosive_Module_Description"; description = CSTRING(Module_Description);
}; };
}; };

View File

@ -97,7 +97,7 @@ class CfgVehicles {
condition = "true"; condition = "true";
class ACE_SetTrigger { class ACE_SetTrigger {
selection = ""; selection = "";
displayName = "$STR_ACE_Explosives_TriggerMenu"; displayName = CSTRING(TriggerMenu);
distance = 4; distance = 4;
condition = "true"; condition = "true";
statement = ""; statement = "";
@ -109,7 +109,7 @@ class CfgVehicles {
}; };
class ACE_PickUp { class ACE_PickUp {
selection = ""; selection = "";
displayName = "$STR_ACE_Explosives_Pickup"; displayName = CSTRING(Pickup);
distance = 4; distance = 4;
condition = "true"; condition = "true";
statement = QUOTE([ARR_2(_player,_target getVariable QUOTE(QGVAR(class)))] call EFUNC(common,addToInventory);deleteVehicle _target;); statement = QUOTE([ARR_2(_player,_target getVariable QUOTE(QGVAR(class)))] call EFUNC(common,addToInventory);deleteVehicle _target;);

View File

@ -215,7 +215,7 @@ class Rsc_ACE_PhoneInterface {
y = 0.676 * safezoneH + safezoneY; y = 0.676 * safezoneH + safezoneY;
w = 0.0309375 * safezoneW; w = 0.0309375 * safezoneW;
h = 0.033 * safezoneH; 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);); action = QUOTE([ARR_2(ctrlText 1401,ctrlText 1400)] call FUNC(addToSpeedDial););
}; };
class clear: Rsc_ACE_HiddenButton { class clear: Rsc_ACE_HiddenButton {
@ -224,7 +224,7 @@ class Rsc_ACE_PhoneInterface {
y = 0.445 * safezoneH + safezoneY; y = 0.445 * safezoneH + safezoneY;
w = 0.020625 * safezoneW; w = 0.020625 * safezoneW;
h = 0.033 * safezoneH; 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,'')];); action = QUOTE(ctrlSetText [ARR_2(1400,'')];[ctrlText 1401] call FUNC(removeFromSpeedDial);ctrlSetText [ARR_2(1401,'')];);
}; };
class dial: Rsc_ACE_HiddenButton { class dial: Rsc_ACE_HiddenButton {
@ -233,7 +233,7 @@ class Rsc_ACE_PhoneInterface {
y = 0.445 * safezoneH + safezoneY; y = 0.445 * safezoneH + safezoneY;
w = 0.04125 * safezoneW; w = 0.04125 * safezoneW;
h = 0.033 * safezoneH; 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);); action = QUOTE([ARR_2(ace_player,ctrlText 1400)] call FUNC(dialPhone););
}; };
class up: Rsc_ACE_HiddenButton { class up: Rsc_ACE_HiddenButton {
@ -242,7 +242,7 @@ class Rsc_ACE_PhoneInterface {
y = 0.445 * safezoneH + safezoneY; y = 0.445 * safezoneH + safezoneY;
w = 0.020625 * safezoneW; w = 0.020625 * safezoneW;
h = 0.033 * safezoneH; h = 0.033 * safezoneH;
tooltip = "$STR_ACE_Explosives_Phone_Up"; tooltip = CSTRING(Phone_Up);
action = QUOTE([true] call FUNC(setSpeedDial)); action = QUOTE([true] call FUNC(setSpeedDial));
}; };
class down: Rsc_ACE_HiddenButton { class down: Rsc_ACE_HiddenButton {
@ -251,7 +251,7 @@ class Rsc_ACE_PhoneInterface {
y = 0.485 * safezoneH + safezoneY; y = 0.485 * safezoneH + safezoneY;
w = 0.020625 * safezoneW; w = 0.020625 * safezoneW;
h = 0.033 * safezoneH; h = 0.033 * safezoneH;
tooltip = "$STR_ACE_Explosives_Phone_Down"; tooltip = CSTRING(Phone_Down);
action = QUOTE([false] call FUNC(setSpeedDial)); action = QUOTE([false] call FUNC(setSpeedDial));
}; };
class speedDial_Text: RscText { class speedDial_Text: RscText {

View File

@ -37,8 +37,8 @@ _config = ConfigFile >> "CfgMagazines" >> _magazineClass >> "ACE_Triggers" >> co
_clacker = _unit getVariable [QGVAR(Clackers), []]; _clacker = _unit getVariable [QGVAR(Clackers), []];
GVAR(PlacedCount) = GVAR(PlacedCount) + 1; 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))]; GVAR(PlacedCount)], _magazineClass, configName ((_this select 3) select (count (_this select 3) - 1))];
_unit setVariable [QGVAR(Clackers), _clacker, true]; _unit setVariable [QGVAR(Clackers), _clacker, true];
_unit sideChat format [localize "STR_ACE_Explosives_DetonateCode", GVAR(PlacedCount)]; _unit sideChat format [localize STRING(DetonateCode), GVAR(PlacedCount)];

View File

@ -38,4 +38,4 @@ DFUNC(SetTimer) = {
buttonSetAction [8860, QUOTE(call DFUNC(SetTimer);)]; buttonSetAction [8860, QUOTE(call DFUNC(SetTimer);)];
buttonSetAction [8855, QUOTE(closeDialog 0;)]; buttonSetAction [8855, QUOTE(closeDialog 0;)];
ctrlSetText [8870, format[localize "STR_ACE_Explosives_TimerMenu",0, 30]]; ctrlSetText [8870, format[localize STRING(TimerMenu),0, 30]];

View File

@ -41,8 +41,8 @@ GVAR(TweakedAngle) = 180;
}; };
}] call CALLSTACK(BIS_fnc_addStackedEventHandler); }] call CALLSTACK(BIS_fnc_addStackedEventHandler);
[localize "STR_ACE_Explosives_PlaceAction", localize "STR_ACE_Explosives_CancelAction", [localize STRING(PlaceAction), localize STRING(CancelAction),
localize "STR_ACE_Explosives_ScrollAction"] call EFUNC(interaction,showMouseHint); localize STRING(ScrollAction)] call EFUNC(interaction,showMouseHint);
_unit setVariable [QGVAR(Place), [_unit, "DefaultAction", _unit setVariable [QGVAR(Place), [_unit, "DefaultAction",
{GVAR(pfeh_running) AND !isNull (GVAR(Setup))}, {call FUNC(place_Approve);}] call EFUNC(common,AddActionEventHandler)]; {GVAR(pfeh_running) AND !isNull (GVAR(Setup))}, {call FUNC(place_Approve);}] call EFUNC(common,AddActionEventHandler)];
_unit setVariable [QGVAR(Cancel), [_unit, "zoomtemp", _unit setVariable [QGVAR(Cancel), [_unit, "zoomtemp",

View File

@ -59,6 +59,6 @@ if (ACE_player != _unit) then {
_isEOD = [_unit] call EFUNC(Common,isEOD); _isEOD = [_unit] call EFUNC(Common,isEOD);
_defuseTime = [_isEOD, _target] call _fnc_DefuseTime; _defuseTime = [_isEOD, _target] call _fnc_DefuseTime;
if (_isEOD || {!GVAR(RequireSpecialist)}) then { 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);
}; };
}; };

View File

@ -208,5 +208,5 @@ if(_playSound) then {
}; };
if(_showHint) 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);
}; };

View File

@ -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(Elevation), _turret], 0] call EFUNC(common,setVariablePublic);
[_vehicle, format ["%1_%2", QGVAR(Azimuth), _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);

View File

@ -1,6 +1,6 @@
// by commy2 // by commy2
["ACE3 Vehicles", QGVAR(lazeTarget), localize "STR_ACE_FCS_LaseTarget", ["ACE3 Vehicles", QGVAR(lazeTarget), localize STRING(LaseTarget),
{ {
// Conditions: canInteract // Conditions: canInteract
if !([ACE_player, vehicle ACE_player, []] call EFUNC(common,canInteractWith)) exitWith {false}; 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 [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 // Conditions: canInteract
if !([ACE_player, vehicle ACE_player, []] call EFUNC(common,canInteractWith)) exitWith {false}; if !([ACE_player, vehicle ACE_player, []] call EFUNC(common,canInteractWith)) exitWith {false};
@ -44,7 +44,7 @@
{false}, {false},
[201, [false, false, false]], false] call cba_fnc_addKeybind; //PageUp Key [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 // Conditions: canInteract
if !([ACE_player, vehicle ACE_player, []] call EFUNC(common,canInteractWith)) exitWith {false}; if !([ACE_player, vehicle ACE_player, []] call EFUNC(common,canInteractWith)) exitWith {false};

View File

@ -239,7 +239,7 @@ class CfgWeapons {
mFact = 1; mFact = 1;
tBody = 100; tBody = 100;
scope = 2; 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"; picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_h_ca.paa";
model = "\A3\weapons_f\acc\acca_mzls_H_F"; model = "\A3\weapons_f\acc\acca_mzls_H_F";
@ -285,7 +285,7 @@ class CfgWeapons {
class ACE_muzzle_mzls_B: ACE_muzzle_mzls_H { class ACE_muzzle_mzls_B: ACE_muzzle_mzls_H {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_muzzle_mzls_B"; _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"; picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_h_ca.paa";
model = "\A3\weapons_f\acc\acca_mzls_H_F"; model = "\A3\weapons_f\acc\acca_mzls_H_F";
@ -331,7 +331,7 @@ class CfgWeapons {
class ACE_muzzle_mzls_L: ACE_muzzle_mzls_H { class ACE_muzzle_mzls_L: ACE_muzzle_mzls_H {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_muzzle_mzls_L"; _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"; picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_l_ca.paa";
model = "\A3\weapons_f\acc\acca_mzls_l_F"; 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 { class ACE_muzzle_mzls_smg_01: ACE_muzzle_mzls_H {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_muzzle_mzls_smg_01"; _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"; 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"; 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 { class ACE_muzzle_mzls_smg_02: ACE_muzzle_mzls_H {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_muzzle_mzls_smg_02"; _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"; 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"; 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 { class ACE_muzzle_mzls_338: ACE_muzzle_mzls_H {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_muzzle_mzls_338"; _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"; picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_h_ca.paa";
model = "\A3\weapons_f\acc\acca_mzls_H_F"; model = "\A3\weapons_f\acc\acca_mzls_H_F";
@ -515,7 +515,7 @@ class CfgWeapons {
class ACE_muzzle_mzls_93mmg: ACE_muzzle_mzls_H { class ACE_muzzle_mzls_93mmg: ACE_muzzle_mzls_H {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_muzzle_mzls_93mmg"; _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"; picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_h_ca.paa";
model = "\A3\weapons_f\acc\acca_mzls_H_F"; model = "\A3\weapons_f\acc\acca_mzls_H_F";

View File

@ -1,32 +1,32 @@
class ACE_Settings { class ACE_Settings {
class GVAR(Enabled) { class GVAR(Enabled) {
displayName = "$STR_ACE_frag_EnableFrag"; displayName = CSTRING(EnableFrag);
description = "$STR_ACE_frag_EnableFrag_Desc"; description = CSTRING(EnableFrag_Desc);
typeName = "BOOL"; typeName = "BOOL";
value = 1; value = 1;
}; };
class GVAR(SpallEnabled) { class GVAR(SpallEnabled) {
displayName = "$STR_ACE_frag_EnableSpall"; displayName = CSTRING(EnableSpall);
description = "$STR_ACE_frag_EnableSpall_Desc"; description = CSTRING(EnableSpall_Desc);
typeName = "BOOL"; typeName = "BOOL";
value = 0; value = 0;
}; };
class GVAR(maxTrack) { class GVAR(maxTrack) {
displayName = "$STR_ACE_frag_MaxTrack"; displayName = CSTRING(MaxTrack);
description = "$STR_ACE_frag_MaxTrack_Desc"; description = CSTRING(MaxTrack_Desc);
typeName = "SCALAR"; typeName = "SCALAR";
value = 500; value = 500;
}; };
class GVAR(MaxTrackPerFrame) { class GVAR(MaxTrackPerFrame) {
displayName = "$STR_ACE_frag_MaxTrackPerFrame"; displayName = CSTRING(MaxTrackPerFrame);
description = "$STR_ACE_frag_MaxTrackPerFrame_Desc"; description = CSTRING(MaxTrackPerFrame_Desc);
typeName = "SCALAR"; typeName = "SCALAR";
value = 50; value = 50;
}; };
class GVAR(EnableDebugTrace) { class GVAR(EnableDebugTrace) {
displayName = "$STR_ACE_frag_EnableDebugTrace"; displayName = CSTRING(EnableDebugTrace);
description = "$STR_ACE_frag_EnableDebugTrace_Desc"; description = CSTRING(EnableDebugTrace_Desc);
typeName = "BOOL"; typeName = "BOOL";
value = 0; value = 0;
}; };

View File

@ -3,6 +3,6 @@ class ACE_Settings {
value = 0; value = 0;
typeName = "BOOL"; typeName = "BOOL";
isClientSettable = 1; isClientSettable = 1;
displayName = "$STR_ACE_Goggles_ShowInThirdPerson"; displayName = CSTRING(ShowInThirdPerson);
}; };
}; };

View File

@ -17,7 +17,7 @@
#include "script_component.hpp" #include "script_component.hpp"
if (!hasInterface) exitWith {}; 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 { if (!(GETVAR(ace_player,ACE_isUnconscious,false))) exitWith {
call FUNC(clearGlasses); call FUNC(clearGlasses);

View File

@ -12,9 +12,9 @@ class CfgMagazines {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
scope = 2; scope = 2;
ammo = "ACE_F_Hand_White"; ammo = "ACE_F_Hand_White";
displayname = "$STR_ACE_Grenades_M127A1_White_Name"; displayname = CSTRING(M127A1_White_Name);
descriptionshort = "$STR_ACE_Grenades_M127A1_White_Description"; descriptionshort = CSTRING(M127A1_White_Description);
displayNameShort = "$STR_ACE_Grenades_M127A1_White_NameShort"; displayNameShort = CSTRING(M127A1_White_NameShort);
model = "\A3\weapons_f\ammo\flare_white"; model = "\A3\weapons_f\ammo\flare_white";
picture = "\A3\Weapons_F\Data\UI\gear_flare_white_ca.paa"; picture = "\A3\Weapons_F\Data\UI\gear_flare_white_ca.paa";
}; };
@ -22,9 +22,9 @@ class CfgMagazines {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
scope = 2; scope = 2;
ammo = "ACE_F_Hand_Red"; ammo = "ACE_F_Hand_Red";
displayname = "$STR_ACE_Grenades_M127A1_Red_Name"; displayname = CSTRING(M127A1_Red_Name);
descriptionshort = "$STR_ACE_Grenades_M127A1_Red_Description"; descriptionshort = CSTRING(M127A1_Red_Description);
displayNameShort = "$STR_ACE_Grenades_M127A1_Red_NameShort"; displayNameShort = CSTRING(M127A1_Red_NameShort);
model = "\A3\weapons_f\ammo\flare_red"; model = "\A3\weapons_f\ammo\flare_red";
picture = "\A3\Weapons_F\Data\UI\gear_flare_red_ca.paa"; picture = "\A3\Weapons_F\Data\UI\gear_flare_red_ca.paa";
}; };
@ -32,9 +32,9 @@ class CfgMagazines {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
scope = 2; scope = 2;
ammo = "ACE_F_Hand_Green"; ammo = "ACE_F_Hand_Green";
displayname = "$STR_ACE_Grenades_M127A1_Green_Name"; displayname = CSTRING(M127A1_Green_Name);
descriptionshort = "$STR_ACE_Grenades_M127A1_Green_Description"; descriptionshort = CSTRING(M127A1_Green_Description);
displayNameShort = "$STR_ACE_Grenades_M127A1_Green_NameShort"; displayNameShort = CSTRING(M127A1_Green_NameShort);
model = "\A3\weapons_f\ammo\flare_green"; model = "\A3\weapons_f\ammo\flare_green";
picture = "\A3\Weapons_F\Data\UI\gear_flare_green_ca.paa"; picture = "\A3\Weapons_F\Data\UI\gear_flare_green_ca.paa";
}; };
@ -42,17 +42,17 @@ class CfgMagazines {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
scope = 2; scope = 2;
ammo = "ACE_F_Hand_Yellow"; ammo = "ACE_F_Hand_Yellow";
displayname = "$STR_ACE_Grenades_M127A1_Yellow_Name"; displayname = CSTRING(M127A1_Yellow_Name);
descriptionshort = "$STR_ACE_Grenades_M127A1_Yellow_Description"; descriptionshort = CSTRING(M127A1_Yellow_Description);
displayNameShort = "$STR_ACE_Grenades_M127A1_Yellow_NameShort"; displayNameShort = CSTRING(M127A1_Yellow_NameShort);
model = "\A3\weapons_f\ammo\flare_yellow"; model = "\A3\weapons_f\ammo\flare_yellow";
picture = "\A3\Weapons_F\Data\UI\gear_flare_yellow_ca.paa"; picture = "\A3\Weapons_F\Data\UI\gear_flare_yellow_ca.paa";
}; };
class ACE_M84: HandGrenade { class ACE_M84: HandGrenade {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_G_M84"; ammo = "ACE_G_M84";
displayname = "$STR_ACE_Grenades_M84_Name"; displayname = CSTRING(M84_Name);
descriptionshort = "$STR_ACE_Grenades_M84_Description"; descriptionshort = CSTRING(M84_Description);
displayNameShort = "M84"; displayNameShort = "M84";
mass = 4; mass = 4;
model = PATHTOF(models\ACE_m84.p3d); model = PATHTOF(models\ACE_m84.p3d);

View File

@ -10,7 +10,7 @@ GVAR(flashbangPPEffectCC) = ppEffectCreate ["ColorCorrections", 4265];
GVAR(flashbangPPEffectCC) ppEffectForceInNVG true; GVAR(flashbangPPEffectCC) ppEffectForceInNVG true;
// Add keybinds // Add keybinds
["ACE3 Weapons", QGVAR(switchGrenadeMode), localize "STR_ACE_Grenades_SwitchGrenadeMode", ["ACE3 Weapons", QGVAR(switchGrenadeMode), localize STRING(SwitchGrenadeMode),
{ {
// Conditions: canInteract // Conditions: canInteract
if !([ACE_player, objNull, ["isNotEscorting"]] call EFUNC(common,canInteractWith)) exitWith {false}; if !([ACE_player, objNull, ["isNotEscorting"]] call EFUNC(common,canInteractWith)) exitWith {false};

View File

@ -31,11 +31,11 @@ if (_mode == 3) then {
}; };
_hint = [ _hint = [
localize "STR_ACE_Grenades_NormalThrow", localize STRING(NormalThrow),
localize "STR_ACE_Grenades_HighThrow", localize STRING(HighThrow),
localize "STR_ACE_Grenades_PreciseThrow", localize STRING(PreciseThrow),
localize "STR_ACE_Grenades_RollGrenade", localize STRING(RollGrenade),
localize "STR_ACE_Grenades_DropGrenade" localize STRING(DropGrenade)
] select _mode; ] select _mode;
[_hint] call EFUNC(common,displayTextStructured); [_hint] call EFUNC(common,displayTextStructured);

View File

@ -15,6 +15,6 @@ class ACE_Settings {
value = 0; value = 0;
typeName = "BOOL"; typeName = "BOOL";
isClientSettable = 1; isClientSettable = 1;
displayName = "$STR_ACE_Hearing_DisableEarRinging"; displayName = CSTRING(DisableEarRinging);
}; };
}; };

View File

@ -4,7 +4,7 @@ class CfgVehicles {
class ACE_SelfActions { class ACE_SelfActions {
class ACE_Equipment { class ACE_Equipment {
class ACE_PutInEarplugs { class ACE_PutInEarplugs {
displayName = "$STR_ACE_Hearing_EarPlugs_On"; displayName = CSTRING(EarPlugs_On);
condition = QUOTE( !([_player] call FUNC(hasEarPlugsIn)) && {'ACE_EarPlugs' in items _player} ); condition = QUOTE( !([_player] call FUNC(hasEarPlugsIn)) && {'ACE_EarPlugs' in items _player} );
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE( [_player] call FUNC(putInEarPlugs) ); statement = QUOTE( [_player] call FUNC(putInEarPlugs) );
@ -14,7 +14,7 @@ class CfgVehicles {
hotkey = "E"; hotkey = "E";
}; };
class ACE_RemoveEarplugs { class ACE_RemoveEarplugs {
displayName = "$STR_ACE_Hearing_EarPlugs_Off"; displayName = CSTRING(EarPlugs_Off);
condition = QUOTE( [_player] call FUNC(hasEarPlugsIn) ); condition = QUOTE( [_player] call FUNC(hasEarPlugsIn) );
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE( [_player] call FUNC(removeEarPlugs) ); statement = QUOTE( [_player] call FUNC(removeEarPlugs) );
@ -98,21 +98,21 @@ class CfgVehicles {
class ACE_ModuleHearing: Module_F { class ACE_ModuleHearing: Module_F {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
category = "ACE"; category = "ACE";
displayName = "$STR_ACE_Hearing_Module_DisplayName"; displayName = CSTRING(Module_DisplayName);
function = QFUNC(moduleHearing); function = QFUNC(moduleHearing);
scope = 2; scope = 2;
isGlobal = 1; isGlobal = 1;
icon = PATHTOF(UI\Icon_Module_Hearing_ca.paa); icon = PATHTOF(UI\Icon_Module_Hearing_ca.paa);
class Arguments { class Arguments {
class EnableCombatDeafness { class EnableCombatDeafness {
displayName = "$STR_ACE_Hearing_CombatDeafness_DisplayName"; displayName = CSTRING(CombatDeafness_DisplayName);
description = "$STR_ACE_Hearing_CombatDeafness_Description"; description = CSTRING(CombatDeafness_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 1; defaultValue = 1;
}; };
}; };
class ModuleDescription { class ModuleDescription {
description = "$STR_ACE_Hearing_Module_Description"; description = CSTRING(Module_Description);
}; };
}; };
}; };

View File

@ -3,8 +3,8 @@ class CfgWeapons {
class InventoryItem_Base_F; class InventoryItem_Base_F;
class ACE_EarPlugs: ACE_ItemCore { class ACE_EarPlugs: ACE_ItemCore {
displayName = "$STR_ACE_Hearing_EarPlugs_Name"; displayName = CSTRING(EarPlugs_Name);
descriptionShort = "$STR_ACE_Hearing_EarPlugs_Description"; descriptionShort = CSTRING(EarPlugs_Description);
model = PATHTOF(ACE_earplugs.p3d); model = PATHTOF(ACE_earplugs.p3d);
picture = PATHTOF(UI\ACE_earplugs_x_ca.paa); picture = PATHTOF(UI\ACE_earplugs_x_ca.paa);
scope = 2; scope = 2;

View File

@ -22,7 +22,7 @@ _player removeItem "ACE_EarPlugs";
_player setVariable ["ACE_hasEarPlugsIn", true, true]; _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 /*// No Ear Plugs in inventory, telling user
[localize "STR_ACE_Hearing_NoPlugs"] call EFUNC(common,displayTextStructured);*/ [localize STRING(NoPlugs)] call EFUNC(common,displayTextStructured);*/

View File

@ -18,7 +18,7 @@
PARAMS_1(_player); PARAMS_1(_player);
if !(_player canAdd "ACE_EarPlugs") exitWith { // inventory full 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. // Plugs already in and removing them.
@ -26,4 +26,4 @@ _player addItem "ACE_EarPlugs";
_player setVariable ["ACE_hasEarPlugsIn", false, true]; _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);

View File

@ -3,70 +3,70 @@ class ACE_Settings {
value = 0; value = 0;
typeName = "BOOL"; typeName = "BOOL";
isClientSettable = 1; isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_AlwaysUseCursorSelfInteraction"; displayName = CSTRING(AlwaysUseCursorSelfInteraction);
}; };
class GVAR(cursorKeepCentered) { class GVAR(cursorKeepCentered) {
value = 0; value = 0;
typeName = "BOOL"; typeName = "BOOL";
isClientSettable = 1; isClientSettable = 1;
displayName = "$STR_ACE_Interact_cursorKeepCentered"; displayName = CSTRING(cursorKeepCentered);
description = "$STR_ACE_Interact_cursorKeepCenteredDescription"; description = CSTRING(cursorKeepCenteredDescription);
}; };
class GVAR(AlwaysUseCursorInteraction) { class GVAR(AlwaysUseCursorInteraction) {
value = 0; value = 0;
typeName = "BOOL"; typeName = "BOOL";
isClientSettable = 1; isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_AlwaysUseCursorInteraction"; displayName = CSTRING(AlwaysUseCursorInteraction);
}; };
class GVAR(UseListMenu) { class GVAR(UseListMenu) {
value = 0; value = 0;
typeName = "BOOL"; typeName = "BOOL";
isClientSettable = 1; isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_UseListMenu"; displayName = CSTRING(UseListMenu);
}; };
class GVAR(colorTextMax) { class GVAR(colorTextMax) {
value[] = {1, 1, 1, 1}; value[] = {1, 1, 1, 1};
typeName = "COLOR"; typeName = "COLOR";
isClientSettable = 1; isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_ColorTextMax"; displayName = CSTRING(ColorTextMax);
}; };
class GVAR(colorTextMin) { class GVAR(colorTextMin) {
value[] = {1, 1, 1, 0.25}; value[] = {1, 1, 1, 0.25};
typeName = "COLOR"; typeName = "COLOR";
isClientSettable = 1; isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_ColorTextMin"; displayName = CSTRING(ColorTextMin);
}; };
class GVAR(colorShadowMax) { class GVAR(colorShadowMax) {
value[] = {0, 0, 0, 1}; value[] = {0, 0, 0, 1};
typeName = "COLOR"; typeName = "COLOR";
isClientSettable = 1; isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_ColorShadowMax"; displayName = CSTRING(ColorShadowMax);
}; };
class GVAR(colorShadowMin) { class GVAR(colorShadowMin) {
value[] = {0, 0, 0, 0.25}; value[] = {0, 0, 0, 0.25};
typeName = "COLOR"; typeName = "COLOR";
isClientSettable = 1; isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_ColorShadowMin"; displayName = CSTRING(ColorShadowMin);
}; };
class GVAR(textSize) { class GVAR(textSize) {
value = 2; value = 2;
typeName = "SCALAR"; typeName = "SCALAR";
isClientSettable = 1; isClientSettable = 1;
displayName = "$STR_ACE_Interact_textSize"; displayName = CSTRING(textSize);
values[] = {"$str_very_small", "$str_small", "$str_medium", "$str_large", "$str_very_large"}; values[] = {"$str_very_small", "$str_small", "$str_medium", "$str_large", "$str_very_large"};
}; };
class GVAR(shadowSetting) { class GVAR(shadowSetting) {
value = 2; value = 2;
typeName = "SCALAR"; typeName = "SCALAR";
isClientSettable = 1; isClientSettable = 1;
displayName = "$STR_ACE_Interact_shadowSetting"; displayName = CSTRING(shadowSetting);
description = "$STR_ACE_Interact_shadowSettingDescription"; description = CSTRING(shadowSettingDescription);
values[] = {"$STR_A3_OPTIONS_DISABLED", "$STR_A3_OPTIONS_ENABLED", "$STR_ACE_Interact_shadowOutline"}; values[] = {"$STR_A3_OPTIONS_DISABLED", "$STR_A3_OPTIONS_ENABLED", STRING(shadowOutline)};
}; };
class GVAR(actionOnKeyRelease) { class GVAR(actionOnKeyRelease) {
value = 1; value = 1;
typeName = "BOOL"; typeName = "BOOL";
isClientSettable = 1; isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_ActionOnKeyRelease"; displayName = CSTRING(ActionOnKeyRelease);
}; };
}; };

View File

@ -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 // Conditions: canInteract
if !([ACE_player, objNull, ["isNotInside","isNotDragging", "isNotCarrying", "isNotSwimming", "notOnMap", "isNotEscorting", "isNotSurrendering"]] call EFUNC(common,canInteractWith)) exitWith {false}; 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)}, },{[0,false] call FUNC(keyUp)},
[219, [false, false, false]], false] call cba_fnc_addKeybind; //Left Windows Key [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 // Conditions: canInteract
if !([ACE_player, objNull, ["isNotInside","isNotDragging", "isNotCarrying", "isNotSwimming", "notOnMap", "isNotEscorting", "isNotSurrendering"]] call EFUNC(common,canInteractWith)) exitWith {false}; if !([ACE_player, objNull, ["isNotInside","isNotDragging", "isNotCarrying", "isNotSwimming", "notOnMap", "isNotEscorting", "isNotSurrendering"]] call EFUNC(common,canInteractWith)) exitWith {false};

View File

@ -87,12 +87,12 @@ private ["_baseDisplayName", "_baseIcon"];
_baseDisplayName = ""; _baseDisplayName = "";
_baseIcon = ""; _baseIcon = "";
if (_objectType isKindOf "CAManBase") then { 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"; _baseIcon = "\a3\ui_f\data\IGUI\Cfg\Actions\eject_ca.paa";
} else { } else {
_baseDisplayName = getText (configFile >> "CfgVehicles" >> _objectType >> "displayName"); _baseDisplayName = getText (configFile >> "CfgVehicles" >> _objectType >> "displayName");
//Alt would be to just use a static text, if veh names end up being too long: //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: //Pull the icon from the vehicle's config:
_baseIcon = getText (configFile >> "CfgVehicles" >> _objectType >> "Icon"); _baseIcon = getText (configFile >> "CfgVehicles" >> _objectType >> "Icon");

View File

@ -4,21 +4,21 @@ class CfgVehicles {
class ACE_ModuleInteraction: Module_F { class ACE_ModuleInteraction: Module_F {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
category = "ACE"; category = "ACE";
displayName = "$STR_ACE_InteractionSystem_Module_DisplayName"; displayName = CSTRING(Module_DisplayName);
function = "ACE_Interaction_fnc_moduleInteraction"; function = "ACE_Interaction_fnc_moduleInteraction";
scope = 2; scope = 2;
isGlobal = 1; isGlobal = 1;
icon = PATHTOF(UI\Icon_Module_Interaction_ca.paa); icon = PATHTOF(UI\Icon_Module_Interaction_ca.paa);
class Arguments { class Arguments {
class EnableTeamManagement { class EnableTeamManagement {
displayName = "$STR_ACE_InteractionSystem_EnableTeamManagement_DisplayName"; displayName = CSTRING(EnableTeamManagement_DisplayName);
description = "$STR_ACE_InteractionSystem_EnableTeamManagement_Description"; description = CSTRING(EnableTeamManagement_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 1; defaultValue = 1;
}; };
}; };
class ModuleDescription { class ModuleDescription {
description = "$STR_ACE_InteractionSystem_Module_Description"; description = CSTRING(Module_Description);
}; };
}; };
@ -26,7 +26,7 @@ class CfgVehicles {
class CAManBase: Man { class CAManBase: Man {
class ACE_Actions { class ACE_Actions {
class ACE_MainActions { class ACE_MainActions {
displayName = "$STR_ACE_Interaction_MainAction"; displayName = CSTRING(MainAction);
distance = 4; distance = 4;
condition = QUOTE(true); condition = QUOTE(true);
statement = ""; statement = "";
@ -34,7 +34,7 @@ class CfgVehicles {
selection = "pelvis"; selection = "pelvis";
class ACE_TeamManagement { class ACE_TeamManagement {
displayName = "$STR_ACE_Interaction_TeamManagement"; displayName = CSTRING(TeamManagement);
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam) && {GVAR(EnableTeamManagement)}); condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam) && {GVAR(EnableTeamManagement)});
statement = ""; statement = "";
showDisabled = 0; showDisabled = 0;
@ -43,7 +43,7 @@ class CfgVehicles {
hotkey = "M"; hotkey = "M";
class ACE_AssignTeamRed { class ACE_AssignTeamRed {
displayName = "$STR_ACE_Interaction_AssignTeamRed"; displayName = CSTRING(AssignTeamRed);
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam)); condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam));
statement = QUOTE([ARR_2(_target,'RED')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_target,'RED')] call DFUNC(joinTeam));
showDisabled = 1; showDisabled = 1;
@ -52,7 +52,7 @@ class CfgVehicles {
hotkey = "R"; hotkey = "R";
}; };
class ACE_AssignTeamGreen { class ACE_AssignTeamGreen {
displayName = "$STR_ACE_Interaction_AssignTeamGreen"; displayName = CSTRING(AssignTeamGreen);
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam)); condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam));
statement = QUOTE([ARR_2(_target,'GREEN')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_target,'GREEN')] call DFUNC(joinTeam));
showDisabled = 1; showDisabled = 1;
@ -61,7 +61,7 @@ class CfgVehicles {
hotkey = "G"; hotkey = "G";
}; };
class ACE_AssignTeamBlue { class ACE_AssignTeamBlue {
displayName = "$STR_ACE_Interaction_AssignTeamBlue"; displayName = CSTRING(AssignTeamBlue);
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam)); condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam));
statement = QUOTE([ARR_2(_target,'BLUE')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_target,'BLUE')] call DFUNC(joinTeam));
showDisabled = 1; showDisabled = 1;
@ -70,7 +70,7 @@ class CfgVehicles {
hotkey = "B"; hotkey = "B";
}; };
class ACE_AssignTeamYellow { class ACE_AssignTeamYellow {
displayName = "$STR_ACE_Interaction_AssignTeamYellow"; displayName = CSTRING(AssignTeamYellow);
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam)); condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam));
statement = QUOTE([ARR_2(_target,'YELLOW')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_target,'YELLOW')] call DFUNC(joinTeam));
showDisabled = 1; showDisabled = 1;
@ -80,7 +80,7 @@ class CfgVehicles {
}; };
class ACE_UnassignTeam { class ACE_UnassignTeam {
displayName = "$STR_ACE_Interaction_LeaveTeam"; displayName = CSTRING(LeaveTeam);
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam) && {assignedTeam _target != 'MAIN'}); condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam) && {assignedTeam _target != 'MAIN'});
statement = QUOTE([ARR_2(_target,'MAIN')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_target,'MAIN')] call DFUNC(joinTeam));
showDisabled = 1; showDisabled = 1;
@ -91,7 +91,7 @@ class CfgVehicles {
}; };
class ACE_JoinGroup { class ACE_JoinGroup {
displayName = "$STR_ACE_Interaction_JoinGroup"; displayName = CSTRING(JoinGroup);
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinGroup)); condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinGroup));
statement = QUOTE([_player] joinSilent group _target); statement = QUOTE([_player] joinSilent group _target);
showDisabled = 0; showDisabled = 0;
@ -101,21 +101,21 @@ class CfgVehicles {
}; };
class ACE_GetDown { class ACE_GetDown {
displayName = "$STR_ACE_Interaction_GetDown"; displayName = CSTRING(GetDown);
condition = QUOTE([_target] call DFUNC(canInteractWithCivilian)); condition = QUOTE([_target] call DFUNC(canInteractWithCivilian));
statement = QUOTE([_target] call DFUNC(getDown)); statement = QUOTE([_target] call DFUNC(getDown));
showDisabled = 0; showDisabled = 0;
priority = 2.2; priority = 2.2;
}; };
class ACE_SendAway { class ACE_SendAway {
displayName = "$STR_ACE_Interaction_SendAway"; displayName = CSTRING(SendAway);
condition = QUOTE([_target] call DFUNC(canInteractWithCivilian)); condition = QUOTE([_target] call DFUNC(canInteractWithCivilian));
statement = QUOTE([_target] call DFUNC(sendAway)); statement = QUOTE([_target] call DFUNC(sendAway));
showDisabled = 0; showDisabled = 0;
priority = 2.0; priority = 2.0;
}; };
class ACE_Pardon { class ACE_Pardon {
displayName = "$STR_ACE_Interaction_Pardon"; displayName = CSTRING(Pardon);
condition = QUOTE(rating _target < -2000 && {alive _target} && {side group _player == side group _target}); 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)); statement = QUOTE([ARR_3(_target,'{_this addRating -rating _this}',_target)] call DEFUNC(common,execRemoteFnc));
showDisabled = 0; showDisabled = 0;
@ -123,49 +123,49 @@ class CfgVehicles {
}; };
}; };
class ACE_Torso { class ACE_Torso {
displayName = "$STR_ACE_Interaction_Torso"; displayName = CSTRING(Torso);
selection = "spine3"; selection = "spine3";
distance = 1.50; distance = 1.50;
condition = ""; condition = "";
statement = ""; statement = "";
}; };
class ACE_Head { class ACE_Head {
displayName = "$STR_ACE_Interaction_Head"; displayName = CSTRING(Head);
selection = "pilot"; selection = "pilot";
distance = 1.50; distance = 1.50;
condition = ""; condition = "";
statement = ""; statement = "";
}; };
class ACE_ArmLeft { class ACE_ArmLeft {
displayName = "$STR_ACE_Interaction_ArmLeft"; displayName = CSTRING(ArmLeft);
selection = "LeftForeArm"; selection = "LeftForeArm";
distance = 1.50; distance = 1.50;
condition = ""; condition = "";
statement = ""; statement = "";
}; };
class ACE_ArmRight { class ACE_ArmRight {
displayName = "$STR_ACE_Interaction_ArmRight"; displayName = CSTRING(ArmRight);
selection = "RightForeArm"; selection = "RightForeArm";
distance = 1.50; distance = 1.50;
condition = ""; condition = "";
statement = ""; statement = "";
}; };
class ACE_LegLeft { class ACE_LegLeft {
displayName = "$STR_ACE_Interaction_LegLeft"; displayName = CSTRING(LegLeft);
selection = "LKnee"; selection = "LKnee";
distance = 1.50; distance = 1.50;
condition = ""; condition = "";
statement = ""; statement = "";
}; };
class ACE_LegRight { class ACE_LegRight {
displayName = "$STR_ACE_Interaction_LegRight"; displayName = CSTRING(LegRight);
selection = "RKnee"; selection = "RKnee";
distance = 1.50; distance = 1.50;
condition = ""; condition = "";
statement = ""; statement = "";
}; };
class ACE_Weapon { class ACE_Weapon {
displayName = "$STR_ACE_Interaction_Weapon"; displayName = CSTRING(Weapon);
position = QUOTE(call FUNC(getWeaponPos)); position = QUOTE(call FUNC(getWeaponPos));
distance = 1.50; distance = 1.50;
condition = ""; condition = "";
@ -173,14 +173,14 @@ class CfgVehicles {
}; };
class ACE_TapShoulderRight { class ACE_TapShoulderRight {
displayName = "$STR_ACE_Interaction_TapShoulder"; displayName = CSTRING(TapShoulder);
selection = "rightshoulder"; selection = "rightshoulder";
distance = 2.0; distance = 2.0;
condition = QUOTE([ARR_2(_player, _target)] call DFUNC(canTapShoulder)); condition = QUOTE([ARR_2(_player, _target)] call DFUNC(canTapShoulder));
statement = QUOTE([ARR_3(_player, _target, 0)] call DFUNC(tapShoulder)); statement = QUOTE([ARR_3(_player, _target, 0)] call DFUNC(tapShoulder));
}; };
class ACE_TapShoulderLeft { class ACE_TapShoulderLeft {
displayName = "$STR_ACE_Interaction_TapShoulder"; displayName = CSTRING(TapShoulder);
selection = "leftshoulder"; selection = "leftshoulder";
distance = 2.0; distance = 2.0;
condition = QUOTE([ARR_2(_player, _target)] call DFUNC(canTapShoulder)); condition = QUOTE([ARR_2(_player, _target)] call DFUNC(canTapShoulder));
@ -190,7 +190,7 @@ class CfgVehicles {
class ACE_SelfActions { class ACE_SelfActions {
class ACE_TeamManagement { class ACE_TeamManagement {
displayName = "$STR_ACE_Interaction_TeamManagement"; displayName = CSTRING(TeamManagement);
condition = QUOTE(GVAR(EnableTeamManagement)); condition = QUOTE(GVAR(EnableTeamManagement));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = ""; statement = "";
@ -200,7 +200,7 @@ class CfgVehicles {
hotkey = "M"; hotkey = "M";
class ACE_JoinTeamRed { class ACE_JoinTeamRed {
displayName = "$STR_ACE_Interaction_JoinTeamRed"; displayName = CSTRING(JoinTeamRed);
condition = QUOTE(true); condition = QUOTE(true);
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_2(_player,'RED')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_player,'RED')] call DFUNC(joinTeam));
@ -210,7 +210,7 @@ class CfgVehicles {
hotkey = "R"; hotkey = "R";
}; };
class ACE_JoinTeamGreen { class ACE_JoinTeamGreen {
displayName = "$STR_ACE_Interaction_JoinTeamGreen"; displayName = CSTRING(JoinTeamGreen);
condition = QUOTE(true); condition = QUOTE(true);
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_2(_player,'GREEN')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_player,'GREEN')] call DFUNC(joinTeam));
@ -220,7 +220,7 @@ class CfgVehicles {
hotkey = "G"; hotkey = "G";
}; };
class ACE_JoinTeamBlue { class ACE_JoinTeamBlue {
displayName = "$STR_ACE_Interaction_JoinTeamBlue"; displayName = CSTRING(JoinTeamBlue);
condition = QUOTE(true); condition = QUOTE(true);
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_2(_player,'BLUE')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_player,'BLUE')] call DFUNC(joinTeam));
@ -230,7 +230,7 @@ class CfgVehicles {
hotkey = "B"; hotkey = "B";
}; };
class ACE_JoinTeamYellow { class ACE_JoinTeamYellow {
displayName = "$STR_ACE_Interaction_JoinTeamYellow"; displayName = CSTRING(JoinTeamYellow);
condition = QUOTE(true); condition = QUOTE(true);
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_2(_player,'YELLOW')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_player,'YELLOW')] call DFUNC(joinTeam));
@ -241,7 +241,7 @@ class CfgVehicles {
}; };
class ACE_LeaveTeam { class ACE_LeaveTeam {
displayName = "$STR_ACE_Interaction_LeaveTeam"; displayName = CSTRING(LeaveTeam);
condition = QUOTE(assignedTeam _player != 'MAIN'); condition = QUOTE(assignedTeam _player != 'MAIN');
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_2(_player,'MAIN')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_player,'MAIN')] call DFUNC(joinTeam));
@ -251,7 +251,7 @@ class CfgVehicles {
hotkey = "N"; hotkey = "N";
}; };
class ACE_BecomeLeader { class ACE_BecomeLeader {
displayName = "$STR_ACE_Interaction_BecomeLeader"; displayName = CSTRING(BecomeLeader);
condition = QUOTE(_this call DFUNC(canBecomeLeader)); condition = QUOTE(_this call DFUNC(canBecomeLeader));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE(_this call DFUNC(doBecomeLeader)); statement = QUOTE(_this call DFUNC(doBecomeLeader));
@ -261,7 +261,7 @@ class CfgVehicles {
hotkey = "L"; hotkey = "L";
}; };
class ACE_LeaveGroup { class ACE_LeaveGroup {
displayName = "$STR_ACE_Interaction_LeaveGroup"; displayName = CSTRING(LeaveGroup);
condition = QUOTE(count (units group _player) > 1); condition = QUOTE(count (units group _player) > 1);
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE(_oldGroup = units group _player; _newGroup = createGroup side _player; [_player] joinSilent _newGroup; {_player reveal _x} forEach _oldGroup;); 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 { class ACE_Gestures {
displayName = "$STR_ACE_Interaction_Gestures"; displayName = CSTRING(Gestures);
condition = "canStand _target"; condition = "canStand _target";
statement = ""; statement = "";
showDisabled = 1; showDisabled = 1;
@ -282,14 +282,14 @@ class CfgVehicles {
hotkey = "G"; hotkey = "G";
/*class ACE_Gesture_Advance { /*class ACE_Gesture_Advance {
displayName = "$STR_ACE_Interaction_Gestures_Attack"; displayName = CSTRING(Gestures_Attack);
condition = "canStand _target"; condition = "canStand _target";
statement = "_target playActionNow 'gestureAttack';"; statement = "_target playActionNow 'gestureAttack';";
showDisabled = 1; showDisabled = 1;
priority = 2.0; priority = 2.0;
};*/ };*/
class ACE_Gesture_Advance { class ACE_Gesture_Advance {
displayName = "$STR_ACE_Interaction_Gestures_Advance"; displayName = CSTRING(Gestures_Advance);
condition = QUOTE(canStand _target); condition = QUOTE(canStand _target);
statement = QUOTE(_target playActionNow 'gestureAdvance';); statement = QUOTE(_target playActionNow 'gestureAdvance';);
showDisabled = 1; showDisabled = 1;
@ -297,7 +297,7 @@ class CfgVehicles {
hotkey = "1"; hotkey = "1";
}; };
class ACE_Gesture_Go { class ACE_Gesture_Go {
displayName = "$STR_ACE_Interaction_Gestures_Go"; displayName = CSTRING(Gestures_Go);
condition = QUOTE(canStand _target); condition = QUOTE(canStand _target);
statement = QUOTE(_target playActionNow ([ARR_2('gestureGo','gestureGoB')] select floor random 2);); statement = QUOTE(_target playActionNow ([ARR_2('gestureGo','gestureGoB')] select floor random 2););
showDisabled = 1; showDisabled = 1;
@ -305,7 +305,7 @@ class CfgVehicles {
hotkey = "2"; hotkey = "2";
}; };
class ACE_Gesture_Follow { class ACE_Gesture_Follow {
displayName = "$STR_ACE_Interaction_Gestures_Follow"; displayName = CSTRING(Gestures_Follow);
condition = QUOTE(canStand _target); condition = QUOTE(canStand _target);
statement = QUOTE(_target playActionNow 'gestureFollow';); statement = QUOTE(_target playActionNow 'gestureFollow';);
showDisabled = 1; showDisabled = 1;
@ -313,14 +313,14 @@ class CfgVehicles {
hotkey = "3"; hotkey = "3";
}; };
/*class ACE_Gesture_Point { /*class ACE_Gesture_Point {
displayName = "$STR_ACE_Interaction_Gestures_Point"; displayName = CSTRING(Gestures_Point);
condition = QUOTE(canStand _target); condition = QUOTE(canStand _target);
statement = QUOTE(_target playActionNow 'gesturePoint';); statement = QUOTE(_target playActionNow 'gesturePoint';);
showDisabled = 1; showDisabled = 1;
priority = 1.6; priority = 1.6;
};*/ };*/
class ACE_Gesture_Up { class ACE_Gesture_Up {
displayName = "$STR_ACE_Interaction_Gestures_Up"; displayName = CSTRING(Gestures_Up);
condition = QUOTE(canStand _target); condition = QUOTE(canStand _target);
statement = QUOTE(_target playActionNow 'gestureUp';); statement = QUOTE(_target playActionNow 'gestureUp';);
showDisabled = 1; showDisabled = 1;
@ -328,7 +328,7 @@ class CfgVehicles {
hotkey = "4"; hotkey = "4";
}; };
class ACE_Gesture_Cover { class ACE_Gesture_Cover {
displayName = "$STR_ACE_Interaction_Gestures_Cover"; displayName = CSTRING(Gestures_Cover);
condition = QUOTE(canStand _target); condition = QUOTE(canStand _target);
statement = QUOTE(_target playActionNow 'gestureCover';); statement = QUOTE(_target playActionNow 'gestureCover';);
showDisabled = 1; showDisabled = 1;
@ -336,7 +336,7 @@ class CfgVehicles {
hotkey = "5"; hotkey = "5";
}; };
class ACE_Gesture_CeaseFire { class ACE_Gesture_CeaseFire {
displayName = "$STR_ACE_Interaction_Gestures_Cease_Fire"; displayName = CSTRING(Gestures_Cease_Fire);
condition = QUOTE(canStand _target); condition = QUOTE(canStand _target);
statement = QUOTE(_target playActionNow 'gestureCeaseFire';); statement = QUOTE(_target playActionNow 'gestureCeaseFire';);
showDisabled = 1; showDisabled = 1;
@ -344,7 +344,7 @@ class CfgVehicles {
hotkey = "6"; hotkey = "6";
}; };
class ACE_Gesture_Freeze { class ACE_Gesture_Freeze {
displayName = "$STR_ACE_Interaction_Gestures_Freeze"; displayName = CSTRING(Gestures_Freeze);
condition = QUOTE(canStand _target); condition = QUOTE(canStand _target);
statement = QUOTE(_target playActionNow 'gestureFreeze';); statement = QUOTE(_target playActionNow 'gestureFreeze';);
showDisabled = 1; showDisabled = 1;
@ -352,7 +352,7 @@ class CfgVehicles {
hotkey = "7"; hotkey = "7";
}; };
class ACE_Gesture_Yes { class ACE_Gesture_Yes {
displayName = "$STR_ACE_Interaction_Gestures_Yes"; displayName = CSTRING(Gestures_Yes);
condition = QUOTE(canStand _target); condition = QUOTE(canStand _target);
statement = QUOTE(_target playActionNow ([ARR_2('gestureYes','gestureNod')] select floor random 2);); statement = QUOTE(_target playActionNow ([ARR_2('gestureYes','gestureNod')] select floor random 2););
showDisabled = 1; showDisabled = 1;
@ -360,7 +360,7 @@ class CfgVehicles {
hotkey = "8"; hotkey = "8";
}; };
class ACE_Gesture_No { class ACE_Gesture_No {
displayName = "$STR_ACE_Interaction_Gestures_No"; displayName = CSTRING(Gestures_No);
condition = QUOTE(canStand _target); condition = QUOTE(canStand _target);
statement = QUOTE(_target playActionNow 'gestureNo';); statement = QUOTE(_target playActionNow 'gestureNo';);
showDisabled = 1; showDisabled = 1;
@ -368,7 +368,7 @@ class CfgVehicles {
hotkey = "9"; hotkey = "9";
}; };
class ACE_Gesture_Hi { class ACE_Gesture_Hi {
displayName = "$STR_ACE_Interaction_Gestures_Hi"; displayName = CSTRING(Gestures_Hi);
condition = QUOTE(canStand _target); condition = QUOTE(canStand _target);
statement = QUOTE(_target playActionNow ([ARR_3('gestureHi','gestureHiB','gestureHiC')] select floor random 3);); statement = QUOTE(_target playActionNow ([ARR_3('gestureHi','gestureHiB','gestureHiC')] select floor random 3););
showDisabled = 1; showDisabled = 1;
@ -378,7 +378,7 @@ class CfgVehicles {
}; };
class ACE_Equipment { class ACE_Equipment {
displayName = "$STR_ACE_Interaction_Equipment"; displayName = CSTRING(Equipment);
condition = QUOTE(true); condition = QUOTE(true);
exceptions[] = {"isNotInside","notOnMap"}; exceptions[] = {"isNotInside","notOnMap"};
statement = ""; statement = "";
@ -394,12 +394,12 @@ class CfgVehicles {
class Car: LandVehicle { class Car: LandVehicle {
class ACE_Actions { class ACE_Actions {
class ACE_MainActions { class ACE_MainActions {
displayName = "$STR_ACE_Interaction_MainAction"; displayName = CSTRING(MainAction);
selection = ""; selection = "";
distance = 10; distance = 10;
condition = "true"; condition = "true";
class ACE_Passengers { class ACE_Passengers {
displayName = "$STR_ACE_Interaction_Passengers"; displayName = CSTRING(Passengers);
condition = "true"; condition = "true";
statement = ""; statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions)); insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
@ -408,7 +408,7 @@ class CfgVehicles {
}; };
class ACE_SelfActions { class ACE_SelfActions {
class ACE_Passengers { class ACE_Passengers {
displayName = "$STR_ACE_Interaction_Passengers"; displayName = CSTRING(Passengers);
condition = "true"; condition = "true";
statement = ""; statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions)); insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
@ -418,12 +418,12 @@ class CfgVehicles {
class Tank: LandVehicle { class Tank: LandVehicle {
class ACE_Actions { class ACE_Actions {
class ACE_MainActions { class ACE_MainActions {
displayName = "$STR_ACE_Interaction_MainAction"; displayName = CSTRING(MainAction);
selection = ""; selection = "";
distance = 10; distance = 10;
condition = "true"; condition = "true";
class ACE_Passengers { class ACE_Passengers {
displayName = "$STR_ACE_Interaction_Passengers"; displayName = CSTRING(Passengers);
condition = "true"; condition = "true";
statement = ""; statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions)); insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
@ -432,7 +432,7 @@ class CfgVehicles {
}; };
class ACE_SelfActions { class ACE_SelfActions {
class ACE_Passengers { class ACE_Passengers {
displayName = "$STR_ACE_Interaction_Passengers"; displayName = CSTRING(Passengers);
condition = "true"; condition = "true";
statement = ""; statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions)); insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
@ -444,12 +444,12 @@ class CfgVehicles {
class Helicopter: Air { class Helicopter: Air {
class ACE_Actions { class ACE_Actions {
class ACE_MainActions { class ACE_MainActions {
displayName = "$STR_ACE_Interaction_MainAction"; displayName = CSTRING(MainAction);
selection = ""; selection = "";
distance = 10; distance = 10;
condition = "true"; condition = "true";
class ACE_Passengers { class ACE_Passengers {
displayName = "$STR_ACE_Interaction_Passengers"; displayName = CSTRING(Passengers);
condition = "true"; condition = "true";
statement = ""; statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions)); insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
@ -458,7 +458,7 @@ class CfgVehicles {
}; };
class ACE_SelfActions { class ACE_SelfActions {
class ACE_Passengers { class ACE_Passengers {
displayName = "$STR_ACE_Interaction_Passengers"; displayName = CSTRING(Passengers);
condition = "true"; condition = "true";
statement = ""; statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions)); insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
@ -468,12 +468,12 @@ class CfgVehicles {
class Plane: Air { class Plane: Air {
class ACE_Actions { class ACE_Actions {
class ACE_MainActions { class ACE_MainActions {
displayName = "$STR_ACE_Interaction_MainAction"; displayName = CSTRING(MainAction);
selection = ""; selection = "";
distance = 10; distance = 10;
condition = "true"; condition = "true";
class ACE_Passengers { class ACE_Passengers {
displayName = "$STR_ACE_Interaction_Passengers"; displayName = CSTRING(Passengers);
condition = "true"; condition = "true";
statement = ""; statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions)); insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
@ -482,7 +482,7 @@ class CfgVehicles {
}; };
class ACE_SelfActions { class ACE_SelfActions {
class ACE_Passengers { class ACE_Passengers {
displayName = "$STR_ACE_Interaction_Passengers"; displayName = CSTRING(Passengers);
condition = "true"; condition = "true";
statement = ""; statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions)); insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
@ -494,13 +494,13 @@ class CfgVehicles {
class Ship_F: Ship { class Ship_F: Ship {
class ACE_Actions { class ACE_Actions {
class ACE_MainActions { class ACE_MainActions {
displayName = "$STR_ACE_Interaction_MainAction"; displayName = CSTRING(MainAction);
selection = ""; selection = "";
distance = 10; distance = 10;
condition = "true"; condition = "true";
class ACE_Push { class ACE_Push {
displayName = "$STR_ACE_Interaction_Push"; displayName = CSTRING(Push);
distance = 6; distance = 6;
condition = QUOTE(getMass _target < 1000 && {alive _target}); 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);); 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; priority = -1;
}; };
class ACE_Passengers { class ACE_Passengers {
displayName = "$STR_ACE_Interaction_Passengers"; displayName = CSTRING(Passengers);
condition = "true"; condition = "true";
statement = ""; statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions)); insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
@ -517,7 +517,7 @@ class CfgVehicles {
}; };
class ACE_SelfActions { class ACE_SelfActions {
class ACE_Passengers { class ACE_Passengers {
displayName = "$STR_ACE_Interaction_Passengers"; displayName = CSTRING(Passengers);
condition = "true"; condition = "true";
statement = ""; statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions)); insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
@ -528,12 +528,12 @@ class CfgVehicles {
class StaticWeapon: LandVehicle { class StaticWeapon: LandVehicle {
class ACE_Actions { class ACE_Actions {
class ACE_MainActions { class ACE_MainActions {
displayName = "$STR_ACE_Interaction_MainAction"; displayName = CSTRING(MainAction);
selection = "gunnerview"; selection = "gunnerview";
distance = 2; distance = 2;
condition = "true"; condition = "true";
class ACE_Passengers { class ACE_Passengers {
displayName = "$STR_ACE_Interaction_Passengers"; displayName = CSTRING(Passengers);
condition = "true"; condition = "true";
statement = ""; statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions)); insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
@ -542,7 +542,7 @@ class CfgVehicles {
}; };
class ACE_SelfActions { class ACE_SelfActions {
class ACE_Passengers { class ACE_Passengers {
displayName = "$STR_ACE_Interaction_Passengers"; displayName = CSTRING(Passengers);
condition = "true"; condition = "true";
statement = ""; statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions)); insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
@ -554,7 +554,7 @@ class CfgVehicles {
class ReammoBox_F: thingX { class ReammoBox_F: thingX {
class ACE_Actions { class ACE_Actions {
class ACE_MainActions { class ACE_MainActions {
displayName = "$STR_ACE_Interaction_MainAction"; displayName = CSTRING(MainAction);
selection = ""; selection = "";
distance = 2; distance = 2;
condition = "true"; condition = "true";

View File

@ -23,7 +23,7 @@ private ["_team"];
// Add keybinds // Add keybinds
["ACE3 Common", QGVAR(openDoor), localize "STR_ACE_Interaction_OpenDoor", ["ACE3 Common", QGVAR(openDoor), localize STRING(OpenDoor),
{ {
// Conditions: canInteract // Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false}; 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 [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 // Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false}; if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
@ -57,7 +57,7 @@ private ["_team"];
{false}, {false},
[20, [true, false, false]], false] call cba_fnc_addKeybind; [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 // Conditions: canInteract
//if !([ACE_player, objNull, ["isNotDragging"]] call EFUNC(common,canInteractWith)) exitWith {false}; // not needed //if !([ACE_player, objNull, ["isNotDragging"]] call EFUNC(common,canInteractWith)) exitWith {false}; // not needed

View File

@ -25,10 +25,10 @@ _unit setVariable [QGVAR(assignedFireTeam), _team, true];
if (_unit == ACE_player) then { if (_unit == ACE_player) then {
_message = if (_team == "MAIN") then { _message = if (_team == "MAIN") then {
localize "STR_ACE_Interaction_LeftTeam"; localize STRING(LeftTeam);
} else { } else {
_team = localize format ["STR_ACE_Interaction_Team%1", _team]; _team = localize format [STRING(Team%1), _team];
format [localize "STR_ACE_Interaction_JoinedTeam", _team]; format [localize STRING(JoinedTeam), _team];
}; };
[_message] call EFUNC(common,displayTextStructured); [_message] call EFUNC(common,displayTextStructured);

View File

@ -29,7 +29,7 @@ if !(_unit in _cargo) exitWith {};
GVAR(InteractionMenu_Crew) = _cargo; GVAR(InteractionMenu_Crew) = _cargo;
// Prepare: add header and "OK" button to select menu // 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 // Prepare: add all cargo units as options to select menu
{ {

View File

@ -21,7 +21,7 @@ PARAMS_2(_header,_buttonText);
closeDialog 0; closeDialog 0;
if (isNil "_buttonText" or {_buttonText == ""}) then { if (isNil "_buttonText" or {_buttonText == ""}) then {
_buttonText = localize "STR_ACE_Interaction_MakeSelection"; _buttonText = localize STRING(MakeSelection);
}; };
createDialog "RscACE_SelectAnItem"; createDialog "RscACE_SelectAnItem";

View File

@ -32,9 +32,9 @@ addCamShake [4, 0.5, 5];
private ["_message"]; private ["_message"];
//localize is converting the escaped <> symbols, so just add them here instead of in the stringtable //localize is converting the escaped <> symbols, so just add them here instead of in the stringtable
if (_shoulderNum == 0) then { if (_shoulderNum == 0) then {
_message = format ["%1 &gt;", (localize "STR_ACE_Interaction_YouWereTappedRight")]; _message = format ["%1 &gt;", (localize STRING(YouWereTappedRight))];
} else { } else {
_message = format ["&lt; %1", (localize "STR_ACE_Interaction_YouWereTappedLeft")]; _message = format ["&lt; %1", (localize STRING(YouWereTappedLeft))];
}; };
[parseText _message] call EFUNC(common,displayTextStructured); [parseText _message] call EFUNC(common,displayTextStructured);

View File

@ -3,8 +3,8 @@ class ACE_Settings {
value = 0; value = 0;
typeName = "SCALAR"; typeName = "SCALAR";
isClientSettable = 1; isClientSettable = 1;
displayName = "$STR_ACE_Inventory_SettingName"; displayName = CSTRING(SettingName);
description = "$STR_ACE_Inventory_SettingDescription"; description = CSTRING(SettingDescription);
values[] = {"$str_medium", "$str_large", "$str_very_large"}; values[] = {"$str_medium", "$str_large", "$str_very_large"};
}; };
}; };

View File

@ -1,6 +1,6 @@
// by commy2 // by commy2
["ACE3 Weapons", QGVAR(lockTarget), localize "STR_ACE_JAVELIN_LockTarget", ["ACE3 Weapons", QGVAR(lockTarget), localize STRING(LockTarget),
{ {
if (GETGVAR(isLockKeyDown,false)) exitWith {false}; if (GETGVAR(isLockKeyDown,false)) exitWith {false};
@ -21,7 +21,7 @@
}, },
[15, [false, false, false]], false] call cba_fnc_addKeybind; //Tab Key [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 }, { false },
{ {
[ACE_player] call FUNC(cycleFireMode); [ACE_player] call FUNC(cycleFireMode);

View File

@ -4,7 +4,7 @@ class CfgVehicles {
class ACE_SelfActions { class ACE_SelfActions {
class ACE_Equipment { class ACE_Equipment {
class GVAR(open) { class GVAR(open) {
displayName = "$STR_ACE_Kestrel4500_OpenKestrel"; displayName = CSTRING(OpenKestrel);
condition = QUOTE(call FUNC(canShow) && !GVAR(Kestrel4500)); condition = QUOTE(call FUNC(canShow) && !GVAR(Kestrel4500));
statement = QUOTE(call FUNC(createKestrelDialog)); statement = QUOTE(call FUNC(createKestrelDialog));
showDisabled = 0; showDisabled = 0;
@ -13,7 +13,7 @@ class CfgVehicles {
exceptions[] = {"notOnMap"}; exceptions[] = {"notOnMap"};
}; };
class GVAR(show) { class GVAR(show) {
displayName = "$STR_ACE_Kestrel4500_ShowKestrel"; displayName = CSTRING(ShowKestrel);
condition = QUOTE(call FUNC(canShow) && !GVAR(Overlay)); condition = QUOTE(call FUNC(canShow) && !GVAR(Overlay));
statement = QUOTE(call FUNC(displayKestrel)); statement = QUOTE(call FUNC(displayKestrel));
showDisabled = 0; showDisabled = 0;
@ -22,7 +22,7 @@ class CfgVehicles {
exceptions[] = {"notOnMap", "isNotInside"}; exceptions[] = {"notOnMap", "isNotInside"};
}; };
class GVAR(hide) { class GVAR(hide) {
displayName = "$STR_ACE_Kestrel4500_HideKestrel"; displayName = CSTRING(HideKestrel);
condition = QUOTE(GVAR(Overlay)); condition = QUOTE(GVAR(Overlay));
statement = QUOTE(call FUNC(displayKestrel)); statement = QUOTE(call FUNC(displayKestrel));
showDisabled = 0; showDisabled = 0;

View File

@ -6,8 +6,8 @@ class CfgWeapons {
class ACE_Kestrel4500: ACE_ItemCore { class ACE_Kestrel4500: ACE_ItemCore {
author[] = {$STR_ACE_Common_ACETeam, "Ruthberg"}; author[] = {$STR_ACE_Common_ACETeam, "Ruthberg"};
scope = 2; scope = 2;
displayName = "$STR_ACE_Kestrel_Name"; displayName = CSTRING(Name);
descriptionShort = "$STR_ACE_Kestrel_Description"; descriptionShort = CSTRING(Description);
model = PATHTOF(kestrel4500.p3d); model = PATHTOF(kestrel4500.p3d);
picture = PATHTOF(UI\Kestrel4500.paa); picture = PATHTOF(UI\Kestrel4500.paa);
icon = "iconObject_circle"; icon = "iconObject_circle";

View File

@ -1,4 +1,4 @@
["ACE3 Equipment", QGVAR(KestrelDialogKey), localize "STR_ACE_Kestrel4500_KestrelDialogKey", ["ACE3 Equipment", QGVAR(KestrelDialogKey), localize STRING(KestrelDialogKey),
{ {
// Conditions: canInteract // Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false}; if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
@ -13,7 +13,7 @@
{false}, {false},
[0, [false, false, false]], false, 0] call CBA_fnc_addKeybind; // (empty default key) [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 // Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false}; if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};

View File

@ -8,5 +8,5 @@ if(_oldLaserCode > ACE_DEFAULT_LASER_CODE) then {
ACE_player setVariable [QGVAR(code), _laserCode, false]; ACE_player setVariable [QGVAR(code), _laserCode, false];
}; };
if(_laserCode != _oldLaserCode) then { 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);
}; };

View File

@ -6,5 +6,5 @@ _oldLaserCode = ACE_player getVariable [QGVAR(code), ACE_DEFAULT_LASER_CODE];
_laserCode = _oldLaserCode + 1; _laserCode = _oldLaserCode + 1;
ACE_player setVariable [QGVAR(code), _laserCode, false]; ACE_player setVariable [QGVAR(code), _laserCode, false];
if(_laserCode != _oldLaserCode) then { 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);
}; };

View File

@ -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) if( EGVAR(laser_selfdesignate,active)
|| ||
@ -12,7 +12,7 @@
{false}, {false},
[16, [false, true, true]], false, 0] call CBA_fnc_addKeybind; // (ALT+CTRL+Q) [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) if( EGVAR(laser_selfdesignate,active)
|| ||

View File

@ -31,7 +31,7 @@ GVAR(initializedClasses) = _initializedClasses;
// e.g.: _vehicle setVariable [format ["%1_%2", QGVAR(active), _x], false]; // e.g.: _vehicle setVariable [format ["%1_%2", QGVAR(active), _x], false];
// Add actions // Add actions
_onAction = [QGVAR(LaserOn), localize "STR_ACE_Laser_SelfDesignate_DesignatorOn", "", _onAction = [QGVAR(LaserOn), localize STRING(DesignatorOn), "",
{ {
// Statement // Statement
_this call FUNC(laserHudDesignateOn) _this call FUNC(laserHudDesignateOn)
@ -41,7 +41,7 @@ GVAR(initializedClasses) = _initializedClasses;
!GVAR(active) && {[ACE_player] call FUNC(unitTurretHasDesignator)} !GVAR(active) && {[ACE_player] call FUNC(unitTurretHasDesignator)}
}] call EFUNC(interact_menu,createAction); }] call EFUNC(interact_menu,createAction);
_offAction = [QGVAR(LaserOff), localize "STR_ACE_Laser_SelfDesignate_DesignatorOff", "", _offAction = [QGVAR(LaserOff), localize STRING(DesignatorOff), "",
{ {
// Statement // Statement
_this call FUNC(laserHudDesignateOff) _this call FUNC(laserHudDesignateOff)

View File

@ -10,26 +10,26 @@ class CfgWeapons {
class acc_pointer_IR: ItemCore { class acc_pointer_IR: ItemCore {
ACE_nextModeClass = "ACE_acc_pointer_red"; ACE_nextModeClass = "ACE_acc_pointer_red";
ACE_modeDescription = "$STR_ACE_Laserpointer_IRLaser"; ACE_modeDescription = CSTRING(IRLaser);
displayName = "$STR_ACE_Laserpointer_red"; displayName = CSTRING(red);
descriptionUse = "$STR_ACE_Laserpointer_useLaser"; descriptionUse = CSTRING(useLaser);
}; };
class ACE_acc_pointer_red: ItemCore { class ACE_acc_pointer_red: ItemCore {
ACE_nextModeClass = "acc_pointer_IR"; ACE_nextModeClass = "acc_pointer_IR";
ACE_modeDescription = "$STR_ACE_Laserpointer_Laser"; ACE_modeDescription = CSTRING(Laser);
ACE_laserpointer = 1; ACE_laserpointer = 1;
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_acc_pointer_red"; _generalMacro = "ACE_acc_pointer_red";
scope = 1; scope = 1;
displayName = "$STR_ACE_Laserpointer_red"; displayName = CSTRING(red);
descriptionUse = "$STR_ACE_Laserpointer_useLaser"; descriptionUse = CSTRING(useLaser);
picture = "\A3\weapons_F\Data\UI\gear_accv_pointer_CA.paa"; picture = "\A3\weapons_F\Data\UI\gear_accv_pointer_CA.paa";
model = "\A3\weapons_f\acc\accv_pointer_F"; model = "\A3\weapons_f\acc\accv_pointer_F";
descriptionShort = "$STR_ACE_Laserpointer_Description"; descriptionShort = CSTRING(Description);
class ItemInfo: InventoryFlashLightItem_Base_F { class ItemInfo: InventoryFlashLightItem_Base_F {
mass = 6; mass = 6;
@ -69,23 +69,23 @@ class CfgWeapons {
class ACE_acc_pointer_green_IR: acc_pointer_IR { class ACE_acc_pointer_green_IR: acc_pointer_IR {
ACE_nextModeClass = "ACE_acc_pointer_green"; ACE_nextModeClass = "ACE_acc_pointer_green";
ACE_modeDescription = "$STR_ACE_Laserpointer_IRLaser"; ACE_modeDescription = CSTRING(IRLaser);
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_acc_pointer_green"; _generalMacro = "ACE_acc_pointer_green";
scope = 1; scope = 1;
displayName = "$STR_ACE_Laserpointer_green"; displayName = CSTRING(green);
}; };
class ACE_acc_pointer_green: ACE_acc_pointer_red { class ACE_acc_pointer_green: ACE_acc_pointer_red {
ACE_nextModeClass = "ACE_acc_pointer_green_IR"; ACE_nextModeClass = "ACE_acc_pointer_green_IR";
ACE_modeDescription = "$STR_ACE_Laserpointer_Laser"; ACE_modeDescription = CSTRING(Laser);
ACE_laserpointer = 2; ACE_laserpointer = 2;
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
_generalMacro = "ACE_acc_pointer_green"; _generalMacro = "ACE_acc_pointer_green";
scope = 2; scope = 2;
displayName = "$STR_ACE_Laserpointer_green"; displayName = CSTRING(green);
}; };
}; };

View File

@ -1,6 +1,6 @@
// by commy2 // by commy2
["ACE3 Weapons", QGVAR(switchLaserLightMode), localize "STR_ACE_Laserpointer_switchLaserLight", ["ACE3 Weapons", QGVAR(switchLaserLightMode), localize STRING(switchLaserLight),
{ {
// Conditions: canInteract // Conditions: canInteract
if !([ACE_player, objNull, ["isNotInside"]] call EFUNC(common,canInteractWith)) exitWith {false}; if !([ACE_player, objNull, ["isNotInside"]] call EFUNC(common,canInteractWith)) exitWith {false};

View File

@ -4,7 +4,7 @@ class CfgVehicles {
class ACE_Actions { class ACE_Actions {
class ACE_MainActions { class ACE_MainActions {
class GVAR(RefuelUAV) { class GVAR(RefuelUAV) {
displayName = "$STR_ACE_logistics_uavbattery_Recharge"; displayName = CSTRING(Recharge);
distance = 4; distance = 4;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canRefuelUAV)); condition = QUOTE([ARR_2(_player, _target)] call FUNC(canRefuelUAV));
statement = QUOTE([ARR_2(_player, _target)] call FUNC(refuelUAV)); statement = QUOTE([ARR_2(_player, _target)] call FUNC(refuelUAV));

View File

@ -4,8 +4,8 @@ class CfgWeapons {
class ACE_UAVBattery: ACE_ItemCore { class ACE_UAVBattery: ACE_ItemCore {
scope = 2; scope = 2;
displayName = "$STR_ACE_logistics_uavbattery_Battery_Name"; displayName = CSTRING(Battery_Name);
descriptionShort = "$STR_ACE_logistics_uavbattery_Battery_Description"; descriptionShort = CSTRING(Battery_Description);
model = QUOTE(PATHTOF(models\ace_battery.p3d)); model = QUOTE(PATHTOF(models\ace_battery.p3d));
picture = QUOTE(PATHTOF(ui\UAV_battery_ca.paa)); picture = QUOTE(PATHTOF(ui\UAV_battery_ca.paa));
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {

View File

@ -36,4 +36,4 @@ _onFailure = {
[_caller, "AinvPknlMstpSnonWnonDr_medic5", 0] call EFUNC(common,doAnimation); [_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);

View File

@ -4,8 +4,8 @@ class CfgWeapons {
class ACE_wirecutter: ACE_ItemCore { class ACE_wirecutter: ACE_ItemCore {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
displayName = "$STR_ACE_logistics_wirecutter_wirecutterName"; displayName = CSTRING(wirecutterName);
descriptionShort = "$STR_ACE_logistics_wirecutter_wirecutterDescription"; descriptionShort = CSTRING(wirecutterDescription);
model = "\A3\weapons_F\ammo\mag_univ.p3d"; model = "\A3\weapons_F\ammo\mag_univ.p3d";
picture = QUOTE(PATHTOF(ui\item_wirecutter_ca.paa)); picture = QUOTE(PATHTOF(ui\item_wirecutter_ca.paa));
scope = 2; scope = 2;

View File

@ -38,4 +38,4 @@ _progressCheck = {
((!isNull _fenceObject) && {(damage _fenceObject) < 1} && {("ACE_wirecutter" in (items ACE_player))}) ((!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);

View File

@ -18,5 +18,5 @@
PARAMS_1(_fenceObject); PARAMS_1(_fenceObject);
_fenceObject setdamage 1; _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); [ACE_player, "AmovPknlMstpSrasWrflDnon", 1] call EFUNC(common,doAnimation);

View File

@ -53,7 +53,7 @@ if (!("ACE_wirecutter" in (items ace_player))) exitWith {};
if ([_x] call FUNC(isFence)) then { if ([_x] call FUNC(isFence)) then {
_fencesHelped pushBack _x; _fencesHelped pushBack _x;
_helper = "Sign_Sphere25cm_F" createVehicleLocal (getpos _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, 0, [],_action] call EFUNC(interact_menu,addActionToObject);
_helper setPosASL ((getPosASL _x) vectorAdd [0,0,1.25]); _helper setPosASL ((getPosASL _x) vectorAdd [0,0,1.25]);
_helper hideObject true; _helper hideObject true;

View File

@ -3,7 +3,7 @@ class CfgVehicles {
class CAManBase: Man { class CAManBase: Man {
class ACE_SelfActions { class ACE_SelfActions {
class ACE_RepackMagazines { class ACE_RepackMagazines {
displayName = "$STR_ACE_MagazineRepack_RepackMagazines"; displayName = CSTRING(RepackMagazines);
condition = QUOTE(true); condition = QUOTE(true);
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
insertChildren = QUOTE(_this call FUNC(getMagazineChildren)); insertChildren = QUOTE(_this call FUNC(getMagazineChildren));

View File

@ -29,9 +29,9 @@ _fullMagazineCount = getNumber (configfile >> "CfgMagazines" >> _magazineClassna
if (!([ACE_player, objNull, ["isNotInside"]] call EFUNC(common,canInteractWith))) exitWith {}; if (!([ACE_player, objNull, ["isNotInside"]] call EFUNC(common,canInteractWith))) exitWith {};
_structuredOutputText = if (_errorCode == 0) then { _structuredOutputText = if (_errorCode == 0) then {
format ["<t align='center'>%1</t><br/>", (localize "STR_ACE_MagazineRepack_RepackComplete")]; format ["<t align='center'>%1</t><br/>", (localize STRING(RepackComplete))];
} else { } else {
format ["<t align='center'>%1</t><br/>", (localize "STR_ACE_MagazineRepack_RepackInterrupted")]; format ["<t align='center'>%1</t><br/>", (localize STRING(RepackInterrupted))];
}; };
_picture = getText (configFile >> "CfgMagazines" >> _magazineClassname >> "picture"); _picture = getText (configFile >> "CfgMagazines" >> _magazineClassname >> "picture");
@ -51,6 +51,6 @@ _structuredOutputText = _structuredOutputText + format ["<img align='center' siz
// }; // };
// }; // };
// } forEach (magazinesAmmoFull ACE_player); // } forEach (magazinesAmmoFull ACE_player);
// _structuredOutputText = _structuredOutputText + format [("<t align='center'>" + (localize "STR_ACE_MagazineRepack_RepackedMagazinesCount") + "</t>"), _fullMags, _partialMags]; // _structuredOutputText = _structuredOutputText + format [("<t align='center'>" + (localize STRING(RepackedMagazinesCount)) + "</t>"), _fullMags, _partialMags];
[parseText _structuredOutputText, 2] call EFUNC(common,displayTextStructured); [parseText _structuredOutputText, 2] call EFUNC(common,displayTextStructured);

View File

@ -67,7 +67,7 @@ _totalTime,
[_magazineClassname, _startingAmmoCounts, _simEvents], [_magazineClassname, _startingAmmoCounts, _simEvents],
{_this call FUNC(magazineRepackFinish)}, {_this call FUNC(magazineRepackFinish)},
{_this call FUNC(magazineRepackFinish)}, {_this call FUNC(magazineRepackFinish)},
(localize "STR_ACE_MagazineRepack_RepackingMagazine"), (localize STRING(RepackingMagazine)),
{_this call FUNC(magazineRepackProgress)}, {_this call FUNC(magazineRepackProgress)},
["isNotInside"] ["isNotInside"]
] call EFUNC(common,progressBar); ] call EFUNC(common,progressBar);

View File

@ -3,66 +3,66 @@ class CfgVehicles {
class ACE_ModuleMap: Module_F { class ACE_ModuleMap: Module_F {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
category = "ACE"; category = "ACE";
displayName = "$STR_ACE_Map_Module_DisplayName"; displayName = CSTRING(Module_DisplayName);
function = QFUNC(moduleMap); function = QFUNC(moduleMap);
scope = 2; scope = 2;
isGlobal = 1; isGlobal = 1;
icon = PATHTOF(UI\Icon_Module_Map_ca.paa); icon = PATHTOF(UI\Icon_Module_Map_ca.paa);
class Arguments { class Arguments {
class MapIllumination { class MapIllumination {
displayName = "$STR_ACE_Map_MapIllumination_DisplayName"; displayName = CSTRING(MapIllumination_DisplayName);
description = "$STR_ACE_Map_MapIllumination_Description"; description = CSTRING(MapIllumination_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 1; defaultValue = 1;
}; };
class MapShake { class MapShake {
displayName = "$STR_ACE_Map_MapShake_DisplayName"; displayName = CSTRING(MapShake_DisplayName);
description = "$STR_ACE_Map_MapShake_Description"; description = CSTRING(MapShake_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 1; defaultValue = 1;
}; };
class MapLimitZoom { class MapLimitZoom {
displayName = "$STR_ACE_Map_MapLimitZoom_DisplayName"; displayName = CSTRING(MapLimitZoom_DisplayName);
description = "$STR_ACE_Map_MapLimitZoom_Description"; description = CSTRING(MapLimitZoom_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 0; defaultValue = 0;
}; };
class MapShowCursorCoordinates { class MapShowCursorCoordinates {
displayName = "$STR_ACE_Map_MapShowCursorCoordinates_DisplayName"; displayName = CSTRING(MapShowCursorCoordinates_DisplayName);
description = "$STR_ACE_Map_MapShowCursorCoordinates_Description"; description = CSTRING(MapShowCursorCoordinates_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 0; defaultValue = 0;
}; };
}; };
class ModuleDescription { class ModuleDescription {
description = "$STR_ACE_Map_Module_Description"; description = CSTRING(Module_Description);
}; };
}; };
class ACE_ModuleBlueForceTracking: Module_F { class ACE_ModuleBlueForceTracking: Module_F {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
category = "ACE"; category = "ACE";
displayName = "$STR_ACE_Map_BFT_Module_DisplayName"; displayName = CSTRING(BFT_Module_DisplayName);
function = QFUNC(blueForceTrackingModule); function = QFUNC(blueForceTrackingModule);
scope = 2; scope = 2;
isGlobal = 1; isGlobal = 1;
icon = PATHTOF(UI\Icon_Module_BFTracking_ca.paa); icon = PATHTOF(UI\Icon_Module_BFTracking_ca.paa);
class Arguments { class Arguments {
class Interval { class Interval {
displayName = "$STR_ACE_Map_BFT_Interval_DisplayName"; displayName = CSTRING(BFT_Interval_DisplayName);
description = "$STR_ACE_Map_BFT_Interval_Description"; description = CSTRING(BFT_Interval_Description);
typeName = "NUMBER"; typeName = "NUMBER";
defaultValue = 1; defaultValue = 1;
}; };
class HideAiGroups { class HideAiGroups {
displayName = "$STR_ACE_Map_BFT_HideAiGroups_DisplayName"; displayName = CSTRING(BFT_HideAiGroups_DisplayName);
description = "$STR_ACE_Map_BFT_HideAiGroups_Description"; description = CSTRING(BFT_HideAiGroups_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 0; defaultValue = 0;
}; };
}; };
class ModuleDescription { class ModuleDescription {
description = "$STR_ACE_Map_BFT_Module_Description"; description = CSTRING(BFT_Module_Description);
}; };
}; };
}; };

View File

@ -4,7 +4,7 @@ class CfgVehicles {
class ACE_SelfActions { class ACE_SelfActions {
class ACE_MapTools { class ACE_MapTools {
displayName = "$STR_ACE_MapTools_MapTools_Menu"; displayName = CSTRING(MapTools_Menu);
condition = QUOTE((call FUNC(canUseMapTools) || {call FUNC(canUseMapGPS)})); condition = QUOTE((call FUNC(canUseMapTools) || {call FUNC(canUseMapGPS)}));
statement = ""; statement = "";
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"}; exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"};
@ -12,7 +12,7 @@ class CfgVehicles {
priority = 100; priority = 100;
class ACE_MapToolsHide { class ACE_MapToolsHide {
displayName = "$STR_ACE_MapTools_MapToolsHide"; displayName = CSTRING(MapToolsHide);
condition = QUOTE((call FUNC(canUseMapTools) && {GVAR(mapTool_Shown) != 0})); condition = QUOTE((call FUNC(canUseMapTools) && {GVAR(mapTool_Shown) != 0}));
statement = QUOTE(GVAR(mapTool_Shown) = 0; [] call FUNC(updateMapToolMarkers)); statement = QUOTE(GVAR(mapTool_Shown) = 0; [] call FUNC(updateMapToolMarkers));
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"}; exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"};
@ -20,7 +20,7 @@ class CfgVehicles {
priority = 5; priority = 5;
}; };
class ACE_MapToolsShowNormal { class ACE_MapToolsShowNormal {
displayName = "$STR_ACE_MapTools_MapToolsShowNormal"; displayName = CSTRING(MapToolsShowNormal);
condition = QUOTE((call FUNC(canUseMapTools) && {GVAR(mapTool_Shown) != 1})); condition = QUOTE((call FUNC(canUseMapTools) && {GVAR(mapTool_Shown) != 1}));
statement = QUOTE(GVAR(mapTool_Shown) = 1; [] call FUNC(updateMapToolMarkers)); statement = QUOTE(GVAR(mapTool_Shown) = 1; [] call FUNC(updateMapToolMarkers));
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"}; exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"};
@ -28,7 +28,7 @@ class CfgVehicles {
priority = 4; priority = 4;
}; };
class ACE_MapToolsShowSmall { class ACE_MapToolsShowSmall {
displayName = "$STR_ACE_MapTools_MapToolsShowSmall"; displayName = CSTRING(MapToolsShowSmall);
condition = QUOTE((call FUNC(canUseMapTools) && {GVAR(mapTool_Shown) != 2})); condition = QUOTE((call FUNC(canUseMapTools) && {GVAR(mapTool_Shown) != 2}));
statement = QUOTE(GVAR(mapTool_Shown) = 2; [] call FUNC(updateMapToolMarkers)); statement = QUOTE(GVAR(mapTool_Shown) = 2; [] call FUNC(updateMapToolMarkers));
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"}; exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"};
@ -36,7 +36,7 @@ class CfgVehicles {
priority = 3; priority = 3;
}; };
class ACE_MapToolsAlignNorth { class ACE_MapToolsAlignNorth {
displayName = "$STR_ACE_MapTools_MapToolsAlignNorth"; displayName = CSTRING(MapToolsAlignNorth);
condition = QUOTE((call FUNC(canUseMapTools) && {GVAR(mapTool_Shown) != 0})); condition = QUOTE((call FUNC(canUseMapTools) && {GVAR(mapTool_Shown) != 0}));
statement = QUOTE(GVAR(mapTool_angle) = 0; [] call FUNC(updateMapToolMarkers)); statement = QUOTE(GVAR(mapTool_angle) = 0; [] call FUNC(updateMapToolMarkers));
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"}; exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"};
@ -44,7 +44,7 @@ class CfgVehicles {
priority = 2; priority = 2;
}; };
class ACE_MapToolsAlignCompass { 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}})); 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)); statement = QUOTE(GVAR(mapTool_angle) = getDir ACE_player; [] call FUNC(updateMapToolMarkers));
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"}; exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"};
@ -52,7 +52,7 @@ class CfgVehicles {
priority = 1; priority = 1;
}; };
class ACE_MapGpsShow { class ACE_MapGpsShow {
displayName = "$STR_ACE_MapTools_MapGpsShow"; displayName = CSTRING(MapGpsShow);
condition = QUOTE((call FUNC(canUseMapGPS) && {!GVAR(mapGpsShow)})); condition = QUOTE((call FUNC(canUseMapGPS) && {!GVAR(mapGpsShow)}));
statement = QUOTE(GVAR(mapGpsShow) = true; [GVAR(mapGpsShow)] call FUNC(openMapGps)); statement = QUOTE(GVAR(mapGpsShow) = true; [GVAR(mapGpsShow)] call FUNC(openMapGps));
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"}; exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"};
@ -60,7 +60,7 @@ class CfgVehicles {
priority = 0; priority = 0;
}; };
class ACE_MapGpsHide { class ACE_MapGpsHide {
displayName = "$STR_ACE_MapTools_MapGpsHide"; displayName = CSTRING(MapGpsHide);
condition = QUOTE((call FUNC(canUseMapGPS) && {GVAR(mapGpsShow)})); condition = QUOTE((call FUNC(canUseMapGPS) && {GVAR(mapGpsShow)}));
statement = QUOTE(GVAR(mapGpsShow) = false; [GVAR(mapGpsShow)] call FUNC(openMapGps)); statement = QUOTE(GVAR(mapGpsShow) = false; [GVAR(mapGpsShow)] call FUNC(openMapGps));
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"}; exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"};
@ -73,7 +73,7 @@ class CfgVehicles {
class ACE_Actions { class ACE_Actions {
class ACE_MainActions { class ACE_MainActions {
class ACE_CopyMap { 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})); 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)); statement = QUOTE([ARR_2(_player,_target)] call FUNC(copyMapStart));
showDisabled = 0; showDisabled = 0;

View File

@ -3,8 +3,8 @@ class CfgWeapons {
class InventoryItem_Base_F; class InventoryItem_Base_F;
class ACE_MapTools: ACE_ItemCore { class ACE_MapTools: ACE_ItemCore {
displayName = "$STR_ACE_MapTools_Name"; displayName = CSTRING(Name);
descriptionShort = "$STR_ACE_MapTools_Description"; descriptionShort = CSTRING(Description);
model = "\A3\weapons_F\ammo\mag_univ.p3d"; model = "\A3\weapons_F\ammo\mag_univ.p3d";
picture = PATHTOF(UI\maptool_item.paa); picture = PATHTOF(UI\maptool_item.paa);
scope = 2; scope = 2;

View File

@ -25,6 +25,6 @@ if (_direction < 0) then {
_direction = _direction + 360; _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; GVAR(currentMarkerAngle) = _data;

View File

@ -1,6 +1,6 @@
class ACE_Head { class ACE_Head {
displayName = "$STR_ACE_Interaction_Head"; displayName = CSTRING(Head);
runOnHover = 1; runOnHover = 1;
statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation)); statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation));
ACTION_CONDITION ACTION_CONDITION
@ -9,7 +9,7 @@ class ACE_Head {
icon = PATHTOF(UI\icons\medical_cross.paa); icon = PATHTOF(UI\icons\medical_cross.paa);
distance = MEDICAL_ACTION_DISTANCE; distance = MEDICAL_ACTION_DISTANCE;
class Bandage { class Bandage {
displayName = "$STR_ACE_Medical_Bandage"; displayName = CSTRING(Bandage);
distance = 2.0; distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(treatment));
@ -21,7 +21,7 @@ class ACE_Head {
}; };
// Advanced medical // Advanced medical
class FieldDressing { class FieldDressing {
displayName = "$STR_ACE_Medical_Actions_FieldDressing"; displayName = CSTRING(Actions_FieldDressing);
distance = 5.0; distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(treatment));
@ -32,54 +32,54 @@ class ACE_Head {
icon = PATHTOF(UI\icons\bandage.paa); icon = PATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
displayName = "$STR_ACE_Medical_Actions_PackingBandage"; displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\packingBandage.paa); icon = PATHTOF(UI\icons\packingBandage.paa);
}; };
class ElasticBandage: fieldDressing { class ElasticBandage: fieldDressing {
displayName = "$STR_ACE_Medical_Actions_ElasticBandage"; displayName = CSTRING(Actions_ElasticBandage);
condition = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\bandage.paa); icon = PATHTOF(UI\icons\bandage.paa);
}; };
class QuikClot: fieldDressing { class QuikClot: fieldDressing {
displayName = "$STR_ACE_Medical_Actions_QuikClot"; displayName = CSTRING(Actions_QuikClot);
condition = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\bandage.paa); icon = PATHTOF(UI\icons\bandage.paa);
}; };
class CheckPulse: fieldDressing { class CheckPulse: fieldDressing {
displayName = "$STR_ACE_Medical_Actions_CheckPulse"; displayName = CSTRING(Actions_CheckPulse);
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckPulse')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckPulse')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckPulse')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckPulse')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = ""; icon = "";
}; };
class CheckBloodPressure: CheckPulse { class CheckBloodPressure: CheckPulse {
displayName = "$STR_ACE_Medical_Actions_CheckBloodPressure"; displayName = CSTRING(Actions_CheckBloodPressure);
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckBloodPressure')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckBloodPressure')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckBloodPressure')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckBloodPressure')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class CheckResponse: CheckPulse { class CheckResponse: CheckPulse {
displayName = "$STR_ACE_Medical_Check_Response"; displayName = CSTRING(Check_Response);
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckResponse')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckResponse')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckResponse')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckResponse')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class Diagnose: CheckPulse { class Diagnose: CheckPulse {
displayName = "$STR_ACE_Medical_Actions_Diagnose"; displayName = CSTRING(Actions_Diagnose);
condition = QUOTE([ARR_4(_player, _target, 'head', 'Diagnose')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'head', 'Diagnose')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'Diagnose')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'Diagnose')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
}; };
class ACE_Torso { class ACE_Torso {
displayName = "$STR_ACE_Interaction_Torso"; displayName = CSTRING(Torso);
runOnHover = 1; runOnHover = 1;
statement = QUOTE([ARR_3(_target, true, 1)] call DFUNC(displayPatientInformation)); statement = QUOTE([ARR_3(_target, true, 1)] call DFUNC(displayPatientInformation));
ACTION_CONDITION ACTION_CONDITION
@ -88,7 +88,7 @@ class ACE_Torso {
icon = PATHTOF(UI\icons\medical_cross.paa); icon = PATHTOF(UI\icons\medical_cross.paa);
distance = MEDICAL_ACTION_DISTANCE; distance = MEDICAL_ACTION_DISTANCE;
class Bandage { class Bandage {
displayName = "$STR_ACE_Medical_Bandage"; displayName = CSTRING(Bandage);
distance = 2.0; distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(treatment));
@ -100,7 +100,7 @@ class ACE_Torso {
icon = PATHTOF(UI\icons\bandage.paa); icon = PATHTOF(UI\icons\bandage.paa);
}; };
class PlaceInBodyBag { class PlaceInBodyBag {
displayName = "$STR_ACE_Medical_PlaceInBodyBag"; displayName = CSTRING(PlaceInBodyBag);
distance = 2.0; distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'body', 'BodyBag')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'body', 'BodyBag')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'BodyBag')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'BodyBag')] call DFUNC(treatment));
@ -111,7 +111,7 @@ class ACE_Torso {
enableInside = 1; enableInside = 1;
}; };
class TriageCard { class TriageCard {
displayName = "$STR_ACE_Medical_Actions_TriageCard"; displayName = CSTRING(Actions_TriageCard);
distance = 2.0; distance = 2.0;
condition = "true"; condition = "true";
statement = QUOTE([ARR_2(_target, true)] call DFUNC(displayTriageCard)); statement = QUOTE([ARR_2(_target, true)] call DFUNC(displayTriageCard));
@ -125,7 +125,7 @@ class ACE_Torso {
// Advanced medical // Advanced medical
class FieldDressing { class FieldDressing {
displayName = "$STR_ACE_Medical_Actions_FieldDressing"; displayName = CSTRING(Actions_FieldDressing);
distance = 5.0; distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(treatment));
@ -137,42 +137,42 @@ class ACE_Torso {
icon = PATHTOF(UI\icons\bandage.paa); icon = PATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
displayName = "$STR_ACE_Medical_Actions_PackingBandage"; displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\packingBandage.paa); icon = PATHTOF(UI\icons\packingBandage.paa);
}; };
class ElasticBandage: fieldDressing { class ElasticBandage: fieldDressing {
displayName = "$STR_ACE_Medical_Actions_ElasticBandage"; displayName = CSTRING(Actions_ElasticBandage);
condition = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\bandage.paa); icon = PATHTOF(UI\icons\bandage.paa);
}; };
class QuikClot: fieldDressing { class QuikClot: fieldDressing {
displayName = "$STR_ACE_Medical_Actions_QuikClot"; displayName = CSTRING(Actions_QuikClot);
condition = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\bandage.paa); icon = PATHTOF(UI\icons\bandage.paa);
}; };
class SurgicalKit: fieldDressing { class SurgicalKit: fieldDressing {
displayName = "$STR_ACE_Medical_Use_SurgicalKit"; displayName = CSTRING(Use_SurgicalKit);
condition = QUOTE([ARR_4(_player, _target, 'body', 'SurgicalKit')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'body', 'SurgicalKit')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'SurgicalKit')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'SurgicalKit')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\surgicalKit.paa); icon = PATHTOF(UI\icons\surgicalKit.paa);
}; };
class PersonalAidKit: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'body', 'PersonalAidKit')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'PersonalAidKit')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'PersonalAidKit')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = ""; icon = "";
}; };
class CPR: fieldDressing { class CPR: fieldDressing {
displayName = "$STR_ACE_Medical_Actions_CPR"; displayName = CSTRING(Actions_CPR);
condition = QUOTE([ARR_4(_player, _target, 'body', 'CPR')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'body', 'CPR')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'CPR')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'CPR')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
@ -180,7 +180,7 @@ class ACE_Torso {
}; };
}; };
class ACE_ArmLeft { class ACE_ArmLeft {
displayName = "$STR_ACE_Interaction_ArmLeft"; displayName = CSTRING(ArmLeft);
runOnHover = 1; runOnHover = 1;
statement = QUOTE([ARR_3(_target, true, 2)] call DFUNC(displayPatientInformation)); statement = QUOTE([ARR_3(_target, true, 2)] call DFUNC(displayPatientInformation));
ACTION_CONDITION ACTION_CONDITION
@ -190,7 +190,7 @@ class ACE_ArmLeft {
distance = MEDICAL_ACTION_DISTANCE; distance = MEDICAL_ACTION_DISTANCE;
class Bandage { class Bandage {
displayName = "$STR_ACE_Medical_Bandage"; displayName = CSTRING(Bandage);
distance = 2.0; distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(treatment));
@ -203,7 +203,7 @@ class ACE_ArmLeft {
// Advanced medical // Advanced medical
class FieldDressing { class FieldDressing {
displayName = "$STR_ACE_Medical_Actions_FieldDressing"; displayName = CSTRING(Actions_FieldDressing);
distance = 5.0; distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(treatment)); 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); icon = PATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\packingBandage.paa); icon = PATHTOF(UI\icons\packingBandage.paa);
}; };
class ElasticBandage: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\bandage.paa); icon = PATHTOF(UI\icons\bandage.paa);
}; };
class QuikClot: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\bandage.paa); icon = PATHTOF(UI\icons\bandage.paa);
}; };
class Tourniquet: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\tourniquet.paa); icon = PATHTOF(UI\icons\tourniquet.paa);
}; };
class Morphine: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa); icon = PATHTOF(UI\icons\autoInjector.paa);
}; };
class Atropine: Morphine { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa); icon = PATHTOF(UI\icons\autoInjector.paa);
}; };
class Epinephrine: Morphine { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa); icon = PATHTOF(UI\icons\autoInjector.paa);
}; };
class BloodIV: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\iv.paa); icon = PATHTOF(UI\icons\iv.paa);
}; };
class BloodIV_500: BloodIV { 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)); 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)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV_500')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class BloodIV_250: BloodIV { 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)); 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)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV_250')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class PlasmaIV: BloodIV { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class PlasmaIV_500: PlasmaIV { 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)); 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)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV_500')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class PlasmaIV_250: PlasmaIV { 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)); 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)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV_250')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class SalineIV: BloodIV { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'SalineIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'SalineIV')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'SalineIV')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class SalineIV_500: SalineIV { 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)); 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)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'SalineIV_500')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class SalineIV_250: SalineIV { 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)); 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)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'SalineIV_250')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class CheckPulse: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckPulse')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckPulse')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckPulse')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = ""; icon = "";
}; };
class CheckBloodPressure: CheckPulse { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckBloodPressure')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckBloodPressure')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckBloodPressure')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class RemoveTourniquet: Tourniquet { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'RemoveTourniquet')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'RemoveTourniquet')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'RemoveTourniquet')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
}; };
class ACE_ArmRight { class ACE_ArmRight {
displayName = "$STR_ACE_Interaction_ArmRight"; displayName = CSTRING(ArmRight);
runOnHover = 1; runOnHover = 1;
statement = QUOTE([ARR_3(_target, true, 3)] call DFUNC(displayPatientInformation)); statement = QUOTE([ARR_3(_target, true, 3)] call DFUNC(displayPatientInformation));
ACTION_CONDITION ACTION_CONDITION
@ -348,7 +348,7 @@ class ACE_ArmRight {
distance = MEDICAL_ACTION_DISTANCE; distance = MEDICAL_ACTION_DISTANCE;
class Bandage { class Bandage {
displayName = "$STR_ACE_Medical_Bandage"; displayName = CSTRING(Bandage);
distance = 2.0; distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(treatment));
@ -361,7 +361,7 @@ class ACE_ArmRight {
// Advanced medical // Advanced medical
class FieldDressing { class FieldDressing {
displayName = "$STR_ACE_Medical_Actions_FieldDressing"; displayName = CSTRING(Actions_FieldDressing);
distance = 5.0; distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(treatment)); 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); icon = PATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\packingBandage.paa); icon = PATHTOF(UI\icons\packingBandage.paa);
}; };
class ElasticBandage: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'ElasticBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'ElasticBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'ElasticBandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class QuikClot: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'QuikClot')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'QuikClot')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'QuikClot')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class Tourniquet: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\tourniquet.paa); icon = PATHTOF(UI\icons\tourniquet.paa);
}; };
class Morphine: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa); icon = PATHTOF(UI\icons\autoInjector.paa);
}; };
class Atropine: Morphine { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Atropine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Atropine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Atropine')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class Epinephrine: Morphine { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Epinephrine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Epinephrine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Epinephrine')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class BloodIV: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\iv.paa); icon = PATHTOF(UI\icons\iv.paa);
}; };
class BloodIV_500: BloodIV { 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)); 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)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV_500')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class BloodIV_250: BloodIV { 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)); 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)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV_250')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class PlasmaIV: BloodIV { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'PlasmaIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PlasmaIV')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PlasmaIV')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class PlasmaIV_500: PlasmaIV { 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)); 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)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PlasmaIV_500')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class PlasmaIV_250: PlasmaIV { 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)); 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)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PlasmaIV_250')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class SalineIV: BloodIV { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'SalineIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'SalineIV')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'SalineIV')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class SalineIV_500: SalineIV { 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)); 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)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'SalineIV_500')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class SalineIV_250: SalineIV { 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)); 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)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'SalineIV_250')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class CheckPulse: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckPulse')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckPulse')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckPulse')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = ""; icon = "";
}; };
class CheckBloodPressure: CheckPulse { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckBloodPressure')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckBloodPressure')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckBloodPressure')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class RemoveTourniquet: Tourniquet { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'RemoveTourniquet')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'RemoveTourniquet')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'RemoveTourniquet')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
@ -493,7 +493,7 @@ class ACE_ArmRight {
}; };
class ACE_LegLeft { class ACE_LegLeft {
displayName = "$STR_ACE_Interaction_LegLeft"; displayName = CSTRING(LegLeft);
runOnHover = 1; runOnHover = 1;
statement = QUOTE([ARR_3(_target, true, 4)] call DFUNC(displayPatientInformation)); statement = QUOTE([ARR_3(_target, true, 4)] call DFUNC(displayPatientInformation));
ACTION_CONDITION ACTION_CONDITION
@ -503,7 +503,7 @@ class ACE_LegLeft {
distance = MEDICAL_ACTION_DISTANCE; distance = MEDICAL_ACTION_DISTANCE;
class Bandage { class Bandage {
displayName = "$STR_ACE_Medical_Bandage"; displayName = CSTRING(Bandage);
distance = 2.0; distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(treatment));
@ -517,7 +517,7 @@ class ACE_LegLeft {
// Advanced medical // Advanced medical
class FieldDressing { class FieldDressing {
displayName = "$STR_ACE_Medical_Actions_FieldDressing"; displayName = CSTRING(Actions_FieldDressing);
distance = 5.0; distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(treatment)); 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); icon = PATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\packingBandage.paa); icon = PATHTOF(UI\icons\packingBandage.paa);
}; };
class ElasticBandage: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'ElasticBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'ElasticBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'ElasticBandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class QuikClot: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'QuikClot')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'QuikClot')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'QuikClot')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class Tourniquet: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\tourniquet.paa); icon = PATHTOF(UI\icons\tourniquet.paa);
}; };
class Morphine: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa); icon = PATHTOF(UI\icons\autoInjector.paa);
}; };
class Atropine: Morphine { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa); icon = PATHTOF(UI\icons\autoInjector.paa);
}; };
class Epinephrine: Morphine { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Epinephrine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Epinephrine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Epinephrine')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class BloodIV: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\iv.paa); icon = PATHTOF(UI\icons\iv.paa);
}; };
class BloodIV_500: BloodIV { 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)); 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)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV_500')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class BloodIV_250: BloodIV { 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)); 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)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV_250')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class PlasmaIV: BloodIV { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'PlasmaIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PlasmaIV')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PlasmaIV')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class PlasmaIV_500: PlasmaIV { 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)); 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)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PlasmaIV_500')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class PlasmaIV_250: PlasmaIV { 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)); 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)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PlasmaIV_250')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class SalineIV: BloodIV { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'SalineIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'SalineIV')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'SalineIV')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class SalineIV_500: SalineIV { 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)); 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)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'SalineIV_500')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class SalineIV_250: SalineIV { 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)); 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)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'SalineIV_250')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class RemoveTourniquet: Tourniquet { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'RemoveTourniquet')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'RemoveTourniquet')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'RemoveTourniquet')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
}; };
class ACE_LegRight { class ACE_LegRight {
displayName = "$STR_ACE_Interaction_LegRight"; displayName = CSTRING(LegRight);
runOnHover = 1; runOnHover = 1;
statement = QUOTE([ARR_3(_target, true, 5)] call DFUNC(displayPatientInformation)); statement = QUOTE([ARR_3(_target, true, 5)] call DFUNC(displayPatientInformation));
ACTION_CONDITION ACTION_CONDITION
@ -646,7 +646,7 @@ class ACE_LegRight {
distance = MEDICAL_ACTION_DISTANCE; distance = MEDICAL_ACTION_DISTANCE;
class Bandage { class Bandage {
displayName = "$STR_ACE_Medical_Bandage"; displayName = CSTRING(Bandage);
distance = 2.0; distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(treatment));
@ -660,7 +660,7 @@ class ACE_LegRight {
// Advanced medical // Advanced medical
class FieldDressing { class FieldDressing {
displayName = "$STR_ACE_Medical_Actions_FieldDressing"; displayName = CSTRING(Actions_FieldDressing);
distance = 5.0; distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(treatment)); 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); icon = PATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\packingBandage.paa); icon = PATHTOF(UI\icons\packingBandage.paa);
}; };
class ElasticBandage: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'ElasticBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'ElasticBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'ElasticBandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class QuikClot: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'QuikClot')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'QuikClot')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'QuikClot')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class Tourniquet: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\tourniquet.paa); icon = PATHTOF(UI\icons\tourniquet.paa);
}; };
class Morphine: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa); icon = PATHTOF(UI\icons\autoInjector.paa);
}; };
class Atropine: Morphine { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Atropine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Atropine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Atropine')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class Epinephrine: Morphine { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Epinephrine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Epinephrine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Epinephrine')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class BloodIV: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\iv.paa); icon = PATHTOF(UI\icons\iv.paa);
}; };
class BloodIV_500: BloodIV { 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)); 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)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV_500')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class BloodIV_250: BloodIV { 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)); 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)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV_250')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class PlasmaIV: BloodIV { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'PlasmaIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PlasmaIV')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PlasmaIV')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class PlasmaIV_500: PlasmaIV { 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)); 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)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PlasmaIV_500')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class PlasmaIV_250: PlasmaIV { 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)); 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)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PlasmaIV_250')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class SalineIV: BloodIV { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'SalineIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'SalineIV')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'SalineIV')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class SalineIV_500: SalineIV { 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)); 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)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'SalineIV_500')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class SalineIV_250: SalineIV { 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)); 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)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'SalineIV_250')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
}; };
class RemoveTourniquet: Tourniquet { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'RemoveTourniquet')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'RemoveTourniquet')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'RemoveTourniquet')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS

View File

@ -1,5 +1,5 @@
class Medical { class Medical {
displayName = "$STR_ACE_Medical_Actions_Medical"; displayName = CSTRING(Actions_Medical);
runOnHover = 1; runOnHover = 1;
hotkey = "M"; hotkey = "M";
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
@ -8,7 +8,7 @@ class Medical {
icon = PATHTOF(UI\icons\medical_cross.paa); icon = PATHTOF(UI\icons\medical_cross.paa);
class ACE_Head { class ACE_Head {
displayName = "$STR_ACE_Interaction_Head"; displayName = CSTRING(Head);
icon = PATHTOF(UI\icons\medical_cross.paa); icon = PATHTOF(UI\icons\medical_cross.paa);
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation)); statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation));
@ -17,7 +17,7 @@ class Medical {
runOnHover = 1; runOnHover = 1;
class Bandage { class Bandage {
displayName = "$STR_ACE_Medical_Bandage"; displayName = CSTRING(Bandage);
distance = 2.0; distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
@ -29,7 +29,7 @@ class Medical {
}; };
// Advanced medical // Advanced medical
class FieldDressing { class FieldDressing {
displayName = "$STR_ACE_Medical_Actions_FieldDressing"; displayName = CSTRING(Actions_FieldDressing);
distance = 5.0; distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
@ -40,42 +40,42 @@ class Medical {
icon = PATHTOF(UI\icons\bandage.paa); icon = PATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
displayName = "$STR_ACE_Medical_Actions_PackingBandage"; displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa); icon = PATHTOF(UI\icons\packingBandage.paa);
}; };
class ElasticBandage: fieldDressing { class ElasticBandage: fieldDressing {
displayName = "$STR_ACE_Medical_Actions_ElasticBandage"; displayName = CSTRING(Actions_ElasticBandage);
condition = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\bandage.paa); icon = PATHTOF(UI\icons\bandage.paa);
}; };
class QuikClot: fieldDressing { class QuikClot: fieldDressing {
displayName = "$STR_ACE_Medical_Actions_QuikClot"; displayName = CSTRING(Actions_QuikClot);
condition = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\bandage.paa); icon = PATHTOF(UI\icons\bandage.paa);
}; };
class CheckPulse: fieldDressing { class CheckPulse: fieldDressing {
displayName = "$STR_ACE_Medical_Actions_CheckPulse"; displayName = CSTRING(Actions_CheckPulse);
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckPulse')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckPulse')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckPulse')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckPulse')] call DFUNC(treatment));
icon = ""; icon = "";
}; };
class CheckBloodPressure: CheckPulse { class CheckBloodPressure: CheckPulse {
displayName = "$STR_ACE_Medical_Actions_CheckBloodPressure"; displayName = CSTRING(Actions_CheckBloodPressure);
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckBloodPressure')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckBloodPressure')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckBloodPressure')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckBloodPressure')] call DFUNC(treatment));
}; };
}; };
class ACE_Torso { class ACE_Torso {
displayName = "$STR_ACE_Interaction_Torso"; displayName = CSTRING(Torso);
distance = 5.0; distance = 5.0;
condition = "true"; condition = "true";
runOnHover = 1; runOnHover = 1;
@ -88,7 +88,7 @@ class Medical {
icon = PATHTOF(UI\icons\medical_cross.paa); icon = PATHTOF(UI\icons\medical_cross.paa);
class Bandage { class Bandage {
displayName = "$STR_ACE_Medical_Bandage"; displayName = CSTRING(Bandage);
distance = 2.0; distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
@ -100,7 +100,7 @@ class Medical {
}; };
class TriageCard { class TriageCard {
displayName = "$STR_ACE_Medical_Actions_TriageCard"; displayName = CSTRING(Actions_TriageCard);
distance = 2.0; distance = 2.0;
condition = "true"; condition = "true";
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
@ -113,7 +113,7 @@ class Medical {
// Advanced medical // Advanced medical
class FieldDressing { class FieldDressing {
displayName = "$STR_ACE_Medical_Actions_FieldDressing"; displayName = CSTRING(Actions_FieldDressing);
distance = 5.0; distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
@ -124,21 +124,21 @@ class Medical {
icon = PATHTOF(UI\icons\bandage.paa); icon = PATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
displayName = "$STR_ACE_Medical_Actions_PackingBandage"; displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa); icon = PATHTOF(UI\icons\packingBandage.paa);
}; };
class ElasticBandage: fieldDressing { class ElasticBandage: fieldDressing {
displayName = "$STR_ACE_Medical_Actions_ElasticBandage"; displayName = CSTRING(Actions_ElasticBandage);
condition = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\bandage.paa); icon = PATHTOF(UI\icons\bandage.paa);
}; };
class QuikClot: fieldDressing { class QuikClot: fieldDressing {
displayName = "$STR_ACE_Medical_Actions_QuikClot"; displayName = CSTRING(Actions_QuikClot);
condition = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(treatment));
@ -146,7 +146,7 @@ class Medical {
}; };
}; };
class ACE_ArmLeft { class ACE_ArmLeft {
displayName = "$STR_ACE_Interaction_ArmLeft"; displayName = CSTRING(ArmLeft);
runOnHover = 1; runOnHover = 1;
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_3(_target, true, 2)] call DFUNC(displayPatientInformation)); statement = QUOTE([ARR_3(_target, true, 2)] call DFUNC(displayPatientInformation));
@ -155,7 +155,7 @@ class Medical {
icon = PATHTOF(UI\icons\medical_cross.paa); icon = PATHTOF(UI\icons\medical_cross.paa);
class Bandage { class Bandage {
displayName = "$STR_ACE_Medical_Bandage"; displayName = CSTRING(Bandage);
distance = 2.0; distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
@ -168,7 +168,7 @@ class Medical {
// Advanced medical // Advanced medical
class FieldDressing { class FieldDressing {
displayName = "$STR_ACE_Medical_Actions_FieldDressing"; displayName = CSTRING(Actions_FieldDressing);
distance = 5.0; distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
@ -179,76 +179,76 @@ class Medical {
icon = PATHTOF(UI\icons\bandage.paa); icon = PATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa); icon = PATHTOF(UI\icons\packingBandage.paa);
}; };
class ElasticBandage: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\bandage.paa); icon = PATHTOF(UI\icons\bandage.paa);
}; };
class QuikClot: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\bandage.paa); icon = PATHTOF(UI\icons\bandage.paa);
}; };
class Tourniquet: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\tourniquet.paa); icon = PATHTOF(UI\icons\tourniquet.paa);
}; };
class Morphine: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa); icon = PATHTOF(UI\icons\autoInjector.paa);
}; };
class Atropine: Morphine { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa); icon = PATHTOF(UI\icons\autoInjector.paa);
}; };
class Epinephrine: Morphine { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa); icon = PATHTOF(UI\icons\autoInjector.paa);
}; };
class CheckPulse: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckPulse')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckPulse')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckPulse')] call DFUNC(treatment));
icon = ""; icon = "";
}; };
class CheckBloodPressure: CheckPulse { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckBloodPressure')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckBloodPressure')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckBloodPressure')] call DFUNC(treatment));
}; };
class RemoveTourniquet: Tourniquet { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'RemoveTourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'RemoveTourniquet')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'RemoveTourniquet')] call DFUNC(treatment));
}; };
}; };
class ACE_ArmRight { class ACE_ArmRight {
displayName = "$STR_ACE_Interaction_ArmRight"; displayName = CSTRING(ArmRight);
runOnHover = 1; runOnHover = 1;
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_3(_target, true, 3)] call DFUNC(displayPatientInformation)); statement = QUOTE([ARR_3(_target, true, 3)] call DFUNC(displayPatientInformation));
@ -257,7 +257,7 @@ class Medical {
icon = PATHTOF(UI\icons\medical_cross.paa); icon = PATHTOF(UI\icons\medical_cross.paa);
class Bandage { class Bandage {
displayName = "$STR_ACE_Medical_Bandage"; displayName = CSTRING(Bandage);
distance = 2.0; distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
@ -270,7 +270,7 @@ class Medical {
// Advanced medical // Advanced medical
class FieldDressing { class FieldDressing {
displayName = "$STR_ACE_Medical_Actions_FieldDressing"; displayName = CSTRING(Actions_FieldDressing);
distance = 5.0; distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
@ -281,72 +281,72 @@ class Medical {
icon = PATHTOF(UI\icons\bandage.paa); icon = PATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa); icon = PATHTOF(UI\icons\packingBandage.paa);
}; };
class ElasticBandage: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'ElasticBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'ElasticBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'ElasticBandage')] call DFUNC(treatment));
}; };
class QuikClot: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'QuikClot')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'QuikClot')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'QuikClot')] call DFUNC(treatment));
}; };
class Tourniquet: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\tourniquet.paa); icon = PATHTOF(UI\icons\tourniquet.paa);
}; };
class Morphine: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa); icon = PATHTOF(UI\icons\autoInjector.paa);
}; };
class Atropine: Morphine { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Atropine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Atropine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Atropine')] call DFUNC(treatment));
}; };
class Epinephrine: Morphine { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Epinephrine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Epinephrine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Epinephrine')] call DFUNC(treatment));
}; };
class CheckPulse: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckPulse')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckPulse')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckPulse')] call DFUNC(treatment));
icon = ""; icon = "";
}; };
class CheckBloodPressure: CheckPulse { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckBloodPressure')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckBloodPressure')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckBloodPressure')] call DFUNC(treatment));
}; };
class RemoveTourniquet: Tourniquet { 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)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'RemoveTourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'RemoveTourniquet')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'RemoveTourniquet')] call DFUNC(treatment));
}; };
}; };
class ACE_LegLeft { class ACE_LegLeft {
displayName = "$STR_ACE_Interaction_LegLeft"; displayName = CSTRING(LegLeft);
runOnHover = 1; runOnHover = 1;
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_3(_target, true, 4)] call DFUNC(displayPatientInformation)); statement = QUOTE([ARR_3(_target, true, 4)] call DFUNC(displayPatientInformation));
@ -355,7 +355,7 @@ class Medical {
icon = PATHTOF(UI\icons\medical_cross.paa); icon = PATHTOF(UI\icons\medical_cross.paa);
class Bandage { class Bandage {
displayName = "$STR_ACE_Medical_Bandage"; displayName = CSTRING(Bandage);
distance = 2.0; distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
@ -369,7 +369,7 @@ class Medical {
// Advanced medical // Advanced medical
class FieldDressing { class FieldDressing {
displayName = "$STR_ACE_Medical_Actions_FieldDressing"; displayName = CSTRING(Actions_FieldDressing);
distance = 5.0; distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
@ -380,60 +380,60 @@ class Medical {
icon = PATHTOF(UI\icons\bandage.paa); icon = PATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa); icon = PATHTOF(UI\icons\packingBandage.paa);
}; };
class ElasticBandage: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'ElasticBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'ElasticBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'ElasticBandage')] call DFUNC(treatment));
}; };
class QuikClot: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'QuikClot')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'QuikClot')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'QuikClot')] call DFUNC(treatment));
}; };
class Tourniquet: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\tourniquet.paa); icon = PATHTOF(UI\icons\tourniquet.paa);
}; };
class Morphine: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa); icon = PATHTOF(UI\icons\autoInjector.paa);
}; };
class Atropine: Morphine { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa); icon = PATHTOF(UI\icons\autoInjector.paa);
}; };
class Epinephrine: Morphine { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Epinephrine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Epinephrine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Epinephrine')] call DFUNC(treatment));
}; };
class RemoveTourniquet: Tourniquet { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'RemoveTourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'RemoveTourniquet')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'RemoveTourniquet')] call DFUNC(treatment));
}; };
}; };
class ACE_LegRight { class ACE_LegRight {
displayName = "$STR_ACE_Interaction_LegRight"; displayName = CSTRING(LegRight);
runOnHover = 1; runOnHover = 1;
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_3(_target, true, 5)] call DFUNC(displayPatientInformation)); statement = QUOTE([ARR_3(_target, true, 5)] call DFUNC(displayPatientInformation));
@ -442,7 +442,7 @@ class Medical {
icon = PATHTOF(UI\icons\medical_cross.paa); icon = PATHTOF(UI\icons\medical_cross.paa);
class Bandage { class Bandage {
displayName = "$STR_ACE_Medical_Bandage"; displayName = CSTRING(Bandage);
distance = 2.0; distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
@ -456,7 +456,7 @@ class Medical {
// Advanced medical // Advanced medical
class FieldDressing { class FieldDressing {
displayName = "$STR_ACE_Medical_Actions_FieldDressing"; displayName = CSTRING(Actions_FieldDressing);
distance = 5.0; distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
@ -467,52 +467,52 @@ class Medical {
icon = PATHTOF(UI\icons\bandage.paa); icon = PATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa); icon = PATHTOF(UI\icons\packingBandage.paa);
}; };
class ElasticBandage: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'ElasticBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'ElasticBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'ElasticBandage')] call DFUNC(treatment));
}; };
class QuikClot: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'QuikClot')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'QuikClot')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'QuikClot')] call DFUNC(treatment));
}; };
class Tourniquet: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\tourniquet.paa); icon = PATHTOF(UI\icons\tourniquet.paa);
}; };
class Morphine: fieldDressing { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa); icon = PATHTOF(UI\icons\autoInjector.paa);
}; };
class Atropine: Morphine { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Atropine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Atropine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Atropine')] call DFUNC(treatment));
}; };
class Epinephrine: Morphine { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Epinephrine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Epinephrine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Epinephrine')] call DFUNC(treatment));
}; };
class RemoveTourniquet: Tourniquet { 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)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'RemoveTourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'RemoveTourniquet')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'RemoveTourniquet')] call DFUNC(treatment));

View File

@ -2,8 +2,8 @@
class ACE_Medical_Actions { class ACE_Medical_Actions {
class Basic { class Basic {
class Bandage { class Bandage {
displayName = "$STR_ACE_Medical_Bandage"; displayName = CSTRING(Bandage);
displayNameProgress = "$STR_ACE_Medical_Bandaging"; displayNameProgress = CSTRING(Bandaging);
treatmentLocations[] = {"All"}; treatmentLocations[] = {"All"};
requiredMedic = 0; requiredMedic = 0;
@ -27,8 +27,8 @@ class ACE_Medical_Actions {
litter[] = { {"All", "", {{"ACE_MedicalLitterBase", "ACE_MedicalLitter_bandage1", "ACE_MedicalLitter_bandage2", "ACE_MedicalLitter_bandage3"}}} }; litter[] = { {"All", "", {{"ACE_MedicalLitterBase", "ACE_MedicalLitter_bandage1", "ACE_MedicalLitter_bandage2", "ACE_MedicalLitter_bandage3"}}} };
}; };
class Morphine: Bandage { class Morphine: Bandage {
displayName = "$STR_ACE_Medical_Inject_Morphine"; displayName = CSTRING(Inject_Morphine);
displayNameProgress = "$STR_ACE_Medical_Injecting_Morphine"; displayNameProgress = CSTRING(Injecting_Morphine);
treatmentTime = 2; treatmentTime = 2;
items[] = {"ACE_morphine"}; items[] = {"ACE_morphine"};
callbackSuccess = QUOTE(DFUNC(treatmentBasic_morphine)); callbackSuccess = QUOTE(DFUNC(treatmentBasic_morphine));
@ -36,8 +36,8 @@ class ACE_Medical_Actions {
litter[] = { {"All", "", {"ACE_MedicalLitter_morphine"}} }; litter[] = { {"All", "", {"ACE_MedicalLitter_morphine"}} };
}; };
class Epinephrine: Bandage { class Epinephrine: Bandage {
displayName = "$STR_ACE_Medical_Inject_Epinephrine"; displayName = CSTRING(Inject_Epinephrine);
displayNameProgress = "$STR_ACE_Medical_Injecting_Epinephrine"; displayNameProgress = CSTRING(Injecting_Epinephrine);
requiredMedic = 1; requiredMedic = 1;
treatmentTime = 3; treatmentTime = 3;
items[] = {"ACE_epinephrine"}; items[] = {"ACE_epinephrine"};
@ -46,8 +46,8 @@ class ACE_Medical_Actions {
litter[] = { {"All", "", {"ACE_MedicalLitter_epinephrine"}} }; litter[] = { {"All", "", {"ACE_MedicalLitter_epinephrine"}} };
}; };
class BloodIV: Bandage { class BloodIV: Bandage {
displayName = "$STR_ACE_Medical_Transfuse_Blood"; displayName = CSTRING(Transfuse_Blood);
displayNameProgress = "$STR_ACE_Medical_Transfusing_Blood"; displayNameProgress = CSTRING(Transfusing_Blood);
requiredMedic = 1; requiredMedic = 1;
treatmentTime = 20; treatmentTime = 20;
items[] = {"ACE_bloodIV"}; items[] = {"ACE_bloodIV"};
@ -62,8 +62,8 @@ class ACE_Medical_Actions {
items[] = {"ACE_bloodIV_250"}; items[] = {"ACE_bloodIV_250"};
}; };
class BodyBag: Bandage { class BodyBag: Bandage {
displayName = "$STR_ACE_Medical_PlaceInBodyBag"; displayName = CSTRING(PlaceInBodyBag);
displayNameProgress = "$STR_ACE_Medical_PlacingInBodyBag"; displayNameProgress = CSTRING(PlacingInBodyBag);
treatmentLocations[] = {"All"}; treatmentLocations[] = {"All"};
requiredMedic = 0; requiredMedic = 0;
treatmentTime = 2; treatmentTime = 2;
@ -78,8 +78,8 @@ class ACE_Medical_Actions {
litter[] = {}; litter[] = {};
}; };
class Diagnose: Bandage { class Diagnose: Bandage {
displayName = "$STR_ACE_Medical_Actions_Diagnose"; displayName = CSTRING(Actions_Diagnose);
displayNameProgress = "$STR_ACE_Medical_Actions_Diagnosing"; displayNameProgress = CSTRING(Actions_Diagnosing);
treatmentLocations[] = {"All"}; treatmentLocations[] = {"All"};
requiredMedic = 0; requiredMedic = 0;
treatmentTime = 1; treatmentTime = 1;
@ -96,8 +96,8 @@ class ACE_Medical_Actions {
class Advanced { class Advanced {
class FieldDressing { class FieldDressing {
displayName = "$STR_ACE_Medical_Bandage"; displayName = CSTRING(Bandage);
displayNameProgress = "$STR_ACE_Medical_Bandaging"; displayNameProgress = CSTRING(Bandaging);
// Which locations can this treatment action be used? Available: Field, MedicalFacility, MedicalVehicle, All. // Which locations can this treatment action be used? Available: Field, MedicalFacility, MedicalVehicle, All.
treatmentLocations[] = {"All"}; treatmentLocations[] = {"All"};
// What is the level of medical skill required for this treatment action? 0 = all soldiers, 1 = medic, 2 = doctor // 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"}; items[] = {"ACE_quikclot"};
}; };
class Tourniquet: fieldDressing { class Tourniquet: fieldDressing {
displayName = "$STR_ACE_Medical_Apply_Tourniquet"; displayName = CSTRING(Apply_Tourniquet);
displayNameProgress = "$STR_ACE_Medical_Applying_Tourniquet"; displayNameProgress = CSTRING(Applying_Tourniquet);
items[] = {"ACE_tourniquet"}; items[] = {"ACE_tourniquet"};
treatmentTime = 6; treatmentTime = 6;
callbackSuccess = QUOTE(DFUNC(treatmentTourniquet)); callbackSuccess = QUOTE(DFUNC(treatmentTourniquet));
@ -140,8 +140,8 @@ class ACE_Medical_Actions {
litter[] = {}; litter[] = {};
}; };
class Morphine: fieldDressing { class Morphine: fieldDressing {
displayName = "$STR_ACE_Medical_Inject_Morphine"; displayName = CSTRING(Inject_Morphine);
displayNameProgress = "$STR_ACE_Medical_Injecting_Morphine"; displayNameProgress = CSTRING(Injecting_Morphine);
items[] = {"ACE_morphine"}; items[] = {"ACE_morphine"};
treatmentTime = 3; treatmentTime = 3;
callbackSuccess = QUOTE(DFUNC(treatmentAdvanced_medication)); callbackSuccess = QUOTE(DFUNC(treatmentAdvanced_medication));
@ -149,20 +149,20 @@ class ACE_Medical_Actions {
litter[] = { {"All", "", {"ACE_MedicalLitter_morphine"}} }; litter[] = { {"All", "", {"ACE_MedicalLitter_morphine"}} };
}; };
class Atropine: Morphine { class Atropine: Morphine {
displayName = "$STR_ACE_Medical_Inject_Atropine"; displayName = CSTRING(Inject_Atropine);
displayNameProgress = "$STR_ACE_Medical_Injecting_Atropine"; displayNameProgress = CSTRING(Injecting_Atropine);
items[] = {"ACE_atropine"}; items[] = {"ACE_atropine"};
litter[] = { {"All", "", {"ACE_MedicalLitter_atropine"}} }; litter[] = { {"All", "", {"ACE_MedicalLitter_atropine"}} };
}; };
class Epinephrine: Morphine { class Epinephrine: Morphine {
displayName = "$STR_ACE_Medical_Inject_Epinephrine"; displayName = CSTRING(Inject_Epinephrine);
displayNameProgress = "$STR_ACE_Medical_Injecting_Epinephrine"; displayNameProgress = CSTRING(Injecting_Epinephrine);
items[] = {"ACE_epinephrine"}; items[] = {"ACE_epinephrine"};
litter[] = { {"All", "", {"ACE_MedicalLitter_epinephrine"}} }; litter[] = { {"All", "", {"ACE_MedicalLitter_epinephrine"}} };
}; };
class BloodIV: fieldDressing { class BloodIV: fieldDressing {
displayName = "$STR_ACE_Medical_Transfuse_Blood"; displayName = CSTRING(Transfuse_Blood);
displayNameProgress = "$STR_ACE_Medical_Transfusing_Blood"; displayNameProgress = CSTRING(Transfusing_Blood);
items[] = {"ACE_bloodIV"}; items[] = {"ACE_bloodIV"};
requiredMedic = 1; requiredMedic = 1;
treatmentTime = 7; treatmentTime = 7;
@ -177,8 +177,8 @@ class ACE_Medical_Actions {
items[] = {"ACE_bloodIV_250"}; items[] = {"ACE_bloodIV_250"};
}; };
class PlasmaIV: BloodIV { class PlasmaIV: BloodIV {
displayName = "$STR_ACE_Medical_Transfuse_Plasma"; displayName = CSTRING(Transfuse_Plasma);
displayNameProgress = "$STR_ACE_Medical_Transfusing_Plasma"; displayNameProgress = CSTRING(Transfusing_Plasma);
items[] = {"ACE_plasmaIV"}; items[] = {"ACE_plasmaIV"};
animationCaller = "AinvPknlMstpSnonWnonDnon_medic1"; animationCaller = "AinvPknlMstpSnonWnonDnon_medic1";
}; };
@ -189,8 +189,8 @@ class ACE_Medical_Actions {
items[] = {"ACE_plasmaIV_250"}; items[] = {"ACE_plasmaIV_250"};
}; };
class SalineIV: BloodIV { class SalineIV: BloodIV {
displayName = "$STR_ACE_Medical_Transfuse_Saline"; displayName = CSTRING(Transfuse_Saline);
displayNameProgress = "$STR_ACE_Medical_Transfusing_Saline"; displayNameProgress = CSTRING(Transfusing_Saline);
items[] = {"ACE_salineIV"}; items[] = {"ACE_salineIV"};
animationCaller = "AinvPknlMstpSnonWnonDnon_medic1"; animationCaller = "AinvPknlMstpSnonWnonDnon_medic1";
}; };
@ -202,7 +202,7 @@ class ACE_Medical_Actions {
}; };
class SurgicalKit: fieldDressing { class SurgicalKit: fieldDressing {
displayName = ""; displayName = "";
displayNameProgress = "$STR_ACE_Medical_TreatmentAction"; displayNameProgress = CSTRING(TreatmentAction);
items[] = {"ACE_surgicalKit"}; items[] = {"ACE_surgicalKit"};
treatmentLocations[] = {QGVAR(useLocation_SurgicalKit)}; treatmentLocations[] = {QGVAR(useLocation_SurgicalKit)};
requiredMedic = QGVAR(medicSetting_SurgicalKit); requiredMedic = QGVAR(medicSetting_SurgicalKit);
@ -214,7 +214,7 @@ class ACE_Medical_Actions {
}; };
class PersonalAidKit: fieldDressing { class PersonalAidKit: fieldDressing {
displayName = ""; displayName = "";
displayNameProgress = "$STR_ACE_Medical_TreatmentAction"; displayNameProgress = CSTRING(TreatmentAction);
items[] = {"ACE_personalAidKit"}; items[] = {"ACE_personalAidKit"};
treatmentLocations[] = {QGVAR(useLocation_PAK)}; treatmentLocations[] = {QGVAR(useLocation_PAK)};
requiredMedic = QGVAR(medicSetting_PAK); requiredMedic = QGVAR(medicSetting_PAK);
@ -231,7 +231,7 @@ class ACE_Medical_Actions {
}; };
class CheckPulse: fieldDressing { class CheckPulse: fieldDressing {
displayName = ""; displayName = "";
displayNameProgress = "$STR_ACE_Medical_Check_Pulse_Content"; displayNameProgress = CSTRING(Check_Pulse_Content);
treatmentLocations[] = {"All"}; treatmentLocations[] = {"All"};
requiredMedic = 0; requiredMedic = 0;
treatmentTime = 2; treatmentTime = 2;
@ -246,21 +246,21 @@ class ACE_Medical_Actions {
}; };
class CheckBloodPressure: CheckPulse { class CheckBloodPressure: CheckPulse {
callbackSuccess = QUOTE(DFUNC(actionCheckBloodPressure)); callbackSuccess = QUOTE(DFUNC(actionCheckBloodPressure));
displayNameProgress = "$STR_ACE_Medical_Check_Bloodpressure_Content"; displayNameProgress = CSTRING(Check_Bloodpressure_Content);
}; };
class CheckResponse: CheckPulse { class CheckResponse: CheckPulse {
callbackSuccess = QUOTE(DFUNC(actionCheckResponse)); callbackSuccess = QUOTE(DFUNC(actionCheckResponse));
displayNameProgress = "$STR_ACE_Medical_Check_Response_Content"; displayNameProgress = CSTRING(Check_Response_Content);
}; };
class RemoveTourniquet: CheckPulse { class RemoveTourniquet: CheckPulse {
treatmentTime = 2.5; treatmentTime = 2.5;
callbackSuccess = QUOTE(DFUNC(actionRemoveTourniquet)); callbackSuccess = QUOTE(DFUNC(actionRemoveTourniquet));
condition = QUOTE([ARR_2(_this select 1, _this select 2)] call FUNC(hasTourniquetAppliedTo)); condition = QUOTE([ARR_2(_this select 1, _this select 2)] call FUNC(hasTourniquetAppliedTo));
displayNameProgress = "$STR_ACE_Medical_RemovingTourniquet"; displayNameProgress = CSTRING(RemovingTourniquet);
}; };
class CPR: fieldDressing { class CPR: fieldDressing {
displayName = "$STR_ACE_Medical_Actions_CPR"; displayName = CSTRING(Actions_CPR);
displayNameProgress = "$STR_ACE_Medical_Actions_PerformingCPR"; displayNameProgress = CSTRING(Actions_PerformingCPR);
treatmentLocations[] = {"All"}; treatmentLocations[] = {"All"};
requiredMedic = 0; requiredMedic = 0;
treatmentTime = 15; treatmentTime = 15;
@ -279,8 +279,8 @@ class ACE_Medical_Actions {
litter[] = {}; litter[] = {};
}; };
class BodyBag: fieldDressing { class BodyBag: fieldDressing {
displayName = "$STR_ACE_Medical_PlaceInBodyBag"; displayName = CSTRING(PlaceInBodyBag);
displayNameProgress = "$STR_ACE_Medical_PlacingInBodyBag"; displayNameProgress = CSTRING(PlacingInBodyBag);
treatmentLocations[] = {"All"}; treatmentLocations[] = {"All"};
requiredMedic = 0; requiredMedic = 0;
treatmentTime = 2; treatmentTime = 2;
@ -306,26 +306,26 @@ class ACE_Medical_Advanced {
// Source: Scarle // 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). // 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 { class Abrasion {
name = "$STR_ACE_Medical_Wounds_Abrasion"; name = CSTRING(Wounds_Abrasion);
selections[] = {"All"}; selections[] = {"All"};
bleedingRate = 0.0001; bleedingRate = 0.0001;
pain = 0.01; pain = 0.01;
causes[] = {"falling", "ropeburn", "vehiclecrash", "unknown"}; causes[] = {"falling", "ropeburn", "vehiclecrash", "unknown"};
minDamage = 0.01; minDamage = 0.01;
class Minor { class Minor {
name = "$STR_ACE_Medical_Wounds_Abrasion_Minor"; name = CSTRING(Wounds_Abrasion_Minor);
minDamage = 0.01; minDamage = 0.01;
maxDamage = 0.2; maxDamage = 0.2;
bleedingRate = 0.0001; bleedingRate = 0.0001;
}; };
class Medium { class Medium {
name = "$STR_ACE_Medical_Wounds_Abrasion_Medium"; name = CSTRING(Wounds_Abrasion_Medium);
minDamage = 0.2; minDamage = 0.2;
maxDamage = 0.3; maxDamage = 0.3;
bleedingRate = 0.00015; bleedingRate = 0.00015;
}; };
class Large { class Large {
name = "$STR_ACE_Medical_Wounds_Abrasion_Large"; name = CSTRING(Wounds_Abrasion_Large);
minDamage = 0.3; minDamage = 0.3;
bleedingRate = 0.0002; 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. // 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 { class Avulsions {
name = "$STR_ACE_Medical_Wounds_Avulsion"; name = CSTRING(Wounds_Avulsion);
selections[] = {"All"}; selections[] = {"All"};
bleedingRate = 0.01; bleedingRate = 0.01;
pain = 0.3; pain = 0.3;
causes[] = {"explosive", "vehiclecrash", "grenade", "shell", "bullet", "backblast", "bite"}; causes[] = {"explosive", "vehiclecrash", "grenade", "shell", "bullet", "backblast", "bite"};
minDamage = 0.2; minDamage = 0.2;
class Minor { class Minor {
name = "$STR_ACE_Medical_Wounds_Avulsion_Minor"; name = CSTRING(Wounds_Avulsion_Minor);
minDamage = 0.2; minDamage = 0.2;
maxDamage = 0.3; maxDamage = 0.3;
bleedingRate = 0.01; bleedingRate = 0.01;
}; };
class Medium { class Medium {
name = "$STR_ACE_Medical_Wounds_Avulsion_Medium"; name = CSTRING(Wounds_Avulsion_Medium);
minDamage = 0.3; minDamage = 0.3;
maxDamage = 0.6; maxDamage = 0.6;
bleedingRate = 0.02; bleedingRate = 0.02;
}; };
class Large { class Large {
name = "$STR_ACE_Medical_Wounds_Avulsion_Large"; name = CSTRING(Wounds_Avulsion_Large);
minDamage = 0.5; minDamage = 0.5;
bleedingRate = 0.05; 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. // 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 { class Contusion {
name = "$STR_ACE_Medical_Wounds_Contusion"; name = CSTRING(Wounds_Contusion);
selections[] = {"All"}; selections[] = {"All"};
bleedingRate = 0.0; bleedingRate = 0.0;
pain = 0.05; pain = 0.05;
@ -368,17 +368,17 @@ class ACE_Medical_Advanced {
minDamage = 0.01; minDamage = 0.01;
maxDamage = 0.1; maxDamage = 0.1;
class Minor { class Minor {
name = "$STR_ACE_Medical_Wounds_Contusion_Minor"; name = CSTRING(Wounds_Contusion_Minor);
minDamage = 0.01; minDamage = 0.01;
maxDamage = 0.1; maxDamage = 0.1;
}; };
class Medium { class Medium {
name = "$STR_ACE_Medical_Wounds_Contusion_Medium"; name = CSTRING(Wounds_Contusion_Medium);
minDamage = 0.1; minDamage = 0.1;
maxDamage = 0.15; maxDamage = 0.15;
}; };
class Large { class Large {
name = "$STR_ACE_Medical_Wounds_Contusion_Large"; name = CSTRING(Wounds_Contusion_Large);
minDamage = 0.15; minDamage = 0.15;
maxDamage = 0.2; 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. // Occur when a heavy object falls onto a person, splitting the skin and shattering or tearing underlying structures.
class CrushWound { class CrushWound {
name = "$STR_ACE_Medical_Wounds_Crush"; name = CSTRING(Wounds_Crush);
selections[] = {"All"}; selections[] = {"All"};
bleedingRate = 0.01; bleedingRate = 0.01;
pain = 0.1; pain = 0.1;
causes[] = {"falling", "vehiclecrash", "punch", "unknown"}; causes[] = {"falling", "vehiclecrash", "punch", "unknown"};
minDamage = 0.1; minDamage = 0.1;
class Minor { class Minor {
name = "$STR_ACE_Medical_Wounds_Crush_Minor"; name = CSTRING(Wounds_Crush_Minor);
minDamage = 0.1; minDamage = 0.1;
maxDamage = 0.45; maxDamage = 0.45;
bleedingRate = 0.005; bleedingRate = 0.005;
}; };
class Medium { class Medium {
name = "$STR_ACE_Medical_Wounds_Crush_Medium"; name = CSTRING(Wounds_Crush_Medium);
minDamage = 0.4; minDamage = 0.4;
maxDamage = 0.7; maxDamage = 0.7;
bleedingRate = 0.007; bleedingRate = 0.007;
}; };
class Large { class Large {
name = "$STR_ACE_Medical_Wounds_Crush_Large"; name = CSTRING(Wounds_Crush_Large);
minDamage = 0.6; minDamage = 0.6;
bleedingRate = 0.0095; 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. // 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 { class Cut {
name = "$STR_ACE_Medical_Wounds_Cut"; name = CSTRING(Wounds_Cut);
selections[] = {"All"}; selections[] = {"All"};
bleedingRate = 0.01; bleedingRate = 0.01;
pain = 0.075; pain = 0.075;
causes[] = {"vehiclecrash", "grenade", "explosive", "shell", "backblast", "stab", "unknown"}; causes[] = {"vehiclecrash", "grenade", "explosive", "shell", "backblast", "stab", "unknown"};
minDamage = 0.1; minDamage = 0.1;
class Minor { class Minor {
name = "$STR_ACE_Medical_Wounds_Cut_Minor"; name = CSTRING(Wounds_Cut_Minor);
minDamage = 0.1; minDamage = 0.1;
maxDamage = 0.3; maxDamage = 0.3;
bleedingRate = 0.005; bleedingRate = 0.005;
}; };
class Medium { class Medium {
name = "$STR_ACE_Medical_Wounds_Cut_Medium"; name = CSTRING(Wounds_Cut_Medium);
minDamage = 0.3; minDamage = 0.3;
maxDamage = 0.65; maxDamage = 0.65;
bleedingRate = 0.02; bleedingRate = 0.02;
}; };
class Large { class Large {
name = "$STR_ACE_Medical_Wounds_Cut_Large"; name = CSTRING(Wounds_Cut_Large);
minDamage = 0.65; minDamage = 0.65;
bleedingRate = 0.05; 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. // 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 { class Laceration {
name = "$STR_ACE_Medical_Wounds_Laceration"; name = CSTRING(Wounds_Laceration);
selections[] = {"All"}; selections[] = {"All"};
bleedingRate = 0.01; bleedingRate = 0.01;
pain = 0.075; pain = 0.075;
causes[] = {"vehiclecrash", "punch"}; causes[] = {"vehiclecrash", "punch"};
minDamage = 0.01; minDamage = 0.01;
class Minor { class Minor {
name = "$STR_ACE_Medical_Wounds_Laceration_Minor"; name = CSTRING(Wounds_Laceration_Minor);
minDamage = 0.1; minDamage = 0.1;
maxDamage = 0.5; maxDamage = 0.5;
bleedingRate = 0.005; bleedingRate = 0.005;
}; };
class Medium { class Medium {
name = "$STR_ACE_Medical_Wounds_Laceration_Medium"; name = CSTRING(Wounds_Laceration_Medium);
minDamage = 0.5; minDamage = 0.5;
maxDamage = 0.7; maxDamage = 0.7;
bleedingRate = 0.01; bleedingRate = 0.01;
}; };
class Large { class Large {
name = "$STR_ACE_Medical_Wounds_Laceration_Large"; name = CSTRING(Wounds_Laceration_Large);
minDamage = 0.7; minDamage = 0.7;
bleedingRate = 0.03; 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. // 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 { class velocityWound {
name = "$STR_ACE_Medical_Wounds_VelocityWound"; name = CSTRING(Wounds_VelocityWound);
selections[] = {"All"}; selections[] = {"All"};
bleedingRate = 0.01; bleedingRate = 0.01;
pain = 0.2; pain = 0.2;
causes[] = {"bullet", "grenade","explosive", "shell", "unknown"}; causes[] = {"bullet", "grenade","explosive", "shell", "unknown"};
minDamage = 0.15; minDamage = 0.15;
class Minor { class Minor {
name = "$STR_ACE_Medical_Wounds_VelocityWound_Minor"; name = CSTRING(Wounds_VelocityWound_Minor);
minDamage = 0.15; minDamage = 0.15;
maxDamage = 0.3; maxDamage = 0.3;
bleedingRate = 0.025; bleedingRate = 0.025;
}; };
class Medium { class Medium {
name = "$STR_ACE_Medical_Wounds_VelocityWound_Medium"; name = CSTRING(Wounds_VelocityWound_Medium);
minDamage = 0.3; minDamage = 0.3;
bleedingRate = 0.05; bleedingRate = 0.05;
}; };
class Large { class Large {
name = "$STR_ACE_Medical_Wounds_VelocityWound_Large"; name = CSTRING(Wounds_VelocityWound_Large);
minDamage = 0.75; minDamage = 0.75;
bleedingRate = 0.1; 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. // Deep, narrow wounds produced by sharp objects such as nails, knives, and broken glass.
class punctureWound { class punctureWound {
name = "$STR_ACE_Medical_Wounds_PunctureWound"; name = CSTRING(Wounds_PunctureWound);
selections[] = {"All"}; selections[] = {"All"};
bleedingRate = 0.01; bleedingRate = 0.01;
pain = 0.075; pain = 0.075;
causes[] = {"stab", "grenade"}; causes[] = {"stab", "grenade"};
minDamage = 0.01; minDamage = 0.01;
class Minor { class Minor {
name = "$STR_ACE_Medical_Wounds_PunctureWound_Minor"; name = CSTRING(Wounds_PunctureWound_Minor);
minDamage = 0.01; minDamage = 0.01;
maxDamage = 0.5; maxDamage = 0.5;
bleedingRate = 0.01; bleedingRate = 0.01;
}; };
class Medium { class Medium {
name = "$STR_ACE_Medical_Wounds_PunctureWound_Medium"; name = CSTRING(Wounds_PunctureWound_Medium);
minDamage = 0.5; minDamage = 0.5;
maxDamage = 0.75; maxDamage = 0.75;
bleedingRate = 0.03; bleedingRate = 0.03;
}; };
class Large { class Large {
name = "$STR_ACE_Medical_Wounds_PunctureWound_Large"; name = CSTRING(Wounds_PunctureWound_Large);
minDamage = 0.65; minDamage = 0.65;
bleedingRate = 0.08; bleedingRate = 0.08;
}; };
@ -520,7 +520,7 @@ class ACE_Medical_Advanced {
}; };
class fractures { class fractures {
class Femur { class Femur {
name = "$STR_ACE_Medical_Wounds_Femur"; name = CSTRING(Wounds_Femur);
selections[] = {"Head", "Torso"}; selections[] = {"Head", "Torso"};
pain = 0.2; pain = 0.2;
causes[] = {"Bullet", "VehicleCrash", "Backblast", "Explosive", "Shell", "Grenade"}; causes[] = {"Bullet", "VehicleCrash", "Backblast", "Explosive", "Shell", "Grenade"};

View File

@ -85,8 +85,8 @@ class ACE_Settings {
value = 1; value = 1;
}; };
class GVAR(litterSimulationDetail) { class GVAR(litterSimulationDetail) {
displayName = "$STR_ACE_Medical_litterSimulationDetail"; displayName = CSTRING(litterSimulationDetail);
description = "$STR_ACE_Medical_litterSimulationDetail_Desc"; description = CSTRING(litterSimulationDetail_Desc);
typeName = "SCALAR"; typeName = "SCALAR";
value = 3; value = 3;
@ -138,7 +138,7 @@ class ACE_Settings {
value = 1; value = 1;
}; };
class GVAR(painEffectType) { class GVAR(painEffectType) {
displayName = "$STR_ACE_Medical_painEffectType"; displayName = CSTRING(painEffectType);
typeName = "SCALAR"; typeName = "SCALAR";
value = 0; value = 0;
values[] = {"$STR_ACE_Medical_painEffect_Flash", "$STR_ACE_Medical_painEffect_Chroma"}; values[] = {"$STR_ACE_Medical_painEffect_Flash", "$STR_ACE_Medical_painEffect_Chroma"};
@ -154,8 +154,8 @@ class ACE_Settings {
}; };
class GVAR(menuTypeStyle) { class GVAR(menuTypeStyle) {
displayName = "$STR_ACE_Medical_menuTypeDisplay"; displayName = CSTRING(menuTypeDisplay);
description = "$STR_ACE_Medical_menuTypeDescription"; description = CSTRING(menuTypeDescription);
typeName = "SCALAR"; typeName = "SCALAR";
value = 0; value = 0;
values[] = {"$STR_ACE_Medical_useSelection"/*, "$STR_ACE_Medical_useRadial"*/}; values[] = {"$STR_ACE_Medical_useSelection"/*, "$STR_ACE_Medical_useRadial"*/};

View File

@ -1,6 +1,6 @@
class CfgFactionClasses { class CfgFactionClasses {
class NO_CATEGORY; class NO_CATEGORY;
class ADDON: NO_CATEGORY { class ADDON: NO_CATEGORY {
displayName = "$STR_ACE_Medical_Category_DisplayName"; displayName = CSTRING(Category_DisplayName);
}; };
}; };

View File

@ -11,7 +11,7 @@ class CfgVehicles {
class ACE_Module; class ACE_Module;
class ACE_moduleMedicalSettings: ACE_Module { class ACE_moduleMedicalSettings: ACE_Module {
scope = 2; scope = 2;
displayName = "$STR_ACE_MedicalSettings_Module_DisplayName"; displayName = CSTRING(Module_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa)); icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
category = "ACE_medical"; category = "ACE_medical";
function = QUOTE(DFUNC(moduleMedicalSettings)); function = QUOTE(DFUNC(moduleMedicalSettings));
@ -21,78 +21,78 @@ class CfgVehicles {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
class Arguments { class Arguments {
class level { class level {
displayName = "$STR_ACE_MedicalSettings_level_DisplayName"; displayName = CSTRING(level_DisplayName);
description = "$STR_ACE_MedicalSettings_level_Description"; description = CSTRING(level_Description);
typeName = "NUMBER"; typeName = "NUMBER";
class values { class values {
class normal { class normal {
name = "$STR_ACE_MedicalSettings_basic"; name = CSTRING(basic);
value = 1; value = 1;
default = 1; default = 1;
}; };
class full { class full {
name = "$STR_ACE_MedicalSettings_advanced"; name = CSTRING(advanced);
value = 2; value = 2;
}; };
}; };
}; };
class medicSetting { class medicSetting {
displayName = "$STR_ACE_MedicalSettings_medicSetting_DisplayName"; displayName = CSTRING(medicSetting_DisplayName);
description = "$STR_ACE_MedicalSettings_medicSetting_Description"; description = CSTRING(medicSetting_Description);
typeName = "NUMBER"; typeName = "NUMBER";
class values { class values {
class disable { class disable {
name = "$STR_ACE_MedicalSettings_medicSetting_disable"; name = CSTRING(medicSetting_disable);
value = 0; value = 0;
}; };
class normal { class normal {
name = "$STR_ACE_MedicalSettings_basic"; name = CSTRING(basic);
value = 1; value = 1;
default = 1; default = 1;
}; };
class full { class full {
name = "$STR_ACE_MedicalSettings_advanced"; name = CSTRING(advanced);
value = 2; value = 2;
}; };
}; };
}; };
class allowLitterCreation { class allowLitterCreation {
displayName = "$STR_ACE_MedicalSettings_allowLitterCreation_DisplayName"; displayName = CSTRING(allowLitterCreation_DisplayName);
description = "$STR_ACE_MedicalSettings_allowLitterCreation_Description"; description = CSTRING(allowLitterCreation_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 1; defaultValue = 1;
}; };
class litterCleanUpDelay { class litterCleanUpDelay {
displayName = "$STR_ACE_MedicalSettings_litterCleanUpDelay_DisplayName"; displayName = CSTRING(litterCleanUpDelay_DisplayName);
description = "$STR_ACE_MedicalSettings_litterCleanUpDelay_Description"; description = CSTRING(litterCleanUpDelay_Description);
typeName = "NUMBER"; typeName = "NUMBER";
defaultValue = 1800; defaultValue = 1800;
}; };
class enableScreams { class enableScreams {
displayName = "$STR_ACE_MedicalSettings_enableScreams_DisplayName"; displayName = CSTRING(enableScreams_DisplayName);
description = "$STR_ACE_MedicalSettings_enableScreams_Description"; description = CSTRING(enableScreams_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 1; defaultValue = 1;
}; };
class playerDamageThreshold { class playerDamageThreshold {
displayName = "$STR_ACE_MedicalSettings_playerDamageThreshold_DisplayName"; displayName = CSTRING(playerDamageThreshold_DisplayName);
description = "$STR_ACE_MedicalSettings_playerDamageThreshold_Description"; description = CSTRING(playerDamageThreshold_Description);
typeName = "NUMBER"; typeName = "NUMBER";
defaultValue = 1; defaultValue = 1;
}; };
class AIDamageThreshold { class AIDamageThreshold {
displayName = "$STR_ACE_MedicalSettings_AIDamageThreshold_DisplayName"; displayName = CSTRING(AIDamageThreshold_DisplayName);
description = "$STR_ACE_MedicalSettings_AIDamageThreshold_Description"; description = CSTRING(AIDamageThreshold_Description);
typeName = "NUMBER"; typeName = "NUMBER";
defaultValue = 1; defaultValue = 1;
}; };
class enableUnconsciousnessAI { class enableUnconsciousnessAI {
displayName = "$STR_ACE_MedicalSettings_enableUnconsciousnessAI_DisplayName"; displayName = CSTRING(enableUnconsciousnessAI_DisplayName);
description = "$STR_ACE_MedicalSettings_enableUnconsciousnessAI_Description"; description = CSTRING(enableUnconsciousnessAI_Description);
typeName = "NUMBER"; typeName = "NUMBER";
class values { class values {
class disable { class disable {
name = "$STR_ACE_Medical_disabled"; name = CSTRING(disabled);
value = 0; value = 0;
}; };
class normal { class normal {
@ -101,45 +101,45 @@ class CfgVehicles {
default = 1; default = 1;
}; };
class full { class full {
name = "$STR_ACE_Medical_enabled"; name = CSTRING(enabled);
value = 2; value = 2;
}; };
}; };
}; };
class preventInstaDeath { class preventInstaDeath {
displayName = "$STR_ACE_MedicalSettings_preventInstaDeath_DisplayName"; displayName = CSTRING(preventInstaDeath_DisplayName);
description = "$STR_ACE_MedicalSettings_preventInstaDeath_Description"; description = CSTRING(preventInstaDeath_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 0; defaultValue = 0;
}; };
class bleedingCoefficient { class bleedingCoefficient {
displayName = "$STR_ACE_MedicalSettings_bleedingCoefficient_DisplayName"; displayName = CSTRING(bleedingCoefficient_DisplayName);
description = "$STR_ACE_MedicalSettings_bleedingCoefficient_Description"; description = CSTRING(bleedingCoefficient_Description);
typeName = "NUMBER"; typeName = "NUMBER";
defaultValue = 1; defaultValue = 1;
}; };
class painCoefficient { class painCoefficient {
displayName = "$STR_ACE_MedicalSettings_painCoefficient_DisplayName"; displayName = CSTRING(painCoefficient_DisplayName);
description = "$STR_ACE_MedicalSettings_painCoefficient_Description"; description = CSTRING(painCoefficient_Description);
typeName = "NUMBER"; typeName = "NUMBER";
defaultValue = 1; defaultValue = 1;
}; };
class keepLocalSettingsSynced { class keepLocalSettingsSynced {
displayName = "$STR_ACE_MedicalSettings_keepLocalSettingsSynced_DisplayName"; displayName = CSTRING(keepLocalSettingsSynced_DisplayName);
description = "$STR_ACE_MedicalSettings_keepLocalSettingsSynced_Description"; description = CSTRING(keepLocalSettingsSynced_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 1; defaultValue = 1;
}; };
}; };
class ModuleDescription { class ModuleDescription {
description = "$STR_ACE_MedicalSettings_Module_Description"; description = CSTRING(Module_Description);
sync[] = {}; sync[] = {};
}; };
}; };
class ACE_moduleAdvancedMedicalSettings: ACE_Module { class ACE_moduleAdvancedMedicalSettings: ACE_Module {
scope = 2; scope = 2;
displayName = "$STR_ACE_AdvancedMedicalSettings_Module_DisplayName"; displayName = CSTRING(Module_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa)); icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
category = "ACE_medical"; category = "ACE_medical";
function = QUOTE(FUNC(moduleAdvancedMedicalSettings)); function = QUOTE(FUNC(moduleAdvancedMedicalSettings));
@ -150,81 +150,81 @@ class CfgVehicles {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
class Arguments { class Arguments {
class enableFor { class enableFor {
displayName = "$STR_ACE_AdvancedMedicalSettings_enableFor_DisplayName"; displayName = CSTRING(enableFor_DisplayName);
description = "$STR_ACE_AdvancedMedicalSettings_enableFor_Description"; description = CSTRING(enableFor_Description);
typeName = "NUMBER"; typeName = "NUMBER";
class values { class values {
class playableUnits { class playableUnits {
name = "$STR_ACE_Medical_playeronly"; name = CSTRING(playeronly);
value = 0; value = 0;
default = 1; default = 1;
}; };
class playableUnitsAndAI { class playableUnitsAndAI {
name = "$STR_ACE_Medical_playersandai"; name = CSTRING(playersandai);
value = 1; value = 1;
}; };
}; };
}; };
class enableAdvancedWounds { class enableAdvancedWounds {
displayName = "$STR_ACE_AdvancedMedicalSettings_enableAdvancedWounds_DisplayName"; displayName = CSTRING(enableAdvancedWounds_DisplayName);
description = "$STR_ACE_AdvancedMedicalSettings_enableAdvancedWounds_Description"; description = CSTRING(enableAdvancedWounds_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 0; defaultValue = 0;
}; };
class enableVehicleCrashes { class enableVehicleCrashes {
displayName = "$STR_ACE_AdvancedMedicalSettings_enableVehicleCrashes_DisplayName"; displayName = CSTRING(enableVehicleCrashes_DisplayName);
description = "$STR_ACE_AdvancedMedicalSettings_enableVehicleCrashes_Description"; description = CSTRING(enableVehicleCrashes_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 1; defaultValue = 1;
}; };
class medicSetting_PAK { class medicSetting_PAK {
displayName = "$STR_ACE_AdvancedMedicalSettings_medicSetting_PAK_DisplayName"; displayName = CSTRING(medicSetting_PAK_DisplayName);
description = "$STR_ACE_AdvancedMedicalSettings_medicSetting_PAK_Description"; description = CSTRING(medicSetting_PAK_Description);
typeName = "NUMBER"; typeName = "NUMBER";
class values { class values {
class anyone { name = "$STR_ACE_AdvancedMedicalSettings_anyone"; value = 0; }; class anyone { name = CSTRING(anyone); value = 0; };
class Medic { name = "$STR_ACE_AdvancedMedicalSettings_Medic"; value = 1; default = 1; }; class Medic { name = CSTRING(Medic); value = 1; default = 1; };
class Special { name = "$STR_ACE_AdvancedMedicalSettings_Special"; value = 2; }; class Special { name = CSTRING(Special); value = 2; };
}; };
}; };
class consumeItem_PAK { class consumeItem_PAK {
displayName = "$STR_ACE_AdvancedMedicalSettings_consumeItem_PAK_DisplayName"; displayName = CSTRING(consumeItem_PAK_DisplayName);
description = "$STR_ACE_AdvancedMedicalSettings_consumeItem_PAK_Description"; description = CSTRING(consumeItem_PAK_Description);
typeName = "NUMBER"; typeName = "NUMBER";
class values { class values {
class keep { name = "$STR_ACE_Medical_No"; value = 0; }; class keep { name = CSTRING(No); value = 0; };
class remove { name = "$STR_ACE_Medical_Yes"; value = 1; default = 1; }; class remove { name = CSTRING(Yes); value = 1; default = 1; };
}; };
}; };
class useLocation_PAK { class useLocation_PAK {
displayName = "$STR_ACE_AdvancedMedicalSettings_useLocation_PAK_DisplayName"; displayName = CSTRING(useLocation_PAK_DisplayName);
description = "$STR_ACE_AdvancedMedicalSettings_useLocation_PAK_Description"; description = CSTRING(useLocation_PAK_Description);
typeName = "NUMBER"; typeName = "NUMBER";
class values { class values {
class anywhere { name = "$STR_ACE_AdvancedMedicalSettings_anywhere"; value = 0; }; class anywhere { name = CSTRING(anywhere); value = 0; };
class vehicle { name = "$STR_ACE_AdvancedMedicalSettings_vehicle"; value = 1; }; class vehicle { name = CSTRING(vehicle); value = 1; };
class facility { name = "$STR_ACE_AdvancedMedicalSettings_facility"; value = 2; }; class facility { name = CSTRING(facility); value = 2; };
class vehicleAndFacility { name = "$STR_ACE_AdvancedMedicalSettings_vehicleAndFacility"; value = 3; default = 1; }; class vehicleAndFacility { name = CSTRING(vehicleAndFacility); value = 3; default = 1; };
class disabled { name = "$STR_ACE_AdvancedMedicalSettings_disabled"; value = 4;}; class disabled { name = CSTRING(disabled); value = 4;};
}; };
}; };
class medicSetting_SurgicalKit: medicSetting_PAK { class medicSetting_SurgicalKit: medicSetting_PAK {
displayName = "$STR_ACE_AdvancedMedicalSettings_medicSetting_SurgicalKit_DisplayName"; displayName = CSTRING(medicSetting_SurgicalKit_DisplayName);
description = "$STR_ACE_AdvancedMedicalSettings_medicSetting_SurgicalKit_Description"; description = CSTRING(medicSetting_SurgicalKit_Description);
}; };
class consumeItem_SurgicalKit: consumeItem_PAK { class consumeItem_SurgicalKit: consumeItem_PAK {
displayName = "$STR_ACE_AdvancedMedicalSettings_consumeItem_SurgicalKit_DisplayName"; displayName = CSTRING(consumeItem_SurgicalKit_DisplayName);
description = "$STR_ACE_AdvancedMedicalSettings_consumeItem_SurgicalKit_Description"; description = CSTRING(consumeItem_SurgicalKit_Description);
}; };
class useLocation_SurgicalKit: useLocation_PAK { class useLocation_SurgicalKit: useLocation_PAK {
displayName = "$STR_ACE_AdvancedMedicalSettings_useLocation_SurgicalKit_DisplayName"; displayName = CSTRING(useLocation_SurgicalKit_DisplayName);
description = "$STR_ACE_AdvancedMedicalSettings_useLocation_SurgicalKit_Description"; description = CSTRING(useLocation_SurgicalKit_Description);
}; };
}; };
class ModuleDescription { class ModuleDescription {
description = "$STR_ACE_AdvancedMedicalSettings_Module_Description"; description = CSTRING(Module_Description);
sync[] = {}; sync[] = {};
}; };
}; };
@ -232,7 +232,7 @@ class CfgVehicles {
class ACE_moduleReviveSettings: ACE_Module { class ACE_moduleReviveSettings: ACE_Module {
scope = 2; scope = 2;
displayName = "$STR_ACE_ReviveSettings_Module_DisplayName"; displayName = CSTRING(Module_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa)); icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
category = "ACE_medical"; category = "ACE_medical";
function = QUOTE(DFUNC(moduleReviveSettings)); function = QUOTE(DFUNC(moduleReviveSettings));
@ -242,37 +242,37 @@ class CfgVehicles {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
class Arguments { class Arguments {
class enableRevive { class enableRevive {
displayName = "$STR_ACE_ReviveSettings_enableRevive_DisplayName"; displayName = CSTRING(enableRevive_DisplayName);
description = "$STR_ACE_ReviveSettings_enableRevive_Description"; description = CSTRING(enableRevive_Description);
typeName = "NUMBER"; typeName = "NUMBER";
defaultValue = 0; defaultValue = 0;
class values { class values {
class disable { name = "$STR_ACE_Medical_disabled"; value = 0; default = 1;}; class disable { name = CSTRING(disabled); value = 0; default = 1;};
class playerOnly { name = "$STR_ACE_Medical_playeronly"; value = 1; }; class playerOnly { name = CSTRING(playeronly); value = 1; };
class playerAndAI { name = "$STR_ACE_Medical_playersandai"; value = 2; }; class playerAndAI { name = CSTRING(playersandai); value = 2; };
}; };
}; };
class maxReviveTime { class maxReviveTime {
displayName = "$STR_ACE_ReviveSettings_maxReviveTime_DisplayName"; displayName = CSTRING(maxReviveTime_DisplayName);
description = "$STR_ACE_ReviveSettings_maxReviveTime_Description"; description = CSTRING(maxReviveTime_Description);
typeName = "NUMBER"; typeName = "NUMBER";
defaultValue = 120; defaultValue = 120;
}; };
class amountOfReviveLives { class amountOfReviveLives {
displayName = "$STR_ACE_ReviveSettings_amountOfReviveLives_DisplayName"; displayName = CSTRING(amountOfReviveLives_DisplayName);
description = "$STR_ACE_ReviveSettings_amountOfReviveLives_Description"; description = CSTRING(amountOfReviveLives_Description);
typeName = "NUMBER"; typeName = "NUMBER";
defaultValue = -1; defaultValue = -1;
}; };
}; };
class ModuleDescription { class ModuleDescription {
description = "$STR_ACE_ReviveSettings_Module_Description"; description = CSTRING(Module_Description);
sync[] = {}; sync[] = {};
}; };
}; };
class ACE_moduleAssignMedicRoles: Module_F { class ACE_moduleAssignMedicRoles: Module_F {
scope = 2; scope = 2;
displayName = "$STR_ACE_AssignMedicRoles_Module_DisplayName"; displayName = CSTRING(Module_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa)); icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
category = "ACE_medical"; category = "ACE_medical";
function = QUOTE(FUNC(moduleAssignMedicRoles)); function = QUOTE(FUNC(moduleAssignMedicRoles));
@ -283,41 +283,41 @@ class CfgVehicles {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
class Arguments { class Arguments {
class EnableList { class EnableList {
displayName = "$STR_ACE_AssignMedicRoles_EnableList_DisplayName"; displayName = CSTRING(EnableList_DisplayName);
description = "$STR_ACE_AssignMedicRoles_EnableList_Description"; description = CSTRING(EnableList_Description);
defaultValue = ""; defaultValue = "";
typeName = "STRING"; typeName = "STRING";
}; };
class role { class role {
displayName = "$STR_ACE_AssignMedicRoles_role_DisplayName"; displayName = CSTRING(role_DisplayName);
description = "$STR_ACE_AssignMedicRoles_role_Description"; description = CSTRING(role_Description);
typeName = "NUMBER"; typeName = "NUMBER";
class values { class values {
class none { class none {
name = "$STR_ACE_AssignMedicRoles_role_none"; name = CSTRING(role_none);
value = 0; value = 0;
}; };
class medic { class medic {
name = "$STR_ACE_AssignMedicRoles_role_medic"; name = CSTRING(role_medic);
value = 1; value = 1;
default = 1; default = 1;
}; };
class doctor { class doctor {
name = "$STR_ACE_AssignMedicRoles_role_doctor"; name = CSTRING(role_doctor);
value = 2; value = 2;
}; };
}; };
}; };
}; };
class ModuleDescription { class ModuleDescription {
description = "$STR_ACE_AssignMedicRoles_Module_Description"; description = CSTRING(Module_Description);
sync[] = {}; sync[] = {};
}; };
}; };
class ACE_moduleAssignMedicVehicle: Module_F { class ACE_moduleAssignMedicVehicle: Module_F {
scope = 2; scope = 2;
displayName = "$STR_ACE_AssignMedicVehicle_Module_DisplayName"; displayName = CSTRING(Module_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa)); icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
category = "ACE_medical"; category = "ACE_medical";
function = QUOTE(FUNC(moduleAssignMedicalVehicle)); function = QUOTE(FUNC(moduleAssignMedicalVehicle));
@ -328,23 +328,23 @@ class CfgVehicles {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
class Arguments { class Arguments {
class EnableList { class EnableList {
displayName = "$STR_ACE_AssignMedicVehicle_EnableList_DisplayName"; displayName = CSTRING(EnableList_DisplayName);
description = "$STR_ACE_AssignMedicVehicle_EnableList_Description"; description = CSTRING(EnableList_Description);
defaultValue = ""; defaultValue = "";
typeName = "STRING"; typeName = "STRING";
}; };
class enabled { class enabled {
displayName = "$STR_ACE_AssignMedicVehicle_enabled_DisplayName"; displayName = CSTRING(enabled_DisplayName);
description = "$STR_ACE_AssignMedicVehicle_enabled_Description"; description = CSTRING(enabled_Description);
typeName = "NUMBER"; typeName = "NUMBER";
class values { class values {
class none { class none {
name = "$STR_ACE_Medical_No"; name = CSTRING(No);
value = 0; value = 0;
}; };
class medic { class medic {
name = "$STR_ACE_Medical_Yes"; name = CSTRING(Yes);
value = 1; value = 1;
default = 1; default = 1;
}; };
@ -352,13 +352,13 @@ class CfgVehicles {
}; };
}; };
class ModuleDescription { class ModuleDescription {
description = "$STR_ACE_AssignMedicVehicle_Module_Description"; description = CSTRING(Module_Description);
sync[] = {}; sync[] = {};
}; };
}; };
class ACE_moduleAssignMedicalFacility: Module_F { class ACE_moduleAssignMedicalFacility: Module_F {
scope = 2; scope = 2;
displayName = "$STR_ACE_AssignMedicalFacility_Module_DisplayName"; displayName = CSTRING(Module_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa)); icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
category = "ACE_medical"; category = "ACE_medical";
function = QUOTE(FUNC(moduleAssignMedicalFacility)); function = QUOTE(FUNC(moduleAssignMedicalFacility));
@ -369,13 +369,13 @@ class CfgVehicles {
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
class Arguments { class Arguments {
class enabled { class enabled {
displayName = "$STR_ACE_AssignMedicalFacility_enabled_DisplayName"; displayName = CSTRING(enabled_DisplayName);
description = "$STR_ACE_AssignMedicalFacility_enabled_Description"; description = CSTRING(enabled_Description);
typeName = "BOOL"; typeName = "BOOL";
}; };
}; };
class ModuleDescription { class ModuleDescription {
description = "$STR_ACE_AssignMedicalFacility_Module_Description"; description = CSTRING(Module_Description);
sync[] = {}; sync[] = {};
}; };
}; };
@ -451,7 +451,7 @@ class CfgVehicles {
// Create a consolidates medical menu for treatment while boarded // Create a consolidates medical menu for treatment while boarded
class ACE_MainActions { class ACE_MainActions {
class Medical { class Medical {
displayName = "$STR_ACE_Medical_Actions_Medical"; displayName = CSTRING(Actions_Medical);
runOnHover = 1; runOnHover = 1;
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
condition = QUOTE((vehicle _target != _target && vehicle _target == vehicle _player) || GVAR(menuTypeStyle) == 1); condition = QUOTE((vehicle _target != _target && vehicle _target == vehicle _player) || GVAR(menuTypeStyle) == 1);
@ -465,7 +465,7 @@ class CfgVehicles {
#include "ACE_Medical_Actions.hpp" #include "ACE_Medical_Actions.hpp"
}; };
class GVAR(loadPatient) { class GVAR(loadPatient) {
displayName = "$STR_ACE_Medical_LoadPatient"; displayName = CSTRING(LoadPatient);
distance = 5; distance = 5;
condition = QUOTE(_target getvariable[ARR_2(QUOTE(QUOTE(ACE_isUnconscious)),false)] && vehicle _target == _target); condition = QUOTE(_target getvariable[ARR_2(QUOTE(QUOTE(ACE_isUnconscious)),false)] && vehicle _target == _target);
statement = QUOTE([ARR_2(_player, _target)] call DFUNC(actionLoadUnit)); statement = QUOTE([ARR_2(_player, _target)] call DFUNC(actionLoadUnit));
@ -475,7 +475,7 @@ class CfgVehicles {
exceptions[] = {"isNotDragging", "isNotCarrying"}; exceptions[] = {"isNotDragging", "isNotCarrying"};
}; };
class GVAR(UnLoadPatient) { class GVAR(UnLoadPatient) {
displayName = "$STR_ACE_Medical_UnloadPatient"; displayName = CSTRING(UnloadPatient);
distance = 5; distance = 5;
condition = QUOTE(_target getvariable[ARR_2(QUOTE(QUOTE(ACE_isUnconscious)),false)] && vehicle _target != _target); condition = QUOTE(_target getvariable[ARR_2(QUOTE(QUOTE(ACE_isUnconscious)),false)] && vehicle _target != _target);
statement = QUOTE([ARR_2(_player, _target)] call DFUNC(actionUnloadUnit)); statement = QUOTE([ARR_2(_player, _target)] call DFUNC(actionUnloadUnit));
@ -666,7 +666,7 @@ class CfgVehicles {
EGVAR(dragging,dragDirection) = 0; EGVAR(dragging,dragDirection) = 0;
class ACE_Actions { class ACE_Actions {
class ACE_MainActions { class ACE_MainActions {
displayName = "$STR_ACE_Interaction_MainAction"; displayName = CSTRING(MainAction);
distance = 5; distance = 5;
condition = QUOTE(true); condition = QUOTE(true);
statement = ""; statement = "";
@ -933,7 +933,7 @@ class CfgVehicles {
}; };
}; };
class ACE_medicalSupplyCrate_advanced: ACE_medicalSupplyCrate { class ACE_medicalSupplyCrate_advanced: ACE_medicalSupplyCrate {
displayName = "$STR_ACE_medicalSupplyCrate_advanced"; displayName = CSTRING(advanced);
class TransportItems { class TransportItems {
class ACE_fieldDressing { class ACE_fieldDressing {
name = "ACE_fieldDressing"; name = "ACE_fieldDressing";

View File

@ -28,27 +28,27 @@ _bloodPressureLow = _bloodPressure select 0;
_output = ""; _output = "";
_logOutPut = ""; _logOutPut = "";
if ([_caller] call FUNC(isMedic)) then { 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)]; _logOutPut = format["%1/%2",round(_bloodPressureHigh),round(_bloodPressureLow)];
} else { } else {
if (_bloodPressureHigh > 20) then { if (_bloodPressureHigh > 20) then {
_output = "STR_ACE_Medical_Check_Bloodpressure_Output_2"; _output = STRING(Check_Bloodpressure_Output_2);
_logOutPut = localize "STR_ACE_Medical_Check_Bloodpressure_Low"; _logOutPut = localize STRING(Check_Bloodpressure_Low);
if (_bloodPressureHigh > 100) then { if (_bloodPressureHigh > 100) then {
_output = "STR_ACE_Medical_Check_Bloodpressure_Output_3"; _output = STRING(Check_Bloodpressure_Output_3);
_logOutPut = localize "STR_ACE_Medical_Check_Bloodpressure_Normal"; _logOutPut = localize STRING(Check_Bloodpressure_Normal);
if (_bloodPressureHigh > 160) then { if (_bloodPressureHigh > 160) then {
_output = "STR_ACE_Medical_Check_Bloodpressure_Output_4"; _output = STRING(Check_Bloodpressure_Output_4);
_logOutPut = localize "STR_ACE_Medical_Check_Bloodpressure_High"; _logOutPut = localize STRING(Check_Bloodpressure_High);
}; };
}; };
} else { } else {
if (random(10) > 3) then { if (random(10) > 3) then {
_output = "STR_ACE_Medical_Check_Bloodpressure_Output_5"; _output = STRING(Check_Bloodpressure_Output_5);
_logOutPut = localize "STR_ACE_Medical_Check_Bloodpressure_NoBloodpressure"; _logOutPut = localize STRING(Check_Bloodpressure_NoBloodpressure);
} else { } 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); ["displayTextStructured", [_caller], [[_output, [_target] call EFUNC(common,getName), round(_bloodPressureHigh),round(_bloodPressureLow)], 1.75, _caller]] call EFUNC(common,targetEvent);
if (_logOutPut != "") then { 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);
}; };

View File

@ -23,24 +23,24 @@ _heartRate = _unit getvariable [QGVAR(heartRate), 80];
if (!alive _unit) then { if (!alive _unit) then {
_heartRate = 0; _heartRate = 0;
}; };
_heartRateOutput = "STR_ACE_Medical_Check_Pulse_Output_5"; _heartRateOutput = STRING(Check_Pulse_Output_5);
_logOutPut = localize "STR_ACE_Medical_Check_Pulse_None"; _logOutPut = localize STRING(Check_Pulse_None);
if (_heartRate > 1.0) then { if (_heartRate > 1.0) then {
if ([_caller] call FUNC(isMedic)) 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)]; _logOutPut = format["%1",round(_heartRate)];
} else { } else {
// non medical personel will only find a pulse/HR // non medical personel will only find a pulse/HR
_heartRateOutput = "STR_ACE_Medical_Check_Pulse_Output_2"; _heartRateOutput = STRING(Check_Pulse_Output_2);
_logOutPut = localize "STR_ACE_Medical_Check_Pulse_Weak"; _logOutPut = localize STRING(Check_Pulse_Weak);
if (_heartRate > 60) then { if (_heartRate > 60) then {
if (_heartRate > 100) then { if (_heartRate > 100) then {
_heartRateOutput = "STR_ACE_Medical_Check_Pulse_Output_3"; _heartRateOutput = STRING(Check_Pulse_Output_3);
_logOutPut = localize "STR_ACE_Medical_Check_Pulse_Strong"; _logOutPut = localize STRING(Check_Pulse_Strong);
} else { } else {
_heartRateOutput = "STR_ACE_Medical_Check_Pulse_Output_4"; _heartRateOutput = STRING(Check_Pulse_Output_4);
_logOutPut = localize "STR_ACE_Medical_Check_Pulse_Normal"; _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); ["displayTextStructured", [_caller], [[_heartRateOutput, [_unit] call EFUNC(common,getName), round(_heartRate)], 1.5, _caller]] call EFUNC(common,targetEvent);
if (_logOutPut != "") then { 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);
}; };

View File

@ -20,9 +20,9 @@ _target = _this select 1;
_output = ""; _output = "";
if ([_target] call EFUNC(common,isAwake)) then { if ([_target] call EFUNC(common,isAwake)) then {
_output = "STR_ACE_Medical_Check_Response_Responsive"; _output = STRING(Check_Response_Responsive);
} else { } 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); ["displayTextStructured", [_caller], [[_output, [_target] call EFUNC(common,getName)], 2, _caller]] call EFUNC(common,targetEvent);

View File

@ -18,28 +18,28 @@ private ["_caller", "_target", "_genericMessages"];
_caller = _this select 0; _caller = _this select 0;
_target = _this select 1; _target = _this select 1;
_genericMessages = ["STR_ACE_Medical_diagnoseMessage"]; _genericMessages = [STRING(diagnoseMessage)];
_genericMessages pushBack ([_target] call EFUNC(common,getName)); _genericMessages pushBack ([_target] call EFUNC(common,getName));
if (alive _target) then { if (alive _target) then {
_genericMessages pushback "STR_ACE_Medical_diagnoseAlive"; _genericMessages pushback STRING(diagnoseAlive);
} else { } 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] > 0) then {
if (_target getvariable[QGVAR(hasLostBlood), 0] > 1) then { if (_target getvariable[QGVAR(hasLostBlood), 0] > 1) then {
_genericMessages pushback "STR_ACE_Medical_lostBloodALot"; _genericMessages pushback STRING(lostBloodALot);
} else { } else {
_genericMessages pushback "STR_ACE_Medical_lostBlood"; _genericMessages pushback STRING(lostBlood);
}; };
} else { } else {
_genericMessages pushback "STR_ACE_Medical_noBloodloss"; _genericMessages pushback STRING(noBloodloss);
}; };
if (_target getvariable[QGVAR(hasPain), false]) then { if (_target getvariable[QGVAR(hasPain), false]) then {
_genericMessages pushback "STR_ACE_Medical_inPain"; _genericMessages pushback STRING(inPain);
} else { } else {
_genericMessages pushback "STR_ACE_Medical_noPain"; _genericMessages pushback STRING(noPain);
}; };
["displayTextStructured", [_caller], [_genericMessages, 3.0, _caller]] call EFUNC(common,targetEvent); ["displayTextStructured", [_caller], [_genericMessages, 3.0, _caller]] call EFUNC(common,targetEvent);

View File

@ -50,22 +50,22 @@ if (_show) then {
_genericMessages = []; _genericMessages = [];
if (GVAR(level) >= 2) then { 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]]; _genericMessages pushback [localize _partText, [1, 1, 1, 1]];
}; };
if (_target getvariable[QGVAR(isBleeding), false]) then { 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 { 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 { 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 { 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; _totalIvVolume = 0;
@ -77,7 +77,7 @@ if (_show) then {
}; };
}foreach GVAR(IVBags); }foreach GVAR(IVBags);
if (_totalIvVolume >= 1) then { 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]; _damaged = [false, false, false, false, false, false];
@ -133,17 +133,17 @@ if (_show) then {
if (_target getHitPointDamage _x > 0 && {_forEachIndex == _selectionN}) then { if (_target getHitPointDamage _x > 0 && {_forEachIndex == _selectionN}) then {
_pointDamage = _target getHitPointDamage _x; _pointDamage = _target getHitPointDamage _x;
_severity = switch (true) do { _severity = switch (true) do {
case (_pointDamage > 0.5): {localize "STR_ACE_Medical_HeavilyWounded"}; case (_pointDamage > 0.5): {localize STRING(HeavilyWounded)};
case (_pointDamage > 0.1): {localize "STR_ACE_Medical_LightlyWounded"}; case (_pointDamage > 0.1): {localize STRING(LightlyWounded)};
default {localize "STR_ACE_Medical_VeryLightlyWounded"}; default {localize STRING(VeryLightlyWounded)};
}; };
_part = localize ([ _part = localize ([
"STR_ACE_Medical_Head", STRING(Head),
"STR_ACE_Medical_Torso", STRING(Torso),
"STR_ACE_Medical_LeftArm", STRING(LeftArm),
"STR_ACE_Medical_RightArm", STRING(RightArm),
"STR_ACE_Medical_LeftLeg", STRING(LeftLeg),
"STR_ACE_Medical_RightLeg" STRING(RightLeg)
] select _forEachIndex); ] select _forEachIndex);
_allInjuryTexts pushBack [format ["%1 %2", _severity, toLower _part], [1,1,1,1]]; _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]; _lbCtrl lbSetColor [_foreachIndex + _amountOfGeneric, _x select 1];
}foreach _allInjuryTexts; }foreach _allInjuryTexts;
if (count _allInjuryTexts == 0) then { if (count _allInjuryTexts == 0) then {
_lbCtrl lbAdd (localize "STR_ACE_Medical_NoInjuriesBodypart"); _lbCtrl lbAdd (localize STRING(NoInjuriesBodypart));
}; };
_logCtrl = (_display displayCtrl 302); _logCtrl = (_display displayCtrl 302);

Some files were not shown because too many files have changed in this diff Show More