mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Changed all strings to macros (except external)
This commit is contained in:
parent
600fe61f72
commit
6072e14077
@ -2,7 +2,7 @@ class CfgVehicles {
|
||||
class ACE_Module;
|
||||
class GVAR(ModuleSettings): ACE_Module {
|
||||
scope = 2;
|
||||
displayName = "$STR_ACE_AdvancedBallistics_DisplayName";
|
||||
displayName = CSTRING(DisplayName);
|
||||
icon = QUOTE(PATHTOF(UI\Icon_Module_Wind_ca.paa));
|
||||
category = "ACE";
|
||||
function = QUOTE(DFUNC(initModuleSettings));
|
||||
@ -12,32 +12,32 @@ class CfgVehicles {
|
||||
author = "Ruthberg";
|
||||
class Arguments {
|
||||
class enabled {
|
||||
displayName = "$STR_ACE_AdvancedBallistics_enabled_DisplayName";
|
||||
description = "$STR_ACE_AdvancedBallistics_enabled_Description";
|
||||
displayName = CSTRING(enabled_DisplayName);
|
||||
description = CSTRING(enabled_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 0;
|
||||
};
|
||||
class simulateForSnipers {
|
||||
displayName = "$STR_ACE_AdvancedBallistics_simulateForSnipers_DisplayName";
|
||||
description = "$STR_ACE_AdvancedBallistics_simulateForSnipers_Description";
|
||||
displayName = CSTRING(simulateForSnipers_DisplayName);
|
||||
description = CSTRING(simulateForSnipers_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 1;
|
||||
};
|
||||
class simulateForGroupMembers {
|
||||
displayName = "$STR_ACE_AdvancedBallistics_simulateForGroupMembers_DisplayName";
|
||||
description = "$STR_ACE_AdvancedBallistics_simulateForGroupMembers_Description";
|
||||
displayName = CSTRING(simulateForGroupMembers_DisplayName);
|
||||
description = CSTRING(simulateForGroupMembers_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 0;
|
||||
};
|
||||
class simulateForEveryone {
|
||||
displayName = "$STR_ACE_AdvancedBallistics_simulateForEveryone_DisplayName";
|
||||
description = "$STR_ACE_AdvancedBallistics_simulateForEveryone_Description";
|
||||
displayName = CSTRING(simulateForEveryone_DisplayName);
|
||||
description = CSTRING(simulateForEveryone_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 0;
|
||||
};
|
||||
class disabledInFullAutoMode {
|
||||
displayName = "$STR_ACE_AdvancedBallistics_disabledInFullAutoMod_DisplayName";
|
||||
description = "$STR_ACE_AdvancedBallistics_disabledInFullAutoMod_Description";
|
||||
displayName = CSTRING(disabledInFullAutoMod_DisplayName);
|
||||
description = CSTRING(disabledInFullAutoMod_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 0;
|
||||
};
|
||||
@ -50,38 +50,38 @@ class CfgVehicles {
|
||||
};
|
||||
*/
|
||||
class ammoTemperatureEnabled {
|
||||
displayName = "$STR_ACE_AdvancedBallistics_ammoTemperatureEnabled_DisplayName";
|
||||
description = "$STR_ACE_AdvancedBallistics_ammoTemperatureEnabled_Description";
|
||||
displayName = CSTRING(ammoTemperatureEnabled_DisplayName);
|
||||
description = CSTRING(ammoTemperatureEnabled_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 1;
|
||||
};
|
||||
class barrelLengthInfluenceEnabled {
|
||||
displayName = "$STR_ACE_AdvancedBallistics_barrelLengthInfluenceEnabled_DisplayName";
|
||||
description = "$STR_ACE_AdvancedBallistics_barrelLengthInfluenceEnabled_Description";
|
||||
displayName = CSTRING(barrelLengthInfluenceEnabled_DisplayName);
|
||||
description = CSTRING(barrelLengthInfluenceEnabled_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 1;
|
||||
};
|
||||
class bulletTraceEnabled {
|
||||
displayName = "$STR_ACE_AdvancedBallistics_bulletTraceEnabled_DisplayName";
|
||||
description = "$STR_ACE_AdvancedBallistics_bulletTraceEnabled_Description";
|
||||
displayName = CSTRING(bulletTraceEnabled_DisplayName);
|
||||
description = CSTRING(bulletTraceEnabled_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 1;
|
||||
};
|
||||
class simulationInterval {
|
||||
displayName = "$STR_ACE_AdvancedBallistics_simulationInterval_DisplayName";
|
||||
description = "$STR_ACE_AdvancedBallistics_simulationInterval_Description";
|
||||
displayName = CSTRING(simulationInterval_DisplayName);
|
||||
description = CSTRING(simulationInterval_Description);
|
||||
typeName = "NUMBER";
|
||||
defaultValue = 0.0;
|
||||
};
|
||||
class simulationRadius {
|
||||
displayName = "$STR_ACE_AdvancedBallistics_simulationRadius_DisplayName";
|
||||
description = "$STR_ACE_AdvancedBallistics_simulationRadius_Description";
|
||||
displayName = CSTRING(simulationRadius_DisplayName);
|
||||
description = CSTRING(simulationRadius_Description);
|
||||
typeName = "NUMBER";
|
||||
defaultValue = 3000;
|
||||
};
|
||||
};
|
||||
class ModuleDescription {
|
||||
description = "$STR_ACE_AdvancedBallistics_Description";
|
||||
description = CSTRING(Description);
|
||||
};
|
||||
};
|
||||
};
|
@ -1,4 +1,4 @@
|
||||
["ACE3 Equipment", QGVAR(ProtractorKey), localize "STR_ACE_AdvancedBallistics_ProtractorKey",
|
||||
["ACE3 Equipment", QGVAR(ProtractorKey), localize STRING(ProtractorKey),
|
||||
{
|
||||
// Conditions: canInteract
|
||||
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
|
||||
|
@ -176,8 +176,8 @@ class CfgVehicles {
|
||||
};
|
||||
class CargoRamp_Open: DoorL1_Open {
|
||||
userActionID = 52;
|
||||
displayName = "$STR_ACE_Aircraft_OpenCargoRamp";
|
||||
textToolTip = "$STR_ACE_Aircraft_OpenCargoRamp";
|
||||
displayName = CSTRING(OpenCargoRamp);
|
||||
textToolTip = CSTRING(OpenCargoRamp);
|
||||
position = "action_cargoramp";
|
||||
radius = 3.0;
|
||||
condition = "this animationPhase ""cargoramp_open"" < 0.5 AND Alive(this)";
|
||||
@ -185,8 +185,8 @@ class CfgVehicles {
|
||||
};
|
||||
class CargoRamp_Close: DoorL1_Close {
|
||||
userActionID = 55;
|
||||
displayName = "$STR_ACE_Aircraft_CloseCargoRamp";
|
||||
textToolTip = "$STR_ACE_Aircraft_CloseCargoRamp";
|
||||
displayName = CSTRING(CloseCargoRamp);
|
||||
textToolTip = CSTRING(CloseCargoRamp);
|
||||
position = "action_cargoramp";
|
||||
radius = 3.0;
|
||||
condition = "this animationPhase ""cargoramp_open"" > 0.5 AND Alive(this)";
|
||||
|
@ -29,7 +29,7 @@ class CfgWeapons {
|
||||
reloadTime = 0.1;
|
||||
};
|
||||
class Burst: Mode_Burst {
|
||||
displayName = "$STR_ACE_Aircraft_CMFlareLauncher_Burst_Name";
|
||||
displayName = CSTRING(CMFlareLauncher_Burst_Name);
|
||||
};
|
||||
};
|
||||
|
||||
@ -50,12 +50,12 @@ class CfgWeapons {
|
||||
};
|
||||
|
||||
class ACE_gatling_20mm_Comanche: gatling_20mm {
|
||||
displayName = "$STR_ACE_Aircraft_gatling_20mm_Name";
|
||||
displayName = CSTRING(gatling_20mm_Name);
|
||||
|
||||
class manual: manual {
|
||||
reloadTime = 0.04;
|
||||
dispersion = 0.006;
|
||||
displayName = "$STR_ACE_Aircraft_gatling_20mm_Name";
|
||||
displayName = CSTRING(gatling_20mm_Name);
|
||||
};
|
||||
class close: close {
|
||||
reloadTime = 0.04;
|
||||
|
@ -4,7 +4,7 @@ class CfgVehicles {
|
||||
class ACE_SelfActions {
|
||||
class ACE_Equipment {
|
||||
class GVAR(open) {
|
||||
displayName = "$STR_ACE_ATragMX_OpenATragMXDialog";
|
||||
displayName = CSTRING(OpenATragMXDialog);
|
||||
condition = QUOTE(call FUNC(can_show));
|
||||
statement = QUOTE(call FUNC(create_dialog));
|
||||
showDisabled = 0;
|
||||
|
@ -6,8 +6,8 @@ class CfgWeapons {
|
||||
class ACE_ATragMX: ACE_ItemCore {
|
||||
author = "Ruthberg";
|
||||
scope = 2;
|
||||
displayName = "$STR_ACE_ATragMX_Name";
|
||||
descriptionShort = "$STR_ACE_ATragMX_Description";
|
||||
displayName = CSTRING(Name);
|
||||
descriptionShort = CSTRING(Description);
|
||||
model = PATHTOF(data\tdsrecon.p3d);
|
||||
picture = PATHTOF(UI\ATRAG_Icon.paa);
|
||||
icon = "iconObject_circle";
|
||||
|
@ -1,4 +1,4 @@
|
||||
["ACE3 Equipment", QGVAR(ATragMXDialogKey), localize "STR_ACE_ATragMX_ATragMXDialogKey",
|
||||
["ACE3 Equipment", QGVAR(ATragMXDialogKey), localize STRING(ATragMXDialogKey),
|
||||
{
|
||||
// Conditions: canInteract
|
||||
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
|
||||
|
@ -3,7 +3,7 @@
|
||||
class ACE_Actions { \
|
||||
class ACE_MainActions { \
|
||||
class GVAR(AttachVehicle) { \
|
||||
displayName = "$STR_ACE_Attach_AttachDetach"; \
|
||||
displayName = CSTRING(AttachDetach); \
|
||||
condition = QUOTE(_this call FUNC(canAttach)); \
|
||||
insertChildren = QUOTE(_this call FUNC(getChildrenAttachActions)); \
|
||||
exceptions[] = {}; \
|
||||
@ -13,7 +13,7 @@
|
||||
distance = 4.5; \
|
||||
}; \
|
||||
class GVAR(DetachVehicle) { \
|
||||
displayName = "$STR_ACE_Attach_Detach"; \
|
||||
displayName = CSTRING(Detach); \
|
||||
condition = QUOTE(_this call FUNC(canDetach)); \
|
||||
statement = QUOTE(_this call FUNC(detach) ); \
|
||||
exceptions[] = {}; \
|
||||
@ -54,7 +54,7 @@ class CfgVehicles {
|
||||
class ACE_SelfActions {
|
||||
class ACE_Equipment {
|
||||
class GVAR(Attach) {
|
||||
displayName = "$STR_ACE_Attach_AttachDetach";
|
||||
displayName = CSTRING(AttachDetach);
|
||||
condition = QUOTE(_this call FUNC(canAttach));
|
||||
insertChildren = QUOTE(_this call FUNC(getChildrenAttachActions));
|
||||
exceptions[] = {"isNotDragging"};
|
||||
@ -64,7 +64,7 @@ class CfgVehicles {
|
||||
// hotkey = "T";
|
||||
};
|
||||
class GVAR(Detach) {
|
||||
displayName = "$STR_ACE_Attach_Detach";
|
||||
displayName = CSTRING(Detach);
|
||||
condition = QUOTE(_this call FUNC(canDetach));
|
||||
statement = QUOTE(_this call FUNC(detach));
|
||||
exceptions[] = {"isNotDragging"};
|
||||
|
@ -7,8 +7,8 @@ class CfgWeapons {
|
||||
ACE_attachable = "ACE_IR_Strobe_Effect";
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
scope = 2;
|
||||
displayName = "$STR_ACE_IrStrobe_Name";
|
||||
descriptionShort = "$STR_ACE_IrStrobe_Description";
|
||||
displayName = CSTRING(IrStrobe_Name);
|
||||
descriptionShort = CSTRING(IrStrobe_Description);
|
||||
model = "\A3\weapons_F\ammo\mag_univ.p3d";
|
||||
picture = PATHTOF(UI\irstrobe_item.paa);
|
||||
|
||||
|
@ -37,7 +37,7 @@ if (_itemVehClass == "") then {
|
||||
|
||||
if (_itemVehClass == "") exitWith {ERROR("no ACE_Attachable for Item");};
|
||||
|
||||
_onAtachText = format [localize "STR_ACE_Attach_Item_Attached", _onAtachText];
|
||||
_onAtachText = format [localize STRING(Item_Attached), _onAtachText];
|
||||
|
||||
if (_unit == _attachToVehicle) then { //Self Attachment
|
||||
_unit removeItem _itemClassname; // Remove item
|
||||
@ -54,12 +54,12 @@ if (_unit == _attachToVehicle) then { //Self Attachment
|
||||
|
||||
[_unit, QGVAR(vehAttach), true] call EFUNC(common,setForceWalkStatus);
|
||||
|
||||
//MenuBack isn't working for now (localize "STR_ACE_Attach_CancelAction")
|
||||
[{[localize "STR_ACE_Attach_PlaceAction", ""] call EFUNC(interaction,showMouseHint)}, [], 0, 0] call EFUNC(common,waitAndExecute);
|
||||
//MenuBack isn't working for now (localize STRING(CancelAction))
|
||||
[{[localize STRING(PlaceAction), ""] call EFUNC(interaction,showMouseHint)}, [], 0, 0] call EFUNC(common,waitAndExecute);
|
||||
_unit setVariable [QGVAR(placeActionEH), [_unit, "DefaultAction", {true}, {GVAR(placeAction) = 1;}] call EFUNC(common,AddActionEventHandler)];
|
||||
// _unit setVariable [QGVAR(cancelActionEH), [_unit, "MenuBack", {true}, {GVAR(placeAction) = 0;}] call EFUNC(common,AddActionEventHandler)];
|
||||
|
||||
_actionID = _unit addAction [format ["<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";
|
||||
|
@ -49,7 +49,7 @@ if (isNull _attachedObject || {_itemName == ""}) exitWith {ERROR("Could not find
|
||||
|
||||
// Exit if can't add the item
|
||||
if !(_unit canAdd _itemName) exitWith {
|
||||
[localize "STR_ACE_Attach_Inventory_Full"] call EFUNC(common,displayTextStructured);
|
||||
[localize STRING(Inventory_Full)] call EFUNC(common,displayTextStructured);
|
||||
};
|
||||
|
||||
// Add item to inventory
|
||||
@ -78,4 +78,4 @@ if (_itemDisplayName == "") then {
|
||||
_itemDisplayName = getText (configFile >> "CfgMagazines" >> _itemName >> "displayName");
|
||||
};
|
||||
|
||||
[format [localize "STR_ACE_Attach_Item_Detached", _itemDisplayName]] call EFUNC(common,displayTextStructured);
|
||||
[format [localize STRING(Item_Detached), _itemDisplayName]] call EFUNC(common,displayTextStructured);
|
||||
|
@ -74,7 +74,7 @@ _closeInDistance = (_closeInMax + _closeInMin) / 2;
|
||||
//Checks (too close to center or can't attach)
|
||||
if (((_startDistanceFromCenter - _closeInDistance) < 0.1) || {!([_attachToVehicle, _unit, _itemClassname] call FUNC(canAttach))}) exitWith {
|
||||
TRACE_2("no valid spot found",_closeInDistance,_startDistanceFromCenter);
|
||||
[localize "STR_ACE_Attach_Failed"] call EFUNC(common,displayTextStructured);
|
||||
[localize STRING(Failed)] call EFUNC(common,displayTextStructured);
|
||||
};
|
||||
|
||||
//Move it out slightly, for visability sake (better to look a little funny than be embedded//sunk in the hull and be useless)
|
||||
|
@ -14,9 +14,9 @@ class CfgMagazines {
|
||||
class ACE_100Rnd_65x39_caseless_mag_Tracer_Dim: 100Rnd_65x39_caseless_mag_Tracer {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_65x39_Caseless_Tracer_Dim";
|
||||
displayName = "$STR_ACE_100Rnd_65x39_caseless_mag_Tracer_DimName";
|
||||
displayNameShort = "$STR_ACE_100Rnd_65x39_caseless_mag_Tracer_DimNameShort";
|
||||
descriptionShort = "$STR_ACE_100Rnd_65x39_caseless_mag_Tracer_DimDescription";
|
||||
displayName = CSTRING(100Rnd_65x39_caseless_mag_Tracer_DimName);
|
||||
displayNameShort = CSTRING(100Rnd_65x39_caseless_mag_Tracer_DimNameShort);
|
||||
descriptionShort = CSTRING(100Rnd_65x39_caseless_mag_Tracer_DimDescription);
|
||||
picture = "\A3\weapons_f\data\ui\m_100rnd_65x39_yellow_ca.paa";
|
||||
};
|
||||
class 200Rnd_65x39_cased_Box: 100Rnd_65x39_caseless_mag {
|
||||
@ -25,26 +25,26 @@ class CfgMagazines {
|
||||
class ACE_200Rnd_65x39_cased_Box_Tracer_Dim: 200Rnd_65x39_cased_Box {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_65x39_Caseless_Tracer_Dim";
|
||||
displayName = "$STR_ACE_200Rnd_65x39_cased_Box_Tracer_DimName";
|
||||
displayNameShort = "$STR_ACE_200Rnd_65x39_cased_Box_Tracer_DimNameShort";
|
||||
descriptionShort = "$STR_ACE_200Rnd_65x39_cased_Box_Tracer_DimDescription";
|
||||
displayName = CSTRING(200Rnd_65x39_cased_Box_Tracer_DimName);
|
||||
displayNameShort = CSTRING(200Rnd_65x39_cased_Box_Tracer_DimNameShort);
|
||||
descriptionShort = CSTRING(200Rnd_65x39_cased_Box_Tracer_DimDescription);
|
||||
picture = "\A3\weapons_f\data\ui\m_200rnd_65x39_yellow_ca.paa";
|
||||
};
|
||||
class 30Rnd_65x39_caseless_mag_Tracer;
|
||||
class ACE_30Rnd_65x39_caseless_mag_Tracer_Dim: 30Rnd_65x39_caseless_mag_Tracer {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_65x39_Caseless_Tracer_Dim";
|
||||
displayName = "$STR_ACE_30Rnd_65x39_caseless_mag_Tracer_DimName";
|
||||
displayNameShort = "$STR_ACE_30Rnd_65x39_caseless_mag_Tracer_DimNameShort";
|
||||
descriptionShort = "$STR_ACE_30Rnd_65x39_caseless_mag_Tracer_DimDescription";
|
||||
displayName = CSTRING(30Rnd_65x39_caseless_mag_Tracer_DimName);
|
||||
displayNameShort = CSTRING(30Rnd_65x39_caseless_mag_Tracer_DimNameShort);
|
||||
descriptionShort = CSTRING(30Rnd_65x39_caseless_mag_Tracer_DimDescription);
|
||||
};
|
||||
class 30Rnd_65x39_caseless_green_mag_Tracer;
|
||||
class ACE_30Rnd_65x39_caseless_green_mag_Tracer_Dim: 30Rnd_65x39_caseless_green_mag_Tracer {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_65x39_Caseless_green_Tracer_Dim";
|
||||
displayName = "$STR_ACE_30Rnd_65x39_caseless_green_mag_Tracer_DimName";
|
||||
displayNameShort = "$STR_ACE_30Rnd_65x39_caseless_green_mag_Tracer_DimNameShort";
|
||||
descriptionShort = "$STR_ACE_30Rnd_65x39_caseless_green_mag_Tracer_DimDescription";
|
||||
displayName = CSTRING(30Rnd_65x39_caseless_green_mag_Tracer_DimName);
|
||||
displayNameShort = CSTRING(30Rnd_65x39_caseless_green_mag_Tracer_DimNameShort);
|
||||
descriptionShort = CSTRING(30Rnd_65x39_caseless_green_mag_Tracer_DimDescription);
|
||||
};
|
||||
|
||||
class 30Rnd_556x45_Stanag: CA_Magazine {
|
||||
@ -52,25 +52,25 @@ class CfgMagazines {
|
||||
class ACE_30Rnd_556x45_Stanag_M995_AP_mag: 30Rnd_556x45_Stanag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_556x45_Ball_M995_AP";
|
||||
displayName = "$STR_ACE_30Rnd_556x45_Stanag_M995_AP_mag_Name";
|
||||
displayNameShort = "$STR_ACE_30Rnd_556x45_Stanag_M995_AP_mag_NameShort";
|
||||
descriptionShort = "$STR_ACE_30Rnd_556x45_Stanag_M995_AP_mag_Description";
|
||||
displayName = CSTRING(30Rnd_556x45_Stanag_M995_AP_mag_Name);
|
||||
displayNameShort = CSTRING(30Rnd_556x45_Stanag_M995_AP_mag_NameShort);
|
||||
descriptionShort = CSTRING(30Rnd_556x45_Stanag_M995_AP_mag_Description);
|
||||
initSpeed = 865;
|
||||
};
|
||||
class ACE_30Rnd_556x45_Stanag_Mk262_mag: 30Rnd_556x45_Stanag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_556x45_Ball_Mk262";
|
||||
displayName = "$STR_ACE_30Rnd_556x45_Stanag_Mk262_mag_Name";
|
||||
displayNameShort = "$STR_ACE_30Rnd_556x45_Stanag_Mk262_mag_NameShort";
|
||||
descriptionShort = "$STR_ACE_30Rnd_556x45_Stanag_Mk262_mag_Description";
|
||||
displayName = CSTRING(30Rnd_556x45_Stanag_Mk262_mag_Name);
|
||||
displayNameShort = CSTRING(30Rnd_556x45_Stanag_Mk262_mag_NameShort);
|
||||
descriptionShort = CSTRING(30Rnd_556x45_Stanag_Mk262_mag_Description);
|
||||
initSpeed = 832;
|
||||
};
|
||||
class ACE_30Rnd_556x45_Stanag_Mk318_mag: 30Rnd_556x45_Stanag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_556x45_Ball_Mk318";
|
||||
displayName = "$STR_ACE_30Rnd_556x45_Stanag_Mk318_mag_Name";
|
||||
displayNameShort = "$STR_ACE_30Rnd_556x45_Stanag_Mk318_mag_NameShort";
|
||||
descriptionShort = "$STR_ACE_30Rnd_556x45_Stanag_Mk318_mag_Description";
|
||||
displayName = CSTRING(30Rnd_556x45_Stanag_Mk318_mag_Name);
|
||||
displayNameShort = CSTRING(30Rnd_556x45_Stanag_Mk318_mag_NameShort);
|
||||
descriptionShort = CSTRING(30Rnd_556x45_Stanag_Mk318_mag_Description);
|
||||
initSpeed = 922;
|
||||
};
|
||||
class 30Rnd_556x45_Stanag_Tracer_Red: 30Rnd_556x45_Stanag {
|
||||
@ -78,9 +78,9 @@ class CfgMagazines {
|
||||
class ACE_30Rnd_556x45_Stanag_Tracer_Dim: 30Rnd_556x45_Stanag_Tracer_Red {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_B_556x45_Ball_Tracer_Dim";
|
||||
displayName = "$STR_ACE_30Rnd_556x45_mag_Tracer_DimName";
|
||||
displayNameShort = "$STR_ACE_30Rnd_556x45_mag_Tracer_DimNameShort";
|
||||
descriptionShort = "$STR_ACE_30Rnd_556x45_mag_Tracer_DimDescription";
|
||||
displayName = CSTRING(30Rnd_556x45_mag_Tracer_DimName);
|
||||
displayNameShort = CSTRING(30Rnd_556x45_mag_Tracer_DimNameShort);
|
||||
descriptionShort = CSTRING(30Rnd_556x45_mag_Tracer_DimDescription);
|
||||
picture = "\A3\weapons_f\data\ui\m_20stanag_red_ca.paa";
|
||||
};
|
||||
|
||||
@ -99,26 +99,26 @@ class CfgMagazines {
|
||||
class ACE_20Rnd_762x51_Mag_Tracer: 20Rnd_762x51_Mag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "B_762x51_Tracer_Red";
|
||||
displayName = "$STR_ACE_20Rnd_762x51_mag_TracerName";
|
||||
displayNameShort = "$STR_ACE_20Rnd_762x51_mag_TracerNameShort";
|
||||
descriptionShort = "$STR_ACE_20Rnd_762x51_mag_TracerDescription";
|
||||
displayName = CSTRING(20Rnd_762x51_mag_TracerName);
|
||||
displayNameShort = CSTRING(20Rnd_762x51_mag_TracerNameShort);
|
||||
descriptionShort = CSTRING(20Rnd_762x51_mag_TracerDescription);
|
||||
tracersEvery = 1;
|
||||
};
|
||||
|
||||
class ACE_20Rnd_762x51_Mag_Tracer_Dim: ACE_20Rnd_762x51_Mag_Tracer {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_B_762x51_Tracer_Dim";
|
||||
displayName = "$STR_ACE_20Rnd_762x51_mag_Tracer_DimName";
|
||||
displayNameShort = "$STR_ACE_20Rnd_762x51_mag_Tracer_DimNameShort";
|
||||
descriptionShort = "$STR_ACE_20Rnd_762x51_mag_Tracer_DimDescription";
|
||||
displayName = CSTRING(20Rnd_762x51_mag_Tracer_DimName);
|
||||
displayNameShort = CSTRING(20Rnd_762x51_mag_Tracer_DimNameShort);
|
||||
descriptionShort = CSTRING(20Rnd_762x51_mag_Tracer_DimDescription);
|
||||
};
|
||||
|
||||
class ACE_20Rnd_762x51_Mag_SD: 20Rnd_762x51_Mag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_762x51_Ball_Subsonic";
|
||||
displayName = "$STR_ACE_20Rnd_762x51_mag_SDName";
|
||||
displayNameShort = "$STR_ACE_20Rnd_762x51_mag_SDNameShort";
|
||||
descriptionShort = "$STR_ACE_20Rnd_762x51_mag_SDDescription";
|
||||
displayName = CSTRING(20Rnd_762x51_mag_SDName);
|
||||
displayNameShort = CSTRING(20Rnd_762x51_mag_SDNameShort);
|
||||
descriptionShort = CSTRING(20Rnd_762x51_mag_SDDescription);
|
||||
initSpeed = 325;
|
||||
};
|
||||
|
||||
@ -126,125 +126,125 @@ class CfgMagazines {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_762x51_Ball_M118LR";
|
||||
count = 10;
|
||||
displayName = "$STR_ACE_10Rnd_762x51_M118LR_Mag_Name";
|
||||
displayNameShort = "$STR_ACE_10Rnd_762x51_M118LR_Mag_NameShort";
|
||||
descriptionShort = "$STR_ACE_10Rnd_762x51_M118LR_Mag_Description";
|
||||
displayName = CSTRING(10Rnd_762x51_M118LR_Mag_Name);
|
||||
displayNameShort = CSTRING(10Rnd_762x51_M118LR_Mag_NameShort);
|
||||
descriptionShort = CSTRING(10Rnd_762x51_M118LR_Mag_Description);
|
||||
initSpeed = 780;
|
||||
};
|
||||
class ACE_10Rnd_762x51_Mk316_Mod_0_Mag: 10Rnd_762x51_Mag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_762x51_Ball_Mk316_Mod_0";
|
||||
count = 10;
|
||||
displayName = "$STR_ACE_10Rnd_762x51_Mk316_Mod_0_Mag_Name";
|
||||
displayNameShort = "$STR_ACE_10Rnd_762x51_Mk316_Mod_0_Mag_NameShort";
|
||||
descriptionShort = "$STR_ACE_10Rnd_762x51_Mk316_Mod_0_Mag_Description";
|
||||
displayName = CSTRING(10Rnd_762x51_Mk316_Mod_0_Mag_Name);
|
||||
displayNameShort = CSTRING(10Rnd_762x51_Mk316_Mod_0_Mag_NameShort);
|
||||
descriptionShort = CSTRING(10Rnd_762x51_Mk316_Mod_0_Mag_Description);
|
||||
initSpeed = 790;
|
||||
};
|
||||
class ACE_10Rnd_762x51_Mk319_Mod_0_Mag: 10Rnd_762x51_Mag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_762x51_Ball_Mk319_Mod_0";
|
||||
count = 10;
|
||||
displayName = "$STR_ACE_10Rnd_762x51_Mk319_Mod_0_Mag_Name";
|
||||
displayNameShort = "$STR_ACE_10Rnd_762x51_Mk319_Mod_0_Mag_NameShort";
|
||||
descriptionShort = "$STR_ACE_10Rnd_762x51_Mk319_Mod_0_Mag_Description";
|
||||
displayName = CSTRING(10Rnd_762x51_Mk319_Mod_0_Mag_Name);
|
||||
displayNameShort = CSTRING(10Rnd_762x51_Mk319_Mod_0_Mag_NameShort);
|
||||
descriptionShort = CSTRING(10Rnd_762x51_Mk319_Mod_0_Mag_Description);
|
||||
initSpeed = 900;
|
||||
};
|
||||
class ACE_10Rnd_762x51_M993_AP_Mag: 10Rnd_762x51_Mag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_762x51_Ball_M993_AP";
|
||||
count = 10;
|
||||
displayName = "$STR_ACE_10Rnd_762x51_M993_AP_Mag_Name";
|
||||
displayNameShort = "$STR_ACE_10Rnd_762x51_M993_AP_Mag_NameShort";
|
||||
descriptionShort = "$STR_ACE_10Rnd_762x51_M993_AP_Mag_Description";
|
||||
displayName = CSTRING(10Rnd_762x51_M993_AP_Mag_Name);
|
||||
displayNameShort = CSTRING(10Rnd_762x51_M993_AP_Mag_NameShort);
|
||||
descriptionShort = CSTRING(10Rnd_762x51_M993_AP_Mag_Description);
|
||||
initSpeed = 920;
|
||||
};
|
||||
class ACE_20Rnd_762x51_M118LR_Mag: 20Rnd_762x51_Mag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_762x51_Ball_M118LR";
|
||||
displayName = "$STR_ACE_20Rnd_762x51_M118LR_Mag_Name";
|
||||
displayNameShort = "$STR_ACE_20Rnd_762x51_M118LR_Mag_NameShort";
|
||||
descriptionShort = "$STR_ACE_20Rnd_762x51_M118LR_Mag_Description";
|
||||
displayName = CSTRING(20Rnd_762x51_M118LR_Mag_Name);
|
||||
displayNameShort = CSTRING(20Rnd_762x51_M118LR_Mag_NameShort);
|
||||
descriptionShort = CSTRING(20Rnd_762x51_M118LR_Mag_Description);
|
||||
initSpeed = 780;
|
||||
};
|
||||
class ACE_20Rnd_762x51_Mk316_Mod_0_Mag: 20Rnd_762x51_Mag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_762x51_Ball_Mk316_Mod_0";
|
||||
count = 20;
|
||||
displayName = "$STR_ACE_20Rnd_762x51_Mk316_Mod_0_Mag_Name";
|
||||
displayNameShort = "$STR_ACE_20Rnd_762x51_Mk316_Mod_0_Mag_NameShort";
|
||||
descriptionShort = "$STR_ACE_20Rnd_762x51_Mk316_Mod_0_Mag_Description";
|
||||
displayName = CSTRING(20Rnd_762x51_Mk316_Mod_0_Mag_Name);
|
||||
displayNameShort = CSTRING(20Rnd_762x51_Mk316_Mod_0_Mag_NameShort);
|
||||
descriptionShort = CSTRING(20Rnd_762x51_Mk316_Mod_0_Mag_Description);
|
||||
initSpeed = 790;
|
||||
};
|
||||
class ACE_20Rnd_762x51_Mk319_Mod_0_Mag: 20Rnd_762x51_Mag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_762x51_Ball_Mk319_Mod_0";
|
||||
displayName = "$STR_ACE_20Rnd_762x51_Mk319_Mod_0_Mag_Name";
|
||||
displayNameShort = "$STR_ACE_20Rnd_762x51_Mk319_Mod_0_Mag_NameShort";
|
||||
descriptionShort = "$STR_ACE_20Rnd_762x51_Mk319_Mod_0_Mag_Description";
|
||||
displayName = CSTRING(20Rnd_762x51_Mk319_Mod_0_Mag_Name);
|
||||
displayNameShort = CSTRING(20Rnd_762x51_Mk319_Mod_0_Mag_NameShort);
|
||||
descriptionShort = CSTRING(20Rnd_762x51_Mk319_Mod_0_Mag_Description);
|
||||
initSpeed = 900;
|
||||
};
|
||||
class ACE_20Rnd_762x51_M993_AP_Mag: 20Rnd_762x51_Mag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_762x51_Ball_M993_AP";
|
||||
count = 20;
|
||||
displayName = "$STR_ACE_20Rnd_762x51_M993_AP_Mag_Name";
|
||||
displayNameShort = "$STR_ACE_20Rnd_762x51_M993_AP_Mag_NameShort";
|
||||
descriptionShort = "$STR_ACE_20Rnd_762x51_M993_AP_Mag_Description";
|
||||
displayName = CSTRING(20Rnd_762x51_M993_AP_Mag_Name);
|
||||
displayNameShort = CSTRING(20Rnd_762x51_M993_AP_Mag_NameShort);
|
||||
descriptionShort = CSTRING(20Rnd_762x51_M993_AP_Mag_Description);
|
||||
initSpeed = 920;
|
||||
};
|
||||
class ACE_20Rnd_762x67_Mk248_Mod_0_Mag: 20Rnd_762x51_Mag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_762x67_Ball_Mk248_Mod_0";
|
||||
displayName = "$STR_ACE_20Rnd_762x67_Mk248_Mod_0_Mag_Name";
|
||||
displayNameShort = "$STR_ACE_20Rnd_762x67_Mk248_Mod_0_Mag_NameShort";
|
||||
descriptionShort = "$STR_ACE_20Rnd_762x67_Mk248_Mod_0_Mag_Description";
|
||||
displayName = CSTRING(20Rnd_762x67_Mk248_Mod_0_Mag_Name);
|
||||
displayNameShort = CSTRING(20Rnd_762x67_Mk248_Mod_0_Mag_NameShort);
|
||||
descriptionShort = CSTRING(20Rnd_762x67_Mk248_Mod_0_Mag_Description);
|
||||
initSpeed = 900;
|
||||
};
|
||||
class ACE_20Rnd_762x67_Mk248_Mod_1_Mag: 20Rnd_762x51_Mag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_762x67_Ball_Mk248_Mod_1";
|
||||
displayName = "$STR_ACE_20Rnd_762x67_Mk248_Mod_1_Mag_Name";
|
||||
displayNameShort = "$STR_ACE_20Rnd_762x67_Mk248_Mod_1_Mag_NameShort";
|
||||
descriptionShort = "$STR_ACE_20Rnd_762x67_Mk248_Mod_1_Mag_Description";
|
||||
displayName = CSTRING(20Rnd_762x67_Mk248_Mod_1_Mag_Name);
|
||||
displayNameShort = CSTRING(20Rnd_762x67_Mk248_Mod_1_Mag_NameShort);
|
||||
descriptionShort = CSTRING(20Rnd_762x67_Mk248_Mod_1_Mag_Description);
|
||||
initSpeed = 880;
|
||||
};
|
||||
class ACE_20Rnd_762x67_Berger_Hybrid_OTM_Mag: 20Rnd_762x51_Mag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_762x67_Ball_Berger_Hybrid_OTM";
|
||||
displayName = "$STR_ACE_20Rnd_762x67_Berger_Hybrid_OTM_Mag_Name";
|
||||
displayNameShort = "$STR_ACE_20Rnd_762x67_Berger_Hybrid_OTM_Mag_NameShort";
|
||||
descriptionShort = "$STR_ACE_20Rnd_762x67_Berger_Hybrid_OTM_Mag_Description";
|
||||
displayName = CSTRING(20Rnd_762x67_Berger_Hybrid_OTM_Mag_Name);
|
||||
displayNameShort = CSTRING(20Rnd_762x67_Berger_Hybrid_OTM_Mag_NameShort);
|
||||
descriptionShort = CSTRING(20Rnd_762x67_Berger_Hybrid_OTM_Mag_Description);
|
||||
initSpeed = 832;
|
||||
};
|
||||
class ACE_30Rnd_65x47_Scenar_mag: 30Rnd_65x39_caseless_mag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_65x47_Ball_Scenar";
|
||||
displayName = "$STR_ACE_30Rnd_65x47_Scenar_mag_Name";
|
||||
displayNameShort = "$STR_ACE_30Rnd_65x47_Scenar_mag_NameShort";
|
||||
descriptionShort = "$STR_ACE_30Rnd_65x47_Scenar_mag_Description";
|
||||
displayName = CSTRING(30Rnd_65x47_Scenar_mag_Name);
|
||||
displayNameShort = CSTRING(30Rnd_65x47_Scenar_mag_NameShort);
|
||||
descriptionShort = CSTRING(30Rnd_65x47_Scenar_mag_Description);
|
||||
};
|
||||
class ACE_30Rnd_65_Creedmor_mag: 30Rnd_65x39_caseless_mag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_65_Creedmor_Ball";
|
||||
displayName = "$STR_ACE_30Rnd_65_Creedmor_mag_Name";
|
||||
displayNameShort = "$STR_ACE_30Rnd_65_Creedmor_mag_NameShort";
|
||||
descriptionShort = "$STR_ACE_30Rnd_65_Creedmor_mag_Description";
|
||||
displayName = CSTRING(30Rnd_65_Creedmor_mag_Name);
|
||||
displayNameShort = CSTRING(30Rnd_65_Creedmor_mag_NameShort);
|
||||
descriptionShort = CSTRING(30Rnd_65_Creedmor_mag_Description);
|
||||
};
|
||||
class 10Rnd_338_Mag;
|
||||
class ACE_10Rnd_338_300gr_HPBT_Mag: 10Rnd_338_Mag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_338_Ball";
|
||||
displayName = "$STR_ACE_10Rnd_338_300gr_HPBT_Mag_Name";
|
||||
displayNameShort = "$STR_ACE_10Rnd_338_300gr_HPBT_Mag_NameShort";
|
||||
descriptionShort = "$STR_ACE_10Rnd_338_300gr_HPBT_Mag_Description";
|
||||
displayName = CSTRING(10Rnd_338_300gr_HPBT_Mag_Name);
|
||||
displayNameShort = CSTRING(10Rnd_338_300gr_HPBT_Mag_NameShort);
|
||||
descriptionShort = CSTRING(10Rnd_338_300gr_HPBT_Mag_Description);
|
||||
initSpeed = 800;
|
||||
};
|
||||
class ACE_10Rnd_338_API526_Mag: 10Rnd_338_Mag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_338_Ball_API526";
|
||||
displayName = "$STR_ACE_10Rnd_338_API526_Mag_Name";
|
||||
displayNameShort = "$STR_ACE_10Rnd_338_API526_Mag_NameShort";
|
||||
descriptionShort = "$STR_ACE_10Rnd_338_API526_Mag_Description";
|
||||
displayName = CSTRING(10Rnd_338_API526_Mag_Name);
|
||||
displayNameShort = CSTRING(10Rnd_338_API526_Mag_NameShort);
|
||||
descriptionShort = CSTRING(10Rnd_338_API526_Mag_Description);
|
||||
initSpeed = 880;
|
||||
};
|
||||
|
||||
@ -252,25 +252,25 @@ class CfgMagazines {
|
||||
class ACE_5Rnd_127x99_Mag: 5Rnd_127x108_Mag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "B_127x99_Ball";
|
||||
displayName = "$STR_ACE_5Rnd_127x99_Mag_Name";
|
||||
displayNameShort = "$STR_ACE_5Rnd_127x99_Mag_NameShort";
|
||||
descriptionShort = "$STR_ACE_5Rnd_127x99_Mag_Description";
|
||||
displayName = CSTRING(5Rnd_127x99_Mag_Name);
|
||||
displayNameShort = CSTRING(5Rnd_127x99_Mag_NameShort);
|
||||
descriptionShort = CSTRING(5Rnd_127x99_Mag_Description);
|
||||
initSpeed = 900;
|
||||
};
|
||||
class ACE_5Rnd_127x99_API_Mag: 5Rnd_127x108_Mag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_127x99_API";
|
||||
displayName = "$STR_ACE_5Rnd_127x99_API_Mag_Name";
|
||||
displayNameShort = "$STR_ACE_5Rnd_127x99_API_Mag_NameShort";
|
||||
descriptionShort = "$STR_ACE_5Rnd_127x99_API_Mag_Description";
|
||||
displayName = CSTRING(5Rnd_127x99_API_Mag_Name);
|
||||
displayNameShort = CSTRING(5Rnd_127x99_API_Mag_NameShort);
|
||||
descriptionShort = CSTRING(5Rnd_127x99_API_Mag_Description);
|
||||
initSpeed = 900;
|
||||
};
|
||||
class ACE_5Rnd_127x99_AMAX_Mag: 5Rnd_127x108_Mag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_127x99_Ball_AMAX";
|
||||
displayName = "$STR_ACE_5Rnd_127x99_AMAX_Mag_Name";
|
||||
displayNameShort = "$STR_ACE_5Rnd_127x99_AMAX_Mag_NameShort";
|
||||
descriptionShort = "$STR_ACE_5Rnd_127x99_AMAX_Mag_Description";
|
||||
displayName = CSTRING(5Rnd_127x99_AMAX_Mag_Name);
|
||||
displayNameShort = CSTRING(5Rnd_127x99_AMAX_Mag_NameShort);
|
||||
descriptionShort = CSTRING(5Rnd_127x99_AMAX_Mag_Description);
|
||||
initSpeed = 860;
|
||||
};
|
||||
|
||||
@ -281,9 +281,9 @@ class CfgMagazines {
|
||||
class ACE_30Rnd_9x19_mag: 30Rnd_9x21_Mag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_9x19_Ball";
|
||||
displayName = "$STR_ACE_30Rnd_9x19_mag_Name";
|
||||
displayNameShort = "$STR_ACE_30Rnd_9x19_mag_NameShort";
|
||||
descriptionShort = "$STR_ACE_30Rnd_9x19_mag_Description";
|
||||
displayName = CSTRING(30Rnd_9x19_mag_Name);
|
||||
displayNameShort = CSTRING(30Rnd_9x19_mag_NameShort);
|
||||
descriptionShort = CSTRING(30Rnd_9x19_mag_Description);
|
||||
initSpeed = 370;
|
||||
};
|
||||
|
||||
@ -313,9 +313,9 @@ class CfgMagazines {
|
||||
class ACE_16Rnd_9x19_mag: 16Rnd_9x21_Mag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_9x19_Ball";
|
||||
displayName = "$STR_ACE_16Rnd_9x19_mag_Name";
|
||||
displayNameShort = "$STR_ACE_16Rnd_9x19_mag_NameShort";
|
||||
descriptionShort = "$STR_ACE_16Rnd_9x19_mag_Description";
|
||||
displayName = CSTRING(16Rnd_9x19_mag_Name);
|
||||
displayNameShort = CSTRING(16Rnd_9x19_mag_NameShort);
|
||||
descriptionShort = CSTRING(16Rnd_9x19_mag_Description);
|
||||
initSpeed = 370;
|
||||
};
|
||||
|
||||
@ -325,9 +325,9 @@ class CfgMagazines {
|
||||
class ACE_10Rnd_762x54_Tracer_mag: 10Rnd_762x54_Mag {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_762x54_Ball_7T2";
|
||||
displayName = "$STR_ACE_10Rnd_762x54_Tracer_mag_Name";
|
||||
displayNameShort = "$STR_ACE_10Rnd_762x54_Tracer_mag_NameShort";
|
||||
descriptionShort = "$STR_ACE_10Rnd_762x54_Tracer_mag_Description";
|
||||
displayName = CSTRING(10Rnd_762x54_Tracer_mag_Name);
|
||||
displayNameShort = CSTRING(10Rnd_762x54_Tracer_mag_NameShort);
|
||||
descriptionShort = CSTRING(10Rnd_762x54_Tracer_mag_Description);
|
||||
initSpeed = 800;
|
||||
tracersEvery = 1;
|
||||
};
|
||||
|
@ -190,7 +190,7 @@ class CfgVehicles {
|
||||
class ACE_Box_Ammo: NATO_Box_Base {
|
||||
scope = 2;
|
||||
accuracy = 1000;
|
||||
displayName = "$STR_ACE_AmmoSupplyCrate_DisplayName";
|
||||
displayName = CSTRING(AmmoSupplyCrate_DisplayName);
|
||||
model = "\A3\weapons_F\AmmoBoxes\AmmoBox_F";
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
class TransportMagazines {
|
||||
|
@ -4,7 +4,7 @@ class CfgVehicles {
|
||||
class ACE_Actions {
|
||||
|
||||
class ACE_ApplyHandcuffs {
|
||||
displayName = "$STR_ACE_Captives_SetCaptive";
|
||||
displayName = CSTRING(SetCaptive);
|
||||
selection = "righthand";
|
||||
distance = 2;
|
||||
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canApplyHandcuffs));
|
||||
@ -13,7 +13,7 @@ class CfgVehicles {
|
||||
icon = QUOTE(PATHTOF(UI\handcuff_ca.paa));
|
||||
};
|
||||
class ACE_RemoveHandcuffs {
|
||||
displayName = "$STR_ACE_Captives_ReleaseCaptive";
|
||||
displayName = CSTRING(ReleaseCaptive);
|
||||
selection = "righthand";
|
||||
distance = 2;
|
||||
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canRemoveHandcuffs));
|
||||
@ -24,7 +24,7 @@ class CfgVehicles {
|
||||
|
||||
class ACE_MainActions {
|
||||
class ACE_EscortCaptive {
|
||||
displayName = "$STR_ACE_Captives_EscortCaptive";
|
||||
displayName = CSTRING(EscortCaptive);
|
||||
distance = 4;
|
||||
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canEscortCaptive));
|
||||
statement = QUOTE([ARR_3(_player, _target, true)] call FUNC(doEscortCaptive));
|
||||
@ -35,7 +35,7 @@ class CfgVehicles {
|
||||
hotkey = "E";
|
||||
};
|
||||
class ACE_StopEscorting {
|
||||
displayName = "$STR_ACE_Captives_StopEscorting";
|
||||
displayName = CSTRING(StopEscorting);
|
||||
distance = 4;
|
||||
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canStopEscorting));
|
||||
statement = QUOTE([ARR_3(_player,_target, false)] call FUNC(doEscortCaptive));
|
||||
@ -46,7 +46,7 @@ class CfgVehicles {
|
||||
hotkey = "E";
|
||||
};
|
||||
class ACE_LoadCaptive {
|
||||
displayName = "$STR_ACE_Captives_LoadCaptive";
|
||||
displayName = CSTRING(LoadCaptive);
|
||||
distance = 4;
|
||||
condition = QUOTE([ARR_3(_player, _target, objNull)] call FUNC(canLoadCaptive));
|
||||
statement = QUOTE([ARR_3(_player, _target, objNull)] call FUNC(doLoadCaptive));
|
||||
@ -57,7 +57,7 @@ class CfgVehicles {
|
||||
hotkey = "L";
|
||||
};
|
||||
class ACE_FriskPerson {
|
||||
displayName = "$STR_ACE_Captives_FriskPerson";
|
||||
displayName = CSTRING(FriskPerson);
|
||||
distance = 2;
|
||||
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canFriskPerson));
|
||||
statement = QUOTE([ARR_2(_player, _target)] call FUNC(doFriskPerson));
|
||||
@ -71,7 +71,7 @@ class CfgVehicles {
|
||||
|
||||
class ACE_SelfActions {
|
||||
class ACE_StopEscortingSelf {
|
||||
displayName = "$STR_ACE_Captives_StopEscorting";
|
||||
displayName = CSTRING(StopEscorting);
|
||||
condition = QUOTE([ARR_2(_player, objNull)] call FUNC(canStopEscorting));
|
||||
statement = QUOTE([ARR_3(_player,objNull, false)] call FUNC(doEscortCaptive));
|
||||
exceptions[] = {"isNotEscorting"};
|
||||
@ -80,7 +80,7 @@ class CfgVehicles {
|
||||
hotkey = "C";
|
||||
};
|
||||
class ACE_StartSurrenderingSelf {
|
||||
displayName = "$STR_ACE_Captives_StartSurrendering";
|
||||
displayName = CSTRING(StartSurrendering);
|
||||
condition = QUOTE([ARR_2(_player, true)] call FUNC(canSurrender));
|
||||
statement = QUOTE([ARR_2(_player, true)] call FUNC(setSurrendered));
|
||||
exceptions[] = {};
|
||||
@ -88,7 +88,7 @@ class CfgVehicles {
|
||||
priority = 0;
|
||||
};
|
||||
class ACE_StopSurrenderingSelf {
|
||||
displayName = "$STR_ACE_Captives_StopSurrendering";
|
||||
displayName = CSTRING(StopSurrendering);
|
||||
condition = QUOTE([ARR_2(_player, false)] call FUNC(canSurrender));
|
||||
statement = QUOTE([ARR_2(_player, false)] call FUNC(setSurrendered));
|
||||
exceptions[] = {"isNotSurrendering"};
|
||||
@ -102,7 +102,7 @@ class CfgVehicles {
|
||||
class ACE_Actions { \
|
||||
class ACE_MainActions { \
|
||||
class GVAR(LoadCaptive) { \
|
||||
displayName = "$STR_ACE_Captives_LoadCaptive"; \
|
||||
displayName = CSTRING(LoadCaptive); \
|
||||
distance = 4; \
|
||||
condition = QUOTE([ARR_3(_player, objNull, _target)] call FUNC(canLoadCaptive)); \
|
||||
statement = QUOTE([ARR_3(_player, objNull, _target)] call FUNC(doLoadCaptive)); \
|
||||
@ -110,7 +110,7 @@ class CfgVehicles {
|
||||
priority = 1.2; \
|
||||
}; \
|
||||
class GVAR(UnloadCaptive) { \
|
||||
displayName = "$STR_ACE_Captives_UnloadCaptive"; \
|
||||
displayName = CSTRING(UnloadCaptive); \
|
||||
distance = 4; \
|
||||
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canUnloadCaptive)); \
|
||||
statement = QUOTE([ARR_2(_player, _target)] call FUNC(doUnloadCaptive)); \
|
||||
@ -161,7 +161,7 @@ class CfgVehicles {
|
||||
class GVAR(ModuleSurrender): Module_F {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
category = "ACE";
|
||||
displayName = "$STR_ACE_Captives_ModuleSurrender_DisplayName"; //Make Unit Surrender
|
||||
displayName = CSTRING(ModuleSurrender_DisplayName); //Make Unit Surrender
|
||||
function = QUOTE(DFUNC(moduleSurrender));
|
||||
scope = 2; //show in editor
|
||||
scopeCurator = 2; //show in zeus
|
||||
@ -172,7 +172,7 @@ class CfgVehicles {
|
||||
functionPriority = 0;
|
||||
class Arguments {};
|
||||
class ModuleDescription: ModuleDescription {
|
||||
description = "$STR_ACE_Captives_ModuleSurrender_Description"; //Sync a unit to make them surrender.<br/>Source: ace_captives
|
||||
description = CSTRING(ModuleSurrender_Description); //Sync a unit to make them surrender.<br/>Source: ace_captives
|
||||
sync[] = {"AnyAI"};
|
||||
};
|
||||
};
|
||||
|
@ -3,8 +3,8 @@ class CfgWeapons {
|
||||
class InventoryItem_Base_F;
|
||||
|
||||
class ACE_CableTie: ACE_ItemCore {
|
||||
displayName = "$STR_ACE_Captives_CableTie";
|
||||
descriptionShort = "$STR_ACE_Captives_CableTieDescription";
|
||||
displayName = CSTRING(CableTie);
|
||||
descriptionShort = CSTRING(CableTieDescription);
|
||||
model = QUOTE(PATHTOF(models\ace_cabletie.p3d));
|
||||
picture = QUOTE(PATHTOF(UI\ace_cabletie_ca.paa));
|
||||
scope = 2;
|
||||
|
@ -30,7 +30,7 @@ if (_state) then {
|
||||
_unit setVariable [QGVAR(escortedUnit), _target, true];
|
||||
|
||||
//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);},
|
||||
nil, 20, false, true, "", QUOTE(!isNull (GETVAR(_target,QGVAR(escortedUnit),objNull)))];
|
||||
|
||||
|
@ -27,7 +27,7 @@ if (_weapon == primaryWeapon _player && {_weapon != ""}) then {
|
||||
|
||||
_listedItemClasses = [];
|
||||
|
||||
_actions = [localize "STR_ACE_Captives_FriskMenuHeader", ""] call ACE_Interaction_fnc_prepareSelectMenu;
|
||||
_actions = [localize STRING(FriskMenuHeader), ""] call ACE_Interaction_fnc_prepareSelectMenu;
|
||||
|
||||
_allGear = [];
|
||||
|
||||
|
@ -36,13 +36,13 @@ if (local _logic) then {
|
||||
["SetSurrendered", [_mouseOverObject], [_mouseOverObject, false]] call EFUNC(common,targetEvent);
|
||||
};
|
||||
} else {
|
||||
["STR_ACE_Captives_Zeus_OnlyAlive"] call EFUNC(common,displayTextStructured);
|
||||
[STRING(Zeus_OnlyAlive)] call EFUNC(common,displayTextStructured);
|
||||
};
|
||||
} else {
|
||||
["STR_ACE_Captives_Zeus_OnlyInfantry"] call EFUNC(common,displayTextStructured);
|
||||
[STRING(Zeus_OnlyInfantry)] call EFUNC(common,displayTextStructured);
|
||||
};
|
||||
} else {
|
||||
["STR_ACE_Captives_Zeus_NothingSelected"] call EFUNC(common,displayTextStructured);
|
||||
[STRING(Zeus_NothingSelected)] call EFUNC(common,displayTextStructured);
|
||||
};
|
||||
} else {
|
||||
//an editor module
|
||||
|
@ -2,13 +2,13 @@
|
||||
class CfgUnitInsignia {
|
||||
class ACE_insignia_logo {
|
||||
displayName = "ACE3";
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
author = CSTRING(ACETeam);
|
||||
texture = PATHTOF(data\Insignia_ace3logo_ca.paa);
|
||||
textureVehicle = "";
|
||||
};
|
||||
class ACE_insignia_banana {
|
||||
displayName = "ABE3";
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
author = CSTRING(ACETeam);
|
||||
texture = PATHTOF(data\insignia_banana_ca.paa);
|
||||
textureVehicle = "";
|
||||
};
|
||||
|
@ -30,42 +30,42 @@ class CfgVehicles {
|
||||
class ModuleDescription {};
|
||||
};
|
||||
class ACE_ModuleCheckPBOs: Module_F {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
author = CSTRING(ACETeam);
|
||||
category = "ACE";
|
||||
displayName = "$STR_ACE_Common_CheckPBO_DisplayName";
|
||||
displayName = CSTRING(CheckPBO_DisplayName);
|
||||
function = QFUNC(moduleCheckPBOs);
|
||||
scope = 2;
|
||||
isGlobal = 1;
|
||||
icon = QUOTE(PATHTOF(UI\Icon_Module_CheckPBO_ca.paa));
|
||||
class Arguments {
|
||||
class Action {
|
||||
displayName = "$STR_ACE_Common_CheckPBO_Action_DisplayName";
|
||||
description = "$STR_ACE_Common_CheckPBO_Action_Description";
|
||||
displayName = CSTRING(CheckPBO_Action_DisplayName);
|
||||
description = CSTRING(CheckPBO_Action_Description);
|
||||
class values {
|
||||
class WarnOnce {
|
||||
default = 1;
|
||||
name = "$STR_ACE_Common_CheckPBO_Action_WarnOnce";
|
||||
name = CSTRING(CheckPBO_Action_WarnOnce);
|
||||
value = 0;
|
||||
};
|
||||
class Warn {
|
||||
name = "$STR_ACE_Common_CheckPBO_Action_WarnPerm";
|
||||
name = CSTRING(CheckPBO_Action_WarnPerm);
|
||||
value = 1;
|
||||
};
|
||||
class Kick {
|
||||
name = "$STR_ACE_Common_CheckPBO_Action_Kick";
|
||||
name = CSTRING(CheckPBO_Action_Kick);
|
||||
value = 2;
|
||||
};
|
||||
};
|
||||
};
|
||||
class CheckAll {
|
||||
displayName = "$STR_ACE_Common_CheckPBO_CheckAll_DisplayName";
|
||||
description = "$STR_ACE_Common_CheckPBO_CheckAll_Description";
|
||||
displayName = CSTRING(CheckPBO_CheckAll_DisplayName);
|
||||
description = CSTRING(CheckPBO_CheckAll_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 0;
|
||||
};
|
||||
class Whitelist {
|
||||
displayName = "$STR_ACE_Common_CheckPBO_Whitelist_DisplayName";
|
||||
description = "$STR_ACE_Common_CheckPBO_Whitelist_Description";
|
||||
displayName = CSTRING(CheckPBO_Whitelist_DisplayName);
|
||||
description = CSTRING(CheckPBO_Whitelist_Description);
|
||||
typeName = "STRING";
|
||||
class values {
|
||||
default = "[]";
|
||||
@ -73,14 +73,14 @@ class CfgVehicles {
|
||||
};
|
||||
};
|
||||
class ModuleDescription: ModuleDescription {
|
||||
description = "$STR_ACE_Common_CheckPBO_Description";
|
||||
description = CSTRING(CheckPBO_Description);
|
||||
};
|
||||
};
|
||||
|
||||
class ACE_ModuleLSDVehicles: Module_F {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
author = CSTRING(ACETeam);
|
||||
category = "ACE";
|
||||
displayName = "$STR_ACE_Common_LSDVehicles_DisplayName";
|
||||
displayName = CSTRING(LSDVehicles_DisplayName);
|
||||
function = "ACE_Common_fnc_moduleLSDVehicles";
|
||||
scope = 2;
|
||||
icon = QUOTE(PATHTOF(UI\Icon_Module_LSD_ca.paa));
|
||||
@ -88,15 +88,15 @@ class CfgVehicles {
|
||||
class Arguments {
|
||||
};
|
||||
class ModuleDescription: ModuleDescription {
|
||||
description = "$STR_ACE_Common_LSDVehicles_Description";
|
||||
description = CSTRING(LSDVehicles_Description);
|
||||
sync[] = {"AnyVehicle"};
|
||||
};
|
||||
};
|
||||
|
||||
class Box_NATO_Support_F;
|
||||
class ACE_Box_Misc: Box_NATO_Support_F {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
displayName = "$STR_ACE_Common_MiscItems";
|
||||
author = CSTRING(ACETeam);
|
||||
displayName = CSTRING(MiscItems);
|
||||
transportMaxWeapons = 9001;
|
||||
transportMaxMagazines = 9001;
|
||||
transportMaxItems = 9001;
|
||||
@ -112,8 +112,8 @@ class CfgVehicles {
|
||||
class ACE_bananaItem: Item_Base_F {
|
||||
scope = 2;
|
||||
scopeCurator = 2;
|
||||
displayName = "$STR_ACE_Common_bananaDisplayName";
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
displayName = CSTRING(bananaDisplayName);
|
||||
author = CSTRING(ACETeam);
|
||||
vehicleClass = "Items";
|
||||
class TransportItems
|
||||
{
|
||||
|
@ -209,7 +209,7 @@ class ACE_RadioProtocolNoRadio: RadioProtocolBase {
|
||||
|
||||
class CfgVoice {
|
||||
class ACE_NoVoice {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
author = CSTRING(ACETeam);
|
||||
protocol = "ACE_RadioProtocolNoRadio";
|
||||
variants[] = {1};
|
||||
directories[] = {"",""};
|
||||
@ -217,13 +217,13 @@ class CfgVoice {
|
||||
scope = 2;
|
||||
voiceType = "";
|
||||
icon = "\a3\Ui_f\data\Map\Markers\Flags\nato_ca.paa";
|
||||
displayName = "$STR_ACE_Common_NoVoice";
|
||||
displayName = CSTRING(NoVoice);
|
||||
};
|
||||
};
|
||||
|
||||
class CfgVoiceTypes {
|
||||
class ACE_NoVoice {
|
||||
name = "$STR_ACE_Common_NoVoice";
|
||||
name = CSTRING(NoVoice);
|
||||
voices[] = {"ACE_NoVoice","ACE_NoVoice","ACE_NoVoice"};
|
||||
preview = "ACE_NoVoice";
|
||||
alternative = "";
|
||||
|
@ -30,10 +30,10 @@ class CfgWeapons {
|
||||
|
||||
class InventoryItem_Base_F;
|
||||
class ACE_Banana: ACE_ItemCore {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
author = CSTRING(ACETeam);
|
||||
scope = 2;
|
||||
displayName = "$STR_ACE_Common_bananaDisplayName";
|
||||
descriptionShort = "$STR_ACE_Common_bananaDescr";
|
||||
displayName = CSTRING(bananaDisplayName);
|
||||
descriptionShort = CSTRING(bananaDescr);
|
||||
model = PATHTOF(data\banana.p3d);
|
||||
picture = PATHTOF(data\icon_banana_ca.paa);
|
||||
icon = "iconObject_circle";
|
||||
|
@ -74,10 +74,10 @@ class ACE_Settings {
|
||||
*
|
||||
* The following settings only apply when isClientSettable == 1
|
||||
* Stringtable entry with the setting name
|
||||
* displayName = "$STR_ACE_Common_SettingName";
|
||||
* displayName = CSTRING(SettingName);
|
||||
*
|
||||
* Stringtable entry with the setting description
|
||||
* description = "$STR_ACE_Common_SettingDescription";
|
||||
* description = CSTRING(SettingDescription);
|
||||
*
|
||||
* Stringtable entries that describe the options
|
||||
* Only applies if typeName == "SCALAR";
|
||||
@ -92,15 +92,15 @@ class ACE_Settings {
|
||||
value = 1;
|
||||
typeName = "BOOL";
|
||||
isClientSettable = 1;
|
||||
displayName = "$STR_ACE_Common_EnableNumberHotkeys";
|
||||
displayName = CSTRING(EnableNumberHotkeys);
|
||||
};*/
|
||||
class GVAR(settingFeedbackIcons) {
|
||||
value = 1;
|
||||
typeName = "SCALAR";
|
||||
force = 0;
|
||||
isClientSettable = 1;
|
||||
displayName = "$STR_ACE_Common_SettingFeedbackIconsName";
|
||||
description = "$STR_ACE_Common_SettingFeedbackIconsDesc";
|
||||
displayName = CSTRING(SettingFeedbackIconsName);
|
||||
description = CSTRING(SettingFeedbackIconsDesc);
|
||||
values[] = {"$STR_ACE_Common_Hide", "$STR_ACE_Common_TopRightDown", "$STR_ACE_Common_TopRightLeft", "$STR_ACE_Common_TopLeftDown", "$STR_ACE_Common_TopLeftRight"};
|
||||
};
|
||||
class GVAR(SettingProgressBarLocation) {
|
||||
@ -108,23 +108,23 @@ class ACE_Settings {
|
||||
typeName = "SCALAR";
|
||||
force = 0;
|
||||
isClientSettable = 1;
|
||||
displayName = "$STR_ACE_Common_SettingProgressbarLocationName";
|
||||
description = "$STR_ACE_Common_SettingProgressbarLocationDesc";
|
||||
displayName = CSTRING(SettingProgressbarLocationName);
|
||||
description = CSTRING(SettingProgressbarLocationDesc);
|
||||
values[] = {"$STR_ACE_Common_Top", "$STR_ACE_Common_Bottom"};
|
||||
};
|
||||
class GVAR(displayTextColor) {
|
||||
value[] = {0,0,0,0.1};
|
||||
typeName = "COLOR";
|
||||
isClientSettable = 1;
|
||||
displayName = "$STR_ACE_Common_SettingDisplayTextColorName";
|
||||
description = "$STR_ACE_Common_SettingDisplayTextColorDesc";
|
||||
displayName = CSTRING(SettingDisplayTextColorName);
|
||||
description = CSTRING(SettingDisplayTextColorDesc);
|
||||
};
|
||||
class GVAR(displayTextFontColor) {
|
||||
value[] = {1,1,1,1};
|
||||
typeName = "COLOR";
|
||||
isClientSettable = 1;
|
||||
displayName = "$STR_ACE_Common_SettingDisplayTextFontColorName";
|
||||
description = "$STR_ACE_Common_SettingDisplayTextFontColorDesc";
|
||||
displayName = CSTRING(SettingDisplayTextFontColorName);
|
||||
description = CSTRING(SettingDisplayTextFontColorDesc);
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -4,7 +4,7 @@ class CfgVehicles {
|
||||
class ACE_Actions {
|
||||
class ACE_MainActions {
|
||||
class ACE_DisarmInventory {
|
||||
displayName = "$STR_ACE_Disarming_OpenInventory";
|
||||
displayName = CSTRING(OpenInventory);
|
||||
distance = 3.5;
|
||||
condition = QUOTE([ARR_2(_player,_target)] call FUNC(canPlayerDisarmUnit));
|
||||
statement = QUOTE([ARR_2(_player,_target)] call FUNC(openDisarmDialog));
|
||||
|
@ -4,7 +4,7 @@ class CfgMagazines {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
scope = 1;
|
||||
scopeArsenal = 1;
|
||||
displayName = "$STR_ACE_Disposable_PreloadedMissileDummy";
|
||||
displayName = CSTRING(PreloadedMissileDummy);
|
||||
picture = PATHTOEF(common,UI\blank_CO.paa);
|
||||
weaponPoolAvailable = 0;
|
||||
mass = 0;
|
||||
@ -14,8 +14,8 @@ class CfgMagazines {
|
||||
};
|
||||
class ACE_UsedTube_F: NLAW_F {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
displayName = "$STR_ACE_Disposable_UsedTube";
|
||||
descriptionShort = "$STR_ACE_Disposable_UsedTubeDescription";
|
||||
displayName = CSTRING(UsedTube);
|
||||
descriptionShort = CSTRING(UsedTubeDescription);
|
||||
displayNameShort = "-";
|
||||
count = 0;
|
||||
weaponPoolAvailable = 0;
|
||||
|
@ -8,8 +8,8 @@ class CfgWeapons {
|
||||
scope = 1;
|
||||
ACE_isUsedLauncher = 1;
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
displayName = "$STR_ACE_Disposable_UsedTube";
|
||||
descriptionShort = "$STR_ACE_Disposable_UsedTubeDescription";
|
||||
displayName = CSTRING(UsedTube);
|
||||
descriptionShort = CSTRING(UsedTubeDescription);
|
||||
magazines[] = {"ACE_FiredMissileDummy"}; // This will disable the used launcher class from being fired again.
|
||||
//picture = ""; @todo
|
||||
//model = ""; @todo
|
||||
|
@ -58,7 +58,7 @@ if (_actionID != -1) then {
|
||||
};
|
||||
|
||||
_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)),
|
||||
nil,
|
||||
20,
|
||||
|
@ -49,7 +49,7 @@ if (_actionID != -1) then {
|
||||
};
|
||||
|
||||
_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)),
|
||||
nil,
|
||||
20,
|
||||
|
@ -49,8 +49,8 @@ if (_type in _initializedClasses) exitWith {};
|
||||
_initializedClasses pushBack _type;
|
||||
GVAR(initializedClasses_carry) = _initializedClasses;
|
||||
|
||||
_carryAction = [QGVAR(carry), localize "STR_ACE_Dragging_Carry", "", {[_player, _target] call FUNC(startCarry)}, {[_player, _target] call FUNC(canCarry)}] call EFUNC(interact_menu,createAction);
|
||||
_dropAction = [QGVAR(drop_carry), localize "STR_ACE_Dragging_Drop", "", {[_player, _target] call FUNC(dropObject_carry)}, {[_player, _target] call FUNC(canDrop_carry)}] call EFUNC(interact_menu,createAction);
|
||||
_carryAction = [QGVAR(carry), localize STRING(Carry), "", {[_player, _target] call FUNC(startCarry)}, {[_player, _target] call FUNC(canCarry)}] call EFUNC(interact_menu,createAction);
|
||||
_dropAction = [QGVAR(drop_carry), localize STRING(Drop), "", {[_player, _target] call FUNC(dropObject_carry)}, {[_player, _target] call FUNC(canDrop_carry)}] call EFUNC(interact_menu,createAction);
|
||||
|
||||
[_type, 0, ["ACE_MainActions"], _carryAction] call EFUNC(interact_menu,addActionToClass);
|
||||
[_type, 0, [], _dropAction] call EFUNC(interact_menu,addActionToClass);
|
||||
|
@ -49,8 +49,8 @@ if (_type in _initializedClasses) exitWith {};
|
||||
_initializedClasses pushBack _type;
|
||||
GVAR(initializedClasses) = _initializedClasses;
|
||||
|
||||
_dragAction = [QGVAR(drag), localize "STR_ACE_Dragging_Drag", "", {[_player, _target] call FUNC(startDrag)}, {[_player, _target] call FUNC(canDrag)}] call EFUNC(interact_menu,createAction);
|
||||
_dropAction = [QGVAR(drop), localize "STR_ACE_Dragging_Drop", "", {[_player, _target] call FUNC(dropObject)}, {[_player, _target] call FUNC(canDrop)}] call EFUNC(interact_menu,createAction);
|
||||
_dragAction = [QGVAR(drag), localize STRING(Drag), "", {[_player, _target] call FUNC(startDrag)}, {[_player, _target] call FUNC(canDrag)}] call EFUNC(interact_menu,createAction);
|
||||
_dropAction = [QGVAR(drop), localize STRING(Drop), "", {[_player, _target] call FUNC(dropObject)}, {[_player, _target] call FUNC(canDrop)}] call EFUNC(interact_menu,createAction);
|
||||
|
||||
[_type, 0, ["ACE_MainActions"], _dragAction] call EFUNC(interact_menu,addActionToClass);
|
||||
[_type, 0, [], _dropAction] call EFUNC(interact_menu,addActionToClass);
|
||||
|
@ -22,7 +22,7 @@ private "_weight";
|
||||
_weight = [_target] call FUNC(getWeight);
|
||||
|
||||
if (_weight > GETMVAR(ACE_maxWeightCarry,1E11)) exitWith {
|
||||
[localize "STR_ACE_Dragging_UnableToDrag"] call EFUNC(common,displayTextStructured);
|
||||
[localize STRING(UnableToDrag)] call EFUNC(common,displayTextStructured);
|
||||
};
|
||||
|
||||
private "_timer";
|
||||
|
@ -22,7 +22,7 @@ private "_weight";
|
||||
_weight = [_target] call FUNC(getWeight);
|
||||
|
||||
if (_weight > GETMVAR(ACE_maxWeightDrag,1E11)) exitWith {
|
||||
[localize "STR_ACE_Dragging_UnableToDrag"] call EFUNC(common,displayTextStructured);
|
||||
[localize STRING(UnableToDrag)] call EFUNC(common,displayTextStructured);
|
||||
};
|
||||
|
||||
// add a primary weapon if the unit has none.
|
||||
|
@ -5,26 +5,26 @@ class Module_F: Logic {
|
||||
class ACE_ModuleExplosive: Module_F {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
category = "ACE";
|
||||
displayName = "$STR_ACE_Explosive_Module_DisplayName";
|
||||
displayName = CSTRING(Module_DisplayName);
|
||||
function = QUOTE(FUNC(module));
|
||||
scope = 2;
|
||||
isGlobal = 1;
|
||||
icon = PATHTOF(UI\Icon_Module_Explosives_ca.paa);
|
||||
class Arguments {
|
||||
class RequireSpecialist {
|
||||
displayName = "$STR_ACE_Explosive_RequireSpecialist_DisplayName";
|
||||
description = "$STR_ACE_Explosive_RequireSpecialist_Description";
|
||||
displayName = CSTRING(RequireSpecialist_DisplayName);
|
||||
description = CSTRING(RequireSpecialist_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 0;
|
||||
};
|
||||
class PunishNonSpecialists {
|
||||
displayName = "$STR_ACE_Explosive_PunishNonSpecialists_DisplayName";
|
||||
description = "$STR_ACE_Explosive_PunishNonSpecialists_Description";
|
||||
displayName = CSTRING(PunishNonSpecialists_DisplayName);
|
||||
description = CSTRING(PunishNonSpecialists_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 1;
|
||||
};
|
||||
};
|
||||
class ModuleDescription: ModuleDescription {
|
||||
description = "$STR_ACE_Explosive_Module_Description";
|
||||
description = CSTRING(Module_Description);
|
||||
};
|
||||
};
|
@ -97,7 +97,7 @@ class CfgVehicles {
|
||||
condition = "true";
|
||||
class ACE_SetTrigger {
|
||||
selection = "";
|
||||
displayName = "$STR_ACE_Explosives_TriggerMenu";
|
||||
displayName = CSTRING(TriggerMenu);
|
||||
distance = 4;
|
||||
condition = "true";
|
||||
statement = "";
|
||||
@ -109,7 +109,7 @@ class CfgVehicles {
|
||||
};
|
||||
class ACE_PickUp {
|
||||
selection = "";
|
||||
displayName = "$STR_ACE_Explosives_Pickup";
|
||||
displayName = CSTRING(Pickup);
|
||||
distance = 4;
|
||||
condition = "true";
|
||||
statement = QUOTE([ARR_2(_player,_target getVariable QUOTE(QGVAR(class)))] call EFUNC(common,addToInventory);deleteVehicle _target;);
|
||||
|
@ -215,7 +215,7 @@ class Rsc_ACE_PhoneInterface {
|
||||
y = 0.676 * safezoneH + safezoneY;
|
||||
w = 0.0309375 * safezoneW;
|
||||
h = 0.033 * safezoneH;
|
||||
tooltip = "$STR_ACE_Explosives_Phone_AddToSpeedDial";
|
||||
tooltip = CSTRING(Phone_AddToSpeedDial);
|
||||
action = QUOTE([ARR_2(ctrlText 1401,ctrlText 1400)] call FUNC(addToSpeedDial););
|
||||
};
|
||||
class clear: Rsc_ACE_HiddenButton {
|
||||
@ -224,7 +224,7 @@ class Rsc_ACE_PhoneInterface {
|
||||
y = 0.445 * safezoneH + safezoneY;
|
||||
w = 0.020625 * safezoneW;
|
||||
h = 0.033 * safezoneH;
|
||||
tooltip = "$STR_ACE_Explosives_Clear";
|
||||
tooltip = CSTRING(Clear);
|
||||
action = QUOTE(ctrlSetText [ARR_2(1400,'')];[ctrlText 1401] call FUNC(removeFromSpeedDial);ctrlSetText [ARR_2(1401,'')];);
|
||||
};
|
||||
class dial: Rsc_ACE_HiddenButton {
|
||||
@ -233,7 +233,7 @@ class Rsc_ACE_PhoneInterface {
|
||||
y = 0.445 * safezoneH + safezoneY;
|
||||
w = 0.04125 * safezoneW;
|
||||
h = 0.033 * safezoneH;
|
||||
tooltip = "$STR_ACE_Explosives_Phone_Dial";
|
||||
tooltip = CSTRING(Phone_Dial);
|
||||
action = QUOTE([ARR_2(ace_player,ctrlText 1400)] call FUNC(dialPhone););
|
||||
};
|
||||
class up: Rsc_ACE_HiddenButton {
|
||||
@ -242,7 +242,7 @@ class Rsc_ACE_PhoneInterface {
|
||||
y = 0.445 * safezoneH + safezoneY;
|
||||
w = 0.020625 * safezoneW;
|
||||
h = 0.033 * safezoneH;
|
||||
tooltip = "$STR_ACE_Explosives_Phone_Up";
|
||||
tooltip = CSTRING(Phone_Up);
|
||||
action = QUOTE([true] call FUNC(setSpeedDial));
|
||||
};
|
||||
class down: Rsc_ACE_HiddenButton {
|
||||
@ -251,7 +251,7 @@ class Rsc_ACE_PhoneInterface {
|
||||
y = 0.485 * safezoneH + safezoneY;
|
||||
w = 0.020625 * safezoneW;
|
||||
h = 0.033 * safezoneH;
|
||||
tooltip = "$STR_ACE_Explosives_Phone_Down";
|
||||
tooltip = CSTRING(Phone_Down);
|
||||
action = QUOTE([false] call FUNC(setSpeedDial));
|
||||
};
|
||||
class speedDial_Text: RscText {
|
||||
|
@ -37,8 +37,8 @@ _config = ConfigFile >> "CfgMagazines" >> _magazineClass >> "ACE_Triggers" >> co
|
||||
_clacker = _unit getVariable [QGVAR(Clackers), []];
|
||||
GVAR(PlacedCount) = GVAR(PlacedCount) + 1;
|
||||
|
||||
_clacker pushBack [_explosive, getNumber(_config >> "FuseTime"), format [localize "STR_ACE_Explosives_DetonateCode",
|
||||
_clacker pushBack [_explosive, getNumber(_config >> "FuseTime"), format [localize STRING(DetonateCode),
|
||||
GVAR(PlacedCount)], _magazineClass, configName ((_this select 3) select (count (_this select 3) - 1))];
|
||||
|
||||
_unit setVariable [QGVAR(Clackers), _clacker, true];
|
||||
_unit sideChat format [localize "STR_ACE_Explosives_DetonateCode", GVAR(PlacedCount)];
|
||||
_unit sideChat format [localize STRING(DetonateCode), GVAR(PlacedCount)];
|
||||
|
@ -38,4 +38,4 @@ DFUNC(SetTimer) = {
|
||||
buttonSetAction [8860, QUOTE(call DFUNC(SetTimer);)];
|
||||
buttonSetAction [8855, QUOTE(closeDialog 0;)];
|
||||
|
||||
ctrlSetText [8870, format[localize "STR_ACE_Explosives_TimerMenu",0, 30]];
|
||||
ctrlSetText [8870, format[localize STRING(TimerMenu),0, 30]];
|
||||
|
@ -41,8 +41,8 @@ GVAR(TweakedAngle) = 180;
|
||||
};
|
||||
}] call CALLSTACK(BIS_fnc_addStackedEventHandler);
|
||||
|
||||
[localize "STR_ACE_Explosives_PlaceAction", localize "STR_ACE_Explosives_CancelAction",
|
||||
localize "STR_ACE_Explosives_ScrollAction"] call EFUNC(interaction,showMouseHint);
|
||||
[localize STRING(PlaceAction), localize STRING(CancelAction),
|
||||
localize STRING(ScrollAction)] call EFUNC(interaction,showMouseHint);
|
||||
_unit setVariable [QGVAR(Place), [_unit, "DefaultAction",
|
||||
{GVAR(pfeh_running) AND !isNull (GVAR(Setup))}, {call FUNC(place_Approve);}] call EFUNC(common,AddActionEventHandler)];
|
||||
_unit setVariable [QGVAR(Cancel), [_unit, "zoomtemp",
|
||||
|
@ -59,6 +59,6 @@ if (ACE_player != _unit) then {
|
||||
_isEOD = [_unit] call EFUNC(Common,isEOD);
|
||||
_defuseTime = [_isEOD, _target] call _fnc_DefuseTime;
|
||||
if (_isEOD || {!GVAR(RequireSpecialist)}) then {
|
||||
[_defuseTime, [_unit,_target], {(_this select 0) call FUNC(defuseExplosive)}, {}, (localize "STR_ACE_Explosives_DefusingExplosive")] call EFUNC(common,progressBar);
|
||||
[_defuseTime, [_unit,_target], {(_this select 0) call FUNC(defuseExplosive)}, {}, (localize STRING(DefusingExplosive))] call EFUNC(common,progressBar);
|
||||
};
|
||||
};
|
||||
|
@ -208,5 +208,5 @@ if(_playSound) then {
|
||||
};
|
||||
|
||||
if(_showHint) then {
|
||||
[format ["%1: %2", localize "STR_ACE_FCS_ZeroedTo", _distance]] call EFUNC(common,displayTextStructured);
|
||||
[format ["%1: %2", localize STRING(ZeroedTo), _distance]] call EFUNC(common,displayTextStructured);
|
||||
};
|
@ -22,4 +22,4 @@ _turret = _this select 1;
|
||||
[_vehicle, format ["%1_%2", QGVAR(Elevation), _turret], 0] call EFUNC(common,setVariablePublic);
|
||||
[_vehicle, format ["%1_%2", QGVAR(Azimuth), _turret], 0] call EFUNC(common,setVariablePublic);
|
||||
|
||||
[localize "STR_ACE_FCS_HasBeenReset"] call EFUNC(common,displayTextStructured);
|
||||
[localize STRING(HasBeenReset)] call EFUNC(common,displayTextStructured);
|
||||
|
@ -1,6 +1,6 @@
|
||||
// by commy2
|
||||
|
||||
["ACE3 Vehicles", QGVAR(lazeTarget), localize "STR_ACE_FCS_LaseTarget",
|
||||
["ACE3 Vehicles", QGVAR(lazeTarget), localize STRING(LaseTarget),
|
||||
{
|
||||
// Conditions: canInteract
|
||||
if !([ACE_player, vehicle ACE_player, []] call EFUNC(common,canInteractWith)) exitWith {false};
|
||||
@ -30,7 +30,7 @@
|
||||
},
|
||||
[15, [false, false, false]], false] call cba_fnc_addKeybind; //Tab Key
|
||||
|
||||
["ACE3 Vehicles", QGVAR(adjustRangeUp), localize "STR_ACE_FCS_AdjustRangeUp",
|
||||
["ACE3 Vehicles", QGVAR(adjustRangeUp), localize STRING(AdjustRangeUp),
|
||||
{
|
||||
// Conditions: canInteract
|
||||
if !([ACE_player, vehicle ACE_player, []] call EFUNC(common,canInteractWith)) exitWith {false};
|
||||
@ -44,7 +44,7 @@
|
||||
{false},
|
||||
[201, [false, false, false]], false] call cba_fnc_addKeybind; //PageUp Key
|
||||
|
||||
["ACE3 Vehicles", QGVAR(adjustRangDown), localize "STR_ACE_FCS_AdjustRangeDown",
|
||||
["ACE3 Vehicles", QGVAR(adjustRangDown), localize STRING(AdjustRangeDown),
|
||||
{
|
||||
// Conditions: canInteract
|
||||
if !([ACE_player, vehicle ACE_player, []] call EFUNC(common,canInteractWith)) exitWith {false};
|
||||
|
@ -239,7 +239,7 @@ class CfgWeapons {
|
||||
mFact = 1;
|
||||
tBody = 100;
|
||||
scope = 2;
|
||||
displayName = "$STR_ACE_muzzle_mzls_H";
|
||||
displayName = CSTRING(muzzle_mzls_H);
|
||||
picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_h_ca.paa";
|
||||
model = "\A3\weapons_f\acc\acca_mzls_H_F";
|
||||
|
||||
@ -285,7 +285,7 @@ class CfgWeapons {
|
||||
class ACE_muzzle_mzls_B: ACE_muzzle_mzls_H {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
_generalMacro = "ACE_muzzle_mzls_B";
|
||||
displayName = "$STR_ACE_muzzle_mzls_B";
|
||||
displayName = CSTRING(muzzle_mzls_B);
|
||||
picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_h_ca.paa";
|
||||
model = "\A3\weapons_f\acc\acca_mzls_H_F";
|
||||
|
||||
@ -331,7 +331,7 @@ class CfgWeapons {
|
||||
class ACE_muzzle_mzls_L: ACE_muzzle_mzls_H {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
_generalMacro = "ACE_muzzle_mzls_L";
|
||||
displayName = "$STR_ACE_muzzle_mzls_L";
|
||||
displayName = CSTRING(muzzle_mzls_L);
|
||||
picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_l_ca.paa";
|
||||
model = "\A3\weapons_f\acc\acca_mzls_l_F";
|
||||
|
||||
@ -377,7 +377,7 @@ class CfgWeapons {
|
||||
class ACE_muzzle_mzls_smg_01: ACE_muzzle_mzls_H {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
_generalMacro = "ACE_muzzle_mzls_smg_01";
|
||||
displayName = "$STR_ACE_muzzle_mzls_smg_01";
|
||||
displayName = CSTRING(muzzle_mzls_smg_01);
|
||||
picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_l_ca.paa";
|
||||
model = "\A3\weapons_f\acc\acca_mzls_H_F"; //"\A3\weapons_f\acc\acca_mzls_smg_01_F";
|
||||
|
||||
@ -423,7 +423,7 @@ class CfgWeapons {
|
||||
class ACE_muzzle_mzls_smg_02: ACE_muzzle_mzls_H {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
_generalMacro = "ACE_muzzle_mzls_smg_02";
|
||||
displayName = "$STR_ACE_muzzle_mzls_smg_02";
|
||||
displayName = CSTRING(muzzle_mzls_smg_02);
|
||||
picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_l_ca.paa";
|
||||
model = "\A3\weapons_f\acc\acca_mzls_H_F"; //"\A3\weapons_f\acc\acca_mzls_smg_01_F";
|
||||
|
||||
@ -469,7 +469,7 @@ class CfgWeapons {
|
||||
class ACE_muzzle_mzls_338: ACE_muzzle_mzls_H {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
_generalMacro = "ACE_muzzle_mzls_338";
|
||||
displayName = "$STR_ACE_muzzle_mzls_338";
|
||||
displayName = CSTRING(muzzle_mzls_338);
|
||||
picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_h_ca.paa";
|
||||
model = "\A3\weapons_f\acc\acca_mzls_H_F";
|
||||
|
||||
@ -515,7 +515,7 @@ class CfgWeapons {
|
||||
class ACE_muzzle_mzls_93mmg: ACE_muzzle_mzls_H {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
_generalMacro = "ACE_muzzle_mzls_93mmg";
|
||||
displayName = "$STR_ACE_muzzle_mzls_93mmg";
|
||||
displayName = CSTRING(muzzle_mzls_93mmg);
|
||||
picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_h_ca.paa";
|
||||
model = "\A3\weapons_f\acc\acca_mzls_H_F";
|
||||
|
||||
|
@ -1,32 +1,32 @@
|
||||
class ACE_Settings {
|
||||
class GVAR(Enabled) {
|
||||
displayName = "$STR_ACE_frag_EnableFrag";
|
||||
description = "$STR_ACE_frag_EnableFrag_Desc";
|
||||
displayName = CSTRING(EnableFrag);
|
||||
description = CSTRING(EnableFrag_Desc);
|
||||
typeName = "BOOL";
|
||||
value = 1;
|
||||
};
|
||||
class GVAR(SpallEnabled) {
|
||||
displayName = "$STR_ACE_frag_EnableSpall";
|
||||
description = "$STR_ACE_frag_EnableSpall_Desc";
|
||||
displayName = CSTRING(EnableSpall);
|
||||
description = CSTRING(EnableSpall_Desc);
|
||||
typeName = "BOOL";
|
||||
value = 0;
|
||||
};
|
||||
class GVAR(maxTrack) {
|
||||
displayName = "$STR_ACE_frag_MaxTrack";
|
||||
description = "$STR_ACE_frag_MaxTrack_Desc";
|
||||
displayName = CSTRING(MaxTrack);
|
||||
description = CSTRING(MaxTrack_Desc);
|
||||
typeName = "SCALAR";
|
||||
value = 500;
|
||||
};
|
||||
class GVAR(MaxTrackPerFrame) {
|
||||
displayName = "$STR_ACE_frag_MaxTrackPerFrame";
|
||||
description = "$STR_ACE_frag_MaxTrackPerFrame_Desc";
|
||||
displayName = CSTRING(MaxTrackPerFrame);
|
||||
description = CSTRING(MaxTrackPerFrame_Desc);
|
||||
typeName = "SCALAR";
|
||||
value = 50;
|
||||
};
|
||||
|
||||
class GVAR(EnableDebugTrace) {
|
||||
displayName = "$STR_ACE_frag_EnableDebugTrace";
|
||||
description = "$STR_ACE_frag_EnableDebugTrace_Desc";
|
||||
displayName = CSTRING(EnableDebugTrace);
|
||||
description = CSTRING(EnableDebugTrace_Desc);
|
||||
typeName = "BOOL";
|
||||
value = 0;
|
||||
};
|
||||
|
@ -3,6 +3,6 @@ class ACE_Settings {
|
||||
value = 0;
|
||||
typeName = "BOOL";
|
||||
isClientSettable = 1;
|
||||
displayName = "$STR_ACE_Goggles_ShowInThirdPerson";
|
||||
displayName = CSTRING(ShowInThirdPerson);
|
||||
};
|
||||
};
|
||||
|
@ -17,7 +17,7 @@
|
||||
#include "script_component.hpp"
|
||||
if (!hasInterface) exitWith {};
|
||||
|
||||
["ACE3 Common", QGVAR(wipeGlasses), localize "STR_ACE_Goggles_WipeGlasses",
|
||||
["ACE3 Common", QGVAR(wipeGlasses), localize STRING(WipeGlasses),
|
||||
{
|
||||
if (!(GETVAR(ace_player,ACE_isUnconscious,false))) exitWith {
|
||||
call FUNC(clearGlasses);
|
||||
|
@ -12,9 +12,9 @@ class CfgMagazines {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
scope = 2;
|
||||
ammo = "ACE_F_Hand_White";
|
||||
displayname = "$STR_ACE_Grenades_M127A1_White_Name";
|
||||
descriptionshort = "$STR_ACE_Grenades_M127A1_White_Description";
|
||||
displayNameShort = "$STR_ACE_Grenades_M127A1_White_NameShort";
|
||||
displayname = CSTRING(M127A1_White_Name);
|
||||
descriptionshort = CSTRING(M127A1_White_Description);
|
||||
displayNameShort = CSTRING(M127A1_White_NameShort);
|
||||
model = "\A3\weapons_f\ammo\flare_white";
|
||||
picture = "\A3\Weapons_F\Data\UI\gear_flare_white_ca.paa";
|
||||
};
|
||||
@ -22,9 +22,9 @@ class CfgMagazines {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
scope = 2;
|
||||
ammo = "ACE_F_Hand_Red";
|
||||
displayname = "$STR_ACE_Grenades_M127A1_Red_Name";
|
||||
descriptionshort = "$STR_ACE_Grenades_M127A1_Red_Description";
|
||||
displayNameShort = "$STR_ACE_Grenades_M127A1_Red_NameShort";
|
||||
displayname = CSTRING(M127A1_Red_Name);
|
||||
descriptionshort = CSTRING(M127A1_Red_Description);
|
||||
displayNameShort = CSTRING(M127A1_Red_NameShort);
|
||||
model = "\A3\weapons_f\ammo\flare_red";
|
||||
picture = "\A3\Weapons_F\Data\UI\gear_flare_red_ca.paa";
|
||||
};
|
||||
@ -32,9 +32,9 @@ class CfgMagazines {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
scope = 2;
|
||||
ammo = "ACE_F_Hand_Green";
|
||||
displayname = "$STR_ACE_Grenades_M127A1_Green_Name";
|
||||
descriptionshort = "$STR_ACE_Grenades_M127A1_Green_Description";
|
||||
displayNameShort = "$STR_ACE_Grenades_M127A1_Green_NameShort";
|
||||
displayname = CSTRING(M127A1_Green_Name);
|
||||
descriptionshort = CSTRING(M127A1_Green_Description);
|
||||
displayNameShort = CSTRING(M127A1_Green_NameShort);
|
||||
model = "\A3\weapons_f\ammo\flare_green";
|
||||
picture = "\A3\Weapons_F\Data\UI\gear_flare_green_ca.paa";
|
||||
};
|
||||
@ -42,17 +42,17 @@ class CfgMagazines {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
scope = 2;
|
||||
ammo = "ACE_F_Hand_Yellow";
|
||||
displayname = "$STR_ACE_Grenades_M127A1_Yellow_Name";
|
||||
descriptionshort = "$STR_ACE_Grenades_M127A1_Yellow_Description";
|
||||
displayNameShort = "$STR_ACE_Grenades_M127A1_Yellow_NameShort";
|
||||
displayname = CSTRING(M127A1_Yellow_Name);
|
||||
descriptionshort = CSTRING(M127A1_Yellow_Description);
|
||||
displayNameShort = CSTRING(M127A1_Yellow_NameShort);
|
||||
model = "\A3\weapons_f\ammo\flare_yellow";
|
||||
picture = "\A3\Weapons_F\Data\UI\gear_flare_yellow_ca.paa";
|
||||
};
|
||||
class ACE_M84: HandGrenade {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
ammo = "ACE_G_M84";
|
||||
displayname = "$STR_ACE_Grenades_M84_Name";
|
||||
descriptionshort = "$STR_ACE_Grenades_M84_Description";
|
||||
displayname = CSTRING(M84_Name);
|
||||
descriptionshort = CSTRING(M84_Description);
|
||||
displayNameShort = "M84";
|
||||
mass = 4;
|
||||
model = PATHTOF(models\ACE_m84.p3d);
|
||||
|
@ -10,7 +10,7 @@ GVAR(flashbangPPEffectCC) = ppEffectCreate ["ColorCorrections", 4265];
|
||||
GVAR(flashbangPPEffectCC) ppEffectForceInNVG true;
|
||||
|
||||
// Add keybinds
|
||||
["ACE3 Weapons", QGVAR(switchGrenadeMode), localize "STR_ACE_Grenades_SwitchGrenadeMode",
|
||||
["ACE3 Weapons", QGVAR(switchGrenadeMode), localize STRING(SwitchGrenadeMode),
|
||||
{
|
||||
// Conditions: canInteract
|
||||
if !([ACE_player, objNull, ["isNotEscorting"]] call EFUNC(common,canInteractWith)) exitWith {false};
|
||||
|
@ -31,11 +31,11 @@ if (_mode == 3) then {
|
||||
};
|
||||
|
||||
_hint = [
|
||||
localize "STR_ACE_Grenades_NormalThrow",
|
||||
localize "STR_ACE_Grenades_HighThrow",
|
||||
localize "STR_ACE_Grenades_PreciseThrow",
|
||||
localize "STR_ACE_Grenades_RollGrenade",
|
||||
localize "STR_ACE_Grenades_DropGrenade"
|
||||
localize STRING(NormalThrow),
|
||||
localize STRING(HighThrow),
|
||||
localize STRING(PreciseThrow),
|
||||
localize STRING(RollGrenade),
|
||||
localize STRING(DropGrenade)
|
||||
] select _mode;
|
||||
|
||||
[_hint] call EFUNC(common,displayTextStructured);
|
||||
|
@ -15,6 +15,6 @@ class ACE_Settings {
|
||||
value = 0;
|
||||
typeName = "BOOL";
|
||||
isClientSettable = 1;
|
||||
displayName = "$STR_ACE_Hearing_DisableEarRinging";
|
||||
displayName = CSTRING(DisableEarRinging);
|
||||
};
|
||||
};
|
||||
|
@ -4,7 +4,7 @@ class CfgVehicles {
|
||||
class ACE_SelfActions {
|
||||
class ACE_Equipment {
|
||||
class ACE_PutInEarplugs {
|
||||
displayName = "$STR_ACE_Hearing_EarPlugs_On";
|
||||
displayName = CSTRING(EarPlugs_On);
|
||||
condition = QUOTE( !([_player] call FUNC(hasEarPlugsIn)) && {'ACE_EarPlugs' in items _player} );
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE( [_player] call FUNC(putInEarPlugs) );
|
||||
@ -14,7 +14,7 @@ class CfgVehicles {
|
||||
hotkey = "E";
|
||||
};
|
||||
class ACE_RemoveEarplugs {
|
||||
displayName = "$STR_ACE_Hearing_EarPlugs_Off";
|
||||
displayName = CSTRING(EarPlugs_Off);
|
||||
condition = QUOTE( [_player] call FUNC(hasEarPlugsIn) );
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE( [_player] call FUNC(removeEarPlugs) );
|
||||
@ -98,21 +98,21 @@ class CfgVehicles {
|
||||
class ACE_ModuleHearing: Module_F {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
category = "ACE";
|
||||
displayName = "$STR_ACE_Hearing_Module_DisplayName";
|
||||
displayName = CSTRING(Module_DisplayName);
|
||||
function = QFUNC(moduleHearing);
|
||||
scope = 2;
|
||||
isGlobal = 1;
|
||||
icon = PATHTOF(UI\Icon_Module_Hearing_ca.paa);
|
||||
class Arguments {
|
||||
class EnableCombatDeafness {
|
||||
displayName = "$STR_ACE_Hearing_CombatDeafness_DisplayName";
|
||||
description = "$STR_ACE_Hearing_CombatDeafness_Description";
|
||||
displayName = CSTRING(CombatDeafness_DisplayName);
|
||||
description = CSTRING(CombatDeafness_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 1;
|
||||
};
|
||||
};
|
||||
class ModuleDescription {
|
||||
description = "$STR_ACE_Hearing_Module_Description";
|
||||
description = CSTRING(Module_Description);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -3,8 +3,8 @@ class CfgWeapons {
|
||||
class InventoryItem_Base_F;
|
||||
|
||||
class ACE_EarPlugs: ACE_ItemCore {
|
||||
displayName = "$STR_ACE_Hearing_EarPlugs_Name";
|
||||
descriptionShort = "$STR_ACE_Hearing_EarPlugs_Description";
|
||||
displayName = CSTRING(EarPlugs_Name);
|
||||
descriptionShort = CSTRING(EarPlugs_Description);
|
||||
model = PATHTOF(ACE_earplugs.p3d);
|
||||
picture = PATHTOF(UI\ACE_earplugs_x_ca.paa);
|
||||
scope = 2;
|
||||
|
@ -22,7 +22,7 @@ _player removeItem "ACE_EarPlugs";
|
||||
|
||||
_player setVariable ["ACE_hasEarPlugsIn", true, true];
|
||||
|
||||
[localize "STR_ACE_Hearing_EarPlugs_Are_On"] call EFUNC(common,displayTextStructured);
|
||||
[localize STRING(EarPlugs_Are_On)] call EFUNC(common,displayTextStructured);
|
||||
|
||||
/*// No Ear Plugs in inventory, telling user
|
||||
[localize "STR_ACE_Hearing_NoPlugs"] call EFUNC(common,displayTextStructured);*/
|
||||
[localize STRING(NoPlugs)] call EFUNC(common,displayTextStructured);*/
|
||||
|
@ -18,7 +18,7 @@
|
||||
PARAMS_1(_player);
|
||||
|
||||
if !(_player canAdd "ACE_EarPlugs") exitWith { // inventory full
|
||||
[localize "STR_ACE_Hearing_Inventory_Full"] call EFUNC(common,displayTextStructured);
|
||||
[localize STRING(Inventory_Full)] call EFUNC(common,displayTextStructured);
|
||||
};
|
||||
|
||||
// Plugs already in and removing them.
|
||||
@ -26,4 +26,4 @@ _player addItem "ACE_EarPlugs";
|
||||
|
||||
_player setVariable ["ACE_hasEarPlugsIn", false, true];
|
||||
|
||||
[localize "STR_ACE_Hearing_EarPlugs_Are_Off"] call EFUNC(common,displayTextStructured);
|
||||
[localize STRING(EarPlugs_Are_Off)] call EFUNC(common,displayTextStructured);
|
||||
|
@ -3,70 +3,70 @@ class ACE_Settings {
|
||||
value = 0;
|
||||
typeName = "BOOL";
|
||||
isClientSettable = 1;
|
||||
displayName = "$STR_ACE_Interact_Menu_AlwaysUseCursorSelfInteraction";
|
||||
displayName = CSTRING(AlwaysUseCursorSelfInteraction);
|
||||
};
|
||||
class GVAR(cursorKeepCentered) {
|
||||
value = 0;
|
||||
typeName = "BOOL";
|
||||
isClientSettable = 1;
|
||||
displayName = "$STR_ACE_Interact_cursorKeepCentered";
|
||||
description = "$STR_ACE_Interact_cursorKeepCenteredDescription";
|
||||
displayName = CSTRING(cursorKeepCentered);
|
||||
description = CSTRING(cursorKeepCenteredDescription);
|
||||
};
|
||||
class GVAR(AlwaysUseCursorInteraction) {
|
||||
value = 0;
|
||||
typeName = "BOOL";
|
||||
isClientSettable = 1;
|
||||
displayName = "$STR_ACE_Interact_Menu_AlwaysUseCursorInteraction";
|
||||
displayName = CSTRING(AlwaysUseCursorInteraction);
|
||||
};
|
||||
class GVAR(UseListMenu) {
|
||||
value = 0;
|
||||
typeName = "BOOL";
|
||||
isClientSettable = 1;
|
||||
displayName = "$STR_ACE_Interact_Menu_UseListMenu";
|
||||
displayName = CSTRING(UseListMenu);
|
||||
};
|
||||
class GVAR(colorTextMax) {
|
||||
value[] = {1, 1, 1, 1};
|
||||
typeName = "COLOR";
|
||||
isClientSettable = 1;
|
||||
displayName = "$STR_ACE_Interact_Menu_ColorTextMax";
|
||||
displayName = CSTRING(ColorTextMax);
|
||||
};
|
||||
class GVAR(colorTextMin) {
|
||||
value[] = {1, 1, 1, 0.25};
|
||||
typeName = "COLOR";
|
||||
isClientSettable = 1;
|
||||
displayName = "$STR_ACE_Interact_Menu_ColorTextMin";
|
||||
displayName = CSTRING(ColorTextMin);
|
||||
};
|
||||
class GVAR(colorShadowMax) {
|
||||
value[] = {0, 0, 0, 1};
|
||||
typeName = "COLOR";
|
||||
isClientSettable = 1;
|
||||
displayName = "$STR_ACE_Interact_Menu_ColorShadowMax";
|
||||
displayName = CSTRING(ColorShadowMax);
|
||||
};
|
||||
class GVAR(colorShadowMin) {
|
||||
value[] = {0, 0, 0, 0.25};
|
||||
typeName = "COLOR";
|
||||
isClientSettable = 1;
|
||||
displayName = "$STR_ACE_Interact_Menu_ColorShadowMin";
|
||||
displayName = CSTRING(ColorShadowMin);
|
||||
};
|
||||
class GVAR(textSize) {
|
||||
value = 2;
|
||||
typeName = "SCALAR";
|
||||
isClientSettable = 1;
|
||||
displayName = "$STR_ACE_Interact_textSize";
|
||||
displayName = CSTRING(textSize);
|
||||
values[] = {"$str_very_small", "$str_small", "$str_medium", "$str_large", "$str_very_large"};
|
||||
};
|
||||
class GVAR(shadowSetting) {
|
||||
value = 2;
|
||||
typeName = "SCALAR";
|
||||
isClientSettable = 1;
|
||||
displayName = "$STR_ACE_Interact_shadowSetting";
|
||||
description = "$STR_ACE_Interact_shadowSettingDescription";
|
||||
values[] = {"$STR_A3_OPTIONS_DISABLED", "$STR_A3_OPTIONS_ENABLED", "$STR_ACE_Interact_shadowOutline"};
|
||||
displayName = CSTRING(shadowSetting);
|
||||
description = CSTRING(shadowSettingDescription);
|
||||
values[] = {"$STR_A3_OPTIONS_DISABLED", "$STR_A3_OPTIONS_ENABLED", STRING(shadowOutline)};
|
||||
};
|
||||
class GVAR(actionOnKeyRelease) {
|
||||
value = 1;
|
||||
typeName = "BOOL";
|
||||
isClientSettable = 1;
|
||||
displayName = "$STR_ACE_Interact_Menu_ActionOnKeyRelease";
|
||||
displayName = CSTRING(ActionOnKeyRelease);
|
||||
};
|
||||
};
|
||||
|
@ -28,7 +28,7 @@ addMissionEventHandler ["Draw3D", DFUNC(render)];
|
||||
};
|
||||
|
||||
|
||||
["ACE3 Common", QGVAR(InteractKey), (localize "STR_ACE_Interact_Menu_InteractKey"),
|
||||
["ACE3 Common", QGVAR(InteractKey), (localize STRING(InteractKey)),
|
||||
{
|
||||
// Conditions: canInteract
|
||||
if !([ACE_player, objNull, ["isNotInside","isNotDragging", "isNotCarrying", "isNotSwimming", "notOnMap", "isNotEscorting", "isNotSurrendering"]] call EFUNC(common,canInteractWith)) exitWith {false};
|
||||
@ -37,7 +37,7 @@ addMissionEventHandler ["Draw3D", DFUNC(render)];
|
||||
},{[0,false] call FUNC(keyUp)},
|
||||
[219, [false, false, false]], false] call cba_fnc_addKeybind; //Left Windows Key
|
||||
|
||||
["ACE3 Common", QGVAR(SelfInteractKey), (localize "STR_ACE_Interact_Menu_SelfInteractKey"),
|
||||
["ACE3 Common", QGVAR(SelfInteractKey), (localize STRING(SelfInteractKey)),
|
||||
{
|
||||
// Conditions: canInteract
|
||||
if !([ACE_player, objNull, ["isNotInside","isNotDragging", "isNotCarrying", "isNotSwimming", "notOnMap", "isNotEscorting", "isNotSurrendering"]] call EFUNC(common,canInteractWith)) exitWith {false};
|
||||
|
@ -87,12 +87,12 @@ private ["_baseDisplayName", "_baseIcon"];
|
||||
_baseDisplayName = "";
|
||||
_baseIcon = "";
|
||||
if (_objectType isKindOf "CAManBase") then {
|
||||
_baseDisplayName = localize "STR_ACE_Interact_Menu_SelfActionsRoot";
|
||||
_baseDisplayName = localize STRING(SelfActionsRoot);
|
||||
_baseIcon = "\a3\ui_f\data\IGUI\Cfg\Actions\eject_ca.paa";
|
||||
} else {
|
||||
_baseDisplayName = getText (configFile >> "CfgVehicles" >> _objectType >> "displayName");
|
||||
//Alt would be to just use a static text, if veh names end up being too long:
|
||||
// _baseDisplayName = localize "STR_ACE_Interact_Menu_VehicleActionsRoot";
|
||||
// _baseDisplayName = localize STRING(VehicleActionsRoot);
|
||||
|
||||
//Pull the icon from the vehicle's config:
|
||||
_baseIcon = getText (configFile >> "CfgVehicles" >> _objectType >> "Icon");
|
||||
|
@ -4,21 +4,21 @@ class CfgVehicles {
|
||||
class ACE_ModuleInteraction: Module_F {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
category = "ACE";
|
||||
displayName = "$STR_ACE_InteractionSystem_Module_DisplayName";
|
||||
displayName = CSTRING(Module_DisplayName);
|
||||
function = "ACE_Interaction_fnc_moduleInteraction";
|
||||
scope = 2;
|
||||
isGlobal = 1;
|
||||
icon = PATHTOF(UI\Icon_Module_Interaction_ca.paa);
|
||||
class Arguments {
|
||||
class EnableTeamManagement {
|
||||
displayName = "$STR_ACE_InteractionSystem_EnableTeamManagement_DisplayName";
|
||||
description = "$STR_ACE_InteractionSystem_EnableTeamManagement_Description";
|
||||
displayName = CSTRING(EnableTeamManagement_DisplayName);
|
||||
description = CSTRING(EnableTeamManagement_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 1;
|
||||
};
|
||||
};
|
||||
class ModuleDescription {
|
||||
description = "$STR_ACE_InteractionSystem_Module_Description";
|
||||
description = CSTRING(Module_Description);
|
||||
};
|
||||
};
|
||||
|
||||
@ -26,7 +26,7 @@ class CfgVehicles {
|
||||
class CAManBase: Man {
|
||||
class ACE_Actions {
|
||||
class ACE_MainActions {
|
||||
displayName = "$STR_ACE_Interaction_MainAction";
|
||||
displayName = CSTRING(MainAction);
|
||||
distance = 4;
|
||||
condition = QUOTE(true);
|
||||
statement = "";
|
||||
@ -34,7 +34,7 @@ class CfgVehicles {
|
||||
selection = "pelvis";
|
||||
|
||||
class ACE_TeamManagement {
|
||||
displayName = "$STR_ACE_Interaction_TeamManagement";
|
||||
displayName = CSTRING(TeamManagement);
|
||||
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam) && {GVAR(EnableTeamManagement)});
|
||||
statement = "";
|
||||
showDisabled = 0;
|
||||
@ -43,7 +43,7 @@ class CfgVehicles {
|
||||
hotkey = "M";
|
||||
|
||||
class ACE_AssignTeamRed {
|
||||
displayName = "$STR_ACE_Interaction_AssignTeamRed";
|
||||
displayName = CSTRING(AssignTeamRed);
|
||||
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam));
|
||||
statement = QUOTE([ARR_2(_target,'RED')] call DFUNC(joinTeam));
|
||||
showDisabled = 1;
|
||||
@ -52,7 +52,7 @@ class CfgVehicles {
|
||||
hotkey = "R";
|
||||
};
|
||||
class ACE_AssignTeamGreen {
|
||||
displayName = "$STR_ACE_Interaction_AssignTeamGreen";
|
||||
displayName = CSTRING(AssignTeamGreen);
|
||||
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam));
|
||||
statement = QUOTE([ARR_2(_target,'GREEN')] call DFUNC(joinTeam));
|
||||
showDisabled = 1;
|
||||
@ -61,7 +61,7 @@ class CfgVehicles {
|
||||
hotkey = "G";
|
||||
};
|
||||
class ACE_AssignTeamBlue {
|
||||
displayName = "$STR_ACE_Interaction_AssignTeamBlue";
|
||||
displayName = CSTRING(AssignTeamBlue);
|
||||
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam));
|
||||
statement = QUOTE([ARR_2(_target,'BLUE')] call DFUNC(joinTeam));
|
||||
showDisabled = 1;
|
||||
@ -70,7 +70,7 @@ class CfgVehicles {
|
||||
hotkey = "B";
|
||||
};
|
||||
class ACE_AssignTeamYellow {
|
||||
displayName = "$STR_ACE_Interaction_AssignTeamYellow";
|
||||
displayName = CSTRING(AssignTeamYellow);
|
||||
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam));
|
||||
statement = QUOTE([ARR_2(_target,'YELLOW')] call DFUNC(joinTeam));
|
||||
showDisabled = 1;
|
||||
@ -80,7 +80,7 @@ class CfgVehicles {
|
||||
};
|
||||
|
||||
class ACE_UnassignTeam {
|
||||
displayName = "$STR_ACE_Interaction_LeaveTeam";
|
||||
displayName = CSTRING(LeaveTeam);
|
||||
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam) && {assignedTeam _target != 'MAIN'});
|
||||
statement = QUOTE([ARR_2(_target,'MAIN')] call DFUNC(joinTeam));
|
||||
showDisabled = 1;
|
||||
@ -91,7 +91,7 @@ class CfgVehicles {
|
||||
};
|
||||
|
||||
class ACE_JoinGroup {
|
||||
displayName = "$STR_ACE_Interaction_JoinGroup";
|
||||
displayName = CSTRING(JoinGroup);
|
||||
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinGroup));
|
||||
statement = QUOTE([_player] joinSilent group _target);
|
||||
showDisabled = 0;
|
||||
@ -101,21 +101,21 @@ class CfgVehicles {
|
||||
};
|
||||
|
||||
class ACE_GetDown {
|
||||
displayName = "$STR_ACE_Interaction_GetDown";
|
||||
displayName = CSTRING(GetDown);
|
||||
condition = QUOTE([_target] call DFUNC(canInteractWithCivilian));
|
||||
statement = QUOTE([_target] call DFUNC(getDown));
|
||||
showDisabled = 0;
|
||||
priority = 2.2;
|
||||
};
|
||||
class ACE_SendAway {
|
||||
displayName = "$STR_ACE_Interaction_SendAway";
|
||||
displayName = CSTRING(SendAway);
|
||||
condition = QUOTE([_target] call DFUNC(canInteractWithCivilian));
|
||||
statement = QUOTE([_target] call DFUNC(sendAway));
|
||||
showDisabled = 0;
|
||||
priority = 2.0;
|
||||
};
|
||||
class ACE_Pardon {
|
||||
displayName = "$STR_ACE_Interaction_Pardon";
|
||||
displayName = CSTRING(Pardon);
|
||||
condition = QUOTE(rating _target < -2000 && {alive _target} && {side group _player == side group _target});
|
||||
statement = QUOTE([ARR_3(_target,'{_this addRating -rating _this}',_target)] call DEFUNC(common,execRemoteFnc));
|
||||
showDisabled = 0;
|
||||
@ -123,49 +123,49 @@ class CfgVehicles {
|
||||
};
|
||||
};
|
||||
class ACE_Torso {
|
||||
displayName = "$STR_ACE_Interaction_Torso";
|
||||
displayName = CSTRING(Torso);
|
||||
selection = "spine3";
|
||||
distance = 1.50;
|
||||
condition = "";
|
||||
statement = "";
|
||||
};
|
||||
class ACE_Head {
|
||||
displayName = "$STR_ACE_Interaction_Head";
|
||||
displayName = CSTRING(Head);
|
||||
selection = "pilot";
|
||||
distance = 1.50;
|
||||
condition = "";
|
||||
statement = "";
|
||||
};
|
||||
class ACE_ArmLeft {
|
||||
displayName = "$STR_ACE_Interaction_ArmLeft";
|
||||
displayName = CSTRING(ArmLeft);
|
||||
selection = "LeftForeArm";
|
||||
distance = 1.50;
|
||||
condition = "";
|
||||
statement = "";
|
||||
};
|
||||
class ACE_ArmRight {
|
||||
displayName = "$STR_ACE_Interaction_ArmRight";
|
||||
displayName = CSTRING(ArmRight);
|
||||
selection = "RightForeArm";
|
||||
distance = 1.50;
|
||||
condition = "";
|
||||
statement = "";
|
||||
};
|
||||
class ACE_LegLeft {
|
||||
displayName = "$STR_ACE_Interaction_LegLeft";
|
||||
displayName = CSTRING(LegLeft);
|
||||
selection = "LKnee";
|
||||
distance = 1.50;
|
||||
condition = "";
|
||||
statement = "";
|
||||
};
|
||||
class ACE_LegRight {
|
||||
displayName = "$STR_ACE_Interaction_LegRight";
|
||||
displayName = CSTRING(LegRight);
|
||||
selection = "RKnee";
|
||||
distance = 1.50;
|
||||
condition = "";
|
||||
statement = "";
|
||||
};
|
||||
class ACE_Weapon {
|
||||
displayName = "$STR_ACE_Interaction_Weapon";
|
||||
displayName = CSTRING(Weapon);
|
||||
position = QUOTE(call FUNC(getWeaponPos));
|
||||
distance = 1.50;
|
||||
condition = "";
|
||||
@ -173,14 +173,14 @@ class CfgVehicles {
|
||||
};
|
||||
|
||||
class ACE_TapShoulderRight {
|
||||
displayName = "$STR_ACE_Interaction_TapShoulder";
|
||||
displayName = CSTRING(TapShoulder);
|
||||
selection = "rightshoulder";
|
||||
distance = 2.0;
|
||||
condition = QUOTE([ARR_2(_player, _target)] call DFUNC(canTapShoulder));
|
||||
statement = QUOTE([ARR_3(_player, _target, 0)] call DFUNC(tapShoulder));
|
||||
};
|
||||
class ACE_TapShoulderLeft {
|
||||
displayName = "$STR_ACE_Interaction_TapShoulder";
|
||||
displayName = CSTRING(TapShoulder);
|
||||
selection = "leftshoulder";
|
||||
distance = 2.0;
|
||||
condition = QUOTE([ARR_2(_player, _target)] call DFUNC(canTapShoulder));
|
||||
@ -190,7 +190,7 @@ class CfgVehicles {
|
||||
|
||||
class ACE_SelfActions {
|
||||
class ACE_TeamManagement {
|
||||
displayName = "$STR_ACE_Interaction_TeamManagement";
|
||||
displayName = CSTRING(TeamManagement);
|
||||
condition = QUOTE(GVAR(EnableTeamManagement));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = "";
|
||||
@ -200,7 +200,7 @@ class CfgVehicles {
|
||||
hotkey = "M";
|
||||
|
||||
class ACE_JoinTeamRed {
|
||||
displayName = "$STR_ACE_Interaction_JoinTeamRed";
|
||||
displayName = CSTRING(JoinTeamRed);
|
||||
condition = QUOTE(true);
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_2(_player,'RED')] call DFUNC(joinTeam));
|
||||
@ -210,7 +210,7 @@ class CfgVehicles {
|
||||
hotkey = "R";
|
||||
};
|
||||
class ACE_JoinTeamGreen {
|
||||
displayName = "$STR_ACE_Interaction_JoinTeamGreen";
|
||||
displayName = CSTRING(JoinTeamGreen);
|
||||
condition = QUOTE(true);
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_2(_player,'GREEN')] call DFUNC(joinTeam));
|
||||
@ -220,7 +220,7 @@ class CfgVehicles {
|
||||
hotkey = "G";
|
||||
};
|
||||
class ACE_JoinTeamBlue {
|
||||
displayName = "$STR_ACE_Interaction_JoinTeamBlue";
|
||||
displayName = CSTRING(JoinTeamBlue);
|
||||
condition = QUOTE(true);
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_2(_player,'BLUE')] call DFUNC(joinTeam));
|
||||
@ -230,7 +230,7 @@ class CfgVehicles {
|
||||
hotkey = "B";
|
||||
};
|
||||
class ACE_JoinTeamYellow {
|
||||
displayName = "$STR_ACE_Interaction_JoinTeamYellow";
|
||||
displayName = CSTRING(JoinTeamYellow);
|
||||
condition = QUOTE(true);
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_2(_player,'YELLOW')] call DFUNC(joinTeam));
|
||||
@ -241,7 +241,7 @@ class CfgVehicles {
|
||||
};
|
||||
|
||||
class ACE_LeaveTeam {
|
||||
displayName = "$STR_ACE_Interaction_LeaveTeam";
|
||||
displayName = CSTRING(LeaveTeam);
|
||||
condition = QUOTE(assignedTeam _player != 'MAIN');
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_2(_player,'MAIN')] call DFUNC(joinTeam));
|
||||
@ -251,7 +251,7 @@ class CfgVehicles {
|
||||
hotkey = "N";
|
||||
};
|
||||
class ACE_BecomeLeader {
|
||||
displayName = "$STR_ACE_Interaction_BecomeLeader";
|
||||
displayName = CSTRING(BecomeLeader);
|
||||
condition = QUOTE(_this call DFUNC(canBecomeLeader));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE(_this call DFUNC(doBecomeLeader));
|
||||
@ -261,7 +261,7 @@ class CfgVehicles {
|
||||
hotkey = "L";
|
||||
};
|
||||
class ACE_LeaveGroup {
|
||||
displayName = "$STR_ACE_Interaction_LeaveGroup";
|
||||
displayName = CSTRING(LeaveGroup);
|
||||
condition = QUOTE(count (units group _player) > 1);
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE(_oldGroup = units group _player; _newGroup = createGroup side _player; [_player] joinSilent _newGroup; {_player reveal _x} forEach _oldGroup;);
|
||||
@ -273,7 +273,7 @@ class CfgVehicles {
|
||||
};
|
||||
|
||||
class ACE_Gestures {
|
||||
displayName = "$STR_ACE_Interaction_Gestures";
|
||||
displayName = CSTRING(Gestures);
|
||||
condition = "canStand _target";
|
||||
statement = "";
|
||||
showDisabled = 1;
|
||||
@ -282,14 +282,14 @@ class CfgVehicles {
|
||||
hotkey = "G";
|
||||
|
||||
/*class ACE_Gesture_Advance {
|
||||
displayName = "$STR_ACE_Interaction_Gestures_Attack";
|
||||
displayName = CSTRING(Gestures_Attack);
|
||||
condition = "canStand _target";
|
||||
statement = "_target playActionNow 'gestureAttack';";
|
||||
showDisabled = 1;
|
||||
priority = 2.0;
|
||||
};*/
|
||||
class ACE_Gesture_Advance {
|
||||
displayName = "$STR_ACE_Interaction_Gestures_Advance";
|
||||
displayName = CSTRING(Gestures_Advance);
|
||||
condition = QUOTE(canStand _target);
|
||||
statement = QUOTE(_target playActionNow 'gestureAdvance';);
|
||||
showDisabled = 1;
|
||||
@ -297,7 +297,7 @@ class CfgVehicles {
|
||||
hotkey = "1";
|
||||
};
|
||||
class ACE_Gesture_Go {
|
||||
displayName = "$STR_ACE_Interaction_Gestures_Go";
|
||||
displayName = CSTRING(Gestures_Go);
|
||||
condition = QUOTE(canStand _target);
|
||||
statement = QUOTE(_target playActionNow ([ARR_2('gestureGo','gestureGoB')] select floor random 2););
|
||||
showDisabled = 1;
|
||||
@ -305,7 +305,7 @@ class CfgVehicles {
|
||||
hotkey = "2";
|
||||
};
|
||||
class ACE_Gesture_Follow {
|
||||
displayName = "$STR_ACE_Interaction_Gestures_Follow";
|
||||
displayName = CSTRING(Gestures_Follow);
|
||||
condition = QUOTE(canStand _target);
|
||||
statement = QUOTE(_target playActionNow 'gestureFollow';);
|
||||
showDisabled = 1;
|
||||
@ -313,14 +313,14 @@ class CfgVehicles {
|
||||
hotkey = "3";
|
||||
};
|
||||
/*class ACE_Gesture_Point {
|
||||
displayName = "$STR_ACE_Interaction_Gestures_Point";
|
||||
displayName = CSTRING(Gestures_Point);
|
||||
condition = QUOTE(canStand _target);
|
||||
statement = QUOTE(_target playActionNow 'gesturePoint';);
|
||||
showDisabled = 1;
|
||||
priority = 1.6;
|
||||
};*/
|
||||
class ACE_Gesture_Up {
|
||||
displayName = "$STR_ACE_Interaction_Gestures_Up";
|
||||
displayName = CSTRING(Gestures_Up);
|
||||
condition = QUOTE(canStand _target);
|
||||
statement = QUOTE(_target playActionNow 'gestureUp';);
|
||||
showDisabled = 1;
|
||||
@ -328,7 +328,7 @@ class CfgVehicles {
|
||||
hotkey = "4";
|
||||
};
|
||||
class ACE_Gesture_Cover {
|
||||
displayName = "$STR_ACE_Interaction_Gestures_Cover";
|
||||
displayName = CSTRING(Gestures_Cover);
|
||||
condition = QUOTE(canStand _target);
|
||||
statement = QUOTE(_target playActionNow 'gestureCover';);
|
||||
showDisabled = 1;
|
||||
@ -336,7 +336,7 @@ class CfgVehicles {
|
||||
hotkey = "5";
|
||||
};
|
||||
class ACE_Gesture_CeaseFire {
|
||||
displayName = "$STR_ACE_Interaction_Gestures_Cease_Fire";
|
||||
displayName = CSTRING(Gestures_Cease_Fire);
|
||||
condition = QUOTE(canStand _target);
|
||||
statement = QUOTE(_target playActionNow 'gestureCeaseFire';);
|
||||
showDisabled = 1;
|
||||
@ -344,7 +344,7 @@ class CfgVehicles {
|
||||
hotkey = "6";
|
||||
};
|
||||
class ACE_Gesture_Freeze {
|
||||
displayName = "$STR_ACE_Interaction_Gestures_Freeze";
|
||||
displayName = CSTRING(Gestures_Freeze);
|
||||
condition = QUOTE(canStand _target);
|
||||
statement = QUOTE(_target playActionNow 'gestureFreeze';);
|
||||
showDisabled = 1;
|
||||
@ -352,7 +352,7 @@ class CfgVehicles {
|
||||
hotkey = "7";
|
||||
};
|
||||
class ACE_Gesture_Yes {
|
||||
displayName = "$STR_ACE_Interaction_Gestures_Yes";
|
||||
displayName = CSTRING(Gestures_Yes);
|
||||
condition = QUOTE(canStand _target);
|
||||
statement = QUOTE(_target playActionNow ([ARR_2('gestureYes','gestureNod')] select floor random 2););
|
||||
showDisabled = 1;
|
||||
@ -360,7 +360,7 @@ class CfgVehicles {
|
||||
hotkey = "8";
|
||||
};
|
||||
class ACE_Gesture_No {
|
||||
displayName = "$STR_ACE_Interaction_Gestures_No";
|
||||
displayName = CSTRING(Gestures_No);
|
||||
condition = QUOTE(canStand _target);
|
||||
statement = QUOTE(_target playActionNow 'gestureNo';);
|
||||
showDisabled = 1;
|
||||
@ -368,7 +368,7 @@ class CfgVehicles {
|
||||
hotkey = "9";
|
||||
};
|
||||
class ACE_Gesture_Hi {
|
||||
displayName = "$STR_ACE_Interaction_Gestures_Hi";
|
||||
displayName = CSTRING(Gestures_Hi);
|
||||
condition = QUOTE(canStand _target);
|
||||
statement = QUOTE(_target playActionNow ([ARR_3('gestureHi','gestureHiB','gestureHiC')] select floor random 3););
|
||||
showDisabled = 1;
|
||||
@ -378,7 +378,7 @@ class CfgVehicles {
|
||||
};
|
||||
|
||||
class ACE_Equipment {
|
||||
displayName = "$STR_ACE_Interaction_Equipment";
|
||||
displayName = CSTRING(Equipment);
|
||||
condition = QUOTE(true);
|
||||
exceptions[] = {"isNotInside","notOnMap"};
|
||||
statement = "";
|
||||
@ -394,12 +394,12 @@ class CfgVehicles {
|
||||
class Car: LandVehicle {
|
||||
class ACE_Actions {
|
||||
class ACE_MainActions {
|
||||
displayName = "$STR_ACE_Interaction_MainAction";
|
||||
displayName = CSTRING(MainAction);
|
||||
selection = "";
|
||||
distance = 10;
|
||||
condition = "true";
|
||||
class ACE_Passengers {
|
||||
displayName = "$STR_ACE_Interaction_Passengers";
|
||||
displayName = CSTRING(Passengers);
|
||||
condition = "true";
|
||||
statement = "";
|
||||
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
||||
@ -408,7 +408,7 @@ class CfgVehicles {
|
||||
};
|
||||
class ACE_SelfActions {
|
||||
class ACE_Passengers {
|
||||
displayName = "$STR_ACE_Interaction_Passengers";
|
||||
displayName = CSTRING(Passengers);
|
||||
condition = "true";
|
||||
statement = "";
|
||||
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
||||
@ -418,12 +418,12 @@ class CfgVehicles {
|
||||
class Tank: LandVehicle {
|
||||
class ACE_Actions {
|
||||
class ACE_MainActions {
|
||||
displayName = "$STR_ACE_Interaction_MainAction";
|
||||
displayName = CSTRING(MainAction);
|
||||
selection = "";
|
||||
distance = 10;
|
||||
condition = "true";
|
||||
class ACE_Passengers {
|
||||
displayName = "$STR_ACE_Interaction_Passengers";
|
||||
displayName = CSTRING(Passengers);
|
||||
condition = "true";
|
||||
statement = "";
|
||||
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
||||
@ -432,7 +432,7 @@ class CfgVehicles {
|
||||
};
|
||||
class ACE_SelfActions {
|
||||
class ACE_Passengers {
|
||||
displayName = "$STR_ACE_Interaction_Passengers";
|
||||
displayName = CSTRING(Passengers);
|
||||
condition = "true";
|
||||
statement = "";
|
||||
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
||||
@ -444,12 +444,12 @@ class CfgVehicles {
|
||||
class Helicopter: Air {
|
||||
class ACE_Actions {
|
||||
class ACE_MainActions {
|
||||
displayName = "$STR_ACE_Interaction_MainAction";
|
||||
displayName = CSTRING(MainAction);
|
||||
selection = "";
|
||||
distance = 10;
|
||||
condition = "true";
|
||||
class ACE_Passengers {
|
||||
displayName = "$STR_ACE_Interaction_Passengers";
|
||||
displayName = CSTRING(Passengers);
|
||||
condition = "true";
|
||||
statement = "";
|
||||
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
||||
@ -458,7 +458,7 @@ class CfgVehicles {
|
||||
};
|
||||
class ACE_SelfActions {
|
||||
class ACE_Passengers {
|
||||
displayName = "$STR_ACE_Interaction_Passengers";
|
||||
displayName = CSTRING(Passengers);
|
||||
condition = "true";
|
||||
statement = "";
|
||||
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
||||
@ -468,12 +468,12 @@ class CfgVehicles {
|
||||
class Plane: Air {
|
||||
class ACE_Actions {
|
||||
class ACE_MainActions {
|
||||
displayName = "$STR_ACE_Interaction_MainAction";
|
||||
displayName = CSTRING(MainAction);
|
||||
selection = "";
|
||||
distance = 10;
|
||||
condition = "true";
|
||||
class ACE_Passengers {
|
||||
displayName = "$STR_ACE_Interaction_Passengers";
|
||||
displayName = CSTRING(Passengers);
|
||||
condition = "true";
|
||||
statement = "";
|
||||
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
||||
@ -482,7 +482,7 @@ class CfgVehicles {
|
||||
};
|
||||
class ACE_SelfActions {
|
||||
class ACE_Passengers {
|
||||
displayName = "$STR_ACE_Interaction_Passengers";
|
||||
displayName = CSTRING(Passengers);
|
||||
condition = "true";
|
||||
statement = "";
|
||||
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
||||
@ -494,13 +494,13 @@ class CfgVehicles {
|
||||
class Ship_F: Ship {
|
||||
class ACE_Actions {
|
||||
class ACE_MainActions {
|
||||
displayName = "$STR_ACE_Interaction_MainAction";
|
||||
displayName = CSTRING(MainAction);
|
||||
selection = "";
|
||||
distance = 10;
|
||||
condition = "true";
|
||||
|
||||
class ACE_Push {
|
||||
displayName = "$STR_ACE_Interaction_Push";
|
||||
displayName = CSTRING(Push);
|
||||
distance = 6;
|
||||
condition = QUOTE(getMass _target < 1000 && {alive _target});
|
||||
statement = QUOTE([ARR_2(_target, [ARR_3(2 * (vectorDir _player select 0), 2 * (vectorDir _player select 1), 0.5)])] call DFUNC(push););
|
||||
@ -508,7 +508,7 @@ class CfgVehicles {
|
||||
priority = -1;
|
||||
};
|
||||
class ACE_Passengers {
|
||||
displayName = "$STR_ACE_Interaction_Passengers";
|
||||
displayName = CSTRING(Passengers);
|
||||
condition = "true";
|
||||
statement = "";
|
||||
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
||||
@ -517,7 +517,7 @@ class CfgVehicles {
|
||||
};
|
||||
class ACE_SelfActions {
|
||||
class ACE_Passengers {
|
||||
displayName = "$STR_ACE_Interaction_Passengers";
|
||||
displayName = CSTRING(Passengers);
|
||||
condition = "true";
|
||||
statement = "";
|
||||
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
||||
@ -528,12 +528,12 @@ class CfgVehicles {
|
||||
class StaticWeapon: LandVehicle {
|
||||
class ACE_Actions {
|
||||
class ACE_MainActions {
|
||||
displayName = "$STR_ACE_Interaction_MainAction";
|
||||
displayName = CSTRING(MainAction);
|
||||
selection = "gunnerview";
|
||||
distance = 2;
|
||||
condition = "true";
|
||||
class ACE_Passengers {
|
||||
displayName = "$STR_ACE_Interaction_Passengers";
|
||||
displayName = CSTRING(Passengers);
|
||||
condition = "true";
|
||||
statement = "";
|
||||
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
||||
@ -542,7 +542,7 @@ class CfgVehicles {
|
||||
};
|
||||
class ACE_SelfActions {
|
||||
class ACE_Passengers {
|
||||
displayName = "$STR_ACE_Interaction_Passengers";
|
||||
displayName = CSTRING(Passengers);
|
||||
condition = "true";
|
||||
statement = "";
|
||||
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
||||
@ -554,7 +554,7 @@ class CfgVehicles {
|
||||
class ReammoBox_F: thingX {
|
||||
class ACE_Actions {
|
||||
class ACE_MainActions {
|
||||
displayName = "$STR_ACE_Interaction_MainAction";
|
||||
displayName = CSTRING(MainAction);
|
||||
selection = "";
|
||||
distance = 2;
|
||||
condition = "true";
|
||||
|
@ -23,7 +23,7 @@ private ["_team"];
|
||||
|
||||
|
||||
// Add keybinds
|
||||
["ACE3 Common", QGVAR(openDoor), localize "STR_ACE_Interaction_OpenDoor",
|
||||
["ACE3 Common", QGVAR(openDoor), localize STRING(OpenDoor),
|
||||
{
|
||||
// Conditions: canInteract
|
||||
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
|
||||
@ -43,7 +43,7 @@ private ["_team"];
|
||||
[57, [false, true, false]], false] call cba_fnc_addKeybind; //Key CTRL+Space
|
||||
|
||||
|
||||
["ACE3 Common", QGVAR(tapShoulder), localize "STR_ACE_Interaction_TapShoulder",
|
||||
["ACE3 Common", QGVAR(tapShoulder), localize STRING(TapShoulder),
|
||||
{
|
||||
// Conditions: canInteract
|
||||
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
|
||||
@ -57,7 +57,7 @@ private ["_team"];
|
||||
{false},
|
||||
[20, [true, false, false]], false] call cba_fnc_addKeybind;
|
||||
|
||||
["ACE3 Common", QGVAR(modifierKey), localize "STR_ACE_Interaction_ModifierKey",
|
||||
["ACE3 Common", QGVAR(modifierKey), localize STRING(ModifierKey),
|
||||
{
|
||||
// Conditions: canInteract
|
||||
//if !([ACE_player, objNull, ["isNotDragging"]] call EFUNC(common,canInteractWith)) exitWith {false}; // not needed
|
||||
|
@ -25,10 +25,10 @@ _unit setVariable [QGVAR(assignedFireTeam), _team, true];
|
||||
|
||||
if (_unit == ACE_player) then {
|
||||
_message = if (_team == "MAIN") then {
|
||||
localize "STR_ACE_Interaction_LeftTeam";
|
||||
localize STRING(LeftTeam);
|
||||
} else {
|
||||
_team = localize format ["STR_ACE_Interaction_Team%1", _team];
|
||||
format [localize "STR_ACE_Interaction_JoinedTeam", _team];
|
||||
_team = localize format [STRING(Team%1), _team];
|
||||
format [localize STRING(JoinedTeam), _team];
|
||||
};
|
||||
|
||||
[_message] call EFUNC(common,displayTextStructured);
|
||||
|
@ -29,7 +29,7 @@ if !(_unit in _cargo) exitWith {};
|
||||
GVAR(InteractionMenu_Crew) = _cargo;
|
||||
|
||||
// Prepare: add header and "OK" button to select menu
|
||||
_actions = [localize "STR_ACE_Interaction_InteractionMenu", localize "STR_ACE_Interaction_Interact"] call FUNC(prepareSelectMenu);
|
||||
_actions = [localize STRING(InteractionMenu), localize STRING(Interact)] call FUNC(prepareSelectMenu);
|
||||
|
||||
// Prepare: add all cargo units as options to select menu
|
||||
{
|
||||
|
@ -21,7 +21,7 @@ PARAMS_2(_header,_buttonText);
|
||||
closeDialog 0;
|
||||
|
||||
if (isNil "_buttonText" or {_buttonText == ""}) then {
|
||||
_buttonText = localize "STR_ACE_Interaction_MakeSelection";
|
||||
_buttonText = localize STRING(MakeSelection);
|
||||
};
|
||||
|
||||
createDialog "RscACE_SelectAnItem";
|
||||
|
@ -32,9 +32,9 @@ addCamShake [4, 0.5, 5];
|
||||
private ["_message"];
|
||||
//localize is converting the escaped <> symbols, so just add them here instead of in the stringtable
|
||||
if (_shoulderNum == 0) then {
|
||||
_message = format ["%1 >", (localize "STR_ACE_Interaction_YouWereTappedRight")];
|
||||
_message = format ["%1 >", (localize STRING(YouWereTappedRight))];
|
||||
} else {
|
||||
_message = format ["< %1", (localize "STR_ACE_Interaction_YouWereTappedLeft")];
|
||||
_message = format ["< %1", (localize STRING(YouWereTappedLeft))];
|
||||
};
|
||||
|
||||
[parseText _message] call EFUNC(common,displayTextStructured);
|
||||
|
@ -3,8 +3,8 @@ class ACE_Settings {
|
||||
value = 0;
|
||||
typeName = "SCALAR";
|
||||
isClientSettable = 1;
|
||||
displayName = "$STR_ACE_Inventory_SettingName";
|
||||
description = "$STR_ACE_Inventory_SettingDescription";
|
||||
displayName = CSTRING(SettingName);
|
||||
description = CSTRING(SettingDescription);
|
||||
values[] = {"$str_medium", "$str_large", "$str_very_large"};
|
||||
};
|
||||
};
|
@ -1,6 +1,6 @@
|
||||
// by commy2
|
||||
|
||||
["ACE3 Weapons", QGVAR(lockTarget), localize "STR_ACE_JAVELIN_LockTarget",
|
||||
["ACE3 Weapons", QGVAR(lockTarget), localize STRING(LockTarget),
|
||||
{
|
||||
if (GETGVAR(isLockKeyDown,false)) exitWith {false};
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
},
|
||||
[15, [false, false, false]], false] call cba_fnc_addKeybind; //Tab Key
|
||||
|
||||
["ACE3 Weapons", QGVAR(cycleFireMode), localize "STR_ACE_JAVELIN_CycleFireMode",
|
||||
["ACE3 Weapons", QGVAR(cycleFireMode), localize STRING(CycleFireMode),
|
||||
{ false },
|
||||
{
|
||||
[ACE_player] call FUNC(cycleFireMode);
|
||||
|
@ -4,7 +4,7 @@ class CfgVehicles {
|
||||
class ACE_SelfActions {
|
||||
class ACE_Equipment {
|
||||
class GVAR(open) {
|
||||
displayName = "$STR_ACE_Kestrel4500_OpenKestrel";
|
||||
displayName = CSTRING(OpenKestrel);
|
||||
condition = QUOTE(call FUNC(canShow) && !GVAR(Kestrel4500));
|
||||
statement = QUOTE(call FUNC(createKestrelDialog));
|
||||
showDisabled = 0;
|
||||
@ -13,7 +13,7 @@ class CfgVehicles {
|
||||
exceptions[] = {"notOnMap"};
|
||||
};
|
||||
class GVAR(show) {
|
||||
displayName = "$STR_ACE_Kestrel4500_ShowKestrel";
|
||||
displayName = CSTRING(ShowKestrel);
|
||||
condition = QUOTE(call FUNC(canShow) && !GVAR(Overlay));
|
||||
statement = QUOTE(call FUNC(displayKestrel));
|
||||
showDisabled = 0;
|
||||
@ -22,7 +22,7 @@ class CfgVehicles {
|
||||
exceptions[] = {"notOnMap", "isNotInside"};
|
||||
};
|
||||
class GVAR(hide) {
|
||||
displayName = "$STR_ACE_Kestrel4500_HideKestrel";
|
||||
displayName = CSTRING(HideKestrel);
|
||||
condition = QUOTE(GVAR(Overlay));
|
||||
statement = QUOTE(call FUNC(displayKestrel));
|
||||
showDisabled = 0;
|
||||
|
@ -6,8 +6,8 @@ class CfgWeapons {
|
||||
class ACE_Kestrel4500: ACE_ItemCore {
|
||||
author[] = {$STR_ACE_Common_ACETeam, "Ruthberg"};
|
||||
scope = 2;
|
||||
displayName = "$STR_ACE_Kestrel_Name";
|
||||
descriptionShort = "$STR_ACE_Kestrel_Description";
|
||||
displayName = CSTRING(Name);
|
||||
descriptionShort = CSTRING(Description);
|
||||
model = PATHTOF(kestrel4500.p3d);
|
||||
picture = PATHTOF(UI\Kestrel4500.paa);
|
||||
icon = "iconObject_circle";
|
||||
|
@ -1,4 +1,4 @@
|
||||
["ACE3 Equipment", QGVAR(KestrelDialogKey), localize "STR_ACE_Kestrel4500_KestrelDialogKey",
|
||||
["ACE3 Equipment", QGVAR(KestrelDialogKey), localize STRING(KestrelDialogKey),
|
||||
{
|
||||
// Conditions: canInteract
|
||||
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
|
||||
@ -13,7 +13,7 @@
|
||||
{false},
|
||||
[0, [false, false, false]], false, 0] call CBA_fnc_addKeybind; // (empty default key)
|
||||
|
||||
["ACE3 Equipment", QGVAR(DisplayKestrelKey), localize "STR_ACE_Kestrel4500_DisplayKestrelKey",
|
||||
["ACE3 Equipment", QGVAR(DisplayKestrelKey), localize STRING(DisplayKestrelKey),
|
||||
{
|
||||
// Conditions: canInteract
|
||||
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
|
||||
|
@ -8,5 +8,5 @@ if(_oldLaserCode > ACE_DEFAULT_LASER_CODE) then {
|
||||
ACE_player setVariable [QGVAR(code), _laserCode, false];
|
||||
};
|
||||
if(_laserCode != _oldLaserCode) then {
|
||||
[format ["%1: %2", localize "STR_ACE_laser_laserCode", _laserCode]] call EFUNC(common,displayTextStructured);
|
||||
[format ["%1: %2", localize STRING(laserCode), _laserCode]] call EFUNC(common,displayTextStructured);
|
||||
};
|
@ -6,5 +6,5 @@ _oldLaserCode = ACE_player getVariable [QGVAR(code), ACE_DEFAULT_LASER_CODE];
|
||||
_laserCode = _oldLaserCode + 1;
|
||||
ACE_player setVariable [QGVAR(code), _laserCode, false];
|
||||
if(_laserCode != _oldLaserCode) then {
|
||||
[format ["%1: %2", localize "STR_ACE_laser_laserCode", _laserCode]] call EFUNC(common,displayTextStructured);
|
||||
[format ["%1: %2", localize STRING(laserCode), _laserCode]] call EFUNC(common,displayTextStructured);
|
||||
};
|
@ -1,4 +1,4 @@
|
||||
["ACE3 Equipment", QGVAR(LaserCodeUp), localize "STR_ACE_laser_laserCodeUp",
|
||||
["ACE3 Equipment", QGVAR(LaserCodeUp), localize STRING(laserCodeUp),
|
||||
{
|
||||
if( EGVAR(laser_selfdesignate,active)
|
||||
||
|
||||
@ -12,7 +12,7 @@
|
||||
{false},
|
||||
[16, [false, true, true]], false, 0] call CBA_fnc_addKeybind; // (ALT+CTRL+Q)
|
||||
|
||||
["ACE3 Equipment", QGVAR(LaserCodeDown), localize "STR_ACE_laser_laserCodeDown",
|
||||
["ACE3 Equipment", QGVAR(LaserCodeDown), localize STRING(laserCodeDown),
|
||||
{
|
||||
if( EGVAR(laser_selfdesignate,active)
|
||||
||
|
||||
|
@ -31,7 +31,7 @@ GVAR(initializedClasses) = _initializedClasses;
|
||||
// e.g.: _vehicle setVariable [format ["%1_%2", QGVAR(active), _x], false];
|
||||
|
||||
// Add actions
|
||||
_onAction = [QGVAR(LaserOn), localize "STR_ACE_Laser_SelfDesignate_DesignatorOn", "",
|
||||
_onAction = [QGVAR(LaserOn), localize STRING(DesignatorOn), "",
|
||||
{
|
||||
// Statement
|
||||
_this call FUNC(laserHudDesignateOn)
|
||||
@ -41,7 +41,7 @@ GVAR(initializedClasses) = _initializedClasses;
|
||||
!GVAR(active) && {[ACE_player] call FUNC(unitTurretHasDesignator)}
|
||||
}] call EFUNC(interact_menu,createAction);
|
||||
|
||||
_offAction = [QGVAR(LaserOff), localize "STR_ACE_Laser_SelfDesignate_DesignatorOff", "",
|
||||
_offAction = [QGVAR(LaserOff), localize STRING(DesignatorOff), "",
|
||||
{
|
||||
// Statement
|
||||
_this call FUNC(laserHudDesignateOff)
|
||||
|
@ -10,26 +10,26 @@ class CfgWeapons {
|
||||
|
||||
class acc_pointer_IR: ItemCore {
|
||||
ACE_nextModeClass = "ACE_acc_pointer_red";
|
||||
ACE_modeDescription = "$STR_ACE_Laserpointer_IRLaser";
|
||||
ACE_modeDescription = CSTRING(IRLaser);
|
||||
|
||||
displayName = "$STR_ACE_Laserpointer_red";
|
||||
descriptionUse = "$STR_ACE_Laserpointer_useLaser";
|
||||
displayName = CSTRING(red);
|
||||
descriptionUse = CSTRING(useLaser);
|
||||
};
|
||||
|
||||
class ACE_acc_pointer_red: ItemCore {
|
||||
ACE_nextModeClass = "acc_pointer_IR";
|
||||
ACE_modeDescription = "$STR_ACE_Laserpointer_Laser";
|
||||
ACE_modeDescription = CSTRING(Laser);
|
||||
|
||||
ACE_laserpointer = 1;
|
||||
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
_generalMacro = "ACE_acc_pointer_red";
|
||||
scope = 1;
|
||||
displayName = "$STR_ACE_Laserpointer_red";
|
||||
descriptionUse = "$STR_ACE_Laserpointer_useLaser";
|
||||
displayName = CSTRING(red);
|
||||
descriptionUse = CSTRING(useLaser);
|
||||
picture = "\A3\weapons_F\Data\UI\gear_accv_pointer_CA.paa";
|
||||
model = "\A3\weapons_f\acc\accv_pointer_F";
|
||||
descriptionShort = "$STR_ACE_Laserpointer_Description";
|
||||
descriptionShort = CSTRING(Description);
|
||||
|
||||
class ItemInfo: InventoryFlashLightItem_Base_F {
|
||||
mass = 6;
|
||||
@ -69,23 +69,23 @@ class CfgWeapons {
|
||||
|
||||
class ACE_acc_pointer_green_IR: acc_pointer_IR {
|
||||
ACE_nextModeClass = "ACE_acc_pointer_green";
|
||||
ACE_modeDescription = "$STR_ACE_Laserpointer_IRLaser";
|
||||
ACE_modeDescription = CSTRING(IRLaser);
|
||||
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
_generalMacro = "ACE_acc_pointer_green";
|
||||
scope = 1;
|
||||
displayName = "$STR_ACE_Laserpointer_green";
|
||||
displayName = CSTRING(green);
|
||||
};
|
||||
|
||||
class ACE_acc_pointer_green: ACE_acc_pointer_red {
|
||||
ACE_nextModeClass = "ACE_acc_pointer_green_IR";
|
||||
ACE_modeDescription = "$STR_ACE_Laserpointer_Laser";
|
||||
ACE_modeDescription = CSTRING(Laser);
|
||||
|
||||
ACE_laserpointer = 2;
|
||||
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
_generalMacro = "ACE_acc_pointer_green";
|
||||
scope = 2;
|
||||
displayName = "$STR_ACE_Laserpointer_green";
|
||||
displayName = CSTRING(green);
|
||||
};
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
// by commy2
|
||||
|
||||
["ACE3 Weapons", QGVAR(switchLaserLightMode), localize "STR_ACE_Laserpointer_switchLaserLight",
|
||||
["ACE3 Weapons", QGVAR(switchLaserLightMode), localize STRING(switchLaserLight),
|
||||
{
|
||||
// Conditions: canInteract
|
||||
if !([ACE_player, objNull, ["isNotInside"]] call EFUNC(common,canInteractWith)) exitWith {false};
|
||||
|
@ -4,7 +4,7 @@ class CfgVehicles {
|
||||
class ACE_Actions {
|
||||
class ACE_MainActions {
|
||||
class GVAR(RefuelUAV) {
|
||||
displayName = "$STR_ACE_logistics_uavbattery_Recharge";
|
||||
displayName = CSTRING(Recharge);
|
||||
distance = 4;
|
||||
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canRefuelUAV));
|
||||
statement = QUOTE([ARR_2(_player, _target)] call FUNC(refuelUAV));
|
||||
|
@ -4,8 +4,8 @@ class CfgWeapons {
|
||||
|
||||
class ACE_UAVBattery: ACE_ItemCore {
|
||||
scope = 2;
|
||||
displayName = "$STR_ACE_logistics_uavbattery_Battery_Name";
|
||||
descriptionShort = "$STR_ACE_logistics_uavbattery_Battery_Description";
|
||||
displayName = CSTRING(Battery_Name);
|
||||
descriptionShort = CSTRING(Battery_Description);
|
||||
model = QUOTE(PATHTOF(models\ace_battery.p3d));
|
||||
picture = QUOTE(PATHTOF(ui\UAV_battery_ca.paa));
|
||||
class ItemInfo: InventoryItem_Base_F {
|
||||
|
@ -36,4 +36,4 @@ _onFailure = {
|
||||
|
||||
[_caller, "AinvPknlMstpSnonWnonDr_medic5", 0] call EFUNC(common,doAnimation);
|
||||
|
||||
[10, [_caller, _target], _onFinish, _onFailure, (localize "STR_ACE_logistics_uavbattery_Battery_Recharge"), {(_this select 0) call FUNC(canRefuelUAV)}] call EFUNC(common,progressBar);
|
||||
[10, [_caller, _target], _onFinish, _onFailure, (localize STRING(Battery_Recharge)), {(_this select 0) call FUNC(canRefuelUAV)}] call EFUNC(common,progressBar);
|
||||
|
@ -4,8 +4,8 @@ class CfgWeapons {
|
||||
|
||||
class ACE_wirecutter: ACE_ItemCore {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
displayName = "$STR_ACE_logistics_wirecutter_wirecutterName";
|
||||
descriptionShort = "$STR_ACE_logistics_wirecutter_wirecutterDescription";
|
||||
displayName = CSTRING(wirecutterName);
|
||||
descriptionShort = CSTRING(wirecutterDescription);
|
||||
model = "\A3\weapons_F\ammo\mag_univ.p3d";
|
||||
picture = QUOTE(PATHTOF(ui\item_wirecutter_ca.paa));
|
||||
scope = 2;
|
||||
|
@ -38,4 +38,4 @@ _progressCheck = {
|
||||
((!isNull _fenceObject) && {(damage _fenceObject) < 1} && {("ACE_wirecutter" in (items ACE_player))})
|
||||
};
|
||||
|
||||
[_timeToCut, [_fenceObject,0], {(_this select 0) call FUNC(cutDownFenceCallback)}, {(_this select 0) call FUNC(cutDownFenceAbort)}, localize "STR_ACE_logistics_wirecutter_CuttingFence", _progressCheck] call EFUNC(common,progressBar);
|
||||
[_timeToCut, [_fenceObject,0], {(_this select 0) call FUNC(cutDownFenceCallback)}, {(_this select 0) call FUNC(cutDownFenceAbort)}, localize STRING(CuttingFence), _progressCheck] call EFUNC(common,progressBar);
|
||||
|
@ -18,5 +18,5 @@
|
||||
PARAMS_1(_fenceObject);
|
||||
|
||||
_fenceObject setdamage 1;
|
||||
// [localize "STR_ACE_logistics_wirecutter_FenceCut"] call EFUNC(common,displayTextStructured);
|
||||
// [localize STRING(FenceCut)] call EFUNC(common,displayTextStructured);
|
||||
[ACE_player, "AmovPknlMstpSrasWrflDnon", 1] call EFUNC(common,doAnimation);
|
||||
|
@ -53,7 +53,7 @@ if (!("ACE_wirecutter" in (items ace_player))) exitWith {};
|
||||
if ([_x] call FUNC(isFence)) then {
|
||||
_fencesHelped pushBack _x;
|
||||
_helper = "Sign_Sphere25cm_F" createVehicleLocal (getpos _x);
|
||||
_action = [QGVAR(helperCutFence), (localize "STR_ACE_logistics_wirecutter_CutFence"), QUOTE(PATHTOF(ui\wirecutter_ca.paa)), _fncStatement, _fncCondition, {}, _x, [0,0,0], 5] call EFUNC(interact_menu,createAction);
|
||||
_action = [QGVAR(helperCutFence), (localize STRING(CutFence)), QUOTE(PATHTOF(ui\wirecutter_ca.paa)), _fncStatement, _fncCondition, {}, _x, [0,0,0], 5] call EFUNC(interact_menu,createAction);
|
||||
[_helper, 0, [],_action] call EFUNC(interact_menu,addActionToObject);
|
||||
_helper setPosASL ((getPosASL _x) vectorAdd [0,0,1.25]);
|
||||
_helper hideObject true;
|
||||
|
@ -3,7 +3,7 @@ class CfgVehicles {
|
||||
class CAManBase: Man {
|
||||
class ACE_SelfActions {
|
||||
class ACE_RepackMagazines {
|
||||
displayName = "$STR_ACE_MagazineRepack_RepackMagazines";
|
||||
displayName = CSTRING(RepackMagazines);
|
||||
condition = QUOTE(true);
|
||||
exceptions[] = {"isNotInside"};
|
||||
insertChildren = QUOTE(_this call FUNC(getMagazineChildren));
|
||||
|
@ -29,9 +29,9 @@ _fullMagazineCount = getNumber (configfile >> "CfgMagazines" >> _magazineClassna
|
||||
if (!([ACE_player, objNull, ["isNotInside"]] call EFUNC(common,canInteractWith))) exitWith {};
|
||||
|
||||
_structuredOutputText = if (_errorCode == 0) then {
|
||||
format ["<t align='center'>%1</t><br/>", (localize "STR_ACE_MagazineRepack_RepackComplete")];
|
||||
format ["<t align='center'>%1</t><br/>", (localize STRING(RepackComplete))];
|
||||
} 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");
|
||||
@ -51,6 +51,6 @@ _structuredOutputText = _structuredOutputText + format ["<img align='center' siz
|
||||
// };
|
||||
// };
|
||||
// } 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);
|
||||
|
@ -67,7 +67,7 @@ _totalTime,
|
||||
[_magazineClassname, _startingAmmoCounts, _simEvents],
|
||||
{_this call FUNC(magazineRepackFinish)},
|
||||
{_this call FUNC(magazineRepackFinish)},
|
||||
(localize "STR_ACE_MagazineRepack_RepackingMagazine"),
|
||||
(localize STRING(RepackingMagazine)),
|
||||
{_this call FUNC(magazineRepackProgress)},
|
||||
["isNotInside"]
|
||||
] call EFUNC(common,progressBar);
|
||||
|
@ -3,66 +3,66 @@ class CfgVehicles {
|
||||
class ACE_ModuleMap: Module_F {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
category = "ACE";
|
||||
displayName = "$STR_ACE_Map_Module_DisplayName";
|
||||
displayName = CSTRING(Module_DisplayName);
|
||||
function = QFUNC(moduleMap);
|
||||
scope = 2;
|
||||
isGlobal = 1;
|
||||
icon = PATHTOF(UI\Icon_Module_Map_ca.paa);
|
||||
class Arguments {
|
||||
class MapIllumination {
|
||||
displayName = "$STR_ACE_Map_MapIllumination_DisplayName";
|
||||
description = "$STR_ACE_Map_MapIllumination_Description";
|
||||
displayName = CSTRING(MapIllumination_DisplayName);
|
||||
description = CSTRING(MapIllumination_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 1;
|
||||
};
|
||||
class MapShake {
|
||||
displayName = "$STR_ACE_Map_MapShake_DisplayName";
|
||||
description = "$STR_ACE_Map_MapShake_Description";
|
||||
displayName = CSTRING(MapShake_DisplayName);
|
||||
description = CSTRING(MapShake_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 1;
|
||||
};
|
||||
class MapLimitZoom {
|
||||
displayName = "$STR_ACE_Map_MapLimitZoom_DisplayName";
|
||||
description = "$STR_ACE_Map_MapLimitZoom_Description";
|
||||
displayName = CSTRING(MapLimitZoom_DisplayName);
|
||||
description = CSTRING(MapLimitZoom_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 0;
|
||||
};
|
||||
class MapShowCursorCoordinates {
|
||||
displayName = "$STR_ACE_Map_MapShowCursorCoordinates_DisplayName";
|
||||
description = "$STR_ACE_Map_MapShowCursorCoordinates_Description";
|
||||
displayName = CSTRING(MapShowCursorCoordinates_DisplayName);
|
||||
description = CSTRING(MapShowCursorCoordinates_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 0;
|
||||
};
|
||||
};
|
||||
class ModuleDescription {
|
||||
description = "$STR_ACE_Map_Module_Description";
|
||||
description = CSTRING(Module_Description);
|
||||
};
|
||||
};
|
||||
|
||||
class ACE_ModuleBlueForceTracking: Module_F {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
category = "ACE";
|
||||
displayName = "$STR_ACE_Map_BFT_Module_DisplayName";
|
||||
displayName = CSTRING(BFT_Module_DisplayName);
|
||||
function = QFUNC(blueForceTrackingModule);
|
||||
scope = 2;
|
||||
isGlobal = 1;
|
||||
icon = PATHTOF(UI\Icon_Module_BFTracking_ca.paa);
|
||||
class Arguments {
|
||||
class Interval {
|
||||
displayName = "$STR_ACE_Map_BFT_Interval_DisplayName";
|
||||
description = "$STR_ACE_Map_BFT_Interval_Description";
|
||||
displayName = CSTRING(BFT_Interval_DisplayName);
|
||||
description = CSTRING(BFT_Interval_Description);
|
||||
typeName = "NUMBER";
|
||||
defaultValue = 1;
|
||||
};
|
||||
class HideAiGroups {
|
||||
displayName = "$STR_ACE_Map_BFT_HideAiGroups_DisplayName";
|
||||
description = "$STR_ACE_Map_BFT_HideAiGroups_Description";
|
||||
displayName = CSTRING(BFT_HideAiGroups_DisplayName);
|
||||
description = CSTRING(BFT_HideAiGroups_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 0;
|
||||
};
|
||||
};
|
||||
class ModuleDescription {
|
||||
description = "$STR_ACE_Map_BFT_Module_Description";
|
||||
description = CSTRING(BFT_Module_Description);
|
||||
};
|
||||
};
|
||||
};
|
@ -4,7 +4,7 @@ class CfgVehicles {
|
||||
class ACE_SelfActions {
|
||||
|
||||
class ACE_MapTools {
|
||||
displayName = "$STR_ACE_MapTools_MapTools_Menu";
|
||||
displayName = CSTRING(MapTools_Menu);
|
||||
condition = QUOTE((call FUNC(canUseMapTools) || {call FUNC(canUseMapGPS)}));
|
||||
statement = "";
|
||||
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"};
|
||||
@ -12,7 +12,7 @@ class CfgVehicles {
|
||||
priority = 100;
|
||||
|
||||
class ACE_MapToolsHide {
|
||||
displayName = "$STR_ACE_MapTools_MapToolsHide";
|
||||
displayName = CSTRING(MapToolsHide);
|
||||
condition = QUOTE((call FUNC(canUseMapTools) && {GVAR(mapTool_Shown) != 0}));
|
||||
statement = QUOTE(GVAR(mapTool_Shown) = 0; [] call FUNC(updateMapToolMarkers));
|
||||
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"};
|
||||
@ -20,7 +20,7 @@ class CfgVehicles {
|
||||
priority = 5;
|
||||
};
|
||||
class ACE_MapToolsShowNormal {
|
||||
displayName = "$STR_ACE_MapTools_MapToolsShowNormal";
|
||||
displayName = CSTRING(MapToolsShowNormal);
|
||||
condition = QUOTE((call FUNC(canUseMapTools) && {GVAR(mapTool_Shown) != 1}));
|
||||
statement = QUOTE(GVAR(mapTool_Shown) = 1; [] call FUNC(updateMapToolMarkers));
|
||||
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"};
|
||||
@ -28,7 +28,7 @@ class CfgVehicles {
|
||||
priority = 4;
|
||||
};
|
||||
class ACE_MapToolsShowSmall {
|
||||
displayName = "$STR_ACE_MapTools_MapToolsShowSmall";
|
||||
displayName = CSTRING(MapToolsShowSmall);
|
||||
condition = QUOTE((call FUNC(canUseMapTools) && {GVAR(mapTool_Shown) != 2}));
|
||||
statement = QUOTE(GVAR(mapTool_Shown) = 2; [] call FUNC(updateMapToolMarkers));
|
||||
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"};
|
||||
@ -36,7 +36,7 @@ class CfgVehicles {
|
||||
priority = 3;
|
||||
};
|
||||
class ACE_MapToolsAlignNorth {
|
||||
displayName = "$STR_ACE_MapTools_MapToolsAlignNorth";
|
||||
displayName = CSTRING(MapToolsAlignNorth);
|
||||
condition = QUOTE((call FUNC(canUseMapTools) && {GVAR(mapTool_Shown) != 0}));
|
||||
statement = QUOTE(GVAR(mapTool_angle) = 0; [] call FUNC(updateMapToolMarkers));
|
||||
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"};
|
||||
@ -44,7 +44,7 @@ class CfgVehicles {
|
||||
priority = 2;
|
||||
};
|
||||
class ACE_MapToolsAlignCompass {
|
||||
displayName = "$STR_ACE_MapTools_MapToolsAlignCompass";
|
||||
displayName = CSTRING(MapToolsAlignCompass);
|
||||
condition = QUOTE((call FUNC(canUseMapTools) && {GVAR(mapTool_Shown) != 0} && {('ItemCompass' in assigneditems ACE_player) || {'ItemCompass' in assigneditems ACE_player}}));
|
||||
statement = QUOTE(GVAR(mapTool_angle) = getDir ACE_player; [] call FUNC(updateMapToolMarkers));
|
||||
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"};
|
||||
@ -52,7 +52,7 @@ class CfgVehicles {
|
||||
priority = 1;
|
||||
};
|
||||
class ACE_MapGpsShow {
|
||||
displayName = "$STR_ACE_MapTools_MapGpsShow";
|
||||
displayName = CSTRING(MapGpsShow);
|
||||
condition = QUOTE((call FUNC(canUseMapGPS) && {!GVAR(mapGpsShow)}));
|
||||
statement = QUOTE(GVAR(mapGpsShow) = true; [GVAR(mapGpsShow)] call FUNC(openMapGps));
|
||||
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"};
|
||||
@ -60,7 +60,7 @@ class CfgVehicles {
|
||||
priority = 0;
|
||||
};
|
||||
class ACE_MapGpsHide {
|
||||
displayName = "$STR_ACE_MapTools_MapGpsHide";
|
||||
displayName = CSTRING(MapGpsHide);
|
||||
condition = QUOTE((call FUNC(canUseMapGPS) && {GVAR(mapGpsShow)}));
|
||||
statement = QUOTE(GVAR(mapGpsShow) = false; [GVAR(mapGpsShow)] call FUNC(openMapGps));
|
||||
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside"};
|
||||
@ -73,7 +73,7 @@ class CfgVehicles {
|
||||
class ACE_Actions {
|
||||
class ACE_MainActions {
|
||||
class ACE_CopyMap {
|
||||
displayName = "$STR_ACE_MapTools_CopyMap";
|
||||
displayName = CSTRING(CopyMap);
|
||||
condition = QUOTE(([_target] call EFUNC(common,isPlayer) && {'ItemMap' in assigneditems _player} && {'ACE_MapTools' in items _player} && {'ItemMap' in assignedItems _target}));
|
||||
statement = QUOTE([ARR_2(_player,_target)] call FUNC(copyMapStart));
|
||||
showDisabled = 0;
|
||||
|
@ -3,8 +3,8 @@ class CfgWeapons {
|
||||
class InventoryItem_Base_F;
|
||||
|
||||
class ACE_MapTools: ACE_ItemCore {
|
||||
displayName = "$STR_ACE_MapTools_Name";
|
||||
descriptionShort = "$STR_ACE_MapTools_Description";
|
||||
displayName = CSTRING(Name);
|
||||
descriptionShort = CSTRING(Description);
|
||||
model = "\A3\weapons_F\ammo\mag_univ.p3d";
|
||||
picture = PATHTOF(UI\maptool_item.paa);
|
||||
scope = 2;
|
||||
|
@ -25,6 +25,6 @@ if (_direction < 0) then {
|
||||
_direction = _direction + 360;
|
||||
};
|
||||
|
||||
((ctrlParent _ctrl) displayCtrl 1221) ctrlSetText format [localize "STR_ACE_Markers_MarkerDirection", _direction];
|
||||
((ctrlParent _ctrl) displayCtrl 1221) ctrlSetText format [localize STRING(MarkerDirection), _direction];
|
||||
|
||||
GVAR(currentMarkerAngle) = _data;
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
class ACE_Head {
|
||||
displayName = "$STR_ACE_Interaction_Head";
|
||||
displayName = CSTRING(Head);
|
||||
runOnHover = 1;
|
||||
statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation));
|
||||
ACTION_CONDITION
|
||||
@ -9,7 +9,7 @@ class ACE_Head {
|
||||
icon = PATHTOF(UI\icons\medical_cross.paa);
|
||||
distance = MEDICAL_ACTION_DISTANCE;
|
||||
class Bandage {
|
||||
displayName = "$STR_ACE_Medical_Bandage";
|
||||
displayName = CSTRING(Bandage);
|
||||
distance = 2.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(treatment));
|
||||
@ -21,7 +21,7 @@ class ACE_Head {
|
||||
};
|
||||
// Advanced medical
|
||||
class FieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_FieldDressing";
|
||||
displayName = CSTRING(Actions_FieldDressing);
|
||||
distance = 5.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(treatment));
|
||||
@ -32,54 +32,54 @@ class ACE_Head {
|
||||
icon = PATHTOF(UI\icons\bandage.paa);
|
||||
};
|
||||
class PackingBandage: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_PackingBandage";
|
||||
displayName = CSTRING(Actions_PackingBandage);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\packingBandage.paa);
|
||||
};
|
||||
class ElasticBandage: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_ElasticBandage";
|
||||
displayName = CSTRING(Actions_ElasticBandage);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\bandage.paa);
|
||||
};
|
||||
class QuikClot: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_QuikClot";
|
||||
displayName = CSTRING(Actions_QuikClot);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\bandage.paa);
|
||||
};
|
||||
class CheckPulse: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_CheckPulse";
|
||||
displayName = CSTRING(Actions_CheckPulse);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckPulse')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckPulse')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = "";
|
||||
};
|
||||
class CheckBloodPressure: CheckPulse {
|
||||
displayName = "$STR_ACE_Medical_Actions_CheckBloodPressure";
|
||||
displayName = CSTRING(Actions_CheckBloodPressure);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckBloodPressure')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckBloodPressure')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class CheckResponse: CheckPulse {
|
||||
displayName = "$STR_ACE_Medical_Check_Response";
|
||||
displayName = CSTRING(Check_Response);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckResponse')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckResponse')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class Diagnose: CheckPulse {
|
||||
displayName = "$STR_ACE_Medical_Actions_Diagnose";
|
||||
displayName = CSTRING(Actions_Diagnose);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'head', 'Diagnose')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'head', 'Diagnose')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
};
|
||||
class ACE_Torso {
|
||||
displayName = "$STR_ACE_Interaction_Torso";
|
||||
displayName = CSTRING(Torso);
|
||||
runOnHover = 1;
|
||||
statement = QUOTE([ARR_3(_target, true, 1)] call DFUNC(displayPatientInformation));
|
||||
ACTION_CONDITION
|
||||
@ -88,7 +88,7 @@ class ACE_Torso {
|
||||
icon = PATHTOF(UI\icons\medical_cross.paa);
|
||||
distance = MEDICAL_ACTION_DISTANCE;
|
||||
class Bandage {
|
||||
displayName = "$STR_ACE_Medical_Bandage";
|
||||
displayName = CSTRING(Bandage);
|
||||
distance = 2.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(treatment));
|
||||
@ -100,7 +100,7 @@ class ACE_Torso {
|
||||
icon = PATHTOF(UI\icons\bandage.paa);
|
||||
};
|
||||
class PlaceInBodyBag {
|
||||
displayName = "$STR_ACE_Medical_PlaceInBodyBag";
|
||||
displayName = CSTRING(PlaceInBodyBag);
|
||||
distance = 2.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'body', 'BodyBag')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'body', 'BodyBag')] call DFUNC(treatment));
|
||||
@ -111,7 +111,7 @@ class ACE_Torso {
|
||||
enableInside = 1;
|
||||
};
|
||||
class TriageCard {
|
||||
displayName = "$STR_ACE_Medical_Actions_TriageCard";
|
||||
displayName = CSTRING(Actions_TriageCard);
|
||||
distance = 2.0;
|
||||
condition = "true";
|
||||
statement = QUOTE([ARR_2(_target, true)] call DFUNC(displayTriageCard));
|
||||
@ -125,7 +125,7 @@ class ACE_Torso {
|
||||
|
||||
// Advanced medical
|
||||
class FieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_FieldDressing";
|
||||
displayName = CSTRING(Actions_FieldDressing);
|
||||
distance = 5.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(treatment));
|
||||
@ -137,42 +137,42 @@ class ACE_Torso {
|
||||
icon = PATHTOF(UI\icons\bandage.paa);
|
||||
};
|
||||
class PackingBandage: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_PackingBandage";
|
||||
displayName = CSTRING(Actions_PackingBandage);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\packingBandage.paa);
|
||||
};
|
||||
class ElasticBandage: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_ElasticBandage";
|
||||
displayName = CSTRING(Actions_ElasticBandage);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\bandage.paa);
|
||||
};
|
||||
class QuikClot: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_QuikClot";
|
||||
displayName = CSTRING(Actions_QuikClot);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\bandage.paa);
|
||||
};
|
||||
class SurgicalKit: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Use_SurgicalKit";
|
||||
displayName = CSTRING(Use_SurgicalKit);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'body', 'SurgicalKit')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'body', 'SurgicalKit')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\surgicalKit.paa);
|
||||
};
|
||||
class PersonalAidKit: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Use_Aid_Kit";
|
||||
displayName = CSTRING(Use_Aid_Kit);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'body', 'PersonalAidKit')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'body', 'PersonalAidKit')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = "";
|
||||
};
|
||||
class CPR: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_CPR";
|
||||
displayName = CSTRING(Actions_CPR);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'body', 'CPR')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'body', 'CPR')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
@ -180,7 +180,7 @@ class ACE_Torso {
|
||||
};
|
||||
};
|
||||
class ACE_ArmLeft {
|
||||
displayName = "$STR_ACE_Interaction_ArmLeft";
|
||||
displayName = CSTRING(ArmLeft);
|
||||
runOnHover = 1;
|
||||
statement = QUOTE([ARR_3(_target, true, 2)] call DFUNC(displayPatientInformation));
|
||||
ACTION_CONDITION
|
||||
@ -190,7 +190,7 @@ class ACE_ArmLeft {
|
||||
distance = MEDICAL_ACTION_DISTANCE;
|
||||
|
||||
class Bandage {
|
||||
displayName = "$STR_ACE_Medical_Bandage";
|
||||
displayName = CSTRING(Bandage);
|
||||
distance = 2.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(treatment));
|
||||
@ -203,7 +203,7 @@ class ACE_ArmLeft {
|
||||
|
||||
// Advanced medical
|
||||
class FieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_FieldDressing";
|
||||
displayName = CSTRING(Actions_FieldDressing);
|
||||
distance = 5.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(treatment));
|
||||
@ -214,131 +214,131 @@ class ACE_ArmLeft {
|
||||
icon = PATHTOF(UI\icons\bandage.paa);
|
||||
};
|
||||
class PackingBandage: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_PackingBandage";
|
||||
displayName = CSTRING(Actions_PackingBandage);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\packingBandage.paa);
|
||||
};
|
||||
class ElasticBandage: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_ElasticBandage";
|
||||
displayName = CSTRING(Actions_ElasticBandage);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\bandage.paa);
|
||||
};
|
||||
class QuikClot: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_QuikClot";
|
||||
displayName = CSTRING(Actions_QuikClot);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\bandage.paa);
|
||||
};
|
||||
class Tourniquet: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_Tourniquet";
|
||||
displayName = CSTRING(Actions_Tourniquet);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\tourniquet.paa);
|
||||
};
|
||||
class Morphine: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Inject_Morphine";
|
||||
displayName = CSTRING(Inject_Morphine);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\autoInjector.paa);
|
||||
};
|
||||
class Atropine: Morphine {
|
||||
displayName = "$STR_ACE_Medical_Inject_Atropine";
|
||||
displayName = CSTRING(Inject_Atropine);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\autoInjector.paa);
|
||||
};
|
||||
class Epinephrine: Morphine {
|
||||
displayName = "$STR_ACE_Medical_Inject_Epinephrine";
|
||||
displayName = CSTRING(Inject_Epinephrine);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\autoInjector.paa);
|
||||
};
|
||||
class BloodIV: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_Blood4_1000";
|
||||
displayName = CSTRING(Actions_Blood4_1000);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\iv.paa);
|
||||
};
|
||||
class BloodIV_500: BloodIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Blood4_500";
|
||||
displayName = CSTRING(Actions_Blood4_500);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV_500')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV_500')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class BloodIV_250: BloodIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Blood4_250";
|
||||
displayName = CSTRING(Actions_Blood4_250);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV_250')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV_250')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class PlasmaIV: BloodIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Plasma4_1000";
|
||||
displayName = CSTRING(Actions_Plasma4_1000);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class PlasmaIV_500: PlasmaIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Plasma4_500";
|
||||
displayName = CSTRING(Actions_Plasma4_500);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV_500')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV_500')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class PlasmaIV_250: PlasmaIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Plasma4_250";
|
||||
displayName = CSTRING(Actions_Plasma4_250);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV_250')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV_250')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class SalineIV: BloodIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Saline4_1000";
|
||||
displayName = CSTRING(Actions_Saline4_1000);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'SalineIV')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'SalineIV')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class SalineIV_500: SalineIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Saline4_500";
|
||||
displayName = CSTRING(Actions_Saline4_500);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'SalineIV_500')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'SalineIV_500')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class SalineIV_250: SalineIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Saline4_250";
|
||||
displayName = CSTRING(Actions_Saline4_250);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'SalineIV_250')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'SalineIV_250')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class CheckPulse: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_CheckPulse";
|
||||
displayName = CSTRING(Actions_CheckPulse);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckPulse')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckPulse')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = "";
|
||||
};
|
||||
class CheckBloodPressure: CheckPulse {
|
||||
displayName = "$STR_ACE_Medical_Actions_CheckBloodPressure";
|
||||
displayName = CSTRING(Actions_CheckBloodPressure);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckBloodPressure')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckBloodPressure')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class RemoveTourniquet: Tourniquet {
|
||||
displayName = "$STR_ACE_Medical_Actions_RemoveTourniquet";
|
||||
displayName = CSTRING(Actions_RemoveTourniquet);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'RemoveTourniquet')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'RemoveTourniquet')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
};
|
||||
class ACE_ArmRight {
|
||||
displayName = "$STR_ACE_Interaction_ArmRight";
|
||||
displayName = CSTRING(ArmRight);
|
||||
runOnHover = 1;
|
||||
statement = QUOTE([ARR_3(_target, true, 3)] call DFUNC(displayPatientInformation));
|
||||
ACTION_CONDITION
|
||||
@ -348,7 +348,7 @@ class ACE_ArmRight {
|
||||
distance = MEDICAL_ACTION_DISTANCE;
|
||||
|
||||
class Bandage {
|
||||
displayName = "$STR_ACE_Medical_Bandage";
|
||||
displayName = CSTRING(Bandage);
|
||||
distance = 2.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(treatment));
|
||||
@ -361,7 +361,7 @@ class ACE_ArmRight {
|
||||
|
||||
// Advanced medical
|
||||
class FieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_FieldDressing";
|
||||
displayName = CSTRING(Actions_FieldDressing);
|
||||
distance = 5.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(treatment));
|
||||
@ -372,120 +372,120 @@ class ACE_ArmRight {
|
||||
icon = PATHTOF(UI\icons\bandage.paa);
|
||||
};
|
||||
class PackingBandage: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_PackingBandage";
|
||||
displayName = CSTRING(Actions_PackingBandage);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\packingBandage.paa);
|
||||
};
|
||||
class ElasticBandage: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_ElasticBandage";
|
||||
displayName = CSTRING(Actions_ElasticBandage);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'ElasticBandage')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'ElasticBandage')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class QuikClot: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_QuikClot";
|
||||
displayName = CSTRING(Actions_QuikClot);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'QuikClot')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'QuikClot')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class Tourniquet: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_Tourniquet";
|
||||
displayName = CSTRING(Actions_Tourniquet);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\tourniquet.paa);
|
||||
};
|
||||
class Morphine: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Inject_Morphine";
|
||||
displayName = CSTRING(Inject_Morphine);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\autoInjector.paa);
|
||||
};
|
||||
class Atropine: Morphine {
|
||||
displayName = "$STR_ACE_Medical_Inject_Atropine";
|
||||
displayName = CSTRING(Inject_Atropine);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Atropine')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Atropine')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class Epinephrine: Morphine {
|
||||
displayName = "$STR_ACE_Medical_Inject_Epinephrine";
|
||||
displayName = CSTRING(Inject_Epinephrine);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Epinephrine')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Epinephrine')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class BloodIV: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_Blood4_1000";
|
||||
displayName = CSTRING(Actions_Blood4_1000);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\iv.paa);
|
||||
};
|
||||
class BloodIV_500: BloodIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Blood4_500";
|
||||
displayName = CSTRING(Actions_Blood4_500);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV_500')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV_500')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class BloodIV_250: BloodIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Blood4_250";
|
||||
displayName = CSTRING(Actions_Blood4_250);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV_250')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV_250')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class PlasmaIV: BloodIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Plasma4_1000";
|
||||
displayName = CSTRING(Actions_Plasma4_1000);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'PlasmaIV')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PlasmaIV')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class PlasmaIV_500: PlasmaIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Plasma4_500";
|
||||
displayName = CSTRING(Actions_Plasma4_500);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'PlasmaIV_500')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PlasmaIV_500')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class PlasmaIV_250: PlasmaIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Plasma4_250";
|
||||
displayName = CSTRING(Actions_Plasma4_250);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'PlasmaIV_250')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PlasmaIV_250')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class SalineIV: BloodIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Saline4_1000";
|
||||
displayName = CSTRING(Actions_Saline4_1000);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'SalineIV')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'SalineIV')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class SalineIV_500: SalineIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Saline4_500";
|
||||
displayName = CSTRING(Actions_Saline4_500);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'SalineIV_500')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'SalineIV_500')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class SalineIV_250: SalineIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Saline4_250";
|
||||
displayName = CSTRING(Actions_Saline4_250);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'SalineIV_250')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'SalineIV_250')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class CheckPulse: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_CheckPulse";
|
||||
displayName = CSTRING(Actions_CheckPulse);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckPulse')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckPulse')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = "";
|
||||
};
|
||||
class CheckBloodPressure: CheckPulse {
|
||||
displayName = "$STR_ACE_Medical_Actions_CheckBloodPressure";
|
||||
displayName = CSTRING(Actions_CheckBloodPressure);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckBloodPressure')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckBloodPressure')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class RemoveTourniquet: Tourniquet {
|
||||
displayName = "$STR_ACE_Medical_Actions_RemoveTourniquet";
|
||||
displayName = CSTRING(Actions_RemoveTourniquet);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'RemoveTourniquet')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'RemoveTourniquet')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
@ -493,7 +493,7 @@ class ACE_ArmRight {
|
||||
|
||||
};
|
||||
class ACE_LegLeft {
|
||||
displayName = "$STR_ACE_Interaction_LegLeft";
|
||||
displayName = CSTRING(LegLeft);
|
||||
runOnHover = 1;
|
||||
statement = QUOTE([ARR_3(_target, true, 4)] call DFUNC(displayPatientInformation));
|
||||
ACTION_CONDITION
|
||||
@ -503,7 +503,7 @@ class ACE_LegLeft {
|
||||
distance = MEDICAL_ACTION_DISTANCE;
|
||||
|
||||
class Bandage {
|
||||
displayName = "$STR_ACE_Medical_Bandage";
|
||||
displayName = CSTRING(Bandage);
|
||||
distance = 2.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(treatment));
|
||||
@ -517,7 +517,7 @@ class ACE_LegLeft {
|
||||
|
||||
// Advanced medical
|
||||
class FieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_FieldDressing";
|
||||
displayName = CSTRING(Actions_FieldDressing);
|
||||
distance = 5.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(treatment));
|
||||
@ -528,115 +528,115 @@ class ACE_LegLeft {
|
||||
icon = PATHTOF(UI\icons\bandage.paa);
|
||||
};
|
||||
class PackingBandage: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_PackingBandage";
|
||||
displayName = CSTRING(Actions_PackingBandage);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\packingBandage.paa);
|
||||
};
|
||||
class ElasticBandage: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_ElasticBandage";
|
||||
displayName = CSTRING(Actions_ElasticBandage);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'ElasticBandage')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'ElasticBandage')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class QuikClot: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_QuikClot";
|
||||
displayName = CSTRING(Actions_QuikClot);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'QuikClot')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'QuikClot')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class Tourniquet: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_Tourniquet";
|
||||
displayName = CSTRING(Actions_Tourniquet);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\tourniquet.paa);
|
||||
};
|
||||
class Morphine: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Inject_Morphine";
|
||||
displayName = CSTRING(Inject_Morphine);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\autoInjector.paa);
|
||||
};
|
||||
class Atropine: Morphine {
|
||||
displayName = "$STR_ACE_Medical_Inject_Atropine";
|
||||
displayName = CSTRING(Inject_Atropine);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\autoInjector.paa);
|
||||
};
|
||||
class Epinephrine: Morphine {
|
||||
displayName = "$STR_ACE_Medical_Inject_Epinephrine";
|
||||
displayName = CSTRING(Inject_Epinephrine);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Epinephrine')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Epinephrine')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class BloodIV: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_Blood4_1000";
|
||||
displayName = CSTRING(Actions_Blood4_1000);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\iv.paa);
|
||||
};
|
||||
class BloodIV_500: BloodIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Blood4_500";
|
||||
displayName = CSTRING(Actions_Blood4_500);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV_500')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV_500')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class BloodIV_250: BloodIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Blood4_250";
|
||||
displayName = CSTRING(Actions_Blood4_250);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV_250')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV_250')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class PlasmaIV: BloodIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Plasma4_1000";
|
||||
displayName = CSTRING(Actions_Plasma4_1000);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'PlasmaIV')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PlasmaIV')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class PlasmaIV_500: PlasmaIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Plasma4_500";
|
||||
displayName = CSTRING(Actions_Plasma4_500);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'PlasmaIV_500')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PlasmaIV_500')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class PlasmaIV_250: PlasmaIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Plasma4_250";
|
||||
displayName = CSTRING(Actions_Plasma4_250);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'PlasmaIV_250')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PlasmaIV_250')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class SalineIV: BloodIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Saline4_1000";
|
||||
displayName = CSTRING(Actions_Saline4_1000);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'SalineIV')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'SalineIV')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class SalineIV_500: SalineIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Saline4_500";
|
||||
displayName = CSTRING(Actions_Saline4_500);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'SalineIV_500')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'SalineIV_500')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class SalineIV_250: SalineIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Saline4_250";
|
||||
displayName = CSTRING(Actions_Saline4_250);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'SalineIV_250')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'SalineIV_250')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class RemoveTourniquet: Tourniquet {
|
||||
displayName = "$STR_ACE_Medical_Actions_RemoveTourniquet";
|
||||
displayName = CSTRING(Actions_RemoveTourniquet);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'RemoveTourniquet')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'RemoveTourniquet')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
};
|
||||
class ACE_LegRight {
|
||||
displayName = "$STR_ACE_Interaction_LegRight";
|
||||
displayName = CSTRING(LegRight);
|
||||
runOnHover = 1;
|
||||
statement = QUOTE([ARR_3(_target, true, 5)] call DFUNC(displayPatientInformation));
|
||||
ACTION_CONDITION
|
||||
@ -646,7 +646,7 @@ class ACE_LegRight {
|
||||
distance = MEDICAL_ACTION_DISTANCE;
|
||||
|
||||
class Bandage {
|
||||
displayName = "$STR_ACE_Medical_Bandage";
|
||||
displayName = CSTRING(Bandage);
|
||||
distance = 2.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(treatment));
|
||||
@ -660,7 +660,7 @@ class ACE_LegRight {
|
||||
|
||||
// Advanced medical
|
||||
class FieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_FieldDressing";
|
||||
displayName = CSTRING(Actions_FieldDressing);
|
||||
distance = 5.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(treatment));
|
||||
@ -671,107 +671,107 @@ class ACE_LegRight {
|
||||
icon = PATHTOF(UI\icons\bandage.paa);
|
||||
};
|
||||
class PackingBandage: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_PackingBandage";
|
||||
displayName = CSTRING(Actions_PackingBandage);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\packingBandage.paa);
|
||||
};
|
||||
class ElasticBandage: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_ElasticBandage";
|
||||
displayName = CSTRING(Actions_ElasticBandage);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'ElasticBandage')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'ElasticBandage')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class QuikClot: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_QuikClot";
|
||||
displayName = CSTRING(Actions_QuikClot);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'QuikClot')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'QuikClot')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class Tourniquet: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_Tourniquet";
|
||||
displayName = CSTRING(Actions_Tourniquet);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\tourniquet.paa);
|
||||
};
|
||||
class Morphine: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Inject_Morphine";
|
||||
displayName = CSTRING(Inject_Morphine);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\autoInjector.paa);
|
||||
};
|
||||
class Atropine: Morphine {
|
||||
displayName = "$STR_ACE_Medical_Inject_Atropine";
|
||||
displayName = CSTRING(Inject_Atropine);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Atropine')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Atropine')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class Epinephrine: Morphine {
|
||||
displayName = "$STR_ACE_Medical_Inject_Epinephrine";
|
||||
displayName = CSTRING(Inject_Epinephrine);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Epinephrine')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Epinephrine')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class BloodIV: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_Blood4_1000";
|
||||
displayName = CSTRING(Actions_Blood4_1000);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
icon = PATHTOF(UI\icons\iv.paa);
|
||||
};
|
||||
class BloodIV_500: BloodIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Blood4_500";
|
||||
displayName = CSTRING(Actions_Blood4_500);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV_500')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV_500')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class BloodIV_250: BloodIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Blood4_250";
|
||||
displayName = CSTRING(Actions_Blood4_250);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV_250')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV_250')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class PlasmaIV: BloodIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Plasma4_1000";
|
||||
displayName = CSTRING(Actions_Plasma4_1000);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'PlasmaIV')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PlasmaIV')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class PlasmaIV_500: PlasmaIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Plasma4_500";
|
||||
displayName = CSTRING(Actions_Plasma4_500);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'PlasmaIV_500')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PlasmaIV_500')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class PlasmaIV_250: PlasmaIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Plasma4_250";
|
||||
displayName = CSTRING(Actions_Plasma4_250);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'PlasmaIV_250')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PlasmaIV_250')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class SalineIV: BloodIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Saline4_1000";
|
||||
displayName = CSTRING(Actions_Saline4_1000);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'SalineIV')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'SalineIV')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class SalineIV_500: SalineIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Saline4_500";
|
||||
displayName = CSTRING(Actions_Saline4_500);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'SalineIV_500')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'SalineIV_500')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class SalineIV_250: SalineIV {
|
||||
displayName = "$STR_ACE_Medical_Actions_Saline4_250";
|
||||
displayName = CSTRING(Actions_Saline4_250);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'SalineIV_250')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'SalineIV_250')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
};
|
||||
class RemoveTourniquet: Tourniquet {
|
||||
displayName = "$STR_ACE_Medical_Actions_RemoveTourniquet";
|
||||
displayName = CSTRING(Actions_RemoveTourniquet);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'RemoveTourniquet')] call DFUNC(canTreatCached));
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'RemoveTourniquet')] call DFUNC(treatment));
|
||||
EXCEPTIONS
|
||||
|
@ -1,5 +1,5 @@
|
||||
class Medical {
|
||||
displayName = "$STR_ACE_Medical_Actions_Medical";
|
||||
displayName = CSTRING(Actions_Medical);
|
||||
runOnHover = 1;
|
||||
hotkey = "M";
|
||||
exceptions[] = {"isNotInside"};
|
||||
@ -8,7 +8,7 @@ class Medical {
|
||||
icon = PATHTOF(UI\icons\medical_cross.paa);
|
||||
|
||||
class ACE_Head {
|
||||
displayName = "$STR_ACE_Interaction_Head";
|
||||
displayName = CSTRING(Head);
|
||||
icon = PATHTOF(UI\icons\medical_cross.paa);
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation));
|
||||
@ -17,7 +17,7 @@ class Medical {
|
||||
runOnHover = 1;
|
||||
|
||||
class Bandage {
|
||||
displayName = "$STR_ACE_Medical_Bandage";
|
||||
displayName = CSTRING(Bandage);
|
||||
distance = 2.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
@ -29,7 +29,7 @@ class Medical {
|
||||
};
|
||||
// Advanced medical
|
||||
class FieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_FieldDressing";
|
||||
displayName = CSTRING(Actions_FieldDressing);
|
||||
distance = 5.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
@ -40,42 +40,42 @@ class Medical {
|
||||
icon = PATHTOF(UI\icons\bandage.paa);
|
||||
};
|
||||
class PackingBandage: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_PackingBandage";
|
||||
displayName = CSTRING(Actions_PackingBandage);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(treatment));
|
||||
icon = PATHTOF(UI\icons\packingBandage.paa);
|
||||
};
|
||||
class ElasticBandage: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_ElasticBandage";
|
||||
displayName = CSTRING(Actions_ElasticBandage);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(treatment));
|
||||
icon = PATHTOF(UI\icons\bandage.paa);
|
||||
};
|
||||
class QuikClot: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_QuikClot";
|
||||
displayName = CSTRING(Actions_QuikClot);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(treatment));
|
||||
icon = PATHTOF(UI\icons\bandage.paa);
|
||||
};
|
||||
class CheckPulse: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_CheckPulse";
|
||||
displayName = CSTRING(Actions_CheckPulse);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckPulse')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckPulse')] call DFUNC(treatment));
|
||||
icon = "";
|
||||
};
|
||||
class CheckBloodPressure: CheckPulse {
|
||||
displayName = "$STR_ACE_Medical_Actions_CheckBloodPressure";
|
||||
displayName = CSTRING(Actions_CheckBloodPressure);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckBloodPressure')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckBloodPressure')] call DFUNC(treatment));
|
||||
};
|
||||
};
|
||||
class ACE_Torso {
|
||||
displayName = "$STR_ACE_Interaction_Torso";
|
||||
displayName = CSTRING(Torso);
|
||||
distance = 5.0;
|
||||
condition = "true";
|
||||
runOnHover = 1;
|
||||
@ -88,7 +88,7 @@ class Medical {
|
||||
icon = PATHTOF(UI\icons\medical_cross.paa);
|
||||
|
||||
class Bandage {
|
||||
displayName = "$STR_ACE_Medical_Bandage";
|
||||
displayName = CSTRING(Bandage);
|
||||
distance = 2.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
@ -100,7 +100,7 @@ class Medical {
|
||||
};
|
||||
|
||||
class TriageCard {
|
||||
displayName = "$STR_ACE_Medical_Actions_TriageCard";
|
||||
displayName = CSTRING(Actions_TriageCard);
|
||||
distance = 2.0;
|
||||
condition = "true";
|
||||
exceptions[] = {"isNotInside"};
|
||||
@ -113,7 +113,7 @@ class Medical {
|
||||
|
||||
// Advanced medical
|
||||
class FieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_FieldDressing";
|
||||
displayName = CSTRING(Actions_FieldDressing);
|
||||
distance = 5.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
@ -124,21 +124,21 @@ class Medical {
|
||||
icon = PATHTOF(UI\icons\bandage.paa);
|
||||
};
|
||||
class PackingBandage: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_PackingBandage";
|
||||
displayName = CSTRING(Actions_PackingBandage);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(treatment));
|
||||
icon = PATHTOF(UI\icons\packingBandage.paa);
|
||||
};
|
||||
class ElasticBandage: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_ElasticBandage";
|
||||
displayName = CSTRING(Actions_ElasticBandage);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(treatment));
|
||||
icon = PATHTOF(UI\icons\bandage.paa);
|
||||
};
|
||||
class QuikClot: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_QuikClot";
|
||||
displayName = CSTRING(Actions_QuikClot);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(treatment));
|
||||
@ -146,7 +146,7 @@ class Medical {
|
||||
};
|
||||
};
|
||||
class ACE_ArmLeft {
|
||||
displayName = "$STR_ACE_Interaction_ArmLeft";
|
||||
displayName = CSTRING(ArmLeft);
|
||||
runOnHover = 1;
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_3(_target, true, 2)] call DFUNC(displayPatientInformation));
|
||||
@ -155,7 +155,7 @@ class Medical {
|
||||
icon = PATHTOF(UI\icons\medical_cross.paa);
|
||||
|
||||
class Bandage {
|
||||
displayName = "$STR_ACE_Medical_Bandage";
|
||||
displayName = CSTRING(Bandage);
|
||||
distance = 2.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
@ -168,7 +168,7 @@ class Medical {
|
||||
|
||||
// Advanced medical
|
||||
class FieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_FieldDressing";
|
||||
displayName = CSTRING(Actions_FieldDressing);
|
||||
distance = 5.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
@ -179,76 +179,76 @@ class Medical {
|
||||
icon = PATHTOF(UI\icons\bandage.paa);
|
||||
};
|
||||
class PackingBandage: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_PackingBandage";
|
||||
displayName = CSTRING(Actions_PackingBandage);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(treatment));
|
||||
icon = PATHTOF(UI\icons\packingBandage.paa);
|
||||
};
|
||||
class ElasticBandage: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_ElasticBandage";
|
||||
displayName = CSTRING(Actions_ElasticBandage);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(treatment));
|
||||
icon = PATHTOF(UI\icons\bandage.paa);
|
||||
};
|
||||
class QuikClot: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_QuikClot";
|
||||
displayName = CSTRING(Actions_QuikClot);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(treatment));
|
||||
icon = PATHTOF(UI\icons\bandage.paa);
|
||||
};
|
||||
class Tourniquet: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_Tourniquet";
|
||||
displayName = CSTRING(Actions_Tourniquet);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(treatment));
|
||||
icon = PATHTOF(UI\icons\tourniquet.paa);
|
||||
};
|
||||
class Morphine: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Inject_Morphine";
|
||||
displayName = CSTRING(Inject_Morphine);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(treatment));
|
||||
icon = PATHTOF(UI\icons\autoInjector.paa);
|
||||
};
|
||||
class Atropine: Morphine {
|
||||
displayName = "$STR_ACE_Medical_Inject_Atropine";
|
||||
displayName = CSTRING(Inject_Atropine);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(treatment));
|
||||
icon = PATHTOF(UI\icons\autoInjector.paa);
|
||||
};
|
||||
class Epinephrine: Morphine {
|
||||
displayName = "$STR_ACE_Medical_Inject_Epinephrine";
|
||||
displayName = CSTRING(Inject_Epinephrine);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(treatment));
|
||||
icon = PATHTOF(UI\icons\autoInjector.paa);
|
||||
};
|
||||
class CheckPulse: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_CheckPulse";
|
||||
displayName = CSTRING(Actions_CheckPulse);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckPulse')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckPulse')] call DFUNC(treatment));
|
||||
icon = "";
|
||||
};
|
||||
class CheckBloodPressure: CheckPulse {
|
||||
displayName = "$STR_ACE_Medical_Actions_CheckBloodPressure";
|
||||
displayName = CSTRING(Actions_CheckBloodPressure);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckBloodPressure')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckBloodPressure')] call DFUNC(treatment));
|
||||
};
|
||||
class RemoveTourniquet: Tourniquet {
|
||||
displayName = "$STR_ACE_Medical_Actions_RemoveTourniquet";
|
||||
displayName = CSTRING(Actions_RemoveTourniquet);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'RemoveTourniquet')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'RemoveTourniquet')] call DFUNC(treatment));
|
||||
};
|
||||
};
|
||||
class ACE_ArmRight {
|
||||
displayName = "$STR_ACE_Interaction_ArmRight";
|
||||
displayName = CSTRING(ArmRight);
|
||||
runOnHover = 1;
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_3(_target, true, 3)] call DFUNC(displayPatientInformation));
|
||||
@ -257,7 +257,7 @@ class Medical {
|
||||
icon = PATHTOF(UI\icons\medical_cross.paa);
|
||||
|
||||
class Bandage {
|
||||
displayName = "$STR_ACE_Medical_Bandage";
|
||||
displayName = CSTRING(Bandage);
|
||||
distance = 2.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
@ -270,7 +270,7 @@ class Medical {
|
||||
|
||||
// Advanced medical
|
||||
class FieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_FieldDressing";
|
||||
displayName = CSTRING(Actions_FieldDressing);
|
||||
distance = 5.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
@ -281,72 +281,72 @@ class Medical {
|
||||
icon = PATHTOF(UI\icons\bandage.paa);
|
||||
};
|
||||
class PackingBandage: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_PackingBandage";
|
||||
displayName = CSTRING(Actions_PackingBandage);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(treatment));
|
||||
icon = PATHTOF(UI\icons\packingBandage.paa);
|
||||
};
|
||||
class ElasticBandage: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_ElasticBandage";
|
||||
displayName = CSTRING(Actions_ElasticBandage);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'ElasticBandage')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'ElasticBandage')] call DFUNC(treatment));
|
||||
};
|
||||
class QuikClot: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_QuikClot";
|
||||
displayName = CSTRING(Actions_QuikClot);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'QuikClot')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'QuikClot')] call DFUNC(treatment));
|
||||
};
|
||||
class Tourniquet: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_Tourniquet";
|
||||
displayName = CSTRING(Actions_Tourniquet);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(treatment));
|
||||
icon = PATHTOF(UI\icons\tourniquet.paa);
|
||||
};
|
||||
class Morphine: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Inject_Morphine";
|
||||
displayName = CSTRING(Inject_Morphine);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(treatment));
|
||||
icon = PATHTOF(UI\icons\autoInjector.paa);
|
||||
};
|
||||
class Atropine: Morphine {
|
||||
displayName = "$STR_ACE_Medical_Inject_Atropine";
|
||||
displayName = CSTRING(Inject_Atropine);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Atropine')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Atropine')] call DFUNC(treatment));
|
||||
};
|
||||
class Epinephrine: Morphine {
|
||||
displayName = "$STR_ACE_Medical_Inject_Epinephrine";
|
||||
displayName = CSTRING(Inject_Epinephrine);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Epinephrine')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Epinephrine')] call DFUNC(treatment));
|
||||
};
|
||||
class CheckPulse: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_CheckPulse";
|
||||
displayName = CSTRING(Actions_CheckPulse);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckPulse')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckPulse')] call DFUNC(treatment));
|
||||
icon = "";
|
||||
};
|
||||
class CheckBloodPressure: CheckPulse {
|
||||
displayName = "$STR_ACE_Medical_Actions_CheckBloodPressure";
|
||||
displayName = CSTRING(Actions_CheckBloodPressure);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckBloodPressure')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckBloodPressure')] call DFUNC(treatment));
|
||||
};
|
||||
class RemoveTourniquet: Tourniquet {
|
||||
displayName = "$STR_ACE_Medical_Actions_RemoveTourniquet";
|
||||
displayName = CSTRING(Actions_RemoveTourniquet);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'RemoveTourniquet')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'RemoveTourniquet')] call DFUNC(treatment));
|
||||
};
|
||||
};
|
||||
class ACE_LegLeft {
|
||||
displayName = "$STR_ACE_Interaction_LegLeft";
|
||||
displayName = CSTRING(LegLeft);
|
||||
runOnHover = 1;
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_3(_target, true, 4)] call DFUNC(displayPatientInformation));
|
||||
@ -355,7 +355,7 @@ class Medical {
|
||||
icon = PATHTOF(UI\icons\medical_cross.paa);
|
||||
|
||||
class Bandage {
|
||||
displayName = "$STR_ACE_Medical_Bandage";
|
||||
displayName = CSTRING(Bandage);
|
||||
distance = 2.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
@ -369,7 +369,7 @@ class Medical {
|
||||
|
||||
// Advanced medical
|
||||
class FieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_FieldDressing";
|
||||
displayName = CSTRING(Actions_FieldDressing);
|
||||
distance = 5.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
@ -380,60 +380,60 @@ class Medical {
|
||||
icon = PATHTOF(UI\icons\bandage.paa);
|
||||
};
|
||||
class PackingBandage: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_PackingBandage";
|
||||
displayName = CSTRING(Actions_PackingBandage);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(treatment));
|
||||
icon = PATHTOF(UI\icons\packingBandage.paa);
|
||||
};
|
||||
class ElasticBandage: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_ElasticBandage";
|
||||
displayName = CSTRING(Actions_ElasticBandage);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'ElasticBandage')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'ElasticBandage')] call DFUNC(treatment));
|
||||
};
|
||||
class QuikClot: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_QuikClot";
|
||||
displayName = CSTRING(Actions_QuikClot);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'QuikClot')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'QuikClot')] call DFUNC(treatment));
|
||||
};
|
||||
class Tourniquet: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_Tourniquet";
|
||||
displayName = CSTRING(Actions_Tourniquet);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(treatment));
|
||||
icon = PATHTOF(UI\icons\tourniquet.paa);
|
||||
};
|
||||
class Morphine: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Inject_Morphine";
|
||||
displayName = CSTRING(Inject_Morphine);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(treatment));
|
||||
icon = PATHTOF(UI\icons\autoInjector.paa);
|
||||
};
|
||||
class Atropine: Morphine {
|
||||
displayName = "$STR_ACE_Medical_Inject_Atropine";
|
||||
displayName = CSTRING(Inject_Atropine);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(treatment));
|
||||
icon = PATHTOF(UI\icons\autoInjector.paa);
|
||||
};
|
||||
class Epinephrine: Morphine {
|
||||
displayName = "$STR_ACE_Medical_Inject_Epinephrine";
|
||||
displayName = CSTRING(Inject_Epinephrine);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Epinephrine')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Epinephrine')] call DFUNC(treatment));
|
||||
};
|
||||
class RemoveTourniquet: Tourniquet {
|
||||
displayName = "$STR_ACE_Medical_Actions_RemoveTourniquet";
|
||||
displayName = CSTRING(Actions_RemoveTourniquet);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'RemoveTourniquet')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'RemoveTourniquet')] call DFUNC(treatment));
|
||||
};
|
||||
};
|
||||
class ACE_LegRight {
|
||||
displayName = "$STR_ACE_Interaction_LegRight";
|
||||
displayName = CSTRING(LegRight);
|
||||
runOnHover = 1;
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_3(_target, true, 5)] call DFUNC(displayPatientInformation));
|
||||
@ -442,7 +442,7 @@ class Medical {
|
||||
icon = PATHTOF(UI\icons\medical_cross.paa);
|
||||
|
||||
class Bandage {
|
||||
displayName = "$STR_ACE_Medical_Bandage";
|
||||
displayName = CSTRING(Bandage);
|
||||
distance = 2.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
@ -456,7 +456,7 @@ class Medical {
|
||||
|
||||
// Advanced medical
|
||||
class FieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_FieldDressing";
|
||||
displayName = CSTRING(Actions_FieldDressing);
|
||||
distance = 5.0;
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
@ -467,52 +467,52 @@ class Medical {
|
||||
icon = PATHTOF(UI\icons\bandage.paa);
|
||||
};
|
||||
class PackingBandage: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_PackingBandage";
|
||||
displayName = CSTRING(Actions_PackingBandage);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(treatment));
|
||||
icon = PATHTOF(UI\icons\packingBandage.paa);
|
||||
};
|
||||
class ElasticBandage: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_ElasticBandage";
|
||||
displayName = CSTRING(Actions_ElasticBandage);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'ElasticBandage')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'ElasticBandage')] call DFUNC(treatment));
|
||||
};
|
||||
class QuikClot: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_QuikClot";
|
||||
displayName = CSTRING(Actions_QuikClot);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'QuikClot')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'QuikClot')] call DFUNC(treatment));
|
||||
};
|
||||
class Tourniquet: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_Tourniquet";
|
||||
displayName = CSTRING(Actions_Tourniquet);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(treatment));
|
||||
icon = PATHTOF(UI\icons\tourniquet.paa);
|
||||
};
|
||||
class Morphine: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Inject_Morphine";
|
||||
displayName = CSTRING(Inject_Morphine);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(treatment));
|
||||
icon = PATHTOF(UI\icons\autoInjector.paa);
|
||||
};
|
||||
class Atropine: Morphine {
|
||||
displayName = "$STR_ACE_Medical_Inject_Atropine";
|
||||
displayName = CSTRING(Inject_Atropine);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Atropine')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Atropine')] call DFUNC(treatment));
|
||||
};
|
||||
class Epinephrine: Morphine {
|
||||
displayName = "$STR_ACE_Medical_Inject_Epinephrine";
|
||||
displayName = CSTRING(Inject_Epinephrine);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Epinephrine')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Epinephrine')] call DFUNC(treatment));
|
||||
};
|
||||
class RemoveTourniquet: Tourniquet {
|
||||
displayName = "$STR_ACE_Medical_Actions_RemoveTourniquet";
|
||||
displayName = CSTRING(Actions_RemoveTourniquet);
|
||||
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'RemoveTourniquet')] call DFUNC(canTreatCached));
|
||||
exceptions[] = {"isNotInside"};
|
||||
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'RemoveTourniquet')] call DFUNC(treatment));
|
||||
|
@ -2,8 +2,8 @@
|
||||
class ACE_Medical_Actions {
|
||||
class Basic {
|
||||
class Bandage {
|
||||
displayName = "$STR_ACE_Medical_Bandage";
|
||||
displayNameProgress = "$STR_ACE_Medical_Bandaging";
|
||||
displayName = CSTRING(Bandage);
|
||||
displayNameProgress = CSTRING(Bandaging);
|
||||
|
||||
treatmentLocations[] = {"All"};
|
||||
requiredMedic = 0;
|
||||
@ -27,8 +27,8 @@ class ACE_Medical_Actions {
|
||||
litter[] = { {"All", "", {{"ACE_MedicalLitterBase", "ACE_MedicalLitter_bandage1", "ACE_MedicalLitter_bandage2", "ACE_MedicalLitter_bandage3"}}} };
|
||||
};
|
||||
class Morphine: Bandage {
|
||||
displayName = "$STR_ACE_Medical_Inject_Morphine";
|
||||
displayNameProgress = "$STR_ACE_Medical_Injecting_Morphine";
|
||||
displayName = CSTRING(Inject_Morphine);
|
||||
displayNameProgress = CSTRING(Injecting_Morphine);
|
||||
treatmentTime = 2;
|
||||
items[] = {"ACE_morphine"};
|
||||
callbackSuccess = QUOTE(DFUNC(treatmentBasic_morphine));
|
||||
@ -36,8 +36,8 @@ class ACE_Medical_Actions {
|
||||
litter[] = { {"All", "", {"ACE_MedicalLitter_morphine"}} };
|
||||
};
|
||||
class Epinephrine: Bandage {
|
||||
displayName = "$STR_ACE_Medical_Inject_Epinephrine";
|
||||
displayNameProgress = "$STR_ACE_Medical_Injecting_Epinephrine";
|
||||
displayName = CSTRING(Inject_Epinephrine);
|
||||
displayNameProgress = CSTRING(Injecting_Epinephrine);
|
||||
requiredMedic = 1;
|
||||
treatmentTime = 3;
|
||||
items[] = {"ACE_epinephrine"};
|
||||
@ -46,8 +46,8 @@ class ACE_Medical_Actions {
|
||||
litter[] = { {"All", "", {"ACE_MedicalLitter_epinephrine"}} };
|
||||
};
|
||||
class BloodIV: Bandage {
|
||||
displayName = "$STR_ACE_Medical_Transfuse_Blood";
|
||||
displayNameProgress = "$STR_ACE_Medical_Transfusing_Blood";
|
||||
displayName = CSTRING(Transfuse_Blood);
|
||||
displayNameProgress = CSTRING(Transfusing_Blood);
|
||||
requiredMedic = 1;
|
||||
treatmentTime = 20;
|
||||
items[] = {"ACE_bloodIV"};
|
||||
@ -62,8 +62,8 @@ class ACE_Medical_Actions {
|
||||
items[] = {"ACE_bloodIV_250"};
|
||||
};
|
||||
class BodyBag: Bandage {
|
||||
displayName = "$STR_ACE_Medical_PlaceInBodyBag";
|
||||
displayNameProgress = "$STR_ACE_Medical_PlacingInBodyBag";
|
||||
displayName = CSTRING(PlaceInBodyBag);
|
||||
displayNameProgress = CSTRING(PlacingInBodyBag);
|
||||
treatmentLocations[] = {"All"};
|
||||
requiredMedic = 0;
|
||||
treatmentTime = 2;
|
||||
@ -78,8 +78,8 @@ class ACE_Medical_Actions {
|
||||
litter[] = {};
|
||||
};
|
||||
class Diagnose: Bandage {
|
||||
displayName = "$STR_ACE_Medical_Actions_Diagnose";
|
||||
displayNameProgress = "$STR_ACE_Medical_Actions_Diagnosing";
|
||||
displayName = CSTRING(Actions_Diagnose);
|
||||
displayNameProgress = CSTRING(Actions_Diagnosing);
|
||||
treatmentLocations[] = {"All"};
|
||||
requiredMedic = 0;
|
||||
treatmentTime = 1;
|
||||
@ -96,8 +96,8 @@ class ACE_Medical_Actions {
|
||||
|
||||
class Advanced {
|
||||
class FieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Bandage";
|
||||
displayNameProgress = "$STR_ACE_Medical_Bandaging";
|
||||
displayName = CSTRING(Bandage);
|
||||
displayNameProgress = CSTRING(Bandaging);
|
||||
// Which locations can this treatment action be used? Available: Field, MedicalFacility, MedicalVehicle, All.
|
||||
treatmentLocations[] = {"All"};
|
||||
// What is the level of medical skill required for this treatment action? 0 = all soldiers, 1 = medic, 2 = doctor
|
||||
@ -131,8 +131,8 @@ class ACE_Medical_Actions {
|
||||
items[] = {"ACE_quikclot"};
|
||||
};
|
||||
class Tourniquet: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Apply_Tourniquet";
|
||||
displayNameProgress = "$STR_ACE_Medical_Applying_Tourniquet";
|
||||
displayName = CSTRING(Apply_Tourniquet);
|
||||
displayNameProgress = CSTRING(Applying_Tourniquet);
|
||||
items[] = {"ACE_tourniquet"};
|
||||
treatmentTime = 6;
|
||||
callbackSuccess = QUOTE(DFUNC(treatmentTourniquet));
|
||||
@ -140,8 +140,8 @@ class ACE_Medical_Actions {
|
||||
litter[] = {};
|
||||
};
|
||||
class Morphine: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Inject_Morphine";
|
||||
displayNameProgress = "$STR_ACE_Medical_Injecting_Morphine";
|
||||
displayName = CSTRING(Inject_Morphine);
|
||||
displayNameProgress = CSTRING(Injecting_Morphine);
|
||||
items[] = {"ACE_morphine"};
|
||||
treatmentTime = 3;
|
||||
callbackSuccess = QUOTE(DFUNC(treatmentAdvanced_medication));
|
||||
@ -149,20 +149,20 @@ class ACE_Medical_Actions {
|
||||
litter[] = { {"All", "", {"ACE_MedicalLitter_morphine"}} };
|
||||
};
|
||||
class Atropine: Morphine {
|
||||
displayName = "$STR_ACE_Medical_Inject_Atropine";
|
||||
displayNameProgress = "$STR_ACE_Medical_Injecting_Atropine";
|
||||
displayName = CSTRING(Inject_Atropine);
|
||||
displayNameProgress = CSTRING(Injecting_Atropine);
|
||||
items[] = {"ACE_atropine"};
|
||||
litter[] = { {"All", "", {"ACE_MedicalLitter_atropine"}} };
|
||||
};
|
||||
class Epinephrine: Morphine {
|
||||
displayName = "$STR_ACE_Medical_Inject_Epinephrine";
|
||||
displayNameProgress = "$STR_ACE_Medical_Injecting_Epinephrine";
|
||||
displayName = CSTRING(Inject_Epinephrine);
|
||||
displayNameProgress = CSTRING(Injecting_Epinephrine);
|
||||
items[] = {"ACE_epinephrine"};
|
||||
litter[] = { {"All", "", {"ACE_MedicalLitter_epinephrine"}} };
|
||||
};
|
||||
class BloodIV: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Transfuse_Blood";
|
||||
displayNameProgress = "$STR_ACE_Medical_Transfusing_Blood";
|
||||
displayName = CSTRING(Transfuse_Blood);
|
||||
displayNameProgress = CSTRING(Transfusing_Blood);
|
||||
items[] = {"ACE_bloodIV"};
|
||||
requiredMedic = 1;
|
||||
treatmentTime = 7;
|
||||
@ -177,8 +177,8 @@ class ACE_Medical_Actions {
|
||||
items[] = {"ACE_bloodIV_250"};
|
||||
};
|
||||
class PlasmaIV: BloodIV {
|
||||
displayName = "$STR_ACE_Medical_Transfuse_Plasma";
|
||||
displayNameProgress = "$STR_ACE_Medical_Transfusing_Plasma";
|
||||
displayName = CSTRING(Transfuse_Plasma);
|
||||
displayNameProgress = CSTRING(Transfusing_Plasma);
|
||||
items[] = {"ACE_plasmaIV"};
|
||||
animationCaller = "AinvPknlMstpSnonWnonDnon_medic1";
|
||||
};
|
||||
@ -189,8 +189,8 @@ class ACE_Medical_Actions {
|
||||
items[] = {"ACE_plasmaIV_250"};
|
||||
};
|
||||
class SalineIV: BloodIV {
|
||||
displayName = "$STR_ACE_Medical_Transfuse_Saline";
|
||||
displayNameProgress = "$STR_ACE_Medical_Transfusing_Saline";
|
||||
displayName = CSTRING(Transfuse_Saline);
|
||||
displayNameProgress = CSTRING(Transfusing_Saline);
|
||||
items[] = {"ACE_salineIV"};
|
||||
animationCaller = "AinvPknlMstpSnonWnonDnon_medic1";
|
||||
};
|
||||
@ -202,7 +202,7 @@ class ACE_Medical_Actions {
|
||||
};
|
||||
class SurgicalKit: fieldDressing {
|
||||
displayName = "";
|
||||
displayNameProgress = "$STR_ACE_Medical_TreatmentAction";
|
||||
displayNameProgress = CSTRING(TreatmentAction);
|
||||
items[] = {"ACE_surgicalKit"};
|
||||
treatmentLocations[] = {QGVAR(useLocation_SurgicalKit)};
|
||||
requiredMedic = QGVAR(medicSetting_SurgicalKit);
|
||||
@ -214,7 +214,7 @@ class ACE_Medical_Actions {
|
||||
};
|
||||
class PersonalAidKit: fieldDressing {
|
||||
displayName = "";
|
||||
displayNameProgress = "$STR_ACE_Medical_TreatmentAction";
|
||||
displayNameProgress = CSTRING(TreatmentAction);
|
||||
items[] = {"ACE_personalAidKit"};
|
||||
treatmentLocations[] = {QGVAR(useLocation_PAK)};
|
||||
requiredMedic = QGVAR(medicSetting_PAK);
|
||||
@ -231,7 +231,7 @@ class ACE_Medical_Actions {
|
||||
};
|
||||
class CheckPulse: fieldDressing {
|
||||
displayName = "";
|
||||
displayNameProgress = "$STR_ACE_Medical_Check_Pulse_Content";
|
||||
displayNameProgress = CSTRING(Check_Pulse_Content);
|
||||
treatmentLocations[] = {"All"};
|
||||
requiredMedic = 0;
|
||||
treatmentTime = 2;
|
||||
@ -246,21 +246,21 @@ class ACE_Medical_Actions {
|
||||
};
|
||||
class CheckBloodPressure: CheckPulse {
|
||||
callbackSuccess = QUOTE(DFUNC(actionCheckBloodPressure));
|
||||
displayNameProgress = "$STR_ACE_Medical_Check_Bloodpressure_Content";
|
||||
displayNameProgress = CSTRING(Check_Bloodpressure_Content);
|
||||
};
|
||||
class CheckResponse: CheckPulse {
|
||||
callbackSuccess = QUOTE(DFUNC(actionCheckResponse));
|
||||
displayNameProgress = "$STR_ACE_Medical_Check_Response_Content";
|
||||
displayNameProgress = CSTRING(Check_Response_Content);
|
||||
};
|
||||
class RemoveTourniquet: CheckPulse {
|
||||
treatmentTime = 2.5;
|
||||
callbackSuccess = QUOTE(DFUNC(actionRemoveTourniquet));
|
||||
condition = QUOTE([ARR_2(_this select 1, _this select 2)] call FUNC(hasTourniquetAppliedTo));
|
||||
displayNameProgress = "$STR_ACE_Medical_RemovingTourniquet";
|
||||
displayNameProgress = CSTRING(RemovingTourniquet);
|
||||
};
|
||||
class CPR: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_Actions_CPR";
|
||||
displayNameProgress = "$STR_ACE_Medical_Actions_PerformingCPR";
|
||||
displayName = CSTRING(Actions_CPR);
|
||||
displayNameProgress = CSTRING(Actions_PerformingCPR);
|
||||
treatmentLocations[] = {"All"};
|
||||
requiredMedic = 0;
|
||||
treatmentTime = 15;
|
||||
@ -279,8 +279,8 @@ class ACE_Medical_Actions {
|
||||
litter[] = {};
|
||||
};
|
||||
class BodyBag: fieldDressing {
|
||||
displayName = "$STR_ACE_Medical_PlaceInBodyBag";
|
||||
displayNameProgress = "$STR_ACE_Medical_PlacingInBodyBag";
|
||||
displayName = CSTRING(PlaceInBodyBag);
|
||||
displayNameProgress = CSTRING(PlacingInBodyBag);
|
||||
treatmentLocations[] = {"All"};
|
||||
requiredMedic = 0;
|
||||
treatmentTime = 2;
|
||||
@ -306,26 +306,26 @@ class ACE_Medical_Advanced {
|
||||
// Source: Scarle
|
||||
// Also called scrapes, they occur when the skin is rubbed away by friction against another rough surface (e.g. rope burns and skinned knees).
|
||||
class Abrasion {
|
||||
name = "$STR_ACE_Medical_Wounds_Abrasion";
|
||||
name = CSTRING(Wounds_Abrasion);
|
||||
selections[] = {"All"};
|
||||
bleedingRate = 0.0001;
|
||||
pain = 0.01;
|
||||
causes[] = {"falling", "ropeburn", "vehiclecrash", "unknown"};
|
||||
minDamage = 0.01;
|
||||
class Minor {
|
||||
name = "$STR_ACE_Medical_Wounds_Abrasion_Minor";
|
||||
name = CSTRING(Wounds_Abrasion_Minor);
|
||||
minDamage = 0.01;
|
||||
maxDamage = 0.2;
|
||||
bleedingRate = 0.0001;
|
||||
};
|
||||
class Medium {
|
||||
name = "$STR_ACE_Medical_Wounds_Abrasion_Medium";
|
||||
name = CSTRING(Wounds_Abrasion_Medium);
|
||||
minDamage = 0.2;
|
||||
maxDamage = 0.3;
|
||||
bleedingRate = 0.00015;
|
||||
};
|
||||
class Large {
|
||||
name = "$STR_ACE_Medical_Wounds_Abrasion_Large";
|
||||
name = CSTRING(Wounds_Abrasion_Large);
|
||||
minDamage = 0.3;
|
||||
bleedingRate = 0.0002;
|
||||
};
|
||||
@ -333,26 +333,26 @@ class ACE_Medical_Advanced {
|
||||
|
||||
// Occur when an entire structure or part of it is forcibly pulled away, such as the loss of a permanent tooth or an ear lobe. Explosions, gunshots, and animal bites may cause avulsions.
|
||||
class Avulsions {
|
||||
name = "$STR_ACE_Medical_Wounds_Avulsion";
|
||||
name = CSTRING(Wounds_Avulsion);
|
||||
selections[] = {"All"};
|
||||
bleedingRate = 0.01;
|
||||
pain = 0.3;
|
||||
causes[] = {"explosive", "vehiclecrash", "grenade", "shell", "bullet", "backblast", "bite"};
|
||||
minDamage = 0.2;
|
||||
class Minor {
|
||||
name = "$STR_ACE_Medical_Wounds_Avulsion_Minor";
|
||||
name = CSTRING(Wounds_Avulsion_Minor);
|
||||
minDamage = 0.2;
|
||||
maxDamage = 0.3;
|
||||
bleedingRate = 0.01;
|
||||
};
|
||||
class Medium {
|
||||
name = "$STR_ACE_Medical_Wounds_Avulsion_Medium";
|
||||
name = CSTRING(Wounds_Avulsion_Medium);
|
||||
minDamage = 0.3;
|
||||
maxDamage = 0.6;
|
||||
bleedingRate = 0.02;
|
||||
};
|
||||
class Large {
|
||||
name = "$STR_ACE_Medical_Wounds_Avulsion_Large";
|
||||
name = CSTRING(Wounds_Avulsion_Large);
|
||||
minDamage = 0.5;
|
||||
bleedingRate = 0.05;
|
||||
};
|
||||
@ -360,7 +360,7 @@ class ACE_Medical_Advanced {
|
||||
|
||||
// Also called bruises, these are the result of a forceful trauma that injures an internal structure without breaking the skin. Blows to the chest, abdomen, or head with a blunt instrument (e.g. a football or a fist) can cause contusions.
|
||||
class Contusion {
|
||||
name = "$STR_ACE_Medical_Wounds_Contusion";
|
||||
name = CSTRING(Wounds_Contusion);
|
||||
selections[] = {"All"};
|
||||
bleedingRate = 0.0;
|
||||
pain = 0.05;
|
||||
@ -368,17 +368,17 @@ class ACE_Medical_Advanced {
|
||||
minDamage = 0.01;
|
||||
maxDamage = 0.1;
|
||||
class Minor {
|
||||
name = "$STR_ACE_Medical_Wounds_Contusion_Minor";
|
||||
name = CSTRING(Wounds_Contusion_Minor);
|
||||
minDamage = 0.01;
|
||||
maxDamage = 0.1;
|
||||
};
|
||||
class Medium {
|
||||
name = "$STR_ACE_Medical_Wounds_Contusion_Medium";
|
||||
name = CSTRING(Wounds_Contusion_Medium);
|
||||
minDamage = 0.1;
|
||||
maxDamage = 0.15;
|
||||
};
|
||||
class Large {
|
||||
name = "$STR_ACE_Medical_Wounds_Contusion_Large";
|
||||
name = CSTRING(Wounds_Contusion_Large);
|
||||
minDamage = 0.15;
|
||||
maxDamage = 0.2;
|
||||
};
|
||||
@ -386,26 +386,26 @@ class ACE_Medical_Advanced {
|
||||
|
||||
// Occur when a heavy object falls onto a person, splitting the skin and shattering or tearing underlying structures.
|
||||
class CrushWound {
|
||||
name = "$STR_ACE_Medical_Wounds_Crush";
|
||||
name = CSTRING(Wounds_Crush);
|
||||
selections[] = {"All"};
|
||||
bleedingRate = 0.01;
|
||||
pain = 0.1;
|
||||
causes[] = {"falling", "vehiclecrash", "punch", "unknown"};
|
||||
minDamage = 0.1;
|
||||
class Minor {
|
||||
name = "$STR_ACE_Medical_Wounds_Crush_Minor";
|
||||
name = CSTRING(Wounds_Crush_Minor);
|
||||
minDamage = 0.1;
|
||||
maxDamage = 0.45;
|
||||
bleedingRate = 0.005;
|
||||
};
|
||||
class Medium {
|
||||
name = "$STR_ACE_Medical_Wounds_Crush_Medium";
|
||||
name = CSTRING(Wounds_Crush_Medium);
|
||||
minDamage = 0.4;
|
||||
maxDamage = 0.7;
|
||||
bleedingRate = 0.007;
|
||||
};
|
||||
class Large {
|
||||
name = "$STR_ACE_Medical_Wounds_Crush_Large";
|
||||
name = CSTRING(Wounds_Crush_Large);
|
||||
minDamage = 0.6;
|
||||
bleedingRate = 0.0095;
|
||||
};
|
||||
@ -413,26 +413,26 @@ class ACE_Medical_Advanced {
|
||||
|
||||
// Slicing wounds made with a sharp instrument, leaving even edges. They may be as minimal as a paper cut or as significant as a surgical incision.
|
||||
class Cut {
|
||||
name = "$STR_ACE_Medical_Wounds_Cut";
|
||||
name = CSTRING(Wounds_Cut);
|
||||
selections[] = {"All"};
|
||||
bleedingRate = 0.01;
|
||||
pain = 0.075;
|
||||
causes[] = {"vehiclecrash", "grenade", "explosive", "shell", "backblast", "stab", "unknown"};
|
||||
minDamage = 0.1;
|
||||
class Minor {
|
||||
name = "$STR_ACE_Medical_Wounds_Cut_Minor";
|
||||
name = CSTRING(Wounds_Cut_Minor);
|
||||
minDamage = 0.1;
|
||||
maxDamage = 0.3;
|
||||
bleedingRate = 0.005;
|
||||
};
|
||||
class Medium {
|
||||
name = "$STR_ACE_Medical_Wounds_Cut_Medium";
|
||||
name = CSTRING(Wounds_Cut_Medium);
|
||||
minDamage = 0.3;
|
||||
maxDamage = 0.65;
|
||||
bleedingRate = 0.02;
|
||||
};
|
||||
class Large {
|
||||
name = "$STR_ACE_Medical_Wounds_Cut_Large";
|
||||
name = CSTRING(Wounds_Cut_Large);
|
||||
minDamage = 0.65;
|
||||
bleedingRate = 0.05;
|
||||
};
|
||||
@ -440,26 +440,26 @@ class ACE_Medical_Advanced {
|
||||
|
||||
// Also called tears, these are separating wounds that produce ragged edges. They are produced by a tremendous force against the body, either from an internal source as in childbirth, or from an external source like a punch.
|
||||
class Laceration {
|
||||
name = "$STR_ACE_Medical_Wounds_Laceration";
|
||||
name = CSTRING(Wounds_Laceration);
|
||||
selections[] = {"All"};
|
||||
bleedingRate = 0.01;
|
||||
pain = 0.075;
|
||||
causes[] = {"vehiclecrash", "punch"};
|
||||
minDamage = 0.01;
|
||||
class Minor {
|
||||
name = "$STR_ACE_Medical_Wounds_Laceration_Minor";
|
||||
name = CSTRING(Wounds_Laceration_Minor);
|
||||
minDamage = 0.1;
|
||||
maxDamage = 0.5;
|
||||
bleedingRate = 0.005;
|
||||
};
|
||||
class Medium {
|
||||
name = "$STR_ACE_Medical_Wounds_Laceration_Medium";
|
||||
name = CSTRING(Wounds_Laceration_Medium);
|
||||
minDamage = 0.5;
|
||||
maxDamage = 0.7;
|
||||
bleedingRate = 0.01;
|
||||
};
|
||||
class Large {
|
||||
name = "$STR_ACE_Medical_Wounds_Laceration_Large";
|
||||
name = CSTRING(Wounds_Laceration_Large);
|
||||
minDamage = 0.7;
|
||||
bleedingRate = 0.03;
|
||||
};
|
||||
@ -467,25 +467,25 @@ class ACE_Medical_Advanced {
|
||||
|
||||
// Also called velocity wounds, they are caused by an object entering the body at a high speed, typically a bullet or small peices of shrapnel.
|
||||
class velocityWound {
|
||||
name = "$STR_ACE_Medical_Wounds_VelocityWound";
|
||||
name = CSTRING(Wounds_VelocityWound);
|
||||
selections[] = {"All"};
|
||||
bleedingRate = 0.01;
|
||||
pain = 0.2;
|
||||
causes[] = {"bullet", "grenade","explosive", "shell", "unknown"};
|
||||
minDamage = 0.15;
|
||||
class Minor {
|
||||
name = "$STR_ACE_Medical_Wounds_VelocityWound_Minor";
|
||||
name = CSTRING(Wounds_VelocityWound_Minor);
|
||||
minDamage = 0.15;
|
||||
maxDamage = 0.3;
|
||||
bleedingRate = 0.025;
|
||||
};
|
||||
class Medium {
|
||||
name = "$STR_ACE_Medical_Wounds_VelocityWound_Medium";
|
||||
name = CSTRING(Wounds_VelocityWound_Medium);
|
||||
minDamage = 0.3;
|
||||
bleedingRate = 0.05;
|
||||
};
|
||||
class Large {
|
||||
name = "$STR_ACE_Medical_Wounds_VelocityWound_Large";
|
||||
name = CSTRING(Wounds_VelocityWound_Large);
|
||||
minDamage = 0.75;
|
||||
bleedingRate = 0.1;
|
||||
};
|
||||
@ -493,26 +493,26 @@ class ACE_Medical_Advanced {
|
||||
|
||||
// Deep, narrow wounds produced by sharp objects such as nails, knives, and broken glass.
|
||||
class punctureWound {
|
||||
name = "$STR_ACE_Medical_Wounds_PunctureWound";
|
||||
name = CSTRING(Wounds_PunctureWound);
|
||||
selections[] = {"All"};
|
||||
bleedingRate = 0.01;
|
||||
pain = 0.075;
|
||||
causes[] = {"stab", "grenade"};
|
||||
minDamage = 0.01;
|
||||
class Minor {
|
||||
name = "$STR_ACE_Medical_Wounds_PunctureWound_Minor";
|
||||
name = CSTRING(Wounds_PunctureWound_Minor);
|
||||
minDamage = 0.01;
|
||||
maxDamage = 0.5;
|
||||
bleedingRate = 0.01;
|
||||
};
|
||||
class Medium {
|
||||
name = "$STR_ACE_Medical_Wounds_PunctureWound_Medium";
|
||||
name = CSTRING(Wounds_PunctureWound_Medium);
|
||||
minDamage = 0.5;
|
||||
maxDamage = 0.75;
|
||||
bleedingRate = 0.03;
|
||||
};
|
||||
class Large {
|
||||
name = "$STR_ACE_Medical_Wounds_PunctureWound_Large";
|
||||
name = CSTRING(Wounds_PunctureWound_Large);
|
||||
minDamage = 0.65;
|
||||
bleedingRate = 0.08;
|
||||
};
|
||||
@ -520,7 +520,7 @@ class ACE_Medical_Advanced {
|
||||
};
|
||||
class fractures {
|
||||
class Femur {
|
||||
name = "$STR_ACE_Medical_Wounds_Femur";
|
||||
name = CSTRING(Wounds_Femur);
|
||||
selections[] = {"Head", "Torso"};
|
||||
pain = 0.2;
|
||||
causes[] = {"Bullet", "VehicleCrash", "Backblast", "Explosive", "Shell", "Grenade"};
|
||||
|
@ -85,8 +85,8 @@ class ACE_Settings {
|
||||
value = 1;
|
||||
};
|
||||
class GVAR(litterSimulationDetail) {
|
||||
displayName = "$STR_ACE_Medical_litterSimulationDetail";
|
||||
description = "$STR_ACE_Medical_litterSimulationDetail_Desc";
|
||||
displayName = CSTRING(litterSimulationDetail);
|
||||
description = CSTRING(litterSimulationDetail_Desc);
|
||||
typeName = "SCALAR";
|
||||
|
||||
value = 3;
|
||||
@ -138,7 +138,7 @@ class ACE_Settings {
|
||||
value = 1;
|
||||
};
|
||||
class GVAR(painEffectType) {
|
||||
displayName = "$STR_ACE_Medical_painEffectType";
|
||||
displayName = CSTRING(painEffectType);
|
||||
typeName = "SCALAR";
|
||||
value = 0;
|
||||
values[] = {"$STR_ACE_Medical_painEffect_Flash", "$STR_ACE_Medical_painEffect_Chroma"};
|
||||
@ -154,8 +154,8 @@ class ACE_Settings {
|
||||
};
|
||||
|
||||
class GVAR(menuTypeStyle) {
|
||||
displayName = "$STR_ACE_Medical_menuTypeDisplay";
|
||||
description = "$STR_ACE_Medical_menuTypeDescription";
|
||||
displayName = CSTRING(menuTypeDisplay);
|
||||
description = CSTRING(menuTypeDescription);
|
||||
typeName = "SCALAR";
|
||||
value = 0;
|
||||
values[] = {"$STR_ACE_Medical_useSelection"/*, "$STR_ACE_Medical_useRadial"*/};
|
||||
|
@ -1,6 +1,6 @@
|
||||
class CfgFactionClasses {
|
||||
class NO_CATEGORY;
|
||||
class ADDON: NO_CATEGORY {
|
||||
displayName = "$STR_ACE_Medical_Category_DisplayName";
|
||||
displayName = CSTRING(Category_DisplayName);
|
||||
};
|
||||
};
|
||||
|
@ -11,7 +11,7 @@ class CfgVehicles {
|
||||
class ACE_Module;
|
||||
class ACE_moduleMedicalSettings: ACE_Module {
|
||||
scope = 2;
|
||||
displayName = "$STR_ACE_MedicalSettings_Module_DisplayName";
|
||||
displayName = CSTRING(Module_DisplayName);
|
||||
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
|
||||
category = "ACE_medical";
|
||||
function = QUOTE(DFUNC(moduleMedicalSettings));
|
||||
@ -21,78 +21,78 @@ class CfgVehicles {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
class Arguments {
|
||||
class level {
|
||||
displayName = "$STR_ACE_MedicalSettings_level_DisplayName";
|
||||
description = "$STR_ACE_MedicalSettings_level_Description";
|
||||
displayName = CSTRING(level_DisplayName);
|
||||
description = CSTRING(level_Description);
|
||||
typeName = "NUMBER";
|
||||
class values {
|
||||
class normal {
|
||||
name = "$STR_ACE_MedicalSettings_basic";
|
||||
name = CSTRING(basic);
|
||||
value = 1;
|
||||
default = 1;
|
||||
};
|
||||
class full {
|
||||
name = "$STR_ACE_MedicalSettings_advanced";
|
||||
name = CSTRING(advanced);
|
||||
value = 2;
|
||||
};
|
||||
};
|
||||
};
|
||||
class medicSetting {
|
||||
displayName = "$STR_ACE_MedicalSettings_medicSetting_DisplayName";
|
||||
description = "$STR_ACE_MedicalSettings_medicSetting_Description";
|
||||
displayName = CSTRING(medicSetting_DisplayName);
|
||||
description = CSTRING(medicSetting_Description);
|
||||
typeName = "NUMBER";
|
||||
class values {
|
||||
class disable {
|
||||
name = "$STR_ACE_MedicalSettings_medicSetting_disable";
|
||||
name = CSTRING(medicSetting_disable);
|
||||
value = 0;
|
||||
};
|
||||
class normal {
|
||||
name = "$STR_ACE_MedicalSettings_basic";
|
||||
name = CSTRING(basic);
|
||||
value = 1;
|
||||
default = 1;
|
||||
};
|
||||
class full {
|
||||
name = "$STR_ACE_MedicalSettings_advanced";
|
||||
name = CSTRING(advanced);
|
||||
value = 2;
|
||||
};
|
||||
};
|
||||
};
|
||||
class allowLitterCreation {
|
||||
displayName = "$STR_ACE_MedicalSettings_allowLitterCreation_DisplayName";
|
||||
description = "$STR_ACE_MedicalSettings_allowLitterCreation_Description";
|
||||
displayName = CSTRING(allowLitterCreation_DisplayName);
|
||||
description = CSTRING(allowLitterCreation_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 1;
|
||||
};
|
||||
class litterCleanUpDelay {
|
||||
displayName = "$STR_ACE_MedicalSettings_litterCleanUpDelay_DisplayName";
|
||||
description = "$STR_ACE_MedicalSettings_litterCleanUpDelay_Description";
|
||||
displayName = CSTRING(litterCleanUpDelay_DisplayName);
|
||||
description = CSTRING(litterCleanUpDelay_Description);
|
||||
typeName = "NUMBER";
|
||||
defaultValue = 1800;
|
||||
};
|
||||
class enableScreams {
|
||||
displayName = "$STR_ACE_MedicalSettings_enableScreams_DisplayName";
|
||||
description = "$STR_ACE_MedicalSettings_enableScreams_Description";
|
||||
displayName = CSTRING(enableScreams_DisplayName);
|
||||
description = CSTRING(enableScreams_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 1;
|
||||
};
|
||||
class playerDamageThreshold {
|
||||
displayName = "$STR_ACE_MedicalSettings_playerDamageThreshold_DisplayName";
|
||||
description = "$STR_ACE_MedicalSettings_playerDamageThreshold_Description";
|
||||
displayName = CSTRING(playerDamageThreshold_DisplayName);
|
||||
description = CSTRING(playerDamageThreshold_Description);
|
||||
typeName = "NUMBER";
|
||||
defaultValue = 1;
|
||||
};
|
||||
class AIDamageThreshold {
|
||||
displayName = "$STR_ACE_MedicalSettings_AIDamageThreshold_DisplayName";
|
||||
description = "$STR_ACE_MedicalSettings_AIDamageThreshold_Description";
|
||||
displayName = CSTRING(AIDamageThreshold_DisplayName);
|
||||
description = CSTRING(AIDamageThreshold_Description);
|
||||
typeName = "NUMBER";
|
||||
defaultValue = 1;
|
||||
};
|
||||
class enableUnconsciousnessAI {
|
||||
displayName = "$STR_ACE_MedicalSettings_enableUnconsciousnessAI_DisplayName";
|
||||
description = "$STR_ACE_MedicalSettings_enableUnconsciousnessAI_Description";
|
||||
displayName = CSTRING(enableUnconsciousnessAI_DisplayName);
|
||||
description = CSTRING(enableUnconsciousnessAI_Description);
|
||||
typeName = "NUMBER";
|
||||
class values {
|
||||
class disable {
|
||||
name = "$STR_ACE_Medical_disabled";
|
||||
name = CSTRING(disabled);
|
||||
value = 0;
|
||||
};
|
||||
class normal {
|
||||
@ -101,45 +101,45 @@ class CfgVehicles {
|
||||
default = 1;
|
||||
};
|
||||
class full {
|
||||
name = "$STR_ACE_Medical_enabled";
|
||||
name = CSTRING(enabled);
|
||||
value = 2;
|
||||
};
|
||||
};
|
||||
};
|
||||
class preventInstaDeath {
|
||||
displayName = "$STR_ACE_MedicalSettings_preventInstaDeath_DisplayName";
|
||||
description = "$STR_ACE_MedicalSettings_preventInstaDeath_Description";
|
||||
displayName = CSTRING(preventInstaDeath_DisplayName);
|
||||
description = CSTRING(preventInstaDeath_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 0;
|
||||
};
|
||||
class bleedingCoefficient {
|
||||
displayName = "$STR_ACE_MedicalSettings_bleedingCoefficient_DisplayName";
|
||||
description = "$STR_ACE_MedicalSettings_bleedingCoefficient_Description";
|
||||
displayName = CSTRING(bleedingCoefficient_DisplayName);
|
||||
description = CSTRING(bleedingCoefficient_Description);
|
||||
typeName = "NUMBER";
|
||||
defaultValue = 1;
|
||||
};
|
||||
class painCoefficient {
|
||||
displayName = "$STR_ACE_MedicalSettings_painCoefficient_DisplayName";
|
||||
description = "$STR_ACE_MedicalSettings_painCoefficient_Description";
|
||||
displayName = CSTRING(painCoefficient_DisplayName);
|
||||
description = CSTRING(painCoefficient_Description);
|
||||
typeName = "NUMBER";
|
||||
defaultValue = 1;
|
||||
};
|
||||
class keepLocalSettingsSynced {
|
||||
displayName = "$STR_ACE_MedicalSettings_keepLocalSettingsSynced_DisplayName";
|
||||
description = "$STR_ACE_MedicalSettings_keepLocalSettingsSynced_Description";
|
||||
displayName = CSTRING(keepLocalSettingsSynced_DisplayName);
|
||||
description = CSTRING(keepLocalSettingsSynced_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 1;
|
||||
};
|
||||
};
|
||||
class ModuleDescription {
|
||||
description = "$STR_ACE_MedicalSettings_Module_Description";
|
||||
description = CSTRING(Module_Description);
|
||||
sync[] = {};
|
||||
};
|
||||
};
|
||||
|
||||
class ACE_moduleAdvancedMedicalSettings: ACE_Module {
|
||||
scope = 2;
|
||||
displayName = "$STR_ACE_AdvancedMedicalSettings_Module_DisplayName";
|
||||
displayName = CSTRING(Module_DisplayName);
|
||||
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
|
||||
category = "ACE_medical";
|
||||
function = QUOTE(FUNC(moduleAdvancedMedicalSettings));
|
||||
@ -150,81 +150,81 @@ class CfgVehicles {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
class Arguments {
|
||||
class enableFor {
|
||||
displayName = "$STR_ACE_AdvancedMedicalSettings_enableFor_DisplayName";
|
||||
description = "$STR_ACE_AdvancedMedicalSettings_enableFor_Description";
|
||||
displayName = CSTRING(enableFor_DisplayName);
|
||||
description = CSTRING(enableFor_Description);
|
||||
typeName = "NUMBER";
|
||||
class values {
|
||||
class playableUnits {
|
||||
name = "$STR_ACE_Medical_playeronly";
|
||||
name = CSTRING(playeronly);
|
||||
value = 0;
|
||||
default = 1;
|
||||
};
|
||||
class playableUnitsAndAI {
|
||||
name = "$STR_ACE_Medical_playersandai";
|
||||
name = CSTRING(playersandai);
|
||||
value = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
class enableAdvancedWounds {
|
||||
displayName = "$STR_ACE_AdvancedMedicalSettings_enableAdvancedWounds_DisplayName";
|
||||
description = "$STR_ACE_AdvancedMedicalSettings_enableAdvancedWounds_Description";
|
||||
displayName = CSTRING(enableAdvancedWounds_DisplayName);
|
||||
description = CSTRING(enableAdvancedWounds_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 0;
|
||||
};
|
||||
class enableVehicleCrashes {
|
||||
displayName = "$STR_ACE_AdvancedMedicalSettings_enableVehicleCrashes_DisplayName";
|
||||
description = "$STR_ACE_AdvancedMedicalSettings_enableVehicleCrashes_Description";
|
||||
displayName = CSTRING(enableVehicleCrashes_DisplayName);
|
||||
description = CSTRING(enableVehicleCrashes_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 1;
|
||||
};
|
||||
class medicSetting_PAK {
|
||||
displayName = "$STR_ACE_AdvancedMedicalSettings_medicSetting_PAK_DisplayName";
|
||||
description = "$STR_ACE_AdvancedMedicalSettings_medicSetting_PAK_Description";
|
||||
displayName = CSTRING(medicSetting_PAK_DisplayName);
|
||||
description = CSTRING(medicSetting_PAK_Description);
|
||||
typeName = "NUMBER";
|
||||
class values {
|
||||
class anyone { name = "$STR_ACE_AdvancedMedicalSettings_anyone"; value = 0; };
|
||||
class Medic { name = "$STR_ACE_AdvancedMedicalSettings_Medic"; value = 1; default = 1; };
|
||||
class Special { name = "$STR_ACE_AdvancedMedicalSettings_Special"; value = 2; };
|
||||
class anyone { name = CSTRING(anyone); value = 0; };
|
||||
class Medic { name = CSTRING(Medic); value = 1; default = 1; };
|
||||
class Special { name = CSTRING(Special); value = 2; };
|
||||
};
|
||||
};
|
||||
class consumeItem_PAK {
|
||||
displayName = "$STR_ACE_AdvancedMedicalSettings_consumeItem_PAK_DisplayName";
|
||||
description = "$STR_ACE_AdvancedMedicalSettings_consumeItem_PAK_Description";
|
||||
displayName = CSTRING(consumeItem_PAK_DisplayName);
|
||||
description = CSTRING(consumeItem_PAK_Description);
|
||||
|
||||
typeName = "NUMBER";
|
||||
class values {
|
||||
class keep { name = "$STR_ACE_Medical_No"; value = 0; };
|
||||
class remove { name = "$STR_ACE_Medical_Yes"; value = 1; default = 1; };
|
||||
class keep { name = CSTRING(No); value = 0; };
|
||||
class remove { name = CSTRING(Yes); value = 1; default = 1; };
|
||||
};
|
||||
};
|
||||
class useLocation_PAK {
|
||||
displayName = "$STR_ACE_AdvancedMedicalSettings_useLocation_PAK_DisplayName";
|
||||
description = "$STR_ACE_AdvancedMedicalSettings_useLocation_PAK_Description";
|
||||
displayName = CSTRING(useLocation_PAK_DisplayName);
|
||||
description = CSTRING(useLocation_PAK_Description);
|
||||
typeName = "NUMBER";
|
||||
class values {
|
||||
class anywhere { name = "$STR_ACE_AdvancedMedicalSettings_anywhere"; value = 0; };
|
||||
class vehicle { name = "$STR_ACE_AdvancedMedicalSettings_vehicle"; value = 1; };
|
||||
class facility { name = "$STR_ACE_AdvancedMedicalSettings_facility"; value = 2; };
|
||||
class vehicleAndFacility { name = "$STR_ACE_AdvancedMedicalSettings_vehicleAndFacility"; value = 3; default = 1; };
|
||||
class disabled { name = "$STR_ACE_AdvancedMedicalSettings_disabled"; value = 4;};
|
||||
class anywhere { name = CSTRING(anywhere); value = 0; };
|
||||
class vehicle { name = CSTRING(vehicle); value = 1; };
|
||||
class facility { name = CSTRING(facility); value = 2; };
|
||||
class vehicleAndFacility { name = CSTRING(vehicleAndFacility); value = 3; default = 1; };
|
||||
class disabled { name = CSTRING(disabled); value = 4;};
|
||||
};
|
||||
};
|
||||
class medicSetting_SurgicalKit: medicSetting_PAK {
|
||||
displayName = "$STR_ACE_AdvancedMedicalSettings_medicSetting_SurgicalKit_DisplayName";
|
||||
description = "$STR_ACE_AdvancedMedicalSettings_medicSetting_SurgicalKit_Description";
|
||||
displayName = CSTRING(medicSetting_SurgicalKit_DisplayName);
|
||||
description = CSTRING(medicSetting_SurgicalKit_Description);
|
||||
};
|
||||
class consumeItem_SurgicalKit: consumeItem_PAK {
|
||||
displayName = "$STR_ACE_AdvancedMedicalSettings_consumeItem_SurgicalKit_DisplayName";
|
||||
description = "$STR_ACE_AdvancedMedicalSettings_consumeItem_SurgicalKit_Description";
|
||||
displayName = CSTRING(consumeItem_SurgicalKit_DisplayName);
|
||||
description = CSTRING(consumeItem_SurgicalKit_Description);
|
||||
};
|
||||
class useLocation_SurgicalKit: useLocation_PAK {
|
||||
displayName = "$STR_ACE_AdvancedMedicalSettings_useLocation_SurgicalKit_DisplayName";
|
||||
description = "$STR_ACE_AdvancedMedicalSettings_useLocation_SurgicalKit_Description";
|
||||
displayName = CSTRING(useLocation_SurgicalKit_DisplayName);
|
||||
description = CSTRING(useLocation_SurgicalKit_Description);
|
||||
};
|
||||
|
||||
};
|
||||
class ModuleDescription {
|
||||
description = "$STR_ACE_AdvancedMedicalSettings_Module_Description";
|
||||
description = CSTRING(Module_Description);
|
||||
sync[] = {};
|
||||
};
|
||||
};
|
||||
@ -232,7 +232,7 @@ class CfgVehicles {
|
||||
|
||||
class ACE_moduleReviveSettings: ACE_Module {
|
||||
scope = 2;
|
||||
displayName = "$STR_ACE_ReviveSettings_Module_DisplayName";
|
||||
displayName = CSTRING(Module_DisplayName);
|
||||
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
|
||||
category = "ACE_medical";
|
||||
function = QUOTE(DFUNC(moduleReviveSettings));
|
||||
@ -242,37 +242,37 @@ class CfgVehicles {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
class Arguments {
|
||||
class enableRevive {
|
||||
displayName = "$STR_ACE_ReviveSettings_enableRevive_DisplayName";
|
||||
description = "$STR_ACE_ReviveSettings_enableRevive_Description";
|
||||
displayName = CSTRING(enableRevive_DisplayName);
|
||||
description = CSTRING(enableRevive_Description);
|
||||
typeName = "NUMBER";
|
||||
defaultValue = 0;
|
||||
class values {
|
||||
class disable { name = "$STR_ACE_Medical_disabled"; value = 0; default = 1;};
|
||||
class playerOnly { name = "$STR_ACE_Medical_playeronly"; value = 1; };
|
||||
class playerAndAI { name = "$STR_ACE_Medical_playersandai"; value = 2; };
|
||||
class disable { name = CSTRING(disabled); value = 0; default = 1;};
|
||||
class playerOnly { name = CSTRING(playeronly); value = 1; };
|
||||
class playerAndAI { name = CSTRING(playersandai); value = 2; };
|
||||
};
|
||||
};
|
||||
class maxReviveTime {
|
||||
displayName = "$STR_ACE_ReviveSettings_maxReviveTime_DisplayName";
|
||||
description = "$STR_ACE_ReviveSettings_maxReviveTime_Description";
|
||||
displayName = CSTRING(maxReviveTime_DisplayName);
|
||||
description = CSTRING(maxReviveTime_Description);
|
||||
typeName = "NUMBER";
|
||||
defaultValue = 120;
|
||||
};
|
||||
class amountOfReviveLives {
|
||||
displayName = "$STR_ACE_ReviveSettings_amountOfReviveLives_DisplayName";
|
||||
description = "$STR_ACE_ReviveSettings_amountOfReviveLives_Description";
|
||||
displayName = CSTRING(amountOfReviveLives_DisplayName);
|
||||
description = CSTRING(amountOfReviveLives_Description);
|
||||
typeName = "NUMBER";
|
||||
defaultValue = -1;
|
||||
};
|
||||
};
|
||||
class ModuleDescription {
|
||||
description = "$STR_ACE_ReviveSettings_Module_Description";
|
||||
description = CSTRING(Module_Description);
|
||||
sync[] = {};
|
||||
};
|
||||
};
|
||||
class ACE_moduleAssignMedicRoles: Module_F {
|
||||
scope = 2;
|
||||
displayName = "$STR_ACE_AssignMedicRoles_Module_DisplayName";
|
||||
displayName = CSTRING(Module_DisplayName);
|
||||
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
|
||||
category = "ACE_medical";
|
||||
function = QUOTE(FUNC(moduleAssignMedicRoles));
|
||||
@ -283,41 +283,41 @@ class CfgVehicles {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
class Arguments {
|
||||
class EnableList {
|
||||
displayName = "$STR_ACE_AssignMedicRoles_EnableList_DisplayName";
|
||||
description = "$STR_ACE_AssignMedicRoles_EnableList_Description";
|
||||
displayName = CSTRING(EnableList_DisplayName);
|
||||
description = CSTRING(EnableList_Description);
|
||||
defaultValue = "";
|
||||
typeName = "STRING";
|
||||
};
|
||||
class role {
|
||||
displayName = "$STR_ACE_AssignMedicRoles_role_DisplayName";
|
||||
description = "$STR_ACE_AssignMedicRoles_role_Description";
|
||||
displayName = CSTRING(role_DisplayName);
|
||||
description = CSTRING(role_Description);
|
||||
typeName = "NUMBER";
|
||||
class values {
|
||||
class none {
|
||||
name = "$STR_ACE_AssignMedicRoles_role_none";
|
||||
name = CSTRING(role_none);
|
||||
value = 0;
|
||||
};
|
||||
class medic {
|
||||
name = "$STR_ACE_AssignMedicRoles_role_medic";
|
||||
name = CSTRING(role_medic);
|
||||
value = 1;
|
||||
default = 1;
|
||||
};
|
||||
class doctor {
|
||||
name = "$STR_ACE_AssignMedicRoles_role_doctor";
|
||||
name = CSTRING(role_doctor);
|
||||
value = 2;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
class ModuleDescription {
|
||||
description = "$STR_ACE_AssignMedicRoles_Module_Description";
|
||||
description = CSTRING(Module_Description);
|
||||
sync[] = {};
|
||||
};
|
||||
};
|
||||
|
||||
class ACE_moduleAssignMedicVehicle: Module_F {
|
||||
scope = 2;
|
||||
displayName = "$STR_ACE_AssignMedicVehicle_Module_DisplayName";
|
||||
displayName = CSTRING(Module_DisplayName);
|
||||
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
|
||||
category = "ACE_medical";
|
||||
function = QUOTE(FUNC(moduleAssignMedicalVehicle));
|
||||
@ -328,23 +328,23 @@ class CfgVehicles {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
class Arguments {
|
||||
class EnableList {
|
||||
displayName = "$STR_ACE_AssignMedicVehicle_EnableList_DisplayName";
|
||||
description = "$STR_ACE_AssignMedicVehicle_EnableList_Description";
|
||||
displayName = CSTRING(EnableList_DisplayName);
|
||||
description = CSTRING(EnableList_Description);
|
||||
defaultValue = "";
|
||||
typeName = "STRING";
|
||||
};
|
||||
class enabled {
|
||||
displayName = "$STR_ACE_AssignMedicVehicle_enabled_DisplayName";
|
||||
description = "$STR_ACE_AssignMedicVehicle_enabled_Description";
|
||||
displayName = CSTRING(enabled_DisplayName);
|
||||
description = CSTRING(enabled_Description);
|
||||
|
||||
typeName = "NUMBER";
|
||||
class values {
|
||||
class none {
|
||||
name = "$STR_ACE_Medical_No";
|
||||
name = CSTRING(No);
|
||||
value = 0;
|
||||
};
|
||||
class medic {
|
||||
name = "$STR_ACE_Medical_Yes";
|
||||
name = CSTRING(Yes);
|
||||
value = 1;
|
||||
default = 1;
|
||||
};
|
||||
@ -352,13 +352,13 @@ class CfgVehicles {
|
||||
};
|
||||
};
|
||||
class ModuleDescription {
|
||||
description = "$STR_ACE_AssignMedicVehicle_Module_Description";
|
||||
description = CSTRING(Module_Description);
|
||||
sync[] = {};
|
||||
};
|
||||
};
|
||||
class ACE_moduleAssignMedicalFacility: Module_F {
|
||||
scope = 2;
|
||||
displayName = "$STR_ACE_AssignMedicalFacility_Module_DisplayName";
|
||||
displayName = CSTRING(Module_DisplayName);
|
||||
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
|
||||
category = "ACE_medical";
|
||||
function = QUOTE(FUNC(moduleAssignMedicalFacility));
|
||||
@ -369,13 +369,13 @@ class CfgVehicles {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
class Arguments {
|
||||
class enabled {
|
||||
displayName = "$STR_ACE_AssignMedicalFacility_enabled_DisplayName";
|
||||
description = "$STR_ACE_AssignMedicalFacility_enabled_Description";
|
||||
displayName = CSTRING(enabled_DisplayName);
|
||||
description = CSTRING(enabled_Description);
|
||||
typeName = "BOOL";
|
||||
};
|
||||
};
|
||||
class ModuleDescription {
|
||||
description = "$STR_ACE_AssignMedicalFacility_Module_Description";
|
||||
description = CSTRING(Module_Description);
|
||||
sync[] = {};
|
||||
};
|
||||
};
|
||||
@ -451,7 +451,7 @@ class CfgVehicles {
|
||||
// Create a consolidates medical menu for treatment while boarded
|
||||
class ACE_MainActions {
|
||||
class Medical {
|
||||
displayName = "$STR_ACE_Medical_Actions_Medical";
|
||||
displayName = CSTRING(Actions_Medical);
|
||||
runOnHover = 1;
|
||||
exceptions[] = {"isNotInside"};
|
||||
condition = QUOTE((vehicle _target != _target && vehicle _target == vehicle _player) || GVAR(menuTypeStyle) == 1);
|
||||
@ -465,7 +465,7 @@ class CfgVehicles {
|
||||
#include "ACE_Medical_Actions.hpp"
|
||||
};
|
||||
class GVAR(loadPatient) {
|
||||
displayName = "$STR_ACE_Medical_LoadPatient";
|
||||
displayName = CSTRING(LoadPatient);
|
||||
distance = 5;
|
||||
condition = QUOTE(_target getvariable[ARR_2(QUOTE(QUOTE(ACE_isUnconscious)),false)] && vehicle _target == _target);
|
||||
statement = QUOTE([ARR_2(_player, _target)] call DFUNC(actionLoadUnit));
|
||||
@ -475,7 +475,7 @@ class CfgVehicles {
|
||||
exceptions[] = {"isNotDragging", "isNotCarrying"};
|
||||
};
|
||||
class GVAR(UnLoadPatient) {
|
||||
displayName = "$STR_ACE_Medical_UnloadPatient";
|
||||
displayName = CSTRING(UnloadPatient);
|
||||
distance = 5;
|
||||
condition = QUOTE(_target getvariable[ARR_2(QUOTE(QUOTE(ACE_isUnconscious)),false)] && vehicle _target != _target);
|
||||
statement = QUOTE([ARR_2(_player, _target)] call DFUNC(actionUnloadUnit));
|
||||
@ -666,7 +666,7 @@ class CfgVehicles {
|
||||
EGVAR(dragging,dragDirection) = 0;
|
||||
class ACE_Actions {
|
||||
class ACE_MainActions {
|
||||
displayName = "$STR_ACE_Interaction_MainAction";
|
||||
displayName = CSTRING(MainAction);
|
||||
distance = 5;
|
||||
condition = QUOTE(true);
|
||||
statement = "";
|
||||
@ -933,7 +933,7 @@ class CfgVehicles {
|
||||
};
|
||||
};
|
||||
class ACE_medicalSupplyCrate_advanced: ACE_medicalSupplyCrate {
|
||||
displayName = "$STR_ACE_medicalSupplyCrate_advanced";
|
||||
displayName = CSTRING(advanced);
|
||||
class TransportItems {
|
||||
class ACE_fieldDressing {
|
||||
name = "ACE_fieldDressing";
|
||||
|
@ -28,27 +28,27 @@ _bloodPressureLow = _bloodPressure select 0;
|
||||
_output = "";
|
||||
_logOutPut = "";
|
||||
if ([_caller] call FUNC(isMedic)) then {
|
||||
_output = "STR_ACE_Medical_Check_Bloodpressure_Output_1";
|
||||
_output = STRING(Check_Bloodpressure_Output_1);
|
||||
_logOutPut = format["%1/%2",round(_bloodPressureHigh),round(_bloodPressureLow)];
|
||||
} else {
|
||||
if (_bloodPressureHigh > 20) then {
|
||||
_output = "STR_ACE_Medical_Check_Bloodpressure_Output_2";
|
||||
_logOutPut = localize "STR_ACE_Medical_Check_Bloodpressure_Low";
|
||||
_output = STRING(Check_Bloodpressure_Output_2);
|
||||
_logOutPut = localize STRING(Check_Bloodpressure_Low);
|
||||
if (_bloodPressureHigh > 100) then {
|
||||
_output = "STR_ACE_Medical_Check_Bloodpressure_Output_3";
|
||||
_logOutPut = localize "STR_ACE_Medical_Check_Bloodpressure_Normal";
|
||||
_output = STRING(Check_Bloodpressure_Output_3);
|
||||
_logOutPut = localize STRING(Check_Bloodpressure_Normal);
|
||||
if (_bloodPressureHigh > 160) then {
|
||||
_output = "STR_ACE_Medical_Check_Bloodpressure_Output_4";
|
||||
_logOutPut = localize "STR_ACE_Medical_Check_Bloodpressure_High";
|
||||
_output = STRING(Check_Bloodpressure_Output_4);
|
||||
_logOutPut = localize STRING(Check_Bloodpressure_High);
|
||||
};
|
||||
|
||||
};
|
||||
} else {
|
||||
if (random(10) > 3) then {
|
||||
_output = "STR_ACE_Medical_Check_Bloodpressure_Output_5";
|
||||
_logOutPut = localize "STR_ACE_Medical_Check_Bloodpressure_NoBloodpressure";
|
||||
_output = STRING(Check_Bloodpressure_Output_5);
|
||||
_logOutPut = localize STRING(Check_Bloodpressure_NoBloodpressure);
|
||||
} else {
|
||||
_output = "STR_ACE_Medical_Check_Bloodpressure_Output_6";
|
||||
_output = STRING(Check_Bloodpressure_Output_6);
|
||||
};
|
||||
};
|
||||
};
|
||||
@ -56,5 +56,5 @@ if ([_caller] call FUNC(isMedic)) then {
|
||||
["displayTextStructured", [_caller], [[_output, [_target] call EFUNC(common,getName), round(_bloodPressureHigh),round(_bloodPressureLow)], 1.75, _caller]] call EFUNC(common,targetEvent);
|
||||
|
||||
if (_logOutPut != "") then {
|
||||
[_target,"activity", localize "STR_ACE_Medical_Check_Bloodpressure_Log", [[_caller] call EFUNC(common,getName), _logOutPut]] call FUNC(addToLog);
|
||||
[_target,"activity", localize STRING(Check_Bloodpressure_Log), [[_caller] call EFUNC(common,getName), _logOutPut]] call FUNC(addToLog);
|
||||
};
|
||||
|
@ -23,24 +23,24 @@ _heartRate = _unit getvariable [QGVAR(heartRate), 80];
|
||||
if (!alive _unit) then {
|
||||
_heartRate = 0;
|
||||
};
|
||||
_heartRateOutput = "STR_ACE_Medical_Check_Pulse_Output_5";
|
||||
_logOutPut = localize "STR_ACE_Medical_Check_Pulse_None";
|
||||
_heartRateOutput = STRING(Check_Pulse_Output_5);
|
||||
_logOutPut = localize STRING(Check_Pulse_None);
|
||||
|
||||
if (_heartRate > 1.0) then {
|
||||
if ([_caller] call FUNC(isMedic)) then {
|
||||
_heartRateOutput = "STR_ACE_Medical_Check_Pulse_Output_1";
|
||||
_heartRateOutput = STRING(Check_Pulse_Output_1);
|
||||
_logOutPut = format["%1",round(_heartRate)];
|
||||
} else {
|
||||
// non medical personel will only find a pulse/HR
|
||||
_heartRateOutput = "STR_ACE_Medical_Check_Pulse_Output_2";
|
||||
_logOutPut = localize "STR_ACE_Medical_Check_Pulse_Weak";
|
||||
_heartRateOutput = STRING(Check_Pulse_Output_2);
|
||||
_logOutPut = localize STRING(Check_Pulse_Weak);
|
||||
if (_heartRate > 60) then {
|
||||
if (_heartRate > 100) then {
|
||||
_heartRateOutput = "STR_ACE_Medical_Check_Pulse_Output_3";
|
||||
_logOutPut = localize "STR_ACE_Medical_Check_Pulse_Strong";
|
||||
_heartRateOutput = STRING(Check_Pulse_Output_3);
|
||||
_logOutPut = localize STRING(Check_Pulse_Strong);
|
||||
} else {
|
||||
_heartRateOutput = "STR_ACE_Medical_Check_Pulse_Output_4";
|
||||
_logOutPut = localize "STR_ACE_Medical_Check_Pulse_Normal";
|
||||
_heartRateOutput = STRING(Check_Pulse_Output_4);
|
||||
_logOutPut = localize STRING(Check_Pulse_Normal);
|
||||
};
|
||||
};
|
||||
};
|
||||
@ -49,5 +49,5 @@ if (_heartRate > 1.0) then {
|
||||
["displayTextStructured", [_caller], [[_heartRateOutput, [_unit] call EFUNC(common,getName), round(_heartRate)], 1.5, _caller]] call EFUNC(common,targetEvent);
|
||||
|
||||
if (_logOutPut != "") then {
|
||||
[_unit,"activity", localize "STR_ACE_Medical_Check_Pulse_Log",[[_caller] call EFUNC(common,getName),_logOutPut]] call FUNC(addToLog);
|
||||
[_unit,"activity", localize STRING(Check_Pulse_Log),[[_caller] call EFUNC(common,getName),_logOutPut]] call FUNC(addToLog);
|
||||
};
|
||||
|
@ -20,9 +20,9 @@ _target = _this select 1;
|
||||
|
||||
_output = "";
|
||||
if ([_target] call EFUNC(common,isAwake)) then {
|
||||
_output = "STR_ACE_Medical_Check_Response_Responsive";
|
||||
_output = STRING(Check_Response_Responsive);
|
||||
} else {
|
||||
_output = "STR_ACE_Medical_Check_Response_Unresponsive";
|
||||
_output = STRING(Check_Response_Unresponsive);
|
||||
};
|
||||
|
||||
["displayTextStructured", [_caller], [[_output, [_target] call EFUNC(common,getName)], 2, _caller]] call EFUNC(common,targetEvent);
|
||||
|
@ -18,28 +18,28 @@ private ["_caller", "_target", "_genericMessages"];
|
||||
_caller = _this select 0;
|
||||
_target = _this select 1;
|
||||
|
||||
_genericMessages = ["STR_ACE_Medical_diagnoseMessage"];
|
||||
_genericMessages = [STRING(diagnoseMessage)];
|
||||
|
||||
_genericMessages pushBack ([_target] call EFUNC(common,getName));
|
||||
if (alive _target) then {
|
||||
_genericMessages pushback "STR_ACE_Medical_diagnoseAlive";
|
||||
_genericMessages pushback STRING(diagnoseAlive);
|
||||
} else {
|
||||
_genericMessages pushback "STR_ACE_Medical_diagnoseDead";
|
||||
_genericMessages pushback STRING(diagnoseDead);
|
||||
};
|
||||
if (_target getvariable[QGVAR(hasLostBlood), 0] > 0) then {
|
||||
if (_target getvariable[QGVAR(hasLostBlood), 0] > 1) then {
|
||||
_genericMessages pushback "STR_ACE_Medical_lostBloodALot";
|
||||
_genericMessages pushback STRING(lostBloodALot);
|
||||
} else {
|
||||
_genericMessages pushback "STR_ACE_Medical_lostBlood";
|
||||
_genericMessages pushback STRING(lostBlood);
|
||||
};
|
||||
} else {
|
||||
_genericMessages pushback "STR_ACE_Medical_noBloodloss";
|
||||
_genericMessages pushback STRING(noBloodloss);
|
||||
};
|
||||
|
||||
if (_target getvariable[QGVAR(hasPain), false]) then {
|
||||
_genericMessages pushback "STR_ACE_Medical_inPain";
|
||||
_genericMessages pushback STRING(inPain);
|
||||
} else {
|
||||
_genericMessages pushback "STR_ACE_Medical_noPain";
|
||||
_genericMessages pushback STRING(noPain);
|
||||
};
|
||||
|
||||
["displayTextStructured", [_caller], [_genericMessages, 3.0, _caller]] call EFUNC(common,targetEvent);
|
||||
|
@ -50,22 +50,22 @@ if (_show) then {
|
||||
_genericMessages = [];
|
||||
|
||||
if (GVAR(level) >= 2) then {
|
||||
_partText = ["STR_ACE_Interaction_Head", "STR_ACE_Interaction_Torso", "STR_ACE_Interaction_ArmLeft" ,"STR_ACE_Interaction_ArmRight" ,"STR_ACE_Interaction_LegLeft", "STR_ACE_Interaction_LegRight"] select _selectionN;
|
||||
_partText = [STRING(Head), STRING(Torso), STRING(ArmLeft) ,STRING(ArmRight) ,STRING(LegLeft), STRING(LegRight)] select _selectionN;
|
||||
_genericMessages pushback [localize _partText, [1, 1, 1, 1]];
|
||||
};
|
||||
|
||||
if (_target getvariable[QGVAR(isBleeding), false]) then {
|
||||
_genericMessages pushback [localize "STR_ACE_Medical_Status_Bleeding", [1, 0.1, 0.1, 1]];
|
||||
_genericMessages pushback [localize STRING(Status_Bleeding), [1, 0.1, 0.1, 1]];
|
||||
};
|
||||
if (_target getvariable[QGVAR(hasLostBlood), 0] > 1) then {
|
||||
_genericMessages pushback [localize "STR_ACE_Medical_Status_Lost_Blood", [1, 0.1, 0.1, 1]];
|
||||
_genericMessages pushback [localize STRING(Status_Lost_Blood), [1, 0.1, 0.1, 1]];
|
||||
};
|
||||
|
||||
if (((_target getvariable [QGVAR(tourniquets), [0,0,0,0,0,0]]) select _selectionN) > 0) then {
|
||||
_genericMessages pushback [localize "STR_ACE_Medical_Status_Tourniquet_Applied", [0.77, 0.51, 0.08, 1]];
|
||||
_genericMessages pushback [localize STRING(Status_Tourniquet_Applied), [0.77, 0.51, 0.08, 1]];
|
||||
};
|
||||
if (_target getvariable[QGVAR(hasPain), false]) then {
|
||||
_genericMessages pushback [localize "STR_ACE_Medical_Status_Pain", [1, 1, 1, 1]];
|
||||
_genericMessages pushback [localize STRING(Status_Pain), [1, 1, 1, 1]];
|
||||
};
|
||||
|
||||
_totalIvVolume = 0;
|
||||
@ -77,7 +77,7 @@ if (_show) then {
|
||||
};
|
||||
}foreach GVAR(IVBags);
|
||||
if (_totalIvVolume >= 1) then {
|
||||
_genericMessages pushback [format[localize "STR_ACE_Medical_receivingIvVolume", floor _totalIvVolume], [1, 1, 1, 1]];
|
||||
_genericMessages pushback [format[localize STRING(receivingIvVolume), floor _totalIvVolume], [1, 1, 1, 1]];
|
||||
};
|
||||
|
||||
_damaged = [false, false, false, false, false, false];
|
||||
@ -133,17 +133,17 @@ if (_show) then {
|
||||
if (_target getHitPointDamage _x > 0 && {_forEachIndex == _selectionN}) then {
|
||||
_pointDamage = _target getHitPointDamage _x;
|
||||
_severity = switch (true) do {
|
||||
case (_pointDamage > 0.5): {localize "STR_ACE_Medical_HeavilyWounded"};
|
||||
case (_pointDamage > 0.1): {localize "STR_ACE_Medical_LightlyWounded"};
|
||||
default {localize "STR_ACE_Medical_VeryLightlyWounded"};
|
||||
case (_pointDamage > 0.5): {localize STRING(HeavilyWounded)};
|
||||
case (_pointDamage > 0.1): {localize STRING(LightlyWounded)};
|
||||
default {localize STRING(VeryLightlyWounded)};
|
||||
};
|
||||
_part = localize ([
|
||||
"STR_ACE_Medical_Head",
|
||||
"STR_ACE_Medical_Torso",
|
||||
"STR_ACE_Medical_LeftArm",
|
||||
"STR_ACE_Medical_RightArm",
|
||||
"STR_ACE_Medical_LeftLeg",
|
||||
"STR_ACE_Medical_RightLeg"
|
||||
STRING(Head),
|
||||
STRING(Torso),
|
||||
STRING(LeftArm),
|
||||
STRING(RightArm),
|
||||
STRING(LeftLeg),
|
||||
STRING(RightLeg)
|
||||
] select _forEachIndex);
|
||||
_allInjuryTexts pushBack [format ["%1 %2", _severity, toLower _part], [1,1,1,1]];
|
||||
};
|
||||
@ -186,7 +186,7 @@ if (_show) then {
|
||||
_lbCtrl lbSetColor [_foreachIndex + _amountOfGeneric, _x select 1];
|
||||
}foreach _allInjuryTexts;
|
||||
if (count _allInjuryTexts == 0) then {
|
||||
_lbCtrl lbAdd (localize "STR_ACE_Medical_NoInjuriesBodypart");
|
||||
_lbCtrl lbAdd (localize STRING(NoInjuriesBodypart));
|
||||
};
|
||||
|
||||
_logCtrl = (_display displayCtrl 302);
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user