Use new QPATHTOF and QPATHTOEF macros

This commit is contained in:
jonpas 2016-04-08 20:34:50 +02:00
parent f6567841a2
commit 85b4366368
164 changed files with 900 additions and 900 deletions

View File

@ -3,7 +3,7 @@ class CfgVehicles {
class GVAR(ModuleSettings): ACE_Module { class GVAR(ModuleSettings): ACE_Module {
scope = 2; scope = 2;
displayName = CSTRING(DisplayName); displayName = CSTRING(DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Wind_ca.paa)); icon = QPATHTOF(UI\Icon_Module_Wind_ca.paa);
category = "ACE"; category = "ACE";
function = QUOTE(DFUNC(initModuleSettings)); function = QUOTE(DFUNC(initModuleSettings));
functionPriority = 1; functionPriority = 1;

View File

@ -43,13 +43,13 @@ GVAR(Protractor) = true;
__ctrl1 ctrlSetScale 1; __ctrl1 ctrlSetScale 1;
__ctrl1 ctrlCommit 0; __ctrl1 ctrlCommit 0;
__ctrl1 ctrlSetText QUOTE(PATHTOF(UI\protractor.paa)); __ctrl1 ctrlSetText QPATHTOF(UI\protractor.paa);
__ctrl1 ctrlSetTextColor [1, 1, 1, 1]; __ctrl1 ctrlSetTextColor [1, 1, 1, 1];
__ctrl2 ctrlSetScale 1; __ctrl2 ctrlSetScale 1;
__ctrl2 ctrlSetPosition [SafeZoneX + 0.001, SafeZoneY - 0.001 - 0.1074 * (-0.86 max ((ACE_player weaponDirection currentWeapon ACE_player) select 2) min 0.86), 0.2, 0.2 * 4/3]; __ctrl2 ctrlSetPosition [SafeZoneX + 0.001, SafeZoneY - 0.001 - 0.1074 * (-0.86 max ((ACE_player weaponDirection currentWeapon ACE_player) select 2) min 0.86), 0.2, 0.2 * 4/3];
__ctrl2 ctrlCommit 0; __ctrl2 ctrlCommit 0;
__ctrl2 ctrlSetText QUOTE(PATHTOF(UI\protractor_marker.paa)); __ctrl2 ctrlSetText QPATHTOF(UI\protractor_marker.paa);
__ctrl2 ctrlSetTextColor [1, 1, 1, 1]; __ctrl2 ctrlSetTextColor [1, 1, 1, 1];
}, 0.1, []] call CBA_fnc_addPerFrameHandler; }, 0.1, []] call CBA_fnc_addPerFrameHandler;

View File

@ -145,7 +145,7 @@ class RscInGameUI
sizeEx = "0.038*SafezoneH"; sizeEx = "0.038*SafezoneH";
shadow = 0; shadow = 0;
font = "EtelkaMonospacePro"; font = "EtelkaMonospacePro";
text = PATHTOF(data\Helo_LaserON.paa); text = QPATHTOF(data\Helo_LaserON.paa);
x = "20.45 * (0.01875 * SafezoneH)"; x = "20.45 * (0.01875 * SafezoneH)";
y = "14.1 * (0.025 * SafezoneH)"; y = "14.1 * (0.025 * SafezoneH)";
w = "12.5 * (0.01875 * SafezoneH)"; w = "12.5 * (0.01875 * SafezoneH)";
@ -335,7 +335,7 @@ class RscInGameUI
shadow = 0; shadow = 0;
align = "right"; align = "right";
font = "EtelkaMonospacePro"; font = "EtelkaMonospacePro";
text = PATHTOF(data\Helo_LaserON.paa); text = QPATHTOF(data\Helo_LaserON.paa);
x = "20.45 * (0.01875 * SafezoneH)"; x = "20.45 * (0.01875 * SafezoneH)";
y = "14.1 * (0.025 * SafezoneH)"; y = "14.1 * (0.025 * SafezoneH)";
w = "12.5 * (0.01875 * SafezoneH)"; w = "12.5 * (0.01875 * SafezoneH)";

View File

@ -9,7 +9,7 @@ class CfgVehicles {
statement = QUOTE(call FUNC(create_dialog)); statement = QUOTE(call FUNC(create_dialog));
showDisabled = 0; showDisabled = 0;
priority = 2; priority = 2;
icon = PATHTOF(UI\ATRAG_Icon.paa); icon = QPATHTOF(UI\ATRAG_Icon.paa);
exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"}; exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"};
}; };
}; };

View File

@ -8,8 +8,8 @@ class CfgWeapons {
scope = 2; scope = 2;
displayName = CSTRING(Name); displayName = CSTRING(Name);
descriptionShort = CSTRING(Description); descriptionShort = CSTRING(Description);
model = PATHTOF(data\tdsrecon.p3d); model = QPATHTOF(data\tdsrecon.p3d);
picture = PATHTOF(UI\ATRAG_Icon.paa); picture = QPATHTOF(UI\ATRAG_Icon.paa);
icon = "iconObject_circle"; icon = "iconObject_circle";
mapSize = 0.034; mapSize = 0.034;

View File

@ -56,7 +56,7 @@ GVAR(DialogPFH) = [{
if (!GVAR(active)) exitWith { if (!GVAR(active)) exitWith {
[_this select 1] call CBA_fnc_removePerFrameHandler; [_this select 1] call CBA_fnc_removePerFrameHandler;
}; };
__ctrlBackground ctrlSetText format [QUOTE(PATHTOF(UI\ATRAG_%1.paa)), ["N", "D"] select (call EFUNC(common,ambientBrightness))]; __ctrlBackground ctrlSetText format [QPATHTOF(UI\ATRAG_%1.paa), ["N", "D"] select (call EFUNC(common,ambientBrightness))];
}, 60, []] call CBA_fnc_addPerFrameHandler; }, 60, []] call CBA_fnc_addPerFrameHandler;
true true

View File

@ -33,4 +33,4 @@ _closeCode = {
closeDialog 0; closeDialog 0;
}; };
}; };
[(localize LSTRING(Name)), QUOTE(PATHTOF(UI\ATRAG_Icon.paa)), _conditonCode, _toggleCode, _closeCode] call EFUNC(common,deviceKeyRegisterNew); [(localize LSTRING(Name)), QPATHTOF(UI\ATRAG_Icon.paa), _conditonCode, _toggleCode, _closeCode] call EFUNC(common,deviceKeyRegisterNew);

View File

@ -3,17 +3,17 @@ class CfgMagazines {
class CA_Magazine; class CA_Magazine;
class B_IR_Grenade: CA_Magazine { class B_IR_Grenade: CA_Magazine {
ACE_Attachable = "B_IRStrobe"; ACE_Attachable = "B_IRStrobe";
model = QUOTE(PATHTOF(data\ace_IRStrobe.p3d)); model = QPATHTOF(data\ace_IRStrobe.p3d);
}; };
class O_IR_Grenade: B_IR_Grenade { class O_IR_Grenade: B_IR_Grenade {
ACE_Attachable = "O_IRStrobe"; ACE_Attachable = "O_IRStrobe";
model = QUOTE(PATHTOF(data\ace_IRStrobe.p3d)); model = QPATHTOF(data\ace_IRStrobe.p3d);
}; };
class I_IR_Grenade: B_IR_Grenade { class I_IR_Grenade: B_IR_Grenade {
ACE_Attachable = "I_IRStrobe"; ACE_Attachable = "I_IRStrobe";
model = QUOTE(PATHTOF(data\ace_IRStrobe.p3d)); model = QPATHTOF(data\ace_IRStrobe.p3d);
}; };
class SmokeShell; class SmokeShell;

View File

@ -9,7 +9,7 @@
exceptions[] = {}; \ exceptions[] = {}; \
showDisabled = 0; \ showDisabled = 0; \
priority = 0; \ priority = 0; \
icon = PATHTOF(UI\attach_ca.paa); \ icon = QPATHTOF(UI\attach_ca.paa); \
distance = 4.5; \ distance = 4.5; \
}; \ }; \
class GVAR(DetachVehicle) { \ class GVAR(DetachVehicle) { \
@ -19,7 +19,7 @@
exceptions[] = {}; \ exceptions[] = {}; \
showDisabled = 0; \ showDisabled = 0; \
priority = 0.1; \ priority = 0.1; \
icon = PATHTOF(UI\detach_ca.paa); \ icon = QPATHTOF(UI\detach_ca.paa); \
distance = 4.5; \ distance = 4.5; \
}; \ }; \
}; \ }; \
@ -60,7 +60,7 @@ class CfgVehicles {
exceptions[] = {"isNotDragging"}; exceptions[] = {"isNotDragging"};
showDisabled = 0; showDisabled = 0;
priority = 5; priority = 5;
icon = PATHTOF(UI\attach_ca.paa); icon = QPATHTOF(UI\attach_ca.paa);
}; };
class GVAR(Detach) { class GVAR(Detach) {
displayName = CSTRING(Detach); displayName = CSTRING(Detach);
@ -69,7 +69,7 @@ class CfgVehicles {
exceptions[] = {"isNotDragging"}; exceptions[] = {"isNotDragging"};
showDisabled = 0; showDisabled = 0;
priority = 5; priority = 5;
icon = PATHTOF(UI\detach_ca.paa); icon = QPATHTOF(UI\detach_ca.paa);
}; };
}; };
}; };

View File

@ -8,8 +8,8 @@ class CfgWeapons {
scope = 2; scope = 2;
displayName = CSTRING(IrStrobe_Name); displayName = CSTRING(IrStrobe_Name);
descriptionShort = CSTRING(IrStrobe_Description); descriptionShort = CSTRING(IrStrobe_Description);
model = QUOTE(PATHTOF(data\ace_IRStrobe.p3d)); model = QPATHTOF(data\ace_IRStrobe.p3d);
picture = PATHTOF(UI\irstrobe_item.paa); picture = QPATHTOF(UI\irstrobe_item.paa);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 1; mass = 1;

View File

@ -11,5 +11,5 @@ if (local _wall) then {
_paper attachTo [_wall, [0,-0.02,0.6]]; _paper attachTo [_wall, [0,-0.02,0.6]];
_paper setDir getDir _wall; _paper setDir getDir _wall;
_paper setObjectTextureGlobal [0, QUOTE(PATHTOF(textures\target_ca.paa))]; _paper setObjectTextureGlobal [0, QPATHTOF(textures\target_ca.paa)];
}; };

View File

@ -10,7 +10,7 @@ class CfgVehicles {
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canApplyHandcuffs)); condition = QUOTE([ARR_2(_player, _target)] call FUNC(canApplyHandcuffs));
statement = QUOTE([ARR_2(_player, _target)] call FUNC(doApplyHandcuffs)); statement = QUOTE([ARR_2(_player, _target)] call FUNC(doApplyHandcuffs));
exceptions[] = {}; exceptions[] = {};
icon = QUOTE(PATHTOF(UI\handcuff_ca.paa)); icon = QPATHTOF(UI\handcuff_ca.paa);
}; };
class ACE_MainActions { class ACE_MainActions {
@ -21,7 +21,7 @@ class CfgVehicles {
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canRemoveHandcuffs)); condition = QUOTE([ARR_2(_player, _target)] call FUNC(canRemoveHandcuffs));
statement = QUOTE([ARR_2(_player, _target)] call FUNC(doRemoveHandcuffs)); statement = QUOTE([ARR_2(_player, _target)] call FUNC(doRemoveHandcuffs));
exceptions[] = {}; exceptions[] = {};
icon = QUOTE(PATHTOF(UI\handcuff_ca.paa)); icon = QPATHTOF(UI\handcuff_ca.paa);
}; };
class ACE_EscortCaptive { class ACE_EscortCaptive {
displayName = CSTRING(EscortCaptive); displayName = CSTRING(EscortCaptive);
@ -30,7 +30,7 @@ class CfgVehicles {
statement = QUOTE([ARR_3(_player, _target, true)] call FUNC(doEscortCaptive)); statement = QUOTE([ARR_3(_player, _target, true)] call FUNC(doEscortCaptive));
exceptions[] = {}; exceptions[] = {};
showDisabled = 0; showDisabled = 0;
icon = QUOTE(PATHTOF(UI\captive_ca.paa)); icon = QPATHTOF(UI\captive_ca.paa);
priority = 2.3; priority = 2.3;
}; };
class ACE_StopEscorting { class ACE_StopEscorting {
@ -40,7 +40,7 @@ class CfgVehicles {
statement = QUOTE([ARR_3(_player,_target, false)] call FUNC(doEscortCaptive)); statement = QUOTE([ARR_3(_player,_target, false)] call FUNC(doEscortCaptive));
exceptions[] = {"isNotEscorting"}; exceptions[] = {"isNotEscorting"};
showDisabled = 0; showDisabled = 0;
icon = QUOTE(PATHTOF(UI\captive_ca.paa)); icon = QPATHTOF(UI\captive_ca.paa);
priority = 2.3; priority = 2.3;
}; };
class ACE_LoadCaptive { class ACE_LoadCaptive {
@ -50,7 +50,7 @@ class CfgVehicles {
statement = QUOTE([ARR_3(_player, _target, objNull)] call FUNC(doLoadCaptive)); statement = QUOTE([ARR_3(_player, _target, objNull)] call FUNC(doLoadCaptive));
exceptions[] = {"isNotEscorting"}; exceptions[] = {"isNotEscorting"};
showDisabled = 0; showDisabled = 0;
icon = QUOTE(PATHTOF(UI\captive_ca.paa)); icon = QPATHTOF(UI\captive_ca.paa);
priority = 2.2; priority = 2.2;
}; };
class GVAR(UnloadCaptive) { class GVAR(UnloadCaptive) {
@ -79,7 +79,7 @@ class CfgVehicles {
exceptions[] = {}; exceptions[] = {};
showDisabled = 0; showDisabled = 0;
priority = 0; priority = 0;
icon = QUOTE(PATHTOF(UI\Surrender_ca.paa)); icon = QPATHTOF(UI\Surrender_ca.paa);
}; };
class ACE_StopSurrenderingSelf { class ACE_StopSurrenderingSelf {
displayName = CSTRING(StopSurrendering); displayName = CSTRING(StopSurrendering);
@ -88,7 +88,7 @@ class CfgVehicles {
exceptions[] = {"isNotSurrendering"}; exceptions[] = {"isNotSurrendering"};
showDisabled = 0; showDisabled = 0;
priority = 0; priority = 0;
icon = QUOTE(PATHTOF(UI\Surrender_ca.paa)); icon = QPATHTOF(UI\Surrender_ca.paa);
}; };
}; };
}; };
@ -154,7 +154,7 @@ class CfgVehicles {
scope = 2; //show in editor scope = 2; //show in editor
isGlobal = 0; //run on server isGlobal = 0; //run on server
isTriggerActivated = 1; //Wait for triggers isTriggerActivated = 1; //Wait for triggers
icon = QUOTE(PATHTOF(UI\Icon_Module_Make_Unit_Surrender_ca.paa)); icon = QPATHTOF(UI\Icon_Module_Make_Unit_Surrender_ca.paa);
functionPriority = 0; functionPriority = 0;
class Arguments {}; class Arguments {};
class ModuleDescription: ModuleDescription { class ModuleDescription: ModuleDescription {
@ -170,7 +170,7 @@ class CfgVehicles {
scope = 2; //show in editor scope = 2; //show in editor
isGlobal = 0; //run on server isGlobal = 0; //run on server
isTriggerActivated = 1; //Wait for triggers isTriggerActivated = 1; //Wait for triggers
icon = QUOTE(PATHTOF(UI\Icon_Module_Make_Unit_Handcuffed_ca.paa)); icon = QPATHTOF(UI\Icon_Module_Make_Unit_Handcuffed_ca.paa);
functionPriority = 0; functionPriority = 0;
class Arguments {}; class Arguments {};
class ModuleDescription: ModuleDescription { class ModuleDescription: ModuleDescription {
@ -186,7 +186,7 @@ class CfgVehicles {
displayName = CSTRING(ModuleSettings_DisplayName); displayName = CSTRING(ModuleSettings_DisplayName);
function = QFUNC(moduleSettings); function = QFUNC(moduleSettings);
scope = 2; scope = 2;
icon = QUOTE(PATHTOF(UI\Icon_Module_settings_ca.paa)); icon = QPATHTOF(UI\Icon_Module_settings_ca.paa);
isGlobal = 1; isGlobal = 1;
isSingular = 1; isSingular = 1;
class Arguments { class Arguments {

View File

@ -5,8 +5,8 @@ class CfgWeapons {
class ACE_CableTie: ACE_ItemCore { class ACE_CableTie: ACE_ItemCore {
displayName = CSTRING(CableTie); displayName = CSTRING(CableTie);
descriptionShort = CSTRING(CableTieDescription); descriptionShort = CSTRING(CableTieDescription);
model = QUOTE(PATHTOF(models\ace_cabletie.p3d)); model = QPATHTOF(models\ace_cabletie.p3d);
picture = QUOTE(PATHTOF(UI\ace_cabletie_ca.paa)); picture = QPATHTOF(UI\ace_cabletie_ca.paa);
scope = 2; scope = 2;
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 1; mass = 1;

View File

@ -10,7 +10,7 @@ class CfgVehicles {
class ACE_moduleCargoSettings: ACE_Module { class ACE_moduleCargoSettings: ACE_Module {
scope = 2; scope = 2;
displayName = CSTRING(SettingsModule_DisplayName); displayName = CSTRING(SettingsModule_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Cargo_ca.paa)); icon = QPATHTOF(UI\Icon_Module_Cargo_ca.paa);
category = "ACE_Logistics"; category = "ACE_Logistics";
function = QFUNC(moduleSettings); function = QFUNC(moduleSettings);
functionPriority = 1; functionPriority = 1;
@ -36,7 +36,7 @@ class CfgVehicles {
class GVAR(makeLoadable): ACE_Module { class GVAR(makeLoadable): ACE_Module {
scope = 2; scope = 2;
displayName = CSTRING(makeLoadable_displayName); displayName = CSTRING(makeLoadable_displayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_makeLoadable_ca.paa)); icon = QPATHTOF(UI\Icon_Module_makeLoadable_ca.paa);
category = "ACE_Logistics"; category = "ACE_Logistics";
function = QFUNC(moduleMakeLoadable); function = QFUNC(moduleMakeLoadable);
isGlobal = 1; isGlobal = 1;

View File

@ -39,7 +39,7 @@ private _statement = {
[_player, _target] call FUNC(startLoadIn); [_player, _target] call FUNC(startLoadIn);
}; };
private _text = localize LSTRING(loadObject); private _text = localize LSTRING(loadObject);
private _icon = QUOTE(PATHTOF(UI\Icon_load.paa)); private _icon = QPATHTOF(UI\Icon_load.paa);
private _action = [QGVAR(load), _text, _icon, _statement, _condition] call EFUNC(interact_menu,createAction); private _action = [QGVAR(load), _text, _icon, _statement, _condition] call EFUNC(interact_menu,createAction);
[_type, 0, ["ACE_MainActions"], _action] call EFUNC(interact_menu,addActionToClass); [_type, 0, ["ACE_MainActions"], _action] call EFUNC(interact_menu,addActionToClass);

View File

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

View File

@ -36,7 +36,7 @@ class CfgVehicles {
scope = 2; scope = 2;
isGlobal = 1; isGlobal = 1;
isSingular = 1; isSingular = 1;
icon = QUOTE(PATHTOF(UI\Icon_Module_CheckPBO_ca.paa)); icon = QPATHTOF(UI\Icon_Module_CheckPBO_ca.paa);
class Arguments { class Arguments {
class Action { class Action {
displayName = CSTRING(CheckPBO_Action_DisplayName); displayName = CSTRING(CheckPBO_Action_DisplayName);
@ -82,7 +82,7 @@ class CfgVehicles {
displayName = CSTRING(LSDVehicles_DisplayName); displayName = CSTRING(LSDVehicles_DisplayName);
function = "ACE_Common_fnc_moduleLSDVehicles"; function = "ACE_Common_fnc_moduleLSDVehicles";
scope = 2; scope = 2;
icon = QUOTE(PATHTOF(UI\Icon_Module_LSD_ca.paa)); icon = QPATHTOF(UI\Icon_Module_LSD_ca.paa);
isGlobal = 1; isGlobal = 1;
class Arguments {}; class Arguments {};
class ModuleDescription: ModuleDescription { class ModuleDescription: ModuleDescription {
@ -132,7 +132,7 @@ class CfgVehicles {
class ACE_Headbug_Fix: Bicycle { class ACE_Headbug_Fix: Bicycle {
scope = 1; scope = 1;
side = 3; side = 3;
model = PATHTOF(data\ACE_HeadBanger.p3d); model = QPATHTOF(data\ACE_HeadBanger.p3d);
//model = QPATHTO_M(ACE_HeadBanger.p3d); //model = QPATHTO_M(ACE_HeadBanger.p3d);
author = CSTRING(ACETeam); author = CSTRING(ACETeam);
displayName = " "; displayName = " ";

View File

@ -34,8 +34,8 @@ class CfgWeapons {
scope = 2; scope = 2;
displayName = CSTRING(bananaDisplayName); displayName = CSTRING(bananaDisplayName);
descriptionShort = CSTRING(bananaDescr); descriptionShort = CSTRING(bananaDescr);
model = PATHTOF(data\banana.p3d); model = QPATHTOF(data\banana.p3d);
picture = PATHTOF(data\icon_banana_ca.paa); picture = QPATHTOF(data\icon_banana_ca.paa);
icon = "iconObject_circle"; icon = "iconObject_circle";
mapSize = 0.034; mapSize = 0.034;
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {

View File

@ -13,7 +13,7 @@
* None * None
* *
* Example: * Example:
* [(localize "STR_ACE_microdagr_itemName"), QUOTE(PATHTOF(images\microDAGR_item.paa)), _conditionCode, _toggleCode, _closeCode] call ace_common_fnc_deviceKeyRegisterNew * [(localize "STR_ACE_microdagr_itemName"), QPATHTOF(images\microDAGR_item.paa), _conditionCode, _toggleCode, _closeCode] call ace_common_fnc_deviceKeyRegisterNew
* *
* Public: No * Public: No
*/ */

View File

@ -14,7 +14,7 @@
* None * None
* *
* Example: * Example:
* ["myID", true, QUOTE(PATHTOF(data\icon_group.paa)), [1,1,1,1], 0] call ace_gui_fnc_displayIcon; * ["myID", true, QPATHTOF(data\icon_group.paa), [1,1,1,1], 0] call ace_gui_fnc_displayIcon;
* *
* Public: Yes * Public: Yes
*/ */

View File

@ -30,7 +30,7 @@ _display setVariable [QGVAR(versionTooltip), [_display] spawn {
_ctrl ctrlCommit 0; _ctrl ctrlCommit 0;
// pls ignore // pls ignore
_ctrl ctrlSetText QUOTE(PATHTOF(data\icon_banana_ca.paa)); _ctrl ctrlSetText QPATHTOF(data\icon_banana_ca.paa);
// animate with random speed // animate with random speed
_position set [1, 1 - safezoneY]; _position set [1, 1 - safezoneY];

View File

@ -10,7 +10,7 @@ class CfgVehicles {
scope = 1; scope = 1;
displayName = ""; displayName = "";
model = PATHTOF(data\ACE_ConcertinaWireNoGeo.p3d); model = QPATHTOF(data\ACE_ConcertinaWireNoGeo.p3d);
destrType = "DestructTent"; destrType = "DestructTent";
accuracy = 0.3; accuracy = 0.3;
mapSize = 2.8; mapSize = 2.8;
@ -75,7 +75,7 @@ class CfgVehicles {
class ACE_ConcertinaWire: ACE_ConcertinaWireNoGeo { class ACE_ConcertinaWire: ACE_ConcertinaWireNoGeo {
scope = 2; scope = 2;
displayName = $STR_ACE_CONCERTINA_WIRE; displayName = $STR_ACE_CONCERTINA_WIRE;
model = PATHTOF(data\ACE_ConcertinaWire.p3d); model = QPATHTOF(data\ACE_ConcertinaWire.p3d);
EGVAR(logistics_wirecutter,isFence) = 1; EGVAR(logistics_wirecutter,isFence) = 1;
class ACE_Actions { class ACE_Actions {
class ACE_MainActions { class ACE_MainActions {
@ -91,7 +91,7 @@ class CfgVehicles {
showDisabled = 0; showDisabled = 0;
exceptions[] = {}; exceptions[] = {};
priority = 5; priority = 5;
icon = PATHTOF(UI\icon_sandbag_ca.paa); icon = QPATHTOF(UI\icon_sandbag_ca.paa);
}; };
}; };
}; };
@ -105,7 +105,7 @@ class CfgVehicles {
scope = 2; scope = 2;
displayName = $STR_ACE_CONCERTINA_WIRECOIL; displayName = $STR_ACE_CONCERTINA_WIRECOIL;
model = PATHTOF(data\ACE_ConcertinaWireCoil.p3d); model = QPATHTOF(data\ACE_ConcertinaWireCoil.p3d);
mapsize = 0.5; mapsize = 0.5;
animated = 0; animated = 0;
nameSound = "fence"; nameSound = "fence";
@ -138,7 +138,7 @@ class CfgVehicles {
showDisabled = 0; showDisabled = 0;
exceptions[] = {}; exceptions[] = {};
priority = 5; priority = 5;
icon = PATHTOF(UI\icon_sandbag_ca.paa); icon = QPATHTOF(UI\icon_sandbag_ca.paa);
}; };
}; };
}; };

View File

@ -9,7 +9,7 @@ class CfgVehicles {
statement = QUOTE(call FUNC(menuInit)); statement = QUOTE(call FUNC(menuInit));
showDisabled = 0; showDisabled = 0;
priority = 0.1; priority = 0.1;
icon = QUOTE(PATHTOF(UI\DAGR_Icon.paa)); icon = QPATHTOF(UI\DAGR_Icon.paa);
exceptions[] = {"isNotInside", "isNotSitting"}; exceptions[] = {"isNotInside", "isNotSitting"};
class GVAR(toggle) { class GVAR(toggle) {
displayName = CSTRING(ToggleDAGR); displayName = CSTRING(ToggleDAGR);
@ -17,7 +17,7 @@ class CfgVehicles {
statement = QUOTE(call FUNC(toggleOverlay)); statement = QUOTE(call FUNC(toggleOverlay));
showDisabled = 0; showDisabled = 0;
priority = 0.2; priority = 0.2;
icon = QUOTE(PATHTOF(UI\DAGR_Icon.paa)); icon = QPATHTOF(UI\DAGR_Icon.paa);
exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"}; exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"};
}; };
}; };

View File

@ -7,9 +7,9 @@ class CfgWeapons {
author[] = {$STR_ACE_Common_ACETeam, "Ruthberg"}; author[] = {$STR_ACE_Common_ACETeam, "Ruthberg"};
scope = 2; scope = 2;
displayName = CSTRING(Name); displayName = CSTRING(Name);
model = QUOTE(PATHTOF(data\DAGR.p3d)); model = QPATHTOF(data\DAGR.p3d);
descriptionShort = CSTRING(Description); descriptionShort = CSTRING(Description);
picture = PATHTOF(UI\DAGR_Icon.paa); picture = QPATHTOF(UI\DAGR_Icon.paa);
icon = "iconObject_circle"; icon = "iconObject_circle";
mapSize = 0.034; mapSize = 0.034;
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {

View File

@ -156,7 +156,7 @@ class DAGR_Menu {
idc = 266861; idc = 266861;
x = 0.175; x = 0.175;
y = -0.173; y = -0.173;
text = QUOTE(PATHTOF(UI\dagr_menu.paa)); text = QPATHTOF(UI\dagr_menu.paa);
sizeEx = 0.1; sizeEx = 0.1;
}; };

View File

@ -179,7 +179,7 @@ GVAR(menuRun) = true;
(__dsp displayCtrl __Option2) ctrlSetText "WP LIST"; (__dsp displayCtrl __Option2) ctrlSetText "WP LIST";
(__dsp displayCtrl __Option3) ctrlSetText "CONNECT TO"; (__dsp displayCtrl __Option3) ctrlSetText "CONNECT TO";
(__dsp displayCtrl __Option4) ctrlSetText "OPTIONS"; (__dsp displayCtrl __Option4) ctrlSetText "OPTIONS";
(__dsp displayCtrl (__Selection0 + GVAR(selection))) ctrlSetText QUOTE(PATHTOF(UI\DAGR_Selection.paa)); (__dsp displayCtrl (__Selection0 + GVAR(selection))) ctrlSetText QPATHTOF(UI\DAGR_Selection.paa);
}; };
}; };
case "goto_wp": { case "goto_wp": {
@ -190,7 +190,7 @@ GVAR(menuRun) = true;
(__dsp displayCtrl __Option3) ctrlSetText GVAR(wpString3); (__dsp displayCtrl __Option3) ctrlSetText GVAR(wpString3);
(__dsp displayCtrl __Option4) ctrlSetText GVAR(wpString4); (__dsp displayCtrl __Option4) ctrlSetText GVAR(wpString4);
if (GVAR(numSelections) > 0) then { if (GVAR(numSelections) > 0) then {
(__dsp displayCtrl (__Selection0 + GVAR(selection))) ctrlSetText QUOTE(PATHTOF(UI\DAGR_Selection.paa)); (__dsp displayCtrl (__Selection0 + GVAR(selection))) ctrlSetText QPATHTOF(UI\DAGR_Selection.paa);
}; };
}; };
if (GVAR(SEL)) then { if (GVAR(SEL)) then {
@ -238,7 +238,7 @@ GVAR(menuRun) = true;
(__dsp displayCtrl __F2) ctrlSetText "Edit"; (__dsp displayCtrl __F2) ctrlSetText "Edit";
(__dsp displayCtrl __F3) ctrlSetText "Delete"; (__dsp displayCtrl __F3) ctrlSetText "Delete";
if (GVAR(numSelections) > 0) then { if (GVAR(numSelections) > 0) then {
(__dsp displayCtrl (__Selection0 + GVAR(selection))) ctrlSetText QUOTE(PATHTOF(UI\DAGR_Selection.paa)); (__dsp displayCtrl (__Selection0 + GVAR(selection))) ctrlSetText QPATHTOF(UI\DAGR_Selection.paa);
}; };
}; };
if (GVAR(F3) && GVAR(numWaypoints) > 0) then { if (GVAR(F3) && GVAR(numWaypoints) > 0) then {
@ -399,7 +399,7 @@ GVAR(menuRun) = true;
(__dsp displayCtrl __F3) ctrlSetText "Cancel"; (__dsp displayCtrl __F3) ctrlSetText "Cancel";
GVAR(output) = str GVAR(digit1) + str GVAR(digit2) + str GVAR(digit3) + str GVAR(digit4) + str GVAR(digit5) + str GVAR(digit6) + str GVAR(digit7) + str GVAR(digit8); GVAR(output) = str GVAR(digit1) + str GVAR(digit2) + str GVAR(digit3) + str GVAR(digit4) + str GVAR(digit5) + str GVAR(digit6) + str GVAR(digit7) + str GVAR(digit8);
(__dsp displayCtrl __mainText) ctrlSetText GVAR(output); (__dsp displayCtrl __mainText) ctrlSetText GVAR(output);
(__dsp displayCtrl __PSelection1 + GVAR(pointer)) ctrlSetText QUOTE(PATHTOF(UI\DAGR_PSelection.paa)); (__dsp displayCtrl __PSelection1 + GVAR(pointer)) ctrlSetText QPATHTOF(UI\DAGR_PSelection.paa);
}; };
if (GVAR(F1)) then { if (GVAR(F1)) then {
if (!GVAR(busy)) then { if (!GVAR(busy)) then {
@ -507,7 +507,7 @@ GVAR(menuRun) = true;
case "connect": { case "connect": {
if (!GVAR(busy)) then { if (!GVAR(busy)) then {
(__dsp displayCtrl __Option0) ctrlSetText "Vector 21"; (__dsp displayCtrl __Option0) ctrlSetText "Vector 21";
(__dsp displayCtrl __Selection0) ctrlSetText QUOTE(PATHTOF(UI\DAGR_Selection.paa)); (__dsp displayCtrl __Selection0) ctrlSetText QPATHTOF(UI\DAGR_Selection.paa);
}; };
if (GVAR(SEL)) then { if (GVAR(SEL)) then {
if (!GVAR(busy)) then { if (!GVAR(busy)) then {
@ -542,7 +542,7 @@ GVAR(menuRun) = true;
case "options": { case "options": {
(__dsp displayCtrl __Option0) ctrlSetText "Signal Delay"; (__dsp displayCtrl __Option0) ctrlSetText "Signal Delay";
(__dsp displayCtrl __Option1) ctrlSetText (if (GVAR(useDegrees)) then { "Direction: Deg" } else { "Direction: MIL" }); (__dsp displayCtrl __Option1) ctrlSetText (if (GVAR(useDegrees)) then { "Direction: Deg" } else { "Direction: MIL" });
(__dsp displayCtrl (__Selection0 + GVAR(selection))) ctrlSetText QUOTE(PATHTOF(UI\DAGR_Selection.paa)); (__dsp displayCtrl (__Selection0 + GVAR(selection))) ctrlSetText QPATHTOF(UI\DAGR_Selection.paa);
if (GVAR(SEL)) then { if (GVAR(SEL)) then {
GVAR(vectorConnected) = false; GVAR(vectorConnected) = false;
switch (GVAR(selection)) do { switch (GVAR(selection)) do {

View File

@ -25,7 +25,7 @@
#define __timeControl (__display displayCtrl 266855) #define __timeControl (__display displayCtrl 266855)
#define __background (__display displayCtrl 266856) #define __background (__display displayCtrl 266856)
__background ctrlSetText QUOTE(PATHTOF(UI\dagr_gps.paa)); __background ctrlSetText QPATHTOF(UI\dagr_gps.paa);
if (GVAR(outputPFH) != -1) exitWith {}; if (GVAR(outputPFH) != -1) exitWith {};

View File

@ -27,7 +27,7 @@ private ["_xGrid", "_yGrid", "_dagrGrid", "_bearing", "_dagrDist", "_dagrElevati
#define __timeControl (__display displayCtrl 266855) #define __timeControl (__display displayCtrl 266855)
#define __background (__display displayCtrl 266856) #define __background (__display displayCtrl 266856)
__background ctrlSetText QUOTE(PATHTOF(UI\dagr_vector.paa)); __background ctrlSetText QPATHTOF(UI\dagr_vector.paa);
if (GVAR(noVectorData)) exitWith {}; if (GVAR(noVectorData)) exitWith {};
GVAR(LAZPOS) params ["_lazPosX", "_lazPosY", "_lazPosZ"]; GVAR(LAZPOS) params ["_lazPosX", "_lazPosY", "_lazPosZ"];

View File

@ -25,7 +25,7 @@
#define __timeControl (__display displayCtrl 266859) #define __timeControl (__display displayCtrl 266859)
#define __background (__display displayCtrl 266856) #define __background (__display displayCtrl 266856)
__background ctrlSetText QUOTE(PATHTOF(UI\dagr_wp.paa)); __background ctrlSetText QPATHTOF(UI\dagr_wp.paa);
if (GVAR(outputPFH) != -1) exitWith {}; if (GVAR(outputPFH) != -1) exitWith {};

View File

@ -56,4 +56,4 @@ _closeCode = {
closeDialog 0; closeDialog 0;
}; };
}; };
["DAGR", QUOTE(PATHTOF(UI\DAGR_Icon.paa)), _conditonCode, _toggleCode, _closeCode] call EFUNC(common,deviceKeyRegisterNew); ["DAGR", QPATHTOF(UI\DAGR_Icon.paa), _conditonCode, _toggleCode, _closeCode] call EFUNC(common,deviceKeyRegisterNew);

View File

@ -8,7 +8,7 @@ class CfgVehicles {
distance = 3.5; distance = 3.5;
condition = QUOTE([ARR_2(_player,_target)] call FUNC(canPlayerDisarmUnit)); condition = QUOTE([ARR_2(_player,_target)] call FUNC(canPlayerDisarmUnit));
statement = QUOTE([ARR_2(_player,_target)] call FUNC(openDisarmDialog)); statement = QUOTE([ARR_2(_player,_target)] call FUNC(openDisarmDialog));
icon = PATHTOF(UI\disarm.paa); icon = QPATHTOF(UI\disarm.paa);
exceptions[] = {}; exceptions[] = {};
}; };
}; };

View File

@ -5,7 +5,7 @@ class CfgWeapons {
class ACE_DebugPotato: ACE_ItemCore { class ACE_DebugPotato: ACE_ItemCore {
displayName = "ACE Potato (debug)"; displayName = "ACE Potato (debug)";
descriptionShort = "Glorious Potato<br/>If you see this in game it means someone fucked up"; descriptionShort = "Glorious Potato<br/>If you see this in game it means someone fucked up";
picture = QUOTE(PATHTOF(UI\potato_ca.paa)); picture = QPATHTOF(UI\potato_ca.paa);
scope = 1; scope = 1;
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 1; mass = 1;

View File

@ -5,7 +5,7 @@ class CfgMagazines {
scope = 1; scope = 1;
scopeArsenal = 1; scopeArsenal = 1;
displayName = CSTRING(PreloadedMissileDummy); displayName = CSTRING(PreloadedMissileDummy);
picture = PATHTOEF(common,UI\blank_CO.paa); picture = QPATHTOEF(common,UI\blank_CO.paa);
weaponPoolAvailable = 0; weaponPoolAvailable = 0;
mass = 0; mass = 0;
}; };

View File

@ -11,52 +11,52 @@ onSetup parameters:
class Command { class Command {
isAttachable = 1; isAttachable = 1;
displayName = CSTRING(clacker_displayName); displayName = CSTRING(clacker_displayName);
picture = PATHTOF(Data\UI\Clacker.paa); picture = QPATHTOF(Data\UI\Clacker.paa);
onPlace = QUOTE(_this call FUNC(AddClacker);false); onPlace = QUOTE(_this call FUNC(AddClacker);false);
requires[] = {"ACE_Clacker"}; requires[] = {"ACE_Clacker"};
}; };
class MK16_Transmitter: Command { class MK16_Transmitter: Command {
isAttachable = 1; isAttachable = 1;
displayName = CSTRING(M152_displayName); displayName = CSTRING(M152_displayName);
picture = PATHTOF(Data\UI\MK16_Reciever_ca.paa); picture = QPATHTOF(Data\UI\MK16_Reciever_ca.paa);
requires[] = {"ACE_M26_Clacker"}; requires[] = {"ACE_M26_Clacker"};
}; };
class DeadManSwitch: Command { class DeadManSwitch: Command {
isAttachable = 1; isAttachable = 1;
displayName = CSTRING(DeadManSwitch_displayName); displayName = CSTRING(DeadManSwitch_displayName);
picture = PATHTOF(Data\UI\DeadmanSwitch.paa); picture = QPATHTOF(Data\UI\DeadmanSwitch.paa);
requires[] = {"ACE_DeadManSwitch"}; requires[] = {"ACE_DeadManSwitch"};
}; };
class Cellphone: Command { class Cellphone: Command {
isAttachable = 1; isAttachable = 1;
displayName = CSTRING(cellphone_displayName); displayName = CSTRING(cellphone_displayName);
picture = PATHTOF(Data\UI\Cellphone_UI.paa); picture = QPATHTOF(Data\UI\Cellphone_UI.paa);
onPlace = QUOTE(_this call FUNC(addCellphoneIED);false); onPlace = QUOTE(_this call FUNC(addCellphoneIED);false);
requires[] = {"ACE_Cellphone"}; requires[] = {"ACE_Cellphone"};
}; };
class PressurePlate { class PressurePlate {
isAttachable = 0; isAttachable = 0;
displayName = CSTRING(PressurePlate); displayName = CSTRING(PressurePlate);
picture = PATHTOF(Data\UI\PressurePlate.paa); picture = QPATHTOF(Data\UI\PressurePlate.paa);
onPlace = QUOTE(false); onPlace = QUOTE(false);
}; };
class IRSensor { class IRSensor {
isAttachable = 0; isAttachable = 0;
displayName = CSTRING(IRSensor); displayName = CSTRING(IRSensor);
picture = PATHTOF(Data\UI\PressurePlate.paa); picture = QPATHTOF(Data\UI\PressurePlate.paa);
onPlace = "false"; onPlace = "false";
}; };
class Timer { class Timer {
isAttachable = 1; isAttachable = 1;
displayName = CSTRING(timerName); displayName = CSTRING(timerName);
picture = PATHTOF(data\UI\Timer.paa); picture = QPATHTOF(data\UI\Timer.paa);
onPlace = QUOTE([ARR_2(_this select 1,(_this select 3) select 0)] call FUNC(startTimer);false); onPlace = QUOTE([ARR_2(_this select 1,(_this select 3) select 0)] call FUNC(startTimer);false);
onSetup = QUOTE(_this call FUNC(openTimerSetUI);true); onSetup = QUOTE(_this call FUNC(openTimerSetUI);true);
}; };
class Tripwire { class Tripwire {
isAttachable = 0; isAttachable = 0;
displayName = CSTRING(TripWire); displayName = CSTRING(TripWire);
picture = PATHTOF(Data\UI\Tripwire.paa); picture = QPATHTOF(Data\UI\Tripwire.paa);
onPlace = "false"; onPlace = "false";
}; };
}; };

View File

@ -7,7 +7,7 @@ class ACE_ModuleExplosive: ACE_Module {
scope = 2; scope = 2;
isGlobal = 1; isGlobal = 1;
isSingular = 1; isSingular = 1;
icon = PATHTOF(UI\Icon_Module_Explosives_ca.paa); icon = QPATHTOF(UI\Icon_Module_Explosives_ca.paa);
class Arguments { class Arguments {
class RequireSpecialist { class RequireSpecialist {
displayName = CSTRING(RequireSpecialist_DisplayName); displayName = CSTRING(RequireSpecialist_DisplayName);

View File

@ -12,7 +12,7 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting"}; exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting"};
showDisabled = 1; showDisabled = 1;
priority = 4; priority = 4;
icon = PATHTOF(UI\Explosives_Menu_ca.paa); icon = QPATHTOF(UI\Explosives_Menu_ca.paa);
insertChildren = QUOTE([_player] call FUNC(addTransmitterActions);); insertChildren = QUOTE([_player] call FUNC(addTransmitterActions););
//Sub-menu items //Sub-menu items
class ACE_Place { class ACE_Place {
@ -22,7 +22,7 @@ class CfgVehicles {
insertChildren = QUOTE([_player] call FUNC(addExplosiveActions);); insertChildren = QUOTE([_player] call FUNC(addExplosiveActions););
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 1; showDisabled = 1;
icon = PATHTOF(UI\Place_Explosive_ca.paa); icon = QPATHTOF(UI\Place_Explosive_ca.paa);
priority = 1; priority = 1;
}; };
class ACE_Cellphone { class ACE_Cellphone {
@ -31,7 +31,7 @@ class CfgVehicles {
statement = "closeDialog 0;createDialog 'Rsc_ACE_PhoneInterface';"; statement = "closeDialog 0;createDialog 'Rsc_ACE_PhoneInterface';";
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting"}; exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting"};
showDisabled = 0; showDisabled = 0;
icon = PATHTOF(Data\UI\Cellphone_UI.paa); icon = QPATHTOF(Data\UI\Cellphone_UI.paa);
priority = 0.8; priority = 0.8;
}; };
}; };
@ -64,7 +64,7 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_player,_target)] call FUNC(startDefuse);); statement = QUOTE([ARR_2(_player,_target)] call FUNC(startDefuse););
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 0; showDisabled = 0;
icon = PATHTOF(UI\Defuse_ca.paa); icon = QPATHTOF(UI\Defuse_ca.paa);
priority = 0.8; priority = 0.8;
}; };
}; };
@ -98,7 +98,7 @@ class CfgVehicles {
showDisabled = 0; showDisabled = 0;
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
priority = 5; priority = 5;
icon = QUOTE(PATHTOF(UI\Explosives_Menu_ca.paa)); icon = QPATHTOF(UI\Explosives_Menu_ca.paa);
}; };
class ACE_PickUp { class ACE_PickUp {
selection = ""; selection = "";

View File

@ -11,8 +11,8 @@ class CfgWeapons {
scope = 2; scope = 2;
displayName = CSTRING(clacker_displayName); displayName = CSTRING(clacker_displayName);
descriptionShort = CSTRING(clacker_description); descriptionShort = CSTRING(clacker_description);
picture = PATHTOF(Data\UI\Clacker.paa); picture = QPATHTOF(Data\UI\Clacker.paa);
model = QUOTE(PATHTOF(data\ace_m57.p3d)); model = QPATHTOF(data\ace_m57.p3d);
GVAR(Range) = 250; GVAR(Range) = 250;
GVAR(Detonator) = 1; GVAR(Detonator) = 1;
GVAR(triggerType) = "Command"; GVAR(triggerType) = "Command";
@ -24,7 +24,7 @@ class CfgWeapons {
}; };
class ACE_M26_Clacker: ACE_Clacker { class ACE_M26_Clacker: ACE_Clacker {
displayName = CSTRING(M152_Clacker_displayName); displayName = CSTRING(M152_Clacker_displayName);
picture = PATHTOF(Data\UI\MK26_Transmitter_ca.paa); picture = QPATHTOF(Data\UI\MK26_Transmitter_ca.paa);
GVAR(Range) = 5000; GVAR(Range) = 5000;
GVAR(triggerType) = "MK16_Transmitter"; GVAR(triggerType) = "MK16_Transmitter";
}; };
@ -32,7 +32,7 @@ class CfgWeapons {
scope = 2; scope = 2;
displayName = CSTRING(DefusalKit_displayName); displayName = CSTRING(DefusalKit_displayName);
descriptionShort = CSTRING(DefusalKit_description); descriptionShort = CSTRING(DefusalKit_description);
picture = PATHTOF(Data\UI\Pliers.paa); picture = QPATHTOF(Data\UI\Pliers.paa);
model = "\A3\Structures_F\Items\Tools\Pliers_F.p3d"; model = "\A3\Structures_F\Items\Tools\Pliers_F.p3d";
class ItemInfo: ACE_ExplosiveItem { class ItemInfo: ACE_ExplosiveItem {
@ -44,7 +44,7 @@ class CfgWeapons {
scope = 2; scope = 2;
displayName = CSTRING(DeadManSwitch_displayName); displayName = CSTRING(DeadManSwitch_displayName);
descriptionShort = CSTRING(DeadManSwitch_description); descriptionShort = CSTRING(DeadManSwitch_description);
picture = PATHTOF(Data\UI\DeadmanSwitch.paa); picture = QPATHTOF(Data\UI\DeadmanSwitch.paa);
model = "\A3\weapons_F\ammo\mag_univ.p3d"; model = "\A3\weapons_F\ammo\mag_univ.p3d";
GVAR(Range) = 100; GVAR(Range) = 100;
GVAR(Detonator) = 1; GVAR(Detonator) = 1;
@ -59,7 +59,7 @@ class CfgWeapons {
scope = 2; scope = 2;
displayName = CSTRING(cellphone_displayName); displayName = CSTRING(cellphone_displayName);
descriptionShort = CSTRING(cellphone_description); descriptionShort = CSTRING(cellphone_description);
picture = PATHTOF(Data\UI\Cellphone_UI.paa); picture = QPATHTOF(Data\UI\Cellphone_UI.paa);
model = "\A3\weapons_F\ammo\mag_univ.p3d"; model = "\A3\weapons_F\ammo\mag_univ.p3d";
GVAR(Range) = 15000; GVAR(Range) = 15000;
GVAR(Detonator) = 1; GVAR(Detonator) = 1;

View File

@ -113,7 +113,7 @@ class Rsc_ACE_PhoneInterface {
class controls { class controls {
class RscPicture_1200: RscPicture { class RscPicture_1200: RscPicture {
idc = 1200; idc = 1200;
text = PATHTOF(Data\UI\Cellphone_Background.paa); text = QPATHTOF(Data\UI\Cellphone_Background.paa);
x = 0.231875 * safezoneW + safezoneX; x = 0.231875 * safezoneW + safezoneX;
y = 0.104 * safezoneH + safezoneY; y = 0.104 * safezoneH + safezoneY;
w = 0.195937 * safezoneW; w = 0.195937 * safezoneW;

View File

@ -9,7 +9,7 @@ class CfgMovesMaleSdr: CfgMovesBasic {
class States { class States {
class Crew; class Crew;
class ACE_FastRoping: Crew { class ACE_FastRoping: Crew {
file = QUOTE(PATHTOF(anim\fastroping.rtm)); file = QPATHTOF(anim\fastroping.rtm);
interpolateTo[] = {"Unconscious", 1}; interpolateTo[] = {"Unconscious", 1};
disableWeapons = 1; disableWeapons = 1;
disableWeaponsLong = 1; disableWeaponsLong = 1;

View File

@ -20,7 +20,7 @@ class CfgVehicles {
class ACE_moduleEquipFRIES: ACE_Module { class ACE_moduleEquipFRIES: ACE_Module {
scope = 2; scope = 2;
displayName = CSTRING(Module_FRIES_DisplayName); displayName = CSTRING(Module_FRIES_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_FRIES_ca.paa)); icon = QPATHTOF(UI\Icon_Module_FRIES_ca.paa);
category = "ACE"; category = "ACE";
function = QUOTE(FUNC(moduleEquipFRIES)); function = QUOTE(FUNC(moduleEquipFRIES));
functionPriority = 10; functionPriority = 10;
@ -77,7 +77,7 @@ class CfgVehicles {
class ACE_friesAnchorBar: ACE_friesBase { class ACE_friesAnchorBar: ACE_friesBase {
author = "jokoho48"; author = "jokoho48";
scope = 1; scope = 1;
model = QUOTE(PATHTOF(data\friesAnchorBar.p3d)); model = QPATHTOF(data\friesAnchorBar.p3d);
animated = 1; animated = 1;
class AnimationSources { class AnimationSources {
class extendHookRight { class extendHookRight {
@ -95,7 +95,7 @@ class CfgVehicles {
class ACE_friesGantry: ACE_friesBase { class ACE_friesGantry: ACE_friesBase {
author = "jokoho48"; author = "jokoho48";
scope = 1; scope = 1;
model = QUOTE(PATHTOF(data\friesGantry.p3d)); model = QPATHTOF(data\friesGantry.p3d);
animated = 1; animated = 1;
class AnimationSources { class AnimationSources {
class adjustWidth { class adjustWidth {
@ -148,7 +148,7 @@ class CfgVehicles {
class GVAR(helper): Helicopter_Base_F { class GVAR(helper): Helicopter_Base_F {
author = "KoffeinFlummi"; author = "KoffeinFlummi";
scope = 1; scope = 1;
model = PATHTOF(data\helper.p3d); model = QPATHTOF(data\helper.p3d);
class ACE_Actions {}; class ACE_Actions {};
class Turrets {}; class Turrets {};
}; };

View File

@ -4,8 +4,8 @@ class CfgWaypoints {
class Fastrope { class Fastrope {
displayName = CSTRING(Waypoint_Fastrope); displayName = CSTRING(Waypoint_Fastrope);
displayNameDebug = "Fastrope"; displayNameDebug = "Fastrope";
file = QUOTE(PATHTOF(functions\fnc_deployAIWaypoint.sqf)); file = QPATHTOF(functions\fnc_deployAIWaypoint.sqf);
icon = QUOTE(PATHTOF(UI\Icon_Waypoint.paa)); icon = QPATHTOF(UI\Icon_Waypoint.paa);
}; };
}; };
}; };

View File

@ -4,7 +4,7 @@ class CfgVehicles {
scope = 2; scope = 2;
category = "ACE"; category = "ACE";
displayName = CSTRING(moduleSettings_displayName); displayName = CSTRING(moduleSettings_displayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_finger_ca.paa)); icon = QPATHTOF(UI\Icon_Module_finger_ca.paa);
function = QFUNC(moduleSettings); function = QFUNC(moduleSettings);
isGlobal = 0; isGlobal = 0;
isSingular = 1; isSingular = 1;

View File

@ -41,7 +41,7 @@ _iconSize = BASE_SIZE * _fovCorrection;
_drawColor set [3, ((_drawColor select 3) * (_timeLeftToShow / 0.5))]; _drawColor set [3, ((_drawColor select 3) * (_timeLeftToShow / 0.5))];
}; };
drawIcon3D [QUOTE(PATHTOF(UI\fp_icon2.paa)), _drawColor, _pos, _iconSize, _iconSize, 0, _name, 1, 0.03, "RobotoCondensed"]; drawIcon3D [QPATHTOF(UI\fp_icon2.paa), _drawColor, _pos, _iconSize, _iconSize, 0, _name, 1, 0.03, "RobotoCondensed"];
}; };
} count (GVAR(fingersHash) select 0); } count (GVAR(fingersHash) select 0);

View File

@ -17,8 +17,8 @@ class CfgWeapons {
class ACE_Flashlight_MX991: ACE_ItemCore { class ACE_Flashlight_MX991: ACE_ItemCore {
displayName = CSTRING(MX991_DisplayName); displayName = CSTRING(MX991_DisplayName);
descriptionShort = CSTRING(MX991_Description); descriptionShort = CSTRING(MX991_Description);
model = QUOTE(PATHTOF(data\MX_991.p3d)); model = QPATHTOF(data\MX_991.p3d);
picture = PATHTOF(UI\mx991_ca.paa); picture = QPATHTOF(UI\mx991_ca.paa);
scope = 2; scope = 2;
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 1; mass = 1;
@ -32,8 +32,8 @@ class CfgWeapons {
class ACE_Flashlight_KSF1: ACE_ItemCore { class ACE_Flashlight_KSF1: ACE_ItemCore {
displayName = CSTRING(KSF1_DisplayName); displayName = CSTRING(KSF1_DisplayName);
descriptionShort = CSTRING(KSF1_Description); descriptionShort = CSTRING(KSF1_Description);
model = QUOTE(PATHTOF(data\KSF_1.p3d)); model = QPATHTOF(data\KSF_1.p3d);
picture = PATHTOF(UI\ksf1_ca.paa); picture = QPATHTOF(UI\ksf1_ca.paa);
scope = 2; scope = 2;
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 1; mass = 1;
@ -47,8 +47,8 @@ class CfgWeapons {
class ACE_Flashlight_XL50: ACE_ItemCore { class ACE_Flashlight_XL50: ACE_ItemCore {
displayName = CSTRING(XL50_DisplayName); displayName = CSTRING(XL50_DisplayName);
descriptionShort = CSTRING(XL50_Description); descriptionShort = CSTRING(XL50_Description);
model = QUOTE(PATHTOF(data\Maglight.p3d)); model = QPATHTOF(data\Maglight.p3d);
picture = PATHTOF(UI\xl50_ca.paa); picture = QPATHTOF(UI\xl50_ca.paa);
scope = 2; scope = 2;
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 1; mass = 1;

View File

@ -2,38 +2,38 @@ class CfgFontFamilies
{ {
class PixelSplitterBold class PixelSplitterBold
{ {
fonts[] = { PATHTOF(PixelSplitterBold\PixelSplitterBold6), fonts[] = { QPATHTOF(PixelSplitterBold\PixelSplitterBold6),
PATHTOF(PixelSplitterBold\PixelSplitterBold7), QPATHTOF(PixelSplitterBold\PixelSplitterBold7),
PATHTOF(PixelSplitterBold\PixelSplitterBold8), QPATHTOF(PixelSplitterBold\PixelSplitterBold8),
PATHTOF(PixelSplitterBold\PixelSplitterBold9), QPATHTOF(PixelSplitterBold\PixelSplitterBold9),
PATHTOF(PixelSplitterBold\PixelSplitterBold10), QPATHTOF(PixelSplitterBold\PixelSplitterBold10),
PATHTOF(PixelSplitterBold\PixelSplitterBold11), QPATHTOF(PixelSplitterBold\PixelSplitterBold11),
PATHTOF(PixelSplitterBold\PixelSplitterBold12), QPATHTOF(PixelSplitterBold\PixelSplitterBold12),
PATHTOF(PixelSplitterBold\PixelSplitterBold13), QPATHTOF(PixelSplitterBold\PixelSplitterBold13),
PATHTOF(PixelSplitterBold\PixelSplitterBold14), QPATHTOF(PixelSplitterBold\PixelSplitterBold14),
PATHTOF(PixelSplitterBold\PixelSplitterBold15), QPATHTOF(PixelSplitterBold\PixelSplitterBold15),
PATHTOF(PixelSplitterBold\PixelSplitterBold16), QPATHTOF(PixelSplitterBold\PixelSplitterBold16),
PATHTOF(PixelSplitterBold\PixelSplitterBold17), QPATHTOF(PixelSplitterBold\PixelSplitterBold17),
PATHTOF(PixelSplitterBold\PixelSplitterBold18), QPATHTOF(PixelSplitterBold\PixelSplitterBold18),
PATHTOF(PixelSplitterBold\PixelSplitterBold19), QPATHTOF(PixelSplitterBold\PixelSplitterBold19),
PATHTOF(PixelSplitterBold\PixelSplitterBold20), QPATHTOF(PixelSplitterBold\PixelSplitterBold20),
PATHTOF(PixelSplitterBold\PixelSplitterBold21), QPATHTOF(PixelSplitterBold\PixelSplitterBold21),
PATHTOF(PixelSplitterBold\PixelSplitterBold22), QPATHTOF(PixelSplitterBold\PixelSplitterBold22),
PATHTOF(PixelSplitterBold\PixelSplitterBold23), QPATHTOF(PixelSplitterBold\PixelSplitterBold23),
PATHTOF(PixelSplitterBold\PixelSplitterBold24), QPATHTOF(PixelSplitterBold\PixelSplitterBold24),
PATHTOF(PixelSplitterBold\PixelSplitterBold25), QPATHTOF(PixelSplitterBold\PixelSplitterBold25),
PATHTOF(PixelSplitterBold\PixelSplitterBold26), QPATHTOF(PixelSplitterBold\PixelSplitterBold26),
PATHTOF(PixelSplitterBold\PixelSplitterBold27), QPATHTOF(PixelSplitterBold\PixelSplitterBold27),
PATHTOF(PixelSplitterBold\PixelSplitterBold28), QPATHTOF(PixelSplitterBold\PixelSplitterBold28),
PATHTOF(PixelSplitterBold\PixelSplitterBold29), QPATHTOF(PixelSplitterBold\PixelSplitterBold29),
PATHTOF(PixelSplitterBold\PixelSplitterBold30), QPATHTOF(PixelSplitterBold\PixelSplitterBold30),
PATHTOF(PixelSplitterBold\PixelSplitterBold31), QPATHTOF(PixelSplitterBold\PixelSplitterBold31),
PATHTOF(PixelSplitterBold\PixelSplitterBold34), QPATHTOF(PixelSplitterBold\PixelSplitterBold34),
PATHTOF(PixelSplitterBold\PixelSplitterBold35), QPATHTOF(PixelSplitterBold\PixelSplitterBold35),
PATHTOF(PixelSplitterBold\PixelSplitterBold37), QPATHTOF(PixelSplitterBold\PixelSplitterBold37),
PATHTOF(PixelSplitterBold\PixelSplitterBold46) QPATHTOF(PixelSplitterBold\PixelSplitterBold46)
}; };
spaceWidth = 0.5; spaceWidth = 0.5;
spacing = 0.065; spacing = 0.065;
}; };
}; };

View File

@ -9,7 +9,7 @@ class CfgVehicles {
statement = ""; statement = "";
showDisabled = 1; showDisabled = 1;
priority = 3.5; priority = 3.5;
icon = PATHTOF(UI\gestures_ca.paa); icon = QPATHTOF(UI\gestures_ca.paa);
class GVAR(Advance) { class GVAR(Advance) {
displayName = CSTRING(Advance); displayName = CSTRING(Advance);

View File

@ -126,75 +126,75 @@ class CfgGesturesMale {
}; };
class GVAR(forward): GVAR(Base) { class GVAR(forward): GVAR(Base) {
file = QUOTE(PATHTOF(anim\ace_forward.rtm)); file = QPATHTOF(anim\ace_forward.rtm);
speed = 1; speed = 1;
}; };
class GVAR(forwardStandLowered): GVAR(forward) { class GVAR(forwardStandLowered): GVAR(forward) {
file = QUOTE(PATHTOF(anim\ace_forward_stand_lowered.rtm)); file = QPATHTOF(anim\ace_forward_stand_lowered.rtm);
}; };
class GVAR(freeze): GVAR(forward) { class GVAR(freeze): GVAR(forward) {
file = QUOTE(PATHTOF(anim\ace_freeze.rtm)); file = QPATHTOF(anim\ace_freeze.rtm);
speed = 0.6; speed = 0.6;
}; };
class GVAR(freezeStandLowered): GVAR(freeze) { class GVAR(freezeStandLowered): GVAR(freeze) {
file = QUOTE(PATHTOF(anim\ace_freeze_stand_lowered.rtm)); file = QPATHTOF(anim\ace_freeze_stand_lowered.rtm);
}; };
class GVAR(cover): GVAR(forward) { class GVAR(cover): GVAR(forward) {
file = QUOTE(PATHTOF(anim\ace_cover.rtm)); file = QPATHTOF(anim\ace_cover.rtm);
speed = 0.8; speed = 0.8;
}; };
class GVAR(coverStandLowered): GVAR(cover) { class GVAR(coverStandLowered): GVAR(cover) {
file = QUOTE(PATHTOF(anim\ace_cover_stand_lowered.rtm)); file = QPATHTOF(anim\ace_cover_stand_lowered.rtm);
}; };
class GVAR(regroup): GVAR(forward) { class GVAR(regroup): GVAR(forward) {
file = QUOTE(PATHTOF(anim\ace_regroup.rtm)); file = QPATHTOF(anim\ace_regroup.rtm);
speed = 0.8; speed = 0.8;
}; };
class GVAR(regroupStandLowered): GVAR(regroup) { class GVAR(regroupStandLowered): GVAR(regroup) {
file = QUOTE(PATHTOF(anim\ace_regroup_stand_lowered.rtm)); file = QPATHTOF(anim\ace_regroup_stand_lowered.rtm);
}; };
class GVAR(engage): GVAR(forward) { class GVAR(engage): GVAR(forward) {
file = QUOTE(PATHTOF(anim\ace_engage.rtm)); file = QPATHTOF(anim\ace_engage.rtm);
speed = 0.9; speed = 0.9;
}; };
class GVAR(engageStandLowered): GVAR(engage) { class GVAR(engageStandLowered): GVAR(engage) {
file = QUOTE(PATHTOF(anim\ace_engage_stand_lowered.rtm)); file = QPATHTOF(anim\ace_engage_stand_lowered.rtm);
}; };
class GVAR(point): GVAR(forward) { class GVAR(point): GVAR(forward) {
file = QUOTE(PATHTOF(anim\ace_point.rtm)); file = QPATHTOF(anim\ace_point.rtm);
speed = 0.8; speed = 0.8;
}; };
class GVAR(pointStandLowered): GVAR(point) { class GVAR(pointStandLowered): GVAR(point) {
file = QUOTE(PATHTOF(anim\ace_point_stand_lowered.rtm)); file = QPATHTOF(anim\ace_point_stand_lowered.rtm);
}; };
class GVAR(hold): GVAR(forward) { class GVAR(hold): GVAR(forward) {
file = QUOTE(PATHTOF(anim\ace_hold.rtm)); file = QPATHTOF(anim\ace_hold.rtm);
speed = 0.8; speed = 0.8;
}; };
class GVAR(holdStandLowered): GVAR(hold) { class GVAR(holdStandLowered): GVAR(hold) {
file = QUOTE(PATHTOF(anim\ace_hold_stand_lowered.rtm)); file = QPATHTOF(anim\ace_hold_stand_lowered.rtm);
}; };
class GVAR(warning): GVAR(forward) { class GVAR(warning): GVAR(forward) {
file = QUOTE(PATHTOF(anim\ace_warning.rtm)); file = QPATHTOF(anim\ace_warning.rtm);
speed = 0.8; speed = 0.8;
}; };
class GVAR(warningStandLowered): GVAR(warning) { class GVAR(warningStandLowered): GVAR(warning) {
file = QUOTE(PATHTOF(anim\ace_warning_stand_lowered.rtm)); file = QPATHTOF(anim\ace_warning_stand_lowered.rtm);
}; };
}; };
}; };

View File

@ -15,8 +15,8 @@ class CfgPatches {
#include "CfgEventHandlers.hpp" #include "CfgEventHandlers.hpp"
#define COMBAT_GOGGLES ACE_Overlay = QUOTE(PATHTOF(textures\HUD\CombatGoggles.paa)); \ #define COMBAT_GOGGLES ACE_Overlay = QPATHTOF(textures\HUD\CombatGoggles.paa); \
ACE_OverlayCracked = QUOTE(PATHTOF(textures\HUD\CombatGogglesCracked.paa)); \ ACE_OverlayCracked = QPATHTOF(textures\HUD\CombatGogglesCracked.paa); \
ACE_Resistance = 2; \ ACE_Resistance = 2; \
ACE_Protection = 1; ACE_Protection = 1;
@ -26,10 +26,10 @@ class CfgGlasses {
ACE_TintAmount=0; ACE_TintAmount=0;
ACE_Overlay = ""; ACE_Overlay = "";
ACE_OverlayDirt = "A3\Ui_f\data\igui\rsctitles\HealthTextures\dust_upper_ca.paa"; ACE_OverlayDirt = "A3\Ui_f\data\igui\rsctitles\HealthTextures\dust_upper_ca.paa";
ACE_OverlayCracked = QUOTE(PATHTOF(textures\HUD\Cracked.paa)); ACE_OverlayCracked = QPATHTOF(textures\HUD\Cracked.paa);
ACE_Resistance = 0; ACE_Resistance = 0;
ACE_Protection = 0; ACE_Protection = 0;
ACE_DustPath = QUOTE(PATHTOF(textures\fx\dust\%1.paa)); ACE_DustPath = QPATHTOF(textures\fx\dust\%1.paa);
}; };
class G_Combat:None { class G_Combat:None {
@ -37,8 +37,8 @@ class CfgGlasses {
}; };
class G_Diving { class G_Diving {
ACE_Overlay = QUOTE(PATHTOF(textures\HUD\DivingGoggles.paa)); ACE_Overlay = QPATHTOF(textures\HUD\DivingGoggles.paa);
ACE_OverlayCracked = QUOTE(PATHTOF(textures\HUD\DivingGogglesCracked.paa)); ACE_OverlayCracked = QPATHTOF(textures\HUD\DivingGogglesCracked.paa);
ACE_Resistance = 2; ACE_Resistance = 2;
ACE_Protection = 1; ACE_Protection = 1;
}; };
@ -209,7 +209,7 @@ class CfgGesturesMale {
class States { class States {
class GestureFreezeStand; class GestureFreezeStand;
class GestureWipeFace: GestureFreezeStand { class GestureWipeFace: GestureFreezeStand {
file = QUOTE(PATHTOF(anim\WipeGlasses.rtm)); file = QPATHTOF(anim\WipeGlasses.rtm);
canPullTrigger = 0; canPullTrigger = 0;
}; };
}; };

View File

@ -81,7 +81,7 @@ class CfgAmmo {
class ACE_G_M84: SmokeShell { class ACE_G_M84: SmokeShell {
GVAR(flashbang) = 1; GVAR(flashbang) = 1;
model = PATHTOF(models\ACE_m84_thrown.p3d); model = QPATHTOF(models\ACE_m84_thrown.p3d);
dangerRadiusHit = -1; dangerRadiusHit = -1;
suppressionRadiusHit = 20; suppressionRadiusHit = 20;
typicalSpeed = 22; typicalSpeed = 22;

View File

@ -59,8 +59,8 @@ class CfgMagazines {
displayname = CSTRING(M84_Name); displayname = CSTRING(M84_Name);
descriptionshort = CSTRING(M84_Description); descriptionshort = CSTRING(M84_Description);
displayNameShort = "M84"; displayNameShort = "M84";
model = PATHTOF(models\ACE_m84.p3d); model = QPATHTOF(models\ACE_m84.p3d);
picture = PATHTOF(UI\ACE_m84_x_ca.paa); picture = QPATHTOF(UI\ACE_m84_x_ca.paa);
ammo = "ACE_G_M84"; ammo = "ACE_G_M84";
mass = 4; mass = 4;
}; };

View File

@ -1,34 +1,34 @@
class CfgSounds { class CfgSounds {
class ACE_EarRinging_Weak { class ACE_EarRinging_Weak {
sound[] = {QUOTE(PATHTOF(sounds\ACE_earringing_weak.wav)),8,1.7}; sound[] = {QPATHTOF(sounds\ACE_earringing_weak.wav),8,1.7};
titles[] = {}; titles[] = {};
}; };
class ACE_EarRinging_Medium { class ACE_EarRinging_Medium {
sound[] = {QUOTE(PATHTOF(sounds\ACE_earringing_medium.wav)),8,1.7}; sound[] = {QPATHTOF(sounds\ACE_earringing_medium.wav),8,1.7};
titles[] = {}; titles[] = {};
}; };
class ACE_EarRinging_Heavy { class ACE_EarRinging_Heavy {
sound[] = {QUOTE(PATHTOF(sounds\ACE_earringing_heavy.wav)),8,1.7}; sound[] = {QPATHTOF(sounds\ACE_earringing_heavy.wav),8,1.7};
titles[] = {}; titles[] = {};
}; };
class ACE_Combat_Deafness_Heavy { class ACE_Combat_Deafness_Heavy {
sound[] = {QUOTE(PATHTOF(sounds\deafness.ogg)),8,1}; sound[] = {QPATHTOF(sounds\deafness.ogg),8,1};
titles[] = {}; titles[] = {};
}; };
class ACE_Combat_Deafness_Medium { class ACE_Combat_Deafness_Medium {
sound[] = {QUOTE(PATHTOF(sounds\deafness.ogg)),3,1}; sound[] = {QPATHTOF(sounds\deafness.ogg),3,1};
titles[] = {}; titles[] = {};
}; };
class ACE_Combat_Deafness_Heavy_NoRing { class ACE_Combat_Deafness_Heavy_NoRing {
sound[] = {QUOTE(PATHTOF(sounds\deafness_noring.ogg)),8,1}; sound[] = {QPATHTOF(sounds\deafness_noring.ogg),8,1};
titles[] = {}; titles[] = {};
}; };
class ACE_Combat_Deafness_Medium_NoRing { class ACE_Combat_Deafness_Medium_NoRing {
sound[] = {QUOTE(PATHTOF(sounds\deafness_noring.ogg)),3,1}; sound[] = {QPATHTOF(sounds\deafness_noring.ogg),3,1};
titles[] = {}; titles[] = {};
}; };
class ACE_Ring_Backblast { class ACE_Ring_Backblast {
sound[] = {QUOTE(PATHTOF(sounds\backblast_ring.ogg)),1,1}; sound[] = {QPATHTOF(sounds\backblast_ring.ogg),1,1};
titles[] = {}; titles[] = {};
}; };
}; };

View File

@ -10,7 +10,7 @@ class CfgVehicles {
statement = QUOTE( [_player] call FUNC(putInEarPlugs) ); statement = QUOTE( [_player] call FUNC(putInEarPlugs) );
showDisabled = 0; showDisabled = 0;
priority = 2.5; priority = 2.5;
icon = PATHTOF(UI\ACE_earplugs_x_ca.paa); icon = QPATHTOF(UI\ACE_earplugs_x_ca.paa);
}; };
class ACE_RemoveEarplugs { class ACE_RemoveEarplugs {
displayName = CSTRING(EarPlugs_Off); displayName = CSTRING(EarPlugs_Off);
@ -19,7 +19,7 @@ class CfgVehicles {
statement = QUOTE( [_player] call FUNC(removeEarPlugs) ); statement = QUOTE( [_player] call FUNC(removeEarPlugs) );
showDisabled = 0; showDisabled = 0;
priority = 2.5; priority = 2.5;
icon = PATHTOF(UI\ACE_earplugs_x_ca.paa); icon = QPATHTOF(UI\ACE_earplugs_x_ca.paa);
}; };
}; };
}; };
@ -100,7 +100,7 @@ class CfgVehicles {
scope = 2; scope = 2;
isGlobal = 1; isGlobal = 1;
isSingular = 1; isSingular = 1;
icon = PATHTOF(UI\Icon_Module_Hearing_ca.paa); icon = QPATHTOF(UI\Icon_Module_Hearing_ca.paa);
class Arguments { class Arguments {
class EnableCombatDeafness { class EnableCombatDeafness {
displayName = CSTRING(EnableCombatDeafness_DisplayName); displayName = CSTRING(EnableCombatDeafness_DisplayName);

View File

@ -5,8 +5,8 @@ class CfgWeapons {
class ACE_EarPlugs: ACE_ItemCore { class ACE_EarPlugs: ACE_ItemCore {
displayName = CSTRING(EarPlugs_Name); displayName = CSTRING(EarPlugs_Name);
descriptionShort = CSTRING(EarPlugs_Description); descriptionShort = CSTRING(EarPlugs_Description);
model = QUOTE(PATHTOF(data\ace_earplugs.p3d)); model = QPATHTOF(data\ace_earplugs.p3d);
picture = PATHTOF(UI\ACE_earplugs_x_ca.paa); picture = QPATHTOF(UI\ACE_earplugs_x_ca.paa);
scope = 2; scope = 2;
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 1; mass = 1;

View File

@ -1,7 +1,7 @@
class CfgAmmo { class CfgAmmo {
class FlareBase; class FlareBase;
class F_HuntIR: FlareBase { class F_HuntIR: FlareBase {
model = PATHTOF(data\ace_m1070_armed.p3d); model = QPATHTOF(data\ace_m1070_armed.p3d);
lightColor[] = {0, 0, 0, 0}; lightColor[] = {0, 0, 0, 0};
smokeColor[] = {0, 0, 0, 0}; smokeColor[] = {0, 0, 0, 0};
timeToLive = 6; timeToLive = 6;

View File

@ -5,7 +5,7 @@ class CfgMagazines {
displayName = CSTRING(magazine_displayName); displayName = CSTRING(magazine_displayName);
displayNameShort = "HuntIR"; displayNameShort = "HuntIR";
descriptionShort = ""; descriptionShort = "";
picture = PATHTOF(data\m_m1070_ca.paa); picture = QPATHTOF(data\m_m1070_ca.paa);
ammo = "F_HuntIR"; ammo = "F_HuntIR";
}; };
}; };

View File

@ -10,7 +10,7 @@ class CfgVehicles {
statement = QUOTE(call FUNC(huntir)); statement = QUOTE(call FUNC(huntir));
showDisabled = 0; showDisabled = 0;
priority = 2; priority = 2;
icon = PATHTOF(UI\w_huntir_monitor_ca.paa); icon = QPATHTOF(UI\w_huntir_monitor_ca.paa);
exceptions[] = {}; exceptions[] = {};
}; };
}; };
@ -23,7 +23,7 @@ class CfgVehicles {
castDriverShadow = 0; castDriverShadow = 0;
destrType = "DestructDefault"; destrType = "DestructDefault";
displayName = "HuntIR"; displayName = "HuntIR";
model = PATHTOF(data\huntir.p3d); model = QPATHTOF(data\huntir.p3d);
scope = 1; scope = 1;
soundCrash[] = {"", db-30, 1 }; soundCrash[] = {"", db-30, 1 };
soundEnviron[] = {"z\ace\addons\apl\sounds\padak_let", 0.316228, 1, 80}; soundEnviron[] = {"z\ace\addons\apl\sounds\padak_let", 0.316228, 1, 80};
@ -73,7 +73,7 @@ class CfgVehicles {
class ReammoBox_F; class ReammoBox_F;
class ACE_HuntIR_Box: ReammoBox_F { class ACE_HuntIR_Box: ReammoBox_F {
model = PATHTOF(data\ace_huntirbox.p3d); model = QPATHTOF(data\ace_huntirbox.p3d);
displayName = $STR_DN_ACE_HUNTIRBOX; displayName = $STR_DN_ACE_HUNTIRBOX;
class TransportItems { class TransportItems {
MACRO_ADDITEM(ACE_HuntIR_monitor,5); MACRO_ADDITEM(ACE_HuntIR_monitor,5);

View File

@ -6,9 +6,9 @@ class CfgWeapons {
class ACE_HuntIR_monitor: ACE_ItemCore { class ACE_HuntIR_monitor: ACE_ItemCore {
scope = 2; scope = 2;
displayName = CSTRING(monitor_displayName); displayName = CSTRING(monitor_displayName);
picture = PATHTOF(UI\w_huntir_monitor_ca.paa); picture = QPATHTOF(UI\w_huntir_monitor_ca.paa);
descriptionShort = CSTRING(monitor_displayName); descriptionShort = CSTRING(monitor_displayName);
model = PATHTOF(data\ace_huntir_monitor.p3d); model = QPATHTOF(data\ace_huntir_monitor.p3d);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 20; mass = 20;

View File

@ -154,7 +154,7 @@ class ace_huntir_cam_dialog {
w = __W; w = __W;
h = __H + 0.2; h = __H + 0.2;
border = 0; border = 0;
text = PATHTOF(UI\ace_huntir_monitor_on.paa); text = QPATHTOF(UI\ace_huntir_monitor_on.paa);
}; };
class CAM_HEIGHT { class CAM_HEIGHT {
type = CT_STATIC; type = CT_STATIC;
@ -311,7 +311,7 @@ class ace_huntir_cam_dialog_off: ace_huntir_cam_dialog_inactive {
class RIGHT_BORDER: RIGHT_BORDER {}; class RIGHT_BORDER: RIGHT_BORDER {};
class PRESS_HELP: PRESS_HELP {}; class PRESS_HELP: PRESS_HELP {};
class HELP_DIALOG: HELP_DIALOG {}; class HELP_DIALOG: HELP_DIALOG {};
class CAM_BG: CAM_BG { text = PATHTOF(UI\ace_huntir_monitor_off.paa); }; class CAM_BG: CAM_BG { text = QPATHTOF(UI\ace_huntir_monitor_off.paa); };
}; };
//ACTIVE PARA CAMERA DIALOG //ACTIVE PARA CAMERA DIALOG
class ace_huntir_help_dialog: ace_huntir_cam_dialog { class ace_huntir_help_dialog: ace_huntir_cam_dialog {

View File

@ -56,7 +56,7 @@ if (GVAR(openedMenuType) >= 0) then {
GVAR(lastTime) = _cTime; GVAR(lastTime) = _cTime;
GVAR(rotationAngle) = (GVAR(rotationAngle) + (270*_delta)) mod 360; GVAR(rotationAngle) = (GVAR(rotationAngle) + (270*_delta)) mod 360;
[_sPos, format [QUOTE(PATHTOF(ui\selector%1.paa)), floor (((abs GVAR(rotationAngle)) mod 90) / 6)]] call FUNC(renderSelector); [_sPos, format [QPATHTOF(ui\selector%1.paa), floor (((abs GVAR(rotationAngle)) mod 90) / 6)]] call FUNC(renderSelector);
_foundTarget = true; _foundTarget = true;
GVAR(actionSelected) = true; GVAR(actionSelected) = true;

View File

@ -11,7 +11,7 @@ class CfgVehicles {
scope = 2; scope = 2;
isGlobal = 1; isGlobal = 1;
isSingular = 1; isSingular = 1;
icon = PATHTOF(UI\Icon_Module_Interaction_ca.paa); icon = QPATHTOF(UI\Icon_Module_Interaction_ca.paa);
class Arguments { class Arguments {
class EnableTeamManagement { class EnableTeamManagement {
displayName = CSTRING(EnableTeamManagement_DisplayName); displayName = CSTRING(EnableTeamManagement_DisplayName);
@ -68,14 +68,14 @@ class CfgVehicles {
statement = ""; statement = "";
showDisabled = 0; showDisabled = 0;
priority = 3.2; priority = 3.2;
icon = PATHTOF(UI\team\team_management_ca.paa); icon = QPATHTOF(UI\team\team_management_ca.paa);
class ACE_AssignTeamRed { class ACE_AssignTeamRed {
displayName = CSTRING(AssignTeamRed); displayName = CSTRING(AssignTeamRed);
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam)); condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam));
statement = QUOTE([ARR_2(_target,'RED')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_target,'RED')] call DFUNC(joinTeam));
showDisabled = 1; showDisabled = 1;
icon = PATHTOF(UI\team\team_red_ca.paa); icon = QPATHTOF(UI\team\team_red_ca.paa);
priority = 2.4; priority = 2.4;
}; };
class ACE_AssignTeamGreen { class ACE_AssignTeamGreen {
@ -83,7 +83,7 @@ class CfgVehicles {
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam)); condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam));
statement = QUOTE([ARR_2(_target,'GREEN')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_target,'GREEN')] call DFUNC(joinTeam));
showDisabled = 1; showDisabled = 1;
icon = PATHTOF(UI\team\team_green_ca.paa); icon = QPATHTOF(UI\team\team_green_ca.paa);
priority = 2.3; priority = 2.3;
}; };
class ACE_AssignTeamBlue { class ACE_AssignTeamBlue {
@ -91,7 +91,7 @@ class CfgVehicles {
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam)); condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam));
statement = QUOTE([ARR_2(_target,'BLUE')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_target,'BLUE')] call DFUNC(joinTeam));
showDisabled = 1; showDisabled = 1;
icon = PATHTOF(UI\team\team_blue_ca.paa); icon = QPATHTOF(UI\team\team_blue_ca.paa);
priority = 2.2; priority = 2.2;
}; };
class ACE_AssignTeamYellow { class ACE_AssignTeamYellow {
@ -99,7 +99,7 @@ class CfgVehicles {
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam)); condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam));
statement = QUOTE([ARR_2(_target,'YELLOW')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_target,'YELLOW')] call DFUNC(joinTeam));
showDisabled = 1; showDisabled = 1;
icon = PATHTOF(UI\team\team_yellow_ca.paa); icon = QPATHTOF(UI\team\team_yellow_ca.paa);
priority = 2.1; priority = 2.1;
}; };
class ACE_UnassignTeam { class ACE_UnassignTeam {
@ -107,7 +107,7 @@ class CfgVehicles {
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam) && {assignedTeam _target != 'MAIN'}); condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam) && {assignedTeam _target != 'MAIN'});
statement = QUOTE([ARR_2(_target,'MAIN')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_target,'MAIN')] call DFUNC(joinTeam));
showDisabled = 1; showDisabled = 1;
icon = PATHTOF(UI\team\team_white_ca.paa); icon = QPATHTOF(UI\team\team_white_ca.paa);
priority = 2.5; priority = 2.5;
}; };
}; };
@ -118,7 +118,7 @@ class CfgVehicles {
statement = QUOTE([_player] joinSilent group _target); statement = QUOTE([_player] joinSilent group _target);
showDisabled = 0; showDisabled = 0;
priority = 2.6; priority = 2.6;
icon = PATHTOF(UI\team\team_management_ca.paa); icon = QPATHTOF(UI\team\team_management_ca.paa);
}; };
class ACE_GetDown { class ACE_GetDown {
displayName = CSTRING(GetDown); displayName = CSTRING(GetDown);
@ -223,7 +223,7 @@ class CfgVehicles {
statement = ""; statement = "";
showDisabled = 1; showDisabled = 1;
priority = 3.2; priority = 3.2;
icon = PATHTOF(UI\team\team_management_ca.paa); icon = QPATHTOF(UI\team\team_management_ca.paa);
class ACE_JoinTeamRed { class ACE_JoinTeamRed {
displayName = CSTRING(JoinTeamRed); displayName = CSTRING(JoinTeamRed);
@ -232,7 +232,7 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_player,'RED')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_player,'RED')] call DFUNC(joinTeam));
showDisabled = 1; showDisabled = 1;
priority = 2.4; priority = 2.4;
icon = PATHTOF(UI\team\team_red_ca.paa); icon = QPATHTOF(UI\team\team_red_ca.paa);
}; };
class ACE_JoinTeamGreen { class ACE_JoinTeamGreen {
displayName = CSTRING(JoinTeamGreen); displayName = CSTRING(JoinTeamGreen);
@ -241,7 +241,7 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_player,'GREEN')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_player,'GREEN')] call DFUNC(joinTeam));
showDisabled = 1; showDisabled = 1;
priority = 2.3; priority = 2.3;
icon = PATHTOF(UI\team\team_green_ca.paa); icon = QPATHTOF(UI\team\team_green_ca.paa);
}; };
class ACE_JoinTeamBlue { class ACE_JoinTeamBlue {
displayName = CSTRING(JoinTeamBlue); displayName = CSTRING(JoinTeamBlue);
@ -250,7 +250,7 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_player,'BLUE')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_player,'BLUE')] call DFUNC(joinTeam));
showDisabled = 1; showDisabled = 1;
priority = 2.2; priority = 2.2;
icon = PATHTOF(UI\team\team_blue_ca.paa); icon = QPATHTOF(UI\team\team_blue_ca.paa);
}; };
class ACE_JoinTeamYellow { class ACE_JoinTeamYellow {
displayName = CSTRING(JoinTeamYellow); displayName = CSTRING(JoinTeamYellow);
@ -259,7 +259,7 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_player,'YELLOW')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_player,'YELLOW')] call DFUNC(joinTeam));
showDisabled = 1; showDisabled = 1;
priority = 2.1; priority = 2.1;
icon = PATHTOF(UI\team\team_yellow_ca.paa); icon = QPATHTOF(UI\team\team_yellow_ca.paa);
}; };
class ACE_LeaveTeam { class ACE_LeaveTeam {
displayName = CSTRING(LeaveTeam); displayName = CSTRING(LeaveTeam);
@ -268,7 +268,7 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_player,'MAIN')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_player,'MAIN')] call DFUNC(joinTeam));
showDisabled = 1; showDisabled = 1;
priority = 2.5; priority = 2.5;
icon = PATHTOF(UI\team\team_white_ca.paa); icon = QPATHTOF(UI\team\team_white_ca.paa);
}; };
class ACE_BecomeLeader { class ACE_BecomeLeader {
displayName = CSTRING(BecomeLeader); displayName = CSTRING(BecomeLeader);
@ -277,7 +277,7 @@ class CfgVehicles {
statement = QUOTE(_this call DFUNC(doBecomeLeader)); statement = QUOTE(_this call DFUNC(doBecomeLeader));
showDisabled = 1; showDisabled = 1;
priority = 1.0; priority = 1.0;
icon = PATHTOF(UI\team\team_white_ca.paa); icon = QPATHTOF(UI\team\team_white_ca.paa);
}; };
class ACE_LeaveGroup { class ACE_LeaveGroup {
displayName = CSTRING(LeaveGroup); displayName = CSTRING(LeaveGroup);
@ -286,7 +286,7 @@ class CfgVehicles {
statement = QUOTE(_oldGroup = units group _player; _newGroup = createGroup side _player; [_player] joinSilent _newGroup; {_player reveal _x} forEach _oldGroup;); statement = QUOTE(_oldGroup = units group _player; _newGroup = createGroup side _player; [_player] joinSilent _newGroup; {_player reveal _x} forEach _oldGroup;);
showDisabled = 1; showDisabled = 1;
priority = 1.2; priority = 1.2;
icon = PATHTOF(UI\team\team_management_ca.paa); icon = QPATHTOF(UI\team\team_management_ca.paa);
}; };
}; };

View File

@ -170,7 +170,7 @@ class RscTitles {
class controls { class controls {
class SelectIcon: RscInteractionHelperIcon{ class SelectIcon: RscInteractionHelperIcon{
idc = 1200; idc = 1200;
text = PATHTOF(UI\mouse_left_ca.paa); text = QPATHTOF(UI\mouse_left_ca.paa);
y = 17.5 * GUI_GRID_H; y = 17.5 * GUI_GRID_H;
}; };
class SelectText: RscInteractionText{ class SelectText: RscInteractionText{
@ -180,7 +180,7 @@ class RscTitles {
}; };
class GoBackIcon: RscInteractionHelperIcon{ class GoBackIcon: RscInteractionHelperIcon{
idc = 1201; idc = 1201;
text = PATHTOF(UI\mouse_right_ca.paa); text = QPATHTOF(UI\mouse_right_ca.paa);
y = 19.5 * GUI_GRID_H; y = 19.5 * GUI_GRID_H;
}; };
class GoBackText: RscInteractionText{ class GoBackText: RscInteractionText{
@ -190,7 +190,7 @@ class RscTitles {
}; };
class ScrollIcon: RscInteractionHelperIcon{ class ScrollIcon: RscInteractionHelperIcon{
idc = 1202; idc = 1202;
text = PATHTOF(UI\mouse_scroll_ca.paa); text = QPATHTOF(UI\mouse_scroll_ca.paa);
y = 18.5 * GUI_GRID_H; y = 18.5 * GUI_GRID_H;
}; };
class ScrollText: RscInteractionText{ class ScrollText: RscInteractionText{

View File

@ -34,7 +34,7 @@ _actions = [];
] select (([driver _vehicle, gunner _vehicle, commander _vehicle] find _unit) + 1); ] select (([driver _vehicle, gunner _vehicle, commander _vehicle] find _unit) + 1);
if (_unit getVariable [QEGVAR(captives,isHandcuffed), false]) then { if (_unit getVariable [QEGVAR(captives,isHandcuffed), false]) then {
_icon = QUOTE(PATHTOEF(captives,UI\handcuff_ca.paa)); _icon = QPATHTOEF(captives,UI\handcuff_ca.paa);
}; };
_actions pushBack [ _actions pushBack [

View File

@ -18,7 +18,7 @@ class CfgVehicles {
magazines[] = {"1Rnd_GAT_missiles","1Rnd_GAT_missiles","1Rnd_GAT_missiles","1Rnd_GAT_missiles"}; magazines[] = {"1Rnd_GAT_missiles","1Rnd_GAT_missiles","1Rnd_GAT_missiles","1Rnd_GAT_missiles"};
turretInfoType = "ACE_RscOptics_javelin"; turretInfoType = "ACE_RscOptics_javelin";
gunnerOpticsModel = PATHTOF(data\reticle_titan.p3d); gunnerOpticsModel = QPATHTOF(data\reticle_titan.p3d);
opticsZoomMin = 0.08333; opticsZoomMin = 0.08333;
opticsZoomMax = 0.04167; opticsZoomMax = 0.04167;
opticsZoomInit = 0.08333; opticsZoomInit = 0.08333;
@ -36,7 +36,7 @@ class CfgVehicles {
magazines[] = {"1Rnd_GAT_missiles","1Rnd_GAT_missiles","1Rnd_GAT_missiles","1Rnd_GAT_missiles"}; magazines[] = {"1Rnd_GAT_missiles","1Rnd_GAT_missiles","1Rnd_GAT_missiles","1Rnd_GAT_missiles"};
turretInfoType = "ACE_RscOptics_javelin"; turretInfoType = "ACE_RscOptics_javelin";
gunnerOpticsModel = PATHTOF(data\reticle_titan.p3d); gunnerOpticsModel = QPATHTOF(data\reticle_titan.p3d);
opticsZoomMin = 0.08333; opticsZoomMin = 0.08333;
opticsZoomMax = 0.04167; opticsZoomMax = 0.04167;
opticsZoomInit = 0.08333; opticsZoomInit = 0.08333;
@ -54,7 +54,7 @@ class CfgVehicles {
magazines[] = {"1Rnd_GAT_missiles","1Rnd_GAT_missiles","1Rnd_GAT_missiles","1Rnd_GAT_missiles"}; magazines[] = {"1Rnd_GAT_missiles","1Rnd_GAT_missiles","1Rnd_GAT_missiles","1Rnd_GAT_missiles"};
turretInfoType = "ACE_RscOptics_javelin"; turretInfoType = "ACE_RscOptics_javelin";
gunnerOpticsModel = PATHTOF(data\reticle_titan.p3d); gunnerOpticsModel = QPATHTOF(data\reticle_titan.p3d);
opticsZoomMin = 0.08333; opticsZoomMin = 0.08333;
opticsZoomMax = 0.04167; opticsZoomMax = 0.04167;
opticsZoomInit = 0.08333; opticsZoomInit = 0.08333;

View File

@ -15,7 +15,7 @@ class CfgWeapons {
class GVAR(Titan_Static) : missiles_titan_at { class GVAR(Titan_Static) : missiles_titan_at {
GVAR(enabled) = 1; GVAR(enabled) = 1;
weaponInfoType = "ACE_RscOptics_javelin"; weaponInfoType = "ACE_RscOptics_javelin";
modelOptics = PATHTOF(data\reticle_titan.p3d); modelOptics = QPATHTOF(data\reticle_titan.p3d);
canLock = 0; canLock = 0;
magazines[] = {"1Rnd_GAT_missiles"}; magazines[] = {"1Rnd_GAT_missiles"};
@ -31,7 +31,7 @@ class CfgWeapons {
class launch_B_Titan_short_F: launch_Titan_short_base { class launch_B_Titan_short_F: launch_Titan_short_base {
GVAR(enabled) = 1; GVAR(enabled) = 1;
weaponInfoType = "ACE_RscOptics_javelin"; weaponInfoType = "ACE_RscOptics_javelin";
modelOptics = PATHTOF(data\reticle_titan.p3d); modelOptics = QPATHTOF(data\reticle_titan.p3d);
canLock = 0; canLock = 0;
@ -41,7 +41,7 @@ class CfgWeapons {
class launch_I_Titan_short_F: launch_Titan_short_base { class launch_I_Titan_short_F: launch_Titan_short_base {
GVAR(enabled) = 1; GVAR(enabled) = 1;
weaponInfoType = "ACE_RscOptics_javelin"; weaponInfoType = "ACE_RscOptics_javelin";
modelOptics = PATHTOF(data\reticle_titan.p3d); modelOptics = QPATHTOF(data\reticle_titan.p3d);
canLock = 0; canLock = 0;
@ -51,7 +51,7 @@ class CfgWeapons {
class launch_O_Titan_short_F: launch_Titan_short_base { class launch_O_Titan_short_F: launch_Titan_short_base {
GVAR(enabled) = 1; GVAR(enabled) = 1;
weaponInfoType = "ACE_RscOptics_javelin"; weaponInfoType = "ACE_RscOptics_javelin";
modelOptics = PATHTOF(data\reticle_titan.p3d); modelOptics = QPATHTOF(data\reticle_titan.p3d);
canLock = 0; canLock = 0;
@ -62,7 +62,7 @@ class CfgWeapons {
class launch_Titan_short_F: launch_Titan_short_base { class launch_Titan_short_F: launch_Titan_short_base {
GVAR(enabled) = 1; GVAR(enabled) = 1;
weaponInfoType = "ACE_RscOptics_javelin"; weaponInfoType = "ACE_RscOptics_javelin";
modelOptics = PATHTOF(data\reticle_titan.p3d); modelOptics = QPATHTOF(data\reticle_titan.p3d);
canLock = 0; canLock = 0;

View File

@ -306,7 +306,7 @@ class RscInGameUI {
}; };
class OpticsBorders: RscPicture { class OpticsBorders: RscPicture {
idc = 699105; idc = 699105;
text = PATHTOF(data\javelin_ui_border_ca.paa); text = QPATHTOF(data\javelin_ui_border_ca.paa);
colorText[] = {0,0,0,1}; colorText[] = {0,0,0,1};
x = "((SafezoneW -(3.1/4)*SafezoneH)/2) - SafezoneX"; x = "((SafezoneW -(3.1/4)*SafezoneH)/2) - SafezoneX";
y = "0.15*SafezoneH-SafezoneY"; y = "0.15*SafezoneH-SafezoneY";

View File

@ -9,7 +9,7 @@ class CfgVehicles {
statement = QUOTE(call FUNC(createKestrelDialog)); statement = QUOTE(call FUNC(createKestrelDialog));
showDisabled = 0; showDisabled = 0;
priority = 0.1; priority = 0.1;
icon = QUOTE(PATHTOF(UI\Kestrel4500_Icon.paa)); icon = QPATHTOF(UI\Kestrel4500_Icon.paa);
exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"}; exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"};
class GVAR(show) { class GVAR(show) {
displayName = CSTRING(ShowKestrel); displayName = CSTRING(ShowKestrel);
@ -17,7 +17,7 @@ class CfgVehicles {
statement = QUOTE(call FUNC(displayKestrel)); statement = QUOTE(call FUNC(displayKestrel));
showDisabled = 0; showDisabled = 0;
priority = 0.2; priority = 0.2;
icon = QUOTE(PATHTOF(UI\Kestrel4500_Icon.paa)); icon = QPATHTOF(UI\Kestrel4500_Icon.paa);
exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"}; exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"};
}; };
class GVAR(hide) { class GVAR(hide) {
@ -26,7 +26,7 @@ class CfgVehicles {
statement = QUOTE(call FUNC(displayKestrel)); statement = QUOTE(call FUNC(displayKestrel));
showDisabled = 0; showDisabled = 0;
priority = 0.3; priority = 0.3;
icon = QUOTE(PATHTOF(UI\Kestrel4500_Icon.paa)); icon = QPATHTOF(UI\Kestrel4500_Icon.paa);
exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"}; exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"};
}; };
}; };

View File

@ -8,8 +8,8 @@ class CfgWeapons {
scope = 2; scope = 2;
displayName = CSTRING(Name); displayName = CSTRING(Name);
descriptionShort = CSTRING(Description); descriptionShort = CSTRING(Description);
model = PATHTOF(data\kestrel4500.p3d); model = QPATHTOF(data\kestrel4500.p3d);
picture = PATHTOF(UI\Kestrel4500.paa); picture = QPATHTOF(UI\Kestrel4500.paa);
icon = "iconObject_circle"; icon = "iconObject_circle";
mapSize = 0.034; mapSize = 0.034;

View File

@ -348,25 +348,25 @@ class RscTitles {
fadeout = 0; fadeout = 0;
class controls { class controls {
class Preload_0 { class Preload_0 {
text = PATHTOF(UI\Kestrel4500_0.paa); text = QPATHTOF(UI\Kestrel4500_0.paa);
}; };
class Preload_1 { class Preload_1 {
text = PATHTOF(UI\Kestrel4500_1.paa); text = QPATHTOF(UI\Kestrel4500_1.paa);
}; };
class Preload_2 { class Preload_2 {
text = PATHTOF(UI\Kestrel4500_2.paa); text = QPATHTOF(UI\Kestrel4500_2.paa);
}; };
class Preload_3 { class Preload_3 {
text = PATHTOF(UI\Kestrel4500_3.paa); text = QPATHTOF(UI\Kestrel4500_3.paa);
}; };
class Preload_4 { class Preload_4 {
text = PATHTOF(UI\Kestrel4500_4.paa); text = QPATHTOF(UI\Kestrel4500_4.paa);
}; };
class Preload_5 { class Preload_5 {
text = PATHTOF(UI\Kestrel4500_5.paa); text = QPATHTOF(UI\Kestrel4500_5.paa);
}; };
class Preload_6 { class Preload_6 {
text = PATHTOF(UI\Kestrel4500_6.paa); text = QPATHTOF(UI\Kestrel4500_6.paa);
}; };
}; };
}; };

View File

@ -126,7 +126,7 @@ GVAR(Overlay) = true;
}; };
call FUNC(updateImpellerState); call FUNC(updateImpellerState);
__ctrlKestrel4500 ctrlSetText format [QUOTE(PATHTOF(UI\Kestrel4500_%1.paa)), floor(GVAR(ImpellerState) % 7)]; __ctrlKestrel4500 ctrlSetText format [QPATHTOF(UI\Kestrel4500_%1.paa), floor(GVAR(ImpellerState) % 7)];
}, 0.01, []] call CBA_fnc_addPerFrameHandler; }, 0.01, []] call CBA_fnc_addPerFrameHandler;

View File

@ -56,4 +56,4 @@ _closeCode = {
closeDialog 0; closeDialog 0;
}; };
}; };
[(localize LSTRING(Name)), QUOTE(PATHTOF(UI\Kestrel4500.paa)), _conditonCode, _toggleCode, _closeCode] call EFUNC(common,deviceKeyRegisterNew); [(localize LSTRING(Name)), QPATHTOF(UI\Kestrel4500.paa), _conditonCode, _toggleCode, _closeCode] call EFUNC(common,deviceKeyRegisterNew);

View File

@ -1,7 +1,7 @@
class CfgSounds { class CfgSounds {
class ACE_replaceUAVBattery { class ACE_replaceUAVBattery {
name = "ACE_replaceUAVBattery"; name = "ACE_replaceUAVBattery";
sound[]={QUOTE(PATHTOF(sounds\exchange_battery.ogg)),1,1}; sound[]={QPATHTOF(sounds\exchange_battery.ogg),1,1};
titles[]={}; titles[]={};
}; };
}; };

View File

@ -20,7 +20,7 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_player, _target)] call FUNC(refuelUAV)); statement = QUOTE([ARR_2(_player, _target)] call FUNC(refuelUAV));
showDisabled = 0; showDisabled = 0;
priority = 1.245; priority = 1.245;
icon = QUOTE(PATHTOF(ui\UAV_battery_ca.paa)); icon = QPATHTOF(ui\UAV_battery_ca.paa);
}; };
}; };
}; };

View File

@ -6,8 +6,8 @@ class CfgWeapons {
scope = 2; scope = 2;
displayName = CSTRING(Battery_Name); displayName = CSTRING(Battery_Name);
descriptionShort = CSTRING(Battery_Description); descriptionShort = CSTRING(Battery_Description);
model = QUOTE(PATHTOF(data\ace_battery.p3d)); model = QPATHTOF(data\ace_battery.p3d);
picture = QUOTE(PATHTOF(ui\UAV_battery_ca.paa)); picture = QPATHTOF(ui\UAV_battery_ca.paa);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 20; mass = 20;
}; };

View File

@ -1,12 +1,12 @@
class CfgSounds { class CfgSounds {
class ACE_Wirecutter_sound { class ACE_Wirecutter_sound {
name = "ACE_wirecutter_sound"; name = "ACE_wirecutter_sound";
sound[] = {QUOTE(PATHTOF(sound\wire_cut.ogg)), "db-0", 1}; sound[] = {QPATHTOF(sound\wire_cut.ogg), "db-0", 1};
titles[] = {}; titles[] = {};
}; };
class ACE_Wirecutter_sound_long { class ACE_Wirecutter_sound_long {
name = "ACE_wirecutter_sound_long"; name = "ACE_wirecutter_sound_long";
sound[] = {QUOTE(PATHTOF(sound\wire_cut_long.ogg)), "db-0", 1}; sound[] = {QPATHTOF(sound\wire_cut_long.ogg), "db-0", 1};
titles[] = {}; titles[] = {};
}; };
}; };

View File

@ -6,8 +6,8 @@ class CfgWeapons {
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
displayName = CSTRING(wirecutterName); displayName = CSTRING(wirecutterName);
descriptionShort = CSTRING(wirecutterDescription); descriptionShort = CSTRING(wirecutterDescription);
model = QUOTE(PATHTOF(data\ace_wirecutter.p3d)); model = QPATHTOF(data\ace_wirecutter.p3d);
picture = QUOTE(PATHTOF(ui\item_wirecutter_ca.paa)); picture = QPATHTOF(ui\item_wirecutter_ca.paa);
scope = 2; scope = 2;
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 65; mass = 65;

View File

@ -56,7 +56,7 @@ TRACE_1("Starting wire-cut action PFEH",_interactionType);
if ([_x] call FUNC(isFence)) then { if ([_x] call FUNC(isFence)) then {
_fencesHelped pushBack _x; _fencesHelped pushBack _x;
_helper = "ACE_LogicDummy" createVehicleLocal (getpos _x); _helper = "ACE_LogicDummy" createVehicleLocal (getpos _x);
_action = [QGVAR(helperCutFence), (localize LSTRING(CutFence)), QUOTE(PATHTOF(ui\wirecutter_ca.paa)), _fncStatement, _fncCondition, {}, _x, {[0,0,0]}, 5.5] call EFUNC(interact_menu,createAction); _action = [QGVAR(helperCutFence), (localize LSTRING(CutFence)), QPATHTOF(ui\wirecutter_ca.paa), _fncStatement, _fncCondition, {}, _x, {[0,0,0]}, 5.5] call EFUNC(interact_menu,createAction);
[_helper, 0, [],_action] call EFUNC(interact_menu,addActionToObject); [_helper, 0, [],_action] call EFUNC(interact_menu,addActionToObject);
_helper setPosASL ((getPosASL _x) vectorAdd [0,0,1.25]); _helper setPosASL ((getPosASL _x) vectorAdd [0,0,1.25]);
_addedHelpers pushBack _helper; _addedHelpers pushBack _helper;

View File

@ -1,12 +1,12 @@
class CfgSounds { class CfgSounds {
class GVAR(soundMagazineFinished) { class GVAR(soundMagazineFinished) {
name = QGVAR(soundMagazineFinished); name = QGVAR(soundMagazineFinished);
sound[]={QUOTE(PATHTOF(sounds\magrepack_finished.wav)),1,1}; sound[]={QPATHTOF(sounds\magrepack_finished.wav),1,1};
titles[]={}; titles[]={};
}; };
class GVAR(soundRoundFinished) { class GVAR(soundRoundFinished) {
name = QGVAR(soundRoundFinished); name = QGVAR(soundRoundFinished);
sound[] = {QUOTE(PATHTOF(sounds\magrepack_single.wav)),1,1}; sound[] = {QPATHTOF(sounds\magrepack_single.wav),1,1};
titles[] = {}; titles[] = {};
}; };
}; };

View File

@ -8,7 +8,7 @@ class CfgVehicles {
exceptions[] = {"isNotInside", "isNotSitting"}; exceptions[] = {"isNotInside", "isNotSitting"};
insertChildren = QUOTE(_this call FUNC(getMagazineChildren)); insertChildren = QUOTE(_this call FUNC(getMagazineChildren));
priority = -2; priority = -2;
icon = QUOTE(PATHTOF(UI\repack_ca.paa)); icon = QPATHTOF(UI\repack_ca.paa);
}; };
}; };
}; };

View File

@ -82,12 +82,12 @@
#define TYPE_BACKPACK 901 #define TYPE_BACKPACK 901
#ifdef DISABLE_COMPILE_CACHE #ifdef DISABLE_COMPILE_CACHE
#define PREP(fncName) DFUNC(fncName) = compile preprocessFileLineNumbers QUOTE(PATHTOF(functions\DOUBLES(fnc,fncName).sqf)) #define PREP(fncName) DFUNC(fncName) = compile preprocessFileLineNumbers QPATHTOF(functions\DOUBLES(fnc,fncName).sqf)
#else #else
#define PREP(fncName) [QUOTE(PATHTOF(functions\DOUBLES(fnc,fncName).sqf)), QFUNC(fncName)] call CBA_fnc_compileFunction #define PREP(fncName) [QPATHTOF(functions\DOUBLES(fnc,fncName).sqf), QFUNC(fncName)] call CBA_fnc_compileFunction
#endif #endif
#define PREP_MODULE(folder) [] call compile preprocessFileLineNumbers QUOTE(PATHTOF(folder\__PREP__.sqf)) #define PREP_MODULE(folder) [] call compile preprocessFileLineNumbers QPATHTOF(folder\__PREP__.sqf)
#define HASH_CREATE ([] call EFUNC(common,hashCreate)) #define HASH_CREATE ([] call EFUNC(common,hashCreate))
#define HASH_SET(hash, key, val) ([hash, key, val, __FILE__, __LINE__] call EFUNC(common,hashSet)) #define HASH_SET(hash, key, val) ([hash, key, val, __FILE__, __LINE__] call EFUNC(common,hashSet))

View File

@ -24,7 +24,7 @@ class CfgVehicles {
scope = 2; scope = 2;
isGlobal = 1; isGlobal = 1;
isSingular = 1; isSingular = 1;
icon = PATHTOF(UI\Icon_Module_Map_ca.paa); icon = QPATHTOF(UI\Icon_Module_Map_ca.paa);
class Arguments { class Arguments {
class MapIllumination { class MapIllumination {
displayName = CSTRING(MapIllumination_DisplayName); displayName = CSTRING(MapIllumination_DisplayName);
@ -84,7 +84,7 @@ class CfgVehicles {
scope = 2; scope = 2;
isGlobal = 0; isGlobal = 0;
isSingular = 1; isSingular = 1;
icon = PATHTOF(UI\Icon_Module_BFTracking_ca.paa); icon = QPATHTOF(UI\Icon_Module_BFTracking_ca.paa);
class Arguments { class Arguments {
class Enabled { class Enabled {
displayName = CSTRING(BFT_Enabled_DisplayName); displayName = CSTRING(BFT_Enabled_DisplayName);

View File

@ -8,7 +8,7 @@ class CfgVehicles {
isGlobal = 0; isGlobal = 0;
isSingular = 1; isSingular = 1;
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
icon = PATHTOF(ui\icon_module_map_gestures_ca.paa); icon = QPATHTOF(ui\icon_module_map_gestures_ca.paa);
class Arguments { class Arguments {
class enabled { class enabled {
displayName = CSTRING(enabled_DisplayName); displayName = CSTRING(enabled_DisplayName);
@ -49,7 +49,7 @@ class CfgVehicles {
function = QFUNC(moduleGroupSettings); function = QFUNC(moduleGroupSettings);
isGlobal = 0; isGlobal = 0;
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
icon = PATHTOF(ui\icon_module_map_gestures_ca.paa); icon = QPATHTOF(ui\icon_module_map_gestures_ca.paa);
class Arguments { class Arguments {
class leadColor { class leadColor {
displayName = CSTRING(leadColor_displayName); displayName = CSTRING(leadColor_displayName);

View File

@ -5,8 +5,8 @@ class CfgWeapons {
class ACE_MapTools: ACE_ItemCore { class ACE_MapTools: ACE_ItemCore {
displayName = CSTRING(Name); displayName = CSTRING(Name);
descriptionShort = CSTRING(Description); descriptionShort = CSTRING(Description);
model = QUOTE(PATHTOF(data\ace_MapTools.p3d)); model = QPATHTOF(data\ace_MapTools.p3d);
picture = PATHTOF(UI\maptool_item.paa); picture = QPATHTOF(UI\maptool_item.paa);
scope = 2; scope = 2;
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 1; mass = 1;

View File

@ -26,7 +26,7 @@ class RscTitles {
y = Y_gps; y = Y_gps;
w = W_gps; w = W_gps;
h = H_gps; h = H_gps;
text = PATHTOF(UI\mapGps.paa); text = QPATHTOF(UI\mapGps.paa);
colorBackground[] = {1, 1, 1, 1}; colorBackground[] = {1, 1, 1, 1};
}; };
class heading: RscText{ class heading: RscText{

View File

@ -35,10 +35,10 @@ if (!("ACE_MapTools" in items ACE_player)|| {GVAR(mapTool_Shown) == 0}) exitWith
_rotatingTexture = ""; _rotatingTexture = "";
_textureWidth = 0; _textureWidth = 0;
if (GVAR(mapTool_Shown) == 1) then { if (GVAR(mapTool_Shown) == 1) then {
_rotatingTexture = QUOTE(PATHTOF(data\mapToolRotatingNormal.paa)); _rotatingTexture = QPATHTOF(data\mapToolRotatingNormal.paa);
_textureWidth = TEXTURE_WIDTH_IN_M; _textureWidth = TEXTURE_WIDTH_IN_M;
} else { } else {
_rotatingTexture = QUOTE(PATHTOF(data\mapToolRotatingSmall.paa)); _rotatingTexture = QPATHTOF(data\mapToolRotatingSmall.paa);
_textureWidth = TEXTURE_WIDTH_IN_M / 2; _textureWidth = TEXTURE_WIDTH_IN_M / 2;
}; };
@ -51,7 +51,7 @@ _scaleY = _scaleX * ((_resWidth / _resHeight) / _aspectRatio); //handle bad aspe
_xPos = GVAR(mapTool_pos) select 0; _xPos = GVAR(mapTool_pos) select 0;
_yPos = (GVAR(mapTool_pos) select 1) + _textureWidth * CENTER_OFFSET_Y_PERC; _yPos = (GVAR(mapTool_pos) select 1) + _textureWidth * CENTER_OFFSET_Y_PERC;
_theMap drawIcon [QUOTE(PATHTOF(data\mapToolFixed.paa)), [1,1,1,1], [_xPos,_yPos], _scaleX, _scaleY, 0, "", 0]; _theMap drawIcon [QPATHTOF(data\mapToolFixed.paa), [1,1,1,1], [_xPos,_yPos], _scaleX, _scaleY, 0, "", 0];
// Position and rotation of the rotating part // Position and rotation of the rotating part
_xPos = (GVAR(mapTool_pos) select 0) + sin(GVAR(mapTool_angle)) * _textureWidth * CENTER_OFFSET_Y_PERC; _xPos = (GVAR(mapTool_pos) select 0) + sin(GVAR(mapTool_angle)) * _textureWidth * CENTER_OFFSET_Y_PERC;

View File

@ -6,7 +6,7 @@ class ACE_Head {
ACTION_CONDITION ACTION_CONDITION
modifierFunction = QUOTE([ARR_4(_target,_player,0,_this select 3)] call FUNC(modifyMedicalAction)); modifierFunction = QUOTE([ARR_4(_target,_player,0,_this select 3)] call FUNC(modifyMedicalAction));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\medical_cross.paa); icon = QPATHTOF(UI\icons\medical_cross.paa);
distance = MEDICAL_ACTION_DISTANCE; distance = MEDICAL_ACTION_DISTANCE;
class Bandage { class Bandage {
displayName = CSTRING(Bandage); displayName = CSTRING(Bandage);
@ -16,7 +16,7 @@ class ACE_Head {
EXCEPTIONS EXCEPTIONS
showDisabled = 1; showDisabled = 1;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
// Advanced medical // Advanced medical
class FieldDressing { class FieldDressing {
@ -27,28 +27,28 @@ class ACE_Head {
EXCEPTIONS EXCEPTIONS
showDisabled = 0; showDisabled = 0;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
displayName = CSTRING(Actions_PackingBandage); displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\packingBandage.paa); icon = QPATHTOF(UI\icons\packingBandage.paa);
}; };
class ElasticBandage: fieldDressing { class ElasticBandage: fieldDressing {
displayName = CSTRING(Actions_ElasticBandage); displayName = CSTRING(Actions_ElasticBandage);
condition = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class QuikClot: fieldDressing { class QuikClot: fieldDressing {
displayName = CSTRING(Actions_QuikClot); displayName = CSTRING(Actions_QuikClot);
condition = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class CheckPulse: fieldDressing { class CheckPulse: fieldDressing {
displayName = CSTRING(Actions_CheckPulse); displayName = CSTRING(Actions_CheckPulse);
@ -83,7 +83,7 @@ class ACE_Torso {
ACTION_CONDITION ACTION_CONDITION
modifierFunction = QUOTE([ARR_4(_target,_player,1,_this select 3)] call FUNC(modifyMedicalAction)); modifierFunction = QUOTE([ARR_4(_target,_player,1,_this select 3)] call FUNC(modifyMedicalAction));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\medical_cross.paa); icon = QPATHTOF(UI\icons\medical_cross.paa);
distance = MEDICAL_ACTION_DISTANCE; distance = MEDICAL_ACTION_DISTANCE;
class Bandage { class Bandage {
displayName = CSTRING(Bandage); displayName = CSTRING(Bandage);
@ -94,7 +94,7 @@ class ACE_Torso {
showDisabled = 1; showDisabled = 1;
priority = 2; priority = 2;
enableInside = 1; enableInside = 1;
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class PlaceInBodyBag { class PlaceInBodyBag {
displayName = CSTRING(PlaceInBodyBag); displayName = CSTRING(PlaceInBodyBag);
@ -115,7 +115,7 @@ class ACE_Torso {
showDisabled = 1; showDisabled = 1;
priority = 2; priority = 2;
enableInside = 1; enableInside = 1;
icon = PATHTOF(UI\icons\triageCard.paa); icon = QPATHTOF(UI\icons\triageCard.paa);
}; };
class Diagnose { class Diagnose {
displayName = CSTRING(Actions_Diagnose); displayName = CSTRING(Actions_Diagnose);
@ -138,35 +138,35 @@ class ACE_Torso {
showDisabled = 0; showDisabled = 0;
priority = 2; priority = 2;
enableInside = 1; enableInside = 1;
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
displayName = CSTRING(Actions_PackingBandage); displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\packingBandage.paa); icon = QPATHTOF(UI\icons\packingBandage.paa);
}; };
class ElasticBandage: fieldDressing { class ElasticBandage: fieldDressing {
displayName = CSTRING(Actions_ElasticBandage); displayName = CSTRING(Actions_ElasticBandage);
condition = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class QuikClot: fieldDressing { class QuikClot: fieldDressing {
displayName = CSTRING(Actions_QuikClot); displayName = CSTRING(Actions_QuikClot);
condition = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class SurgicalKit: fieldDressing { class SurgicalKit: fieldDressing {
displayName = CSTRING(Use_SurgicalKit); displayName = CSTRING(Use_SurgicalKit);
condition = QUOTE([ARR_4(_player, _target, 'body', 'SurgicalKit')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'body', 'SurgicalKit')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'SurgicalKit')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'SurgicalKit')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\surgicalKit.paa); icon = QPATHTOF(UI\icons\surgicalKit.paa);
}; };
class PersonalAidKit: fieldDressing { class PersonalAidKit: fieldDressing {
displayName = CSTRING(Use_Aid_Kit); displayName = CSTRING(Use_Aid_Kit);
@ -190,7 +190,7 @@ class ACE_ArmLeft {
ACTION_CONDITION ACTION_CONDITION
modifierFunction = QUOTE([ARR_4(_target,_player,2,_this select 3)] call FUNC(modifyMedicalAction)); modifierFunction = QUOTE([ARR_4(_target,_player,2,_this select 3)] call FUNC(modifyMedicalAction));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\medical_cross.paa); icon = QPATHTOF(UI\icons\medical_cross.paa);
distance = MEDICAL_ACTION_DISTANCE; distance = MEDICAL_ACTION_DISTANCE;
class Bandage { class Bandage {
@ -201,7 +201,7 @@ class ACE_ArmLeft {
EXCEPTIONS EXCEPTIONS
showDisabled = 1; showDisabled = 1;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
// Advanced medical // Advanced medical
@ -213,70 +213,70 @@ class ACE_ArmLeft {
EXCEPTIONS EXCEPTIONS
showDisabled = 0; showDisabled = 0;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
displayName = CSTRING(Actions_PackingBandage); displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\packingBandage.paa); icon = QPATHTOF(UI\icons\packingBandage.paa);
}; };
class ElasticBandage: fieldDressing { class ElasticBandage: fieldDressing {
displayName = CSTRING(Actions_ElasticBandage); displayName = CSTRING(Actions_ElasticBandage);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class QuikClot: fieldDressing { class QuikClot: fieldDressing {
displayName = CSTRING(Actions_QuikClot); displayName = CSTRING(Actions_QuikClot);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class Tourniquet: fieldDressing { class Tourniquet: fieldDressing {
displayName = CSTRING(Actions_Tourniquet); displayName = CSTRING(Actions_Tourniquet);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\tourniquet.paa); icon = QPATHTOF(UI\icons\tourniquet.paa);
}; };
class Morphine: fieldDressing { class Morphine: fieldDressing {
displayName = CSTRING(Inject_Morphine); displayName = CSTRING(Inject_Morphine);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa); icon = QPATHTOF(UI\icons\autoInjector.paa);
}; };
class Adenosine: Morphine { class Adenosine: Morphine {
displayName = CSTRING(Inject_Adenosine); displayName = CSTRING(Inject_Adenosine);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Adenosine')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Adenosine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Adenosine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Adenosine')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa); icon = QPATHTOF(UI\icons\autoInjector.paa);
}; };
class Atropine: Morphine { class Atropine: Morphine {
displayName = CSTRING(Inject_Atropine); displayName = CSTRING(Inject_Atropine);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa); icon = QPATHTOF(UI\icons\autoInjector.paa);
}; };
class Epinephrine: Morphine { class Epinephrine: Morphine {
displayName = CSTRING(Inject_Epinephrine); displayName = CSTRING(Inject_Epinephrine);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa); icon = QPATHTOF(UI\icons\autoInjector.paa);
}; };
class BloodIV: fieldDressing { class BloodIV: fieldDressing {
displayName = CSTRING(Actions_Blood4_1000); displayName = CSTRING(Actions_Blood4_1000);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\iv.paa); icon = QPATHTOF(UI\icons\iv.paa);
}; };
class BloodIV_500: BloodIV { class BloodIV_500: BloodIV {
displayName = CSTRING(Actions_Blood4_500); displayName = CSTRING(Actions_Blood4_500);
@ -353,7 +353,7 @@ class ACE_ArmRight {
ACTION_CONDITION ACTION_CONDITION
modifierFunction = QUOTE([ARR_4(_target,_player,3,_this select 3)] call FUNC(modifyMedicalAction)); modifierFunction = QUOTE([ARR_4(_target,_player,3,_this select 3)] call FUNC(modifyMedicalAction));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\medical_cross.paa); icon = QPATHTOF(UI\icons\medical_cross.paa);
distance = MEDICAL_ACTION_DISTANCE; distance = MEDICAL_ACTION_DISTANCE;
class Bandage { class Bandage {
@ -364,7 +364,7 @@ class ACE_ArmRight {
EXCEPTIONS EXCEPTIONS
showDisabled = 1; showDisabled = 1;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
// Advanced medical // Advanced medical
@ -376,14 +376,14 @@ class ACE_ArmRight {
EXCEPTIONS EXCEPTIONS
showDisabled = 0; showDisabled = 0;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
displayName = CSTRING(Actions_PackingBandage); displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\packingBandage.paa); icon = QPATHTOF(UI\icons\packingBandage.paa);
}; };
class ElasticBandage: fieldDressing { class ElasticBandage: fieldDressing {
displayName = CSTRING(Actions_ElasticBandage); displayName = CSTRING(Actions_ElasticBandage);
@ -402,14 +402,14 @@ class ACE_ArmRight {
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\tourniquet.paa); icon = QPATHTOF(UI\icons\tourniquet.paa);
}; };
class Morphine: fieldDressing { class Morphine: fieldDressing {
displayName = CSTRING(Inject_Morphine); displayName = CSTRING(Inject_Morphine);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa); icon = QPATHTOF(UI\icons\autoInjector.paa);
}; };
class Adenosine: Morphine { class Adenosine: Morphine {
@ -417,7 +417,7 @@ class ACE_ArmRight {
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Adenosine')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Adenosine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Adenosine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Adenosine')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa); icon = QPATHTOF(UI\icons\autoInjector.paa);
}; };
class Atropine: Morphine { class Atropine: Morphine {
displayName = CSTRING(Inject_Atropine); displayName = CSTRING(Inject_Atropine);
@ -436,7 +436,7 @@ class ACE_ArmRight {
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\iv.paa); icon = QPATHTOF(UI\icons\iv.paa);
}; };
class BloodIV_500: BloodIV { class BloodIV_500: BloodIV {
displayName = CSTRING(Actions_Blood4_500); displayName = CSTRING(Actions_Blood4_500);
@ -514,7 +514,7 @@ class ACE_LegLeft {
ACTION_CONDITION ACTION_CONDITION
modifierFunction = QUOTE([ARR_4(_target,_player,4,_this select 3)] call FUNC(modifyMedicalAction)); modifierFunction = QUOTE([ARR_4(_target,_player,4,_this select 3)] call FUNC(modifyMedicalAction));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\medical_cross.paa); icon = QPATHTOF(UI\icons\medical_cross.paa);
distance = MEDICAL_ACTION_DISTANCE; distance = MEDICAL_ACTION_DISTANCE;
class Bandage { class Bandage {
@ -525,7 +525,7 @@ class ACE_LegLeft {
EXCEPTIONS EXCEPTIONS
showDisabled = 1; showDisabled = 1;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
@ -538,14 +538,14 @@ class ACE_LegLeft {
EXCEPTIONS EXCEPTIONS
showDisabled = 0; showDisabled = 0;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
displayName = CSTRING(Actions_PackingBandage); displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\packingBandage.paa); icon = QPATHTOF(UI\icons\packingBandage.paa);
}; };
class ElasticBandage: fieldDressing { class ElasticBandage: fieldDressing {
displayName = CSTRING(Actions_ElasticBandage); displayName = CSTRING(Actions_ElasticBandage);
@ -564,28 +564,28 @@ class ACE_LegLeft {
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\tourniquet.paa); icon = QPATHTOF(UI\icons\tourniquet.paa);
}; };
class Morphine: fieldDressing { class Morphine: fieldDressing {
displayName = CSTRING(Inject_Morphine); displayName = CSTRING(Inject_Morphine);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa); icon = QPATHTOF(UI\icons\autoInjector.paa);
}; };
class Adenosine: Morphine { class Adenosine: Morphine {
displayName = CSTRING(Inject_Atropine); displayName = CSTRING(Inject_Atropine);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Adenosine')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Adenosine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Adenosine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Adenosine')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa); icon = QPATHTOF(UI\icons\autoInjector.paa);
}; };
class Atropine: Morphine { class Atropine: Morphine {
displayName = CSTRING(Inject_Atropine); displayName = CSTRING(Inject_Atropine);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa); icon = QPATHTOF(UI\icons\autoInjector.paa);
}; };
class Epinephrine: Morphine { class Epinephrine: Morphine {
displayName = CSTRING(Inject_Epinephrine); displayName = CSTRING(Inject_Epinephrine);
@ -598,7 +598,7 @@ class ACE_LegLeft {
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\iv.paa); icon = QPATHTOF(UI\icons\iv.paa);
}; };
class BloodIV_500: BloodIV { class BloodIV_500: BloodIV {
displayName = CSTRING(Actions_Blood4_500); displayName = CSTRING(Actions_Blood4_500);
@ -662,7 +662,7 @@ class ACE_LegRight {
ACTION_CONDITION ACTION_CONDITION
modifierFunction = QUOTE([ARR_4(_target,_player,5,_this select 3)] call FUNC(modifyMedicalAction)); modifierFunction = QUOTE([ARR_4(_target,_player,5,_this select 3)] call FUNC(modifyMedicalAction));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\medical_cross.paa); icon = QPATHTOF(UI\icons\medical_cross.paa);
distance = MEDICAL_ACTION_DISTANCE; distance = MEDICAL_ACTION_DISTANCE;
class Bandage { class Bandage {
@ -673,7 +673,7 @@ class ACE_LegRight {
EXCEPTIONS EXCEPTIONS
showDisabled = 1; showDisabled = 1;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
@ -686,14 +686,14 @@ class ACE_LegRight {
EXCEPTIONS EXCEPTIONS
showDisabled = 0; showDisabled = 0;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
displayName = CSTRING(Actions_PackingBandage); displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\packingBandage.paa); icon = QPATHTOF(UI\icons\packingBandage.paa);
}; };
class ElasticBandage: fieldDressing { class ElasticBandage: fieldDressing {
displayName = CSTRING(Actions_ElasticBandage); displayName = CSTRING(Actions_ElasticBandage);
@ -712,21 +712,21 @@ class ACE_LegRight {
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\tourniquet.paa); icon = QPATHTOF(UI\icons\tourniquet.paa);
}; };
class Morphine: fieldDressing { class Morphine: fieldDressing {
displayName = CSTRING(Inject_Morphine); displayName = CSTRING(Inject_Morphine);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa); icon = QPATHTOF(UI\icons\autoInjector.paa);
}; };
class Adenosine: Morphine { class Adenosine: Morphine {
displayName = CSTRING(Inject_Atropine); displayName = CSTRING(Inject_Atropine);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Adenosine')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Adenosine')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Adenosine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Adenosine')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\autoInjector.paa); icon = QPATHTOF(UI\icons\autoInjector.paa);
}; };
class Atropine: Morphine { class Atropine: Morphine {
displayName = CSTRING(Inject_Atropine); displayName = CSTRING(Inject_Atropine);
@ -745,7 +745,7 @@ class ACE_LegRight {
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
icon = PATHTOF(UI\icons\iv.paa); icon = QPATHTOF(UI\icons\iv.paa);
}; };
class BloodIV_500: BloodIV { class BloodIV_500: BloodIV {
displayName = CSTRING(Actions_Blood4_500); displayName = CSTRING(Actions_Blood4_500);

View File

@ -4,11 +4,11 @@ class Medical {
exceptions[] = {"isNotInside", "isNotSitting"}; exceptions[] = {"isNotInside", "isNotSitting"};
statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation)); statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation));
condition = "true"; condition = "true";
icon = PATHTOF(UI\icons\medical_cross.paa); icon = QPATHTOF(UI\icons\medical_cross.paa);
class ACE_Head { class ACE_Head {
displayName = CSTRING(Head); displayName = CSTRING(Head);
icon = PATHTOF(UI\icons\medical_cross.paa); icon = QPATHTOF(UI\icons\medical_cross.paa);
exceptions[] = {"isNotInside", "isNotSitting"}; exceptions[] = {"isNotInside", "isNotSitting"};
statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation)); statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation));
modifierFunction = QUOTE([ARR_4(_target,_player,0,_this select 3)] call FUNC(modifyMedicalAction)); modifierFunction = QUOTE([ARR_4(_target,_player,0,_this select 3)] call FUNC(modifyMedicalAction));
@ -23,7 +23,7 @@ class Medical {
statement = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(treatment));
showDisabled = 1; showDisabled = 1;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
// Advanced medical // Advanced medical
class FieldDressing { class FieldDressing {
@ -34,28 +34,28 @@ class Medical {
statement = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(treatment));
showDisabled = 0; showDisabled = 0;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
displayName = CSTRING(Actions_PackingBandage); displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa); icon = QPATHTOF(UI\icons\packingBandage.paa);
}; };
class ElasticBandage: fieldDressing { class ElasticBandage: fieldDressing {
displayName = CSTRING(Actions_ElasticBandage); displayName = CSTRING(Actions_ElasticBandage);
condition = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class QuikClot: fieldDressing { class QuikClot: fieldDressing {
displayName = CSTRING(Actions_QuikClot); displayName = CSTRING(Actions_QuikClot);
condition = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class CheckPulse: fieldDressing { class CheckPulse: fieldDressing {
displayName = CSTRING(Actions_CheckPulse); displayName = CSTRING(Actions_CheckPulse);
@ -81,7 +81,7 @@ class Medical {
modifierFunction = QUOTE([ARR_4(_target,_player,1,_this select 3)] call FUNC(modifyMedicalAction)); modifierFunction = QUOTE([ARR_4(_target,_player,1,_this select 3)] call FUNC(modifyMedicalAction));
showDisabled = 1; showDisabled = 1;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\medical_cross.paa); icon = QPATHTOF(UI\icons\medical_cross.paa);
class Bandage { class Bandage {
displayName = CSTRING(Bandage); displayName = CSTRING(Bandage);
@ -91,7 +91,7 @@ class Medical {
statement = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(treatment));
showDisabled = 1; showDisabled = 1;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class TriageCard { class TriageCard {
@ -102,7 +102,7 @@ class Medical {
statement = QUOTE([ARR_2(_target, true)] call DFUNC(displayTriageCard)); statement = QUOTE([ARR_2(_target, true)] call DFUNC(displayTriageCard));
showDisabled = 1; showDisabled = 1;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\triageCard.paa); icon = QPATHTOF(UI\icons\triageCard.paa);
}; };
// Advanced medical // Advanced medical
@ -114,28 +114,28 @@ class Medical {
statement = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(treatment));
showDisabled = 0; showDisabled = 0;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
displayName = CSTRING(Actions_PackingBandage); displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa); icon = QPATHTOF(UI\icons\packingBandage.paa);
}; };
class ElasticBandage: fieldDressing { class ElasticBandage: fieldDressing {
displayName = CSTRING(Actions_ElasticBandage); displayName = CSTRING(Actions_ElasticBandage);
condition = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class QuikClot: fieldDressing { class QuikClot: fieldDressing {
displayName = CSTRING(Actions_QuikClot); displayName = CSTRING(Actions_QuikClot);
condition = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
}; };
class ACE_ArmLeft { class ACE_ArmLeft {
@ -145,7 +145,7 @@ class Medical {
statement = QUOTE([ARR_3(_target, true, 2)] call DFUNC(displayPatientInformation)); statement = QUOTE([ARR_3(_target, true, 2)] call DFUNC(displayPatientInformation));
modifierFunction = QUOTE([ARR_4(_target,_player,2,_this select 3)] call FUNC(modifyMedicalAction)); modifierFunction = QUOTE([ARR_4(_target,_player,2,_this select 3)] call FUNC(modifyMedicalAction));
condition = "true"; condition = "true";
icon = PATHTOF(UI\icons\medical_cross.paa); icon = QPATHTOF(UI\icons\medical_cross.paa);
class Bandage { class Bandage {
displayName = CSTRING(Bandage); displayName = CSTRING(Bandage);
@ -155,7 +155,7 @@ class Medical {
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(treatment));
showDisabled = 1; showDisabled = 1;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
// Advanced medical // Advanced medical
@ -167,63 +167,63 @@ class Medical {
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(treatment));
showDisabled = 0; showDisabled = 0;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
displayName = CSTRING(Actions_PackingBandage); displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa); icon = QPATHTOF(UI\icons\packingBandage.paa);
}; };
class ElasticBandage: fieldDressing { class ElasticBandage: fieldDressing {
displayName = CSTRING(Actions_ElasticBandage); displayName = CSTRING(Actions_ElasticBandage);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class QuikClot: fieldDressing { class QuikClot: fieldDressing {
displayName = CSTRING(Actions_QuikClot); displayName = CSTRING(Actions_QuikClot);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class Tourniquet: fieldDressing { class Tourniquet: fieldDressing {
displayName = CSTRING(Actions_Tourniquet); displayName = CSTRING(Actions_Tourniquet);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\tourniquet.paa); icon = QPATHTOF(UI\icons\tourniquet.paa);
}; };
class Morphine: fieldDressing { class Morphine: fieldDressing {
displayName = CSTRING(Inject_Morphine); displayName = CSTRING(Inject_Morphine);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa); icon = QPATHTOF(UI\icons\autoInjector.paa);
}; };
class Adenosine: Morphine { class Adenosine: Morphine {
displayName = CSTRING(Inject_Atropine); displayName = CSTRING(Inject_Atropine);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Adenosine')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Adenosine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Adenosine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Adenosine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa); icon = QPATHTOF(UI\icons\autoInjector.paa);
}; };
class Atropine: Morphine { class Atropine: Morphine {
displayName = CSTRING(Inject_Atropine); displayName = CSTRING(Inject_Atropine);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa); icon = QPATHTOF(UI\icons\autoInjector.paa);
}; };
class Epinephrine: Morphine { class Epinephrine: Morphine {
displayName = CSTRING(Inject_Epinephrine); displayName = CSTRING(Inject_Epinephrine);
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa); icon = QPATHTOF(UI\icons\autoInjector.paa);
}; };
class CheckPulse: fieldDressing { class CheckPulse: fieldDressing {
displayName = CSTRING(Actions_CheckPulse); displayName = CSTRING(Actions_CheckPulse);
@ -252,7 +252,7 @@ class Medical {
statement = QUOTE([ARR_3(_target, true, 3)] call DFUNC(displayPatientInformation)); statement = QUOTE([ARR_3(_target, true, 3)] call DFUNC(displayPatientInformation));
modifierFunction = QUOTE([ARR_4(_target,_player,3,_this select 3)] call FUNC(modifyMedicalAction)); modifierFunction = QUOTE([ARR_4(_target,_player,3,_this select 3)] call FUNC(modifyMedicalAction));
condition = "true"; condition = "true";
icon = PATHTOF(UI\icons\medical_cross.paa); icon = QPATHTOF(UI\icons\medical_cross.paa);
class Bandage { class Bandage {
displayName = CSTRING(Bandage); displayName = CSTRING(Bandage);
@ -262,7 +262,7 @@ class Medical {
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(treatment));
showDisabled = 1; showDisabled = 1;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
// Advanced medical // Advanced medical
@ -274,14 +274,14 @@ class Medical {
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(treatment));
showDisabled = 0; showDisabled = 0;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
displayName = CSTRING(Actions_PackingBandage); displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa); icon = QPATHTOF(UI\icons\packingBandage.paa);
}; };
class ElasticBandage: fieldDressing { class ElasticBandage: fieldDressing {
displayName = CSTRING(Actions_ElasticBandage); displayName = CSTRING(Actions_ElasticBandage);
@ -300,21 +300,21 @@ class Medical {
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\tourniquet.paa); icon = QPATHTOF(UI\icons\tourniquet.paa);
}; };
class Morphine: fieldDressing { class Morphine: fieldDressing {
displayName = CSTRING(Inject_Morphine); displayName = CSTRING(Inject_Morphine);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa); icon = QPATHTOF(UI\icons\autoInjector.paa);
}; };
class Adenosine: Morphine { class Adenosine: Morphine {
displayName = CSTRING(Inject_Atropine); displayName = CSTRING(Inject_Atropine);
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Adenosine')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Adenosine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Adenosine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Adenosine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa); icon = QPATHTOF(UI\icons\autoInjector.paa);
}; };
class Atropine: Morphine { class Atropine: Morphine {
displayName = CSTRING(Inject_Atropine); displayName = CSTRING(Inject_Atropine);
@ -355,7 +355,7 @@ class Medical {
statement = QUOTE([ARR_3(_target, true, 4)] call DFUNC(displayPatientInformation)); statement = QUOTE([ARR_3(_target, true, 4)] call DFUNC(displayPatientInformation));
modifierFunction = QUOTE([ARR_4(_target,_player,4,_this select 3)] call FUNC(modifyMedicalAction)); modifierFunction = QUOTE([ARR_4(_target,_player,4,_this select 3)] call FUNC(modifyMedicalAction));
condition = "true"; condition = "true";
icon = PATHTOF(UI\icons\medical_cross.paa); icon = QPATHTOF(UI\icons\medical_cross.paa);
class Bandage { class Bandage {
displayName = CSTRING(Bandage); displayName = CSTRING(Bandage);
@ -365,7 +365,7 @@ class Medical {
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(treatment));
showDisabled = 1; showDisabled = 1;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
@ -378,14 +378,14 @@ class Medical {
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(treatment));
showDisabled = 0; showDisabled = 0;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
displayName = CSTRING(Actions_PackingBandage); displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa); icon = QPATHTOF(UI\icons\packingBandage.paa);
}; };
class ElasticBandage: fieldDressing { class ElasticBandage: fieldDressing {
displayName = CSTRING(Actions_ElasticBandage); displayName = CSTRING(Actions_ElasticBandage);
@ -404,28 +404,28 @@ class Medical {
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\tourniquet.paa); icon = QPATHTOF(UI\icons\tourniquet.paa);
}; };
class Morphine: fieldDressing { class Morphine: fieldDressing {
displayName = CSTRING(Inject_Morphine); displayName = CSTRING(Inject_Morphine);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa); icon = QPATHTOF(UI\icons\autoInjector.paa);
}; };
class Adenosine: Morphine { class Adenosine: Morphine {
displayName = CSTRING(Inject_Atropine); displayName = CSTRING(Inject_Atropine);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Adenosine')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Adenosine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Adenosine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Adenosine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa); icon = QPATHTOF(UI\icons\autoInjector.paa);
}; };
class Atropine: Morphine { class Atropine: Morphine {
displayName = CSTRING(Inject_Atropine); displayName = CSTRING(Inject_Atropine);
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa); icon = QPATHTOF(UI\icons\autoInjector.paa);
}; };
class Epinephrine: Morphine { class Epinephrine: Morphine {
displayName = CSTRING(Inject_Epinephrine); displayName = CSTRING(Inject_Epinephrine);
@ -447,7 +447,7 @@ class Medical {
statement = QUOTE([ARR_3(_target, true, 5)] call DFUNC(displayPatientInformation)); statement = QUOTE([ARR_3(_target, true, 5)] call DFUNC(displayPatientInformation));
modifierFunction = QUOTE([ARR_4(_target,_player,5,_this select 3)] call FUNC(modifyMedicalAction)); modifierFunction = QUOTE([ARR_4(_target,_player,5,_this select 3)] call FUNC(modifyMedicalAction));
condition = "true"; condition = "true";
icon = PATHTOF(UI\icons\medical_cross.paa); icon = QPATHTOF(UI\icons\medical_cross.paa);
class Bandage { class Bandage {
displayName = CSTRING(Bandage); displayName = CSTRING(Bandage);
@ -457,7 +457,7 @@ class Medical {
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(treatment));
showDisabled = 1; showDisabled = 1;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
@ -470,14 +470,14 @@ class Medical {
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(treatment));
showDisabled = 0; showDisabled = 0;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
displayName = CSTRING(Actions_PackingBandage); displayName = CSTRING(Actions_PackingBandage);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa); icon = QPATHTOF(UI\icons\packingBandage.paa);
}; };
class ElasticBandage: fieldDressing { class ElasticBandage: fieldDressing {
displayName = CSTRING(Actions_ElasticBandage); displayName = CSTRING(Actions_ElasticBandage);
@ -496,21 +496,21 @@ class Medical {
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\tourniquet.paa); icon = QPATHTOF(UI\icons\tourniquet.paa);
}; };
class Morphine: fieldDressing { class Morphine: fieldDressing {
displayName = CSTRING(Inject_Morphine); displayName = CSTRING(Inject_Morphine);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa); icon = QPATHTOF(UI\icons\autoInjector.paa);
}; };
class Adenosine: Morphine { class Adenosine: Morphine {
displayName = CSTRING(Inject_Atropine); displayName = CSTRING(Inject_Atropine);
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Adenosine')] call DFUNC(canTreatCached)); condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Adenosine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Adenosine')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Adenosine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa); icon = QPATHTOF(UI\icons\autoInjector.paa);
}; };
class Atropine: Morphine { class Atropine: Morphine {
displayName = CSTRING(Inject_Atropine); displayName = CSTRING(Inject_Atropine);

View File

@ -1,37 +1,37 @@
class CfgSounds { class CfgSounds {
class ACE_heartbeat_fast_1 { class ACE_heartbeat_fast_1 {
name = "ACE_heartbeat_fast_1"; name = "ACE_heartbeat_fast_1";
sound[] = {QUOTE(PATHTOF(sounds\heart_beats\fast_1.wav)), "db+1", 1}; sound[] = {QPATHTOF(sounds\heart_beats\fast_1.wav), "db+1", 1};
titles[] = {}; titles[] = {};
}; };
class ACE_heartbeat_fast_2 { class ACE_heartbeat_fast_2 {
name = "ACE_heartbeat_fast_2"; name = "ACE_heartbeat_fast_2";
sound[] = {QUOTE(PATHTOF(sounds\heart_beats\fast_2.wav)), "db+1", 1}; sound[] = {QPATHTOF(sounds\heart_beats\fast_2.wav), "db+1", 1};
titles[] = {}; titles[] = {};
}; };
class ACE_heartbeat_fast_3 { class ACE_heartbeat_fast_3 {
name = "ACE_heartbeat_fast_3"; name = "ACE_heartbeat_fast_3";
sound[] = {QUOTE(PATHTOF(sounds\heart_beats\fast_3.wav)), "db+1", 1}; sound[] = {QPATHTOF(sounds\heart_beats\fast_3.wav), "db+1", 1};
titles[] = {}; titles[] = {};
}; };
class ACE_heartbeat_norm_1 { class ACE_heartbeat_norm_1 {
name = "ACE_heartbeat_norm_1"; name = "ACE_heartbeat_norm_1";
sound[] = {QUOTE(PATHTOF(sounds\heart_beats\norm_1.wav)), "db+1", 1}; sound[] = {QPATHTOF(sounds\heart_beats\norm_1.wav), "db+1", 1};
titles[] = {}; titles[] = {};
}; };
class ACE_heartbeat_norm_2 { class ACE_heartbeat_norm_2 {
name = "ACE_heartbeat_norm_2"; name = "ACE_heartbeat_norm_2";
sound[] = {QUOTE(PATHTOF(sounds\heart_beats\norm_2.wav)), "db+1", 1}; sound[] = {QPATHTOF(sounds\heart_beats\norm_2.wav), "db+1", 1};
titles[] = {}; titles[] = {};
}; };
class ACE_heartbeat_slow_1 { class ACE_heartbeat_slow_1 {
name = "ACE_heartbeat_slow_1"; name = "ACE_heartbeat_slow_1";
sound[] = {QUOTE(PATHTOF(sounds\heart_beats\slow_1.wav)), "db+1", 1}; sound[] = {QPATHTOF(sounds\heart_beats\slow_1.wav), "db+1", 1};
titles[] = {}; titles[] = {};
}; };
class ACE_heartbeat_slow_2 { class ACE_heartbeat_slow_2 {
name = "ACE_heartbeat_slow_2"; name = "ACE_heartbeat_slow_2";
sound[] = {QUOTE(PATHTOF(sounds\heart_beats\slow_2.wav)), "db+1", 1}; sound[] = {QPATHTOF(sounds\heart_beats\slow_2.wav), "db+1", 1};
titles[] = {}; titles[] = {};
}; };
}; };

View File

@ -14,7 +14,7 @@ class CfgVehicles {
class ACE_moduleMedicalSettings: ACE_Module { class ACE_moduleMedicalSettings: ACE_Module {
scope = 2; scope = 2;
displayName = CSTRING(MedicalSettings_Module_DisplayName); displayName = CSTRING(MedicalSettings_Module_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa)); icon = QPATHTOF(UI\Icon_Module_Medical_ca.paa);
category = "ACE_medical"; category = "ACE_medical";
function = QUOTE(DFUNC(moduleMedicalSettings)); function = QUOTE(DFUNC(moduleMedicalSettings));
functionPriority = 1; functionPriority = 1;
@ -156,7 +156,7 @@ class CfgVehicles {
class ACE_moduleBasicMedicalSettings: ACE_Module { class ACE_moduleBasicMedicalSettings: ACE_Module {
scope = 2; scope = 2;
displayName = CSTRING(BasicMedicalSettings_Module_DisplayName); displayName = CSTRING(BasicMedicalSettings_Module_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa)); icon = QPATHTOF(UI\Icon_Module_Medical_ca.paa);
category = "ACE_medical"; category = "ACE_medical";
function = QUOTE(FUNC(moduleBasicMedicalSettings)); function = QUOTE(FUNC(moduleBasicMedicalSettings));
functionPriority = 10; functionPriority = 10;
@ -198,7 +198,7 @@ class CfgVehicles {
class ACE_moduleAdvancedMedicalSettings: ACE_Module { class ACE_moduleAdvancedMedicalSettings: ACE_Module {
scope = 2; scope = 2;
displayName = CSTRING(AdvancedMedicalSettings_Module_DisplayName); displayName = CSTRING(AdvancedMedicalSettings_Module_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa)); icon = QPATHTOF(UI\Icon_Module_Medical_ca.paa);
category = "ACE_medical"; category = "ACE_medical";
function = QUOTE(FUNC(moduleAdvancedMedicalSettings)); function = QUOTE(FUNC(moduleAdvancedMedicalSettings));
functionPriority = 10; functionPriority = 10;
@ -320,7 +320,7 @@ class CfgVehicles {
class ACE_moduleReviveSettings: ACE_Module { class ACE_moduleReviveSettings: ACE_Module {
scope = 2; scope = 2;
displayName = CSTRING(ReviveSettings_Module_DisplayName); displayName = CSTRING(ReviveSettings_Module_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa)); icon = QPATHTOF(UI\Icon_Module_Medical_ca.paa);
category = "ACE_medical"; category = "ACE_medical";
function = QUOTE(DFUNC(moduleReviveSettings)); function = QUOTE(DFUNC(moduleReviveSettings));
functionPriority = 1; functionPriority = 1;
@ -364,7 +364,7 @@ class CfgVehicles {
class ACE_moduleAssignMedicRoles: Module_F { class ACE_moduleAssignMedicRoles: Module_F {
scope = 2; scope = 2;
displayName = CSTRING(AssignMedicRoles_Module_DisplayName); displayName = CSTRING(AssignMedicRoles_Module_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa)); icon = QPATHTOF(UI\Icon_Module_Medical_ca.paa);
category = "ACE_medical"; category = "ACE_medical";
function = QUOTE(FUNC(moduleAssignMedicRoles)); function = QUOTE(FUNC(moduleAssignMedicRoles));
functionPriority = 10; functionPriority = 10;
@ -411,7 +411,7 @@ class CfgVehicles {
class ACE_moduleAssignMedicVehicle: Module_F { class ACE_moduleAssignMedicVehicle: Module_F {
scope = 2; scope = 2;
displayName = CSTRING(AssignMedicVehicle_Module_DisplayName); displayName = CSTRING(AssignMedicVehicle_Module_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa)); icon = QPATHTOF(UI\Icon_Module_Medical_ca.paa);
category = "ACE_medical"; category = "ACE_medical";
function = QUOTE(FUNC(moduleAssignMedicalVehicle)); function = QUOTE(FUNC(moduleAssignMedicalVehicle));
functionPriority = 10; functionPriority = 10;
@ -455,7 +455,7 @@ class CfgVehicles {
class ACE_moduleAssignMedicalFacility: Module_F { class ACE_moduleAssignMedicalFacility: Module_F {
scope = 2; scope = 2;
displayName = CSTRING(AssignMedicalFacility_Module_DisplayName); displayName = CSTRING(AssignMedicalFacility_Module_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa)); icon = QPATHTOF(UI\Icon_Module_Medical_ca.paa);
category = "ACE_medical"; category = "ACE_medical";
function = QUOTE(FUNC(moduleAssignMedicalFacility)); function = QUOTE(FUNC(moduleAssignMedicalFacility));
functionPriority = 10; functionPriority = 10;
@ -534,7 +534,7 @@ class CfgVehicles {
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
condition = QUOTE((vehicle _target != _target && vehicle _target == vehicle _player) || GVAR(menuTypeStyle) == 1); condition = QUOTE((vehicle _target != _target && vehicle _target == vehicle _player) || GVAR(menuTypeStyle) == 1);
statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation)); statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation));
icon = PATHTOF(UI\icons\medical_cross.paa); icon = QPATHTOF(UI\icons\medical_cross.paa);
#undef EXCEPTIONS #undef EXCEPTIONS
#undef ACTION_CONDITION #undef ACTION_CONDITION
@ -549,7 +549,7 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_player, _target)] call DFUNC(actionLoadUnit)); statement = QUOTE([ARR_2(_player, _target)] call DFUNC(actionLoadUnit));
showDisabled = 0; showDisabled = 0;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\medical_cross.paa); icon = QPATHTOF(UI\icons\medical_cross.paa);
exceptions[] = {"isNotDragging", "isNotCarrying"}; exceptions[] = {"isNotDragging", "isNotCarrying"};
}; };
class GVAR(UnLoadPatient) { class GVAR(UnLoadPatient) {
@ -559,7 +559,7 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_player, _target)] call DFUNC(actionUnloadUnit)); statement = QUOTE([ARR_2(_player, _target)] call DFUNC(actionUnloadUnit));
showDisabled = 0; showDisabled = 0;
priority = 2; priority = 2;
icon = PATHTOF(UI\icons\medical_cross.paa); icon = QPATHTOF(UI\icons\medical_cross.paa);
exceptions[] = {"isNotDragging", "isNotCarrying", "isNotInside"}; exceptions[] = {"isNotDragging", "isNotCarrying", "isNotInside"};
}; };
}; };
@ -659,7 +659,7 @@ class CfgVehicles {
scope = 1; scope = 1;
scopeCurator = 2; scopeCurator = 2;
side = -1; side = -1;
model = QUOTE(PATHTOEF(apl,bodybag.p3d)); model = QPATHTOEF(apl,bodybag.p3d);
icon = ""; icon = "";
displayName = CSTRING(Bodybag_Display); displayName = CSTRING(Bodybag_Display);
EGVAR(dragging,canDrag) = 1; EGVAR(dragging,canDrag) = 1;
@ -686,40 +686,40 @@ class CfgVehicles {
scopeCurator = 0; scopeCurator = 0;
displayName = " "; displayName = " ";
destrType = "DestructNo"; destrType = "DestructNo";
model = QUOTE(PATHTOF(data\littergeneric.p3d)); model = QPATHTOF(data\littergeneric.p3d);
}; };
class ACE_MedicalLitter_clean: ACE_MedicalLitterBase { class ACE_MedicalLitter_clean: ACE_MedicalLitterBase {
model = QUOTE(PATHTOF(data\littergeneric_clean.p3d)); model = QPATHTOF(data\littergeneric_clean.p3d);
}; };
class ACE_MedicalLitter_bandage1: ACE_MedicalLitterBase { class ACE_MedicalLitter_bandage1: ACE_MedicalLitterBase {
model = QUOTE(PATHTOF(data\littergeneric_bandages1.p3d)); model = QPATHTOF(data\littergeneric_bandages1.p3d);
}; };
class ACE_MedicalLitter_bandage2: ACE_MedicalLitterBase { class ACE_MedicalLitter_bandage2: ACE_MedicalLitterBase {
model = QUOTE(PATHTOF(data\littergeneric_bandages2.p3d)); model = QPATHTOF(data\littergeneric_bandages2.p3d);
}; };
class ACE_MedicalLitter_bandage3: ACE_MedicalLitterBase { class ACE_MedicalLitter_bandage3: ACE_MedicalLitterBase {
model = QUOTE(PATHTOF(data\littergeneric_bandages3.p3d)); model = QPATHTOF(data\littergeneric_bandages3.p3d);
}; };
class ACE_MedicalLitter_packingBandage: ACE_MedicalLitterBase { class ACE_MedicalLitter_packingBandage: ACE_MedicalLitterBase {
model = QUOTE(PATHTOF(data\littergeneric_packingBandage.p3d)); model = QPATHTOF(data\littergeneric_packingBandage.p3d);
}; };
class ACE_MedicalLitter_gloves: ACE_MedicalLitterBase { class ACE_MedicalLitter_gloves: ACE_MedicalLitterBase {
model = QUOTE(PATHTOF(data\littergeneric_gloves.p3d)); model = QPATHTOF(data\littergeneric_gloves.p3d);
}; };
class ACE_MedicalLitter_adenosine: ACE_MedicalLitterBase { class ACE_MedicalLitter_adenosine: ACE_MedicalLitterBase {
model = QUOTE(PATHTOF(data\littergeneric_adenosine.p3d)); model = QPATHTOF(data\littergeneric_adenosine.p3d);
}; };
class ACE_MedicalLitter_atropine: ACE_MedicalLitterBase { class ACE_MedicalLitter_atropine: ACE_MedicalLitterBase {
model = QUOTE(PATHTOF(data\littergeneric_atropine.p3d)); model = QPATHTOF(data\littergeneric_atropine.p3d);
}; };
class ACE_MedicalLitter_epinephrine: ACE_MedicalLitterBase { class ACE_MedicalLitter_epinephrine: ACE_MedicalLitterBase {
model = QUOTE(PATHTOF(data\littergeneric_epinephrine.p3d)); model = QPATHTOF(data\littergeneric_epinephrine.p3d);
}; };
class ACE_MedicalLitter_morphine: ACE_MedicalLitterBase { class ACE_MedicalLitter_morphine: ACE_MedicalLitterBase {
model = QUOTE(PATHTOF(data\littergeneric_morphine.p3d)); model = QPATHTOF(data\littergeneric_morphine.p3d);
}; };
class ACE_MedicalLitter_QuickClot: ACE_MedicalLitterBase { class ACE_MedicalLitter_QuickClot: ACE_MedicalLitterBase {
model = QUOTE(PATHTOF(data\littergeneric_Quikclot.p3d)); model = QPATHTOF(data\littergeneric_Quikclot.p3d);
}; };
class Item_Base_F; class Item_Base_F;
class ACE_fieldDressingItem: Item_Base_F { class ACE_fieldDressingItem: Item_Base_F {
@ -880,7 +880,7 @@ class CfgVehicles {
scopeCurator = 2; scopeCurator = 2;
accuracy = 1000; accuracy = 1000;
displayName = CSTRING(medicalSupplyCrate); displayName = CSTRING(medicalSupplyCrate);
model = PATHTOF(data\ace_medcrate.p3d); model = QPATHTOF(data\ace_medcrate.p3d);
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
class TransportItems { class TransportItems {
MACRO_ADDITEM(ACE_fieldDressing,50); MACRO_ADDITEM(ACE_fieldDressing,50);

View File

@ -22,8 +22,8 @@ class CfgWeapons {
class ACE_ItemCore; class ACE_ItemCore;
class ACE_fieldDressing: ACE_ItemCore { class ACE_fieldDressing: ACE_ItemCore {
scope = 2; scope = 2;
model = QUOTE(PATHTOF(data\bandage.p3d)); model = QPATHTOF(data\bandage.p3d);
picture = QUOTE(PATHTOF(ui\items\fieldDressing_x_ca.paa)); picture = QPATHTOF(ui\items\fieldDressing_x_ca.paa);
displayName = CSTRING(Bandage_Basic_Display); displayName = CSTRING(Bandage_Basic_Display);
descriptionShort = CSTRING(Bandage_Basic_Desc_Short); descriptionShort = CSTRING(Bandage_Basic_Desc_Short);
descriptionUse = CSTRING(Bandage_Basic_Desc_Use); descriptionUse = CSTRING(Bandage_Basic_Desc_Use);
@ -34,8 +34,8 @@ class CfgWeapons {
class ACE_packingBandage: ACE_ItemCore { class ACE_packingBandage: ACE_ItemCore {
scope = 2; scope = 2;
displayName = CSTRING(Packing_Bandage_Display); displayName = CSTRING(Packing_Bandage_Display);
picture = QUOTE(PATHTOF(ui\items\packingBandage_x_ca.paa)); picture = QPATHTOF(ui\items\packingBandage_x_ca.paa);
model = QUOTE(PATHTOF(data\packingbandage.p3d)); model = QPATHTOF(data\packingbandage.p3d);
descriptionShort = CSTRING(Packing_Bandage_Desc_Short); descriptionShort = CSTRING(Packing_Bandage_Desc_Short);
descriptionUse = CSTRING(Packing_Bandage_Desc_Use); descriptionUse = CSTRING(Packing_Bandage_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
@ -45,7 +45,7 @@ class CfgWeapons {
class ACE_elasticBandage: ACE_ItemCore { class ACE_elasticBandage: ACE_ItemCore {
scope = 2; scope = 2;
displayName = CSTRING(Bandage_Elastic_Display); displayName = CSTRING(Bandage_Elastic_Display);
picture = QUOTE(PATHTOF(ui\items\elasticBandage_x_ca.paa)); picture = QPATHTOF(ui\items\elasticBandage_x_ca.paa);
model = "\A3\Structures_F_EPA\Items\Medical\Bandage_F.p3d"; model = "\A3\Structures_F_EPA\Items\Medical\Bandage_F.p3d";
descriptionShort = CSTRING(Bandage_Elastic_Desc_Short); descriptionShort = CSTRING(Bandage_Elastic_Desc_Short);
descriptionUse = CSTRING(Bandage_Elastic_Desc_Use); descriptionUse = CSTRING(Bandage_Elastic_Desc_Use);
@ -56,8 +56,8 @@ class CfgWeapons {
class ACE_tourniquet: ACE_ItemCore { class ACE_tourniquet: ACE_ItemCore {
scope = 2; scope = 2;
displayName = CSTRING(Tourniquet_Display); displayName = CSTRING(Tourniquet_Display);
picture = QUOTE(PATHTOF(ui\items\tourniquet_x_ca.paa)); picture = QPATHTOF(ui\items\tourniquet_x_ca.paa);
model = QUOTE(PATHTOF(data\tourniquet.p3d)); model = QPATHTOF(data\tourniquet.p3d);
descriptionShort = CSTRING(Tourniquet_Desc_Short); descriptionShort = CSTRING(Tourniquet_Desc_Short);
descriptionUse = CSTRING(Tourniquet_Desc_Use); descriptionUse = CSTRING(Tourniquet_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
@ -67,8 +67,8 @@ class CfgWeapons {
class ACE_morphine: ACE_ItemCore { class ACE_morphine: ACE_ItemCore {
scope = 2; scope = 2;
displayName = CSTRING(Morphine_Display); displayName = CSTRING(Morphine_Display);
picture = QUOTE(PATHTOF(ui\items\morphine_x_ca.paa)); picture = QPATHTOF(ui\items\morphine_x_ca.paa);
model = QUOTE(PATHTOF(data\morphine.p3d)); model = QPATHTOF(data\morphine.p3d);
descriptionShort = CSTRING(Morphine_Desc_Short); descriptionShort = CSTRING(Morphine_Desc_Short);
descriptionUse = CSTRING(Morphine_Desc_Use); descriptionUse = CSTRING(Morphine_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
@ -78,8 +78,8 @@ class CfgWeapons {
class ACE_adenosine: ACE_ItemCore { class ACE_adenosine: ACE_ItemCore {
scope = 2; scope = 2;
displayName = CSTRING(Adenosine_Display); displayName = CSTRING(Adenosine_Display);
picture = QUOTE(PATHTOF(ui\items\adenosine_x_ca.paa)); picture = QPATHTOF(ui\items\adenosine_x_ca.paa);
model = QUOTE(PATHTOF(data\adenosine.p3d)); model = QPATHTOF(data\adenosine.p3d);
descriptionShort = CSTRING(adenosine_Desc_Short); descriptionShort = CSTRING(adenosine_Desc_Short);
descriptionUse = CSTRING(adenosine_Desc_Use); descriptionUse = CSTRING(adenosine_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
@ -89,8 +89,8 @@ class CfgWeapons {
class ACE_atropine: ACE_ItemCore { class ACE_atropine: ACE_ItemCore {
scope = 2; scope = 2;
displayName = CSTRING(Atropine_Display); displayName = CSTRING(Atropine_Display);
picture = QUOTE(PATHTOF(ui\items\atropine_x_ca.paa)); picture = QPATHTOF(ui\items\atropine_x_ca.paa);
model = QUOTE(PATHTOF(data\atropine.p3d)); model = QPATHTOF(data\atropine.p3d);
descriptionShort = CSTRING(Atropine_Desc_Short); descriptionShort = CSTRING(Atropine_Desc_Short);
descriptionUse = CSTRING(Atropine_Desc_Use); descriptionUse = CSTRING(Atropine_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
@ -100,8 +100,8 @@ class CfgWeapons {
class ACE_epinephrine: ACE_ItemCore { class ACE_epinephrine: ACE_ItemCore {
scope = 2; scope = 2;
displayName = CSTRING(Epinephrine_Display); displayName = CSTRING(Epinephrine_Display);
picture = QUOTE(PATHTOF(ui\items\epinephrine_x_ca.paa)); picture = QPATHTOF(ui\items\epinephrine_x_ca.paa);
model = QUOTE(PATHTOF(data\epinephrine.p3d)); model = QPATHTOF(data\epinephrine.p3d);
descriptionShort = CSTRING(Epinephrine_Desc_Short); descriptionShort = CSTRING(Epinephrine_Desc_Short);
descriptionUse = CSTRING(Epinephrine_Desc_Use); descriptionUse = CSTRING(Epinephrine_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
@ -112,10 +112,10 @@ class CfgWeapons {
class ACE_plasmaIV: ACE_ItemCore { class ACE_plasmaIV: ACE_ItemCore {
scope = 2; scope = 2;
displayName = CSTRING(Plasma_IV); displayName = CSTRING(Plasma_IV);
model = QUOTE(PATHTOF(data\IVBag_1000ml.p3d)); model = QPATHTOF(data\IVBag_1000ml.p3d);
hiddenSelections[] = {"camo"}; hiddenSelections[] = {"camo"};
hiddenSelectionsTextures[] = { QUOTE(PATHTOF(data\IVBag_plasma_1000ml_ca.paa)) }; hiddenSelectionsTextures[] = { QPATHTOF(data\IVBag_plasma_1000ml_ca.paa) };
picture = QUOTE(PATHTOF(ui\items\plasmaIV_x_ca.paa)); picture = QPATHTOF(ui\items\plasmaIV_x_ca.paa);
descriptionShort = CSTRING(Plasma_IV_Desc_Short); descriptionShort = CSTRING(Plasma_IV_Desc_Short);
descriptionUse = CSTRING(Plasma_IV_Desc_Use); descriptionUse = CSTRING(Plasma_IV_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
@ -124,27 +124,27 @@ class CfgWeapons {
}; };
class ACE_plasmaIV_500: ACE_plasmaIV { class ACE_plasmaIV_500: ACE_plasmaIV {
displayName = CSTRING(Plasma_IV_500); displayName = CSTRING(Plasma_IV_500);
model = QUOTE(PATHTOF(data\IVBag_500ml.p3d)); model = QPATHTOF(data\IVBag_500ml.p3d);
hiddenSelectionsTextures[] = { QUOTE(PATHTOF(data\IVBag_plasma_500ml_ca.paa)) }; hiddenSelectionsTextures[] = { QPATHTOF(data\IVBag_plasma_500ml_ca.paa) };
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 5; mass = 5;
}; };
}; };
class ACE_plasmaIV_250: ACE_plasmaIV { class ACE_plasmaIV_250: ACE_plasmaIV {
displayName = CSTRING(Plasma_IV_250); displayName = CSTRING(Plasma_IV_250);
model = QUOTE(PATHTOF(data\IVBag_250ml.p3d)); model = QPATHTOF(data\IVBag_250ml.p3d);
hiddenSelectionsTextures[] = { QUOTE(PATHTOF(data\IVBag_plasma_250ml_ca.paa)) }; hiddenSelectionsTextures[] = { QPATHTOF(data\IVBag_plasma_250ml_ca.paa) };
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 2.5; mass = 2.5;
}; };
}; };
class ACE_bloodIV: ACE_ItemCore { class ACE_bloodIV: ACE_ItemCore {
scope = 2; scope = 2;
model = QUOTE(PATHTOF(data\IVBag_1000ml.p3d)); model = QPATHTOF(data\IVBag_1000ml.p3d);
displayName = CSTRING(Blood_IV); displayName = CSTRING(Blood_IV);
picture = QUOTE(PATHTOF(ui\items\bloodIV_x_ca.paa)); picture = QPATHTOF(ui\items\bloodIV_x_ca.paa);
hiddenSelections[] = {"camo"}; hiddenSelections[] = {"camo"};
hiddenSelectionsTextures[] = { QUOTE(PATHTOF(data\IVBag_blood_1000ml_ca.paa)) }; hiddenSelectionsTextures[] = { QPATHTOF(data\IVBag_blood_1000ml_ca.paa) };
descriptionShort = CSTRING(Blood_IV_Desc_Short); descriptionShort = CSTRING(Blood_IV_Desc_Short);
descriptionUse = CSTRING(Blood_IV_Desc_Use); descriptionUse = CSTRING(Blood_IV_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
@ -153,16 +153,16 @@ class CfgWeapons {
}; };
class ACE_bloodIV_500: ACE_bloodIV { class ACE_bloodIV_500: ACE_bloodIV {
displayName = CSTRING(Blood_IV_500); displayName = CSTRING(Blood_IV_500);
model = QUOTE(PATHTOF(data\IVBag_500ml.p3d)); model = QPATHTOF(data\IVBag_500ml.p3d);
hiddenSelectionsTextures[] = { QUOTE(PATHTOF(data\IVBag_blood_500ml_ca.paa)) }; hiddenSelectionsTextures[] = { QPATHTOF(data\IVBag_blood_500ml_ca.paa) };
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 5; mass = 5;
}; };
}; };
class ACE_bloodIV_250: ACE_bloodIV { class ACE_bloodIV_250: ACE_bloodIV {
displayName = CSTRING(Blood_IV_250); displayName = CSTRING(Blood_IV_250);
model = QUOTE(PATHTOF(data\IVBag_250ml.p3d)); model = QPATHTOF(data\IVBag_250ml.p3d);
hiddenSelectionsTextures[] = { QUOTE(PATHTOF(data\IVBag_blood_250ml_ca.paa)) }; hiddenSelectionsTextures[] = { QPATHTOF(data\IVBag_blood_250ml_ca.paa) };
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 2.5; mass = 2.5;
}; };
@ -170,10 +170,10 @@ class CfgWeapons {
class ACE_salineIV: ACE_ItemCore { class ACE_salineIV: ACE_ItemCore {
scope = 2; scope = 2;
displayName = CSTRING(Saline_IV); displayName = CSTRING(Saline_IV);
model = QUOTE(PATHTOF(data\IVBag_1000ml.p3d)); model = QPATHTOF(data\IVBag_1000ml.p3d);
hiddenSelections[] = {"camo"}; hiddenSelections[] = {"camo"};
hiddenSelectionsTextures[] = { QUOTE(PATHTOF(data\IVBag_saline_1000ml_ca.paa)) }; hiddenSelectionsTextures[] = { QPATHTOF(data\IVBag_saline_1000ml_ca.paa) };
picture = QUOTE(PATHTOF(ui\items\salineIV_x_ca.paa)); picture = QPATHTOF(ui\items\salineIV_x_ca.paa);
descriptionShort = CSTRING(Saline_IV_Desc_Short); descriptionShort = CSTRING(Saline_IV_Desc_Short);
descriptionUse = CSTRING(Saline_IV_Desc_Use); descriptionUse = CSTRING(Saline_IV_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
@ -182,16 +182,16 @@ class CfgWeapons {
}; };
class ACE_salineIV_500: ACE_salineIV { class ACE_salineIV_500: ACE_salineIV {
displayName = CSTRING(Saline_IV_500); displayName = CSTRING(Saline_IV_500);
model = QUOTE(PATHTOF(data\IVBag_500ml.p3d)); model = QPATHTOF(data\IVBag_500ml.p3d);
hiddenSelectionsTextures[] = { QUOTE(PATHTOF(data\IVBag_saline_500ml_ca.paa)) }; hiddenSelectionsTextures[] = { QPATHTOF(data\IVBag_saline_500ml_ca.paa) };
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 5; mass = 5;
}; };
}; };
class ACE_salineIV_250: ACE_salineIV { class ACE_salineIV_250: ACE_salineIV {
displayName = CSTRING(Saline_IV_250); displayName = CSTRING(Saline_IV_250);
model = QUOTE(PATHTOF(data\IVBag_250ml.p3d)); model = QPATHTOF(data\IVBag_250ml.p3d);
hiddenSelectionsTextures[] = { QUOTE(PATHTOF(data\IVBag_saline_250ml_ca.paa)) }; hiddenSelectionsTextures[] = { QPATHTOF(data\IVBag_saline_250ml_ca.paa) };
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 2.5; mass = 2.5;
}; };
@ -199,8 +199,8 @@ class CfgWeapons {
class ACE_quikclot: ACE_ItemCore { class ACE_quikclot: ACE_ItemCore {
scope = 2; scope = 2;
displayName = CSTRING(QuikClot_Display); displayName = CSTRING(QuikClot_Display);
model = QUOTE(PATHTOF(data\QuikClot.p3d)); model = QPATHTOF(data\QuikClot.p3d);
picture = QUOTE(PATHTOF(ui\items\quickclot_x_ca.paa)); picture = QPATHTOF(ui\items\quickclot_x_ca.paa);
descriptionShort = CSTRING(QuikClot_Desc_Short); descriptionShort = CSTRING(QuikClot_Desc_Short);
descriptionUse = CSTRING(QuikClot_Desc_Use); descriptionUse = CSTRING(QuikClot_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
@ -210,7 +210,7 @@ class CfgWeapons {
class ACE_personalAidKit: ACE_ItemCore { class ACE_personalAidKit: ACE_ItemCore {
scope = 2; scope = 2;
displayName = CSTRING(Aid_Kit_Display); displayName = CSTRING(Aid_Kit_Display);
picture = QUOTE(PATHTOF(ui\items\personal_aid_kit_x_ca.paa)); picture = QPATHTOF(ui\items\personal_aid_kit_x_ca.paa);
descriptionShort = CSTRING(Aid_Kit_Desc_Short); descriptionShort = CSTRING(Aid_Kit_Desc_Short);
descriptionUse = CSTRING(Aid_Kit_Desc_Use); descriptionUse = CSTRING(Aid_Kit_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
@ -220,8 +220,8 @@ class CfgWeapons {
class ACE_surgicalKit: ACE_ItemCore { class ACE_surgicalKit: ACE_ItemCore {
scope=2; scope=2;
displayName= CSTRING(SurgicalKit_Display); displayName= CSTRING(SurgicalKit_Display);
model = QUOTE(PATHTOF(data\surgical_kit.p3d)); model = QPATHTOF(data\surgical_kit.p3d);
picture = QUOTE(PATHTOF(ui\items\surgicalKit_x_ca.paa)); picture = QPATHTOF(ui\items\surgicalKit_x_ca.paa);
descriptionShort = CSTRING(SurgicalKit_Desc_Short); descriptionShort = CSTRING(SurgicalKit_Desc_Short);
descriptionUse = CSTRING(SurgicalKit_Desc_Use); descriptionUse = CSTRING(SurgicalKit_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
@ -231,8 +231,8 @@ class CfgWeapons {
class ACE_bodyBag: ACE_ItemCore { class ACE_bodyBag: ACE_ItemCore {
scope=2; scope=2;
displayName= CSTRING(Bodybag_Display); displayName= CSTRING(Bodybag_Display);
model = QUOTE(PATHTOF(data\bodybagItem.p3d)); model = QPATHTOF(data\bodybagItem.p3d);
picture = QUOTE(PATHTOF(ui\items\bodybag_x_ca.paa)); picture = QPATHTOF(ui\items\bodybag_x_ca.paa);
descriptionShort = CSTRING(Bodybag_Desc_Short); descriptionShort = CSTRING(Bodybag_Desc_Short);
descriptionUse = CSTRING(Bodybag_Desc_Use); descriptionUse = CSTRING(Bodybag_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {

View File

@ -24,10 +24,10 @@ if (GVAR(level) < 2 || {!([_target] call FUNC(hasMedicalEnabled))}) exitWith {
_pointDamage = (_target getVariable [QGVAR(bodyPartStatus), [0,0,0,0,0,0]]) select _selectionN; _pointDamage = (_target getVariable [QGVAR(bodyPartStatus), [0,0,0,0,0,0]]) select _selectionN;
if (_pointDamage >= 0.8) exitWith { if (_pointDamage >= 0.8) exitWith {
_actionData set [2, QUOTE(PATHTOF(UI\icons\medical_crossRed.paa))]; _actionData set [2, QPATHTOF(UI\icons\medical_crossRed.paa)];
}; };
if (_pointDamage > 0) exitWith { if (_pointDamage > 0) exitWith {
_actionData set [2, QUOTE(PATHTOF(UI\icons\medical_crossYellow.paa))]; _actionData set [2, QPATHTOF(UI\icons\medical_crossYellow.paa)];
}; };
}; };
@ -36,6 +36,6 @@ _openWounds = _target getVariable [QGVAR(openWounds), []];
{ {
_x params ["", "", "_selectionX", "_amountOf", "_x4"]; _x params ["", "", "_selectionX", "_amountOf", "_x4"];
if (_amountOf > 0 && {(_selectionN == _selectionX)} && {_x4 > 0}) exitWith { if (_amountOf > 0 && {(_selectionN == _selectionX)} && {_x4 > 0}) exitWith {
_actionData set [2, QUOTE(PATHTOF(UI\icons\medical_crossRed.paa))]; _actionData set [2, QPATHTOF(UI\icons\medical_crossRed.paa)];
}; };
} forEach _openWounds; } forEach _openWounds;

View File

@ -19,34 +19,34 @@ class Rsctitles {
colorBackground[] = {1,1,1,1}; colorBackground[] = {1,1,1,1};
colorPicture[] = {1,1,1,1}; colorPicture[] = {1,1,1,1};
colorText[] = {1,1,1,1}; colorText[] = {1,1,1,1};
text = QUOTE(PATHTOF(ui\body_background.paa)); text = QPATHTOF(ui\body_background.paa);
}; };
class bodyImgHead: bodyImgBackground { class bodyImgHead: bodyImgBackground {
idc = 50; idc = 50;
colorBackground[] = {1,1,1,1}; colorBackground[] = {1,1,1,1};
colorPicture[] = {1,1,1,1}; colorPicture[] = {1,1,1,1};
colorText[] = {1,1,1,1}; colorText[] = {1,1,1,1};
text = QUOTE(PATHTOF(ui\body_head.paa)); text = QPATHTOF(ui\body_head.paa);
}; };
class bodyImgTorso: bodyImgHead { class bodyImgTorso: bodyImgHead {
idc = 51; idc = 51;
text = QUOTE(PATHTOF(ui\body_torso.paa)); text = QPATHTOF(ui\body_torso.paa);
}; };
class bodyImgArms_l: bodyImgHead { class bodyImgArms_l: bodyImgHead {
idc = 52; idc = 52;
text = QUOTE(PATHTOF(ui\body_arm_left.paa)); text = QPATHTOF(ui\body_arm_left.paa);
}; };
class bodyImgArms_r: bodyImgHead { class bodyImgArms_r: bodyImgHead {
idc = 53; idc = 53;
text = QUOTE(PATHTOF(ui\body_arm_right.paa)); text = QPATHTOF(ui\body_arm_right.paa);
}; };
class bodyImgLegs_l: bodyImgHead { class bodyImgLegs_l: bodyImgHead {
idc = 54; idc = 54;
text = QUOTE(PATHTOF(ui\body_leg_left.paa)); text = QPATHTOF(ui\body_leg_left.paa);
}; };
class bodyImgLegs_r: bodyImgHead { class bodyImgLegs_r: bodyImgHead {
idc = 55; idc = 55;
text = QUOTE(PATHTOF(ui\body_leg_right.paa)); text = QPATHTOF(ui\body_leg_right.paa);
}; };
class InjuryListLabel { class InjuryListLabel {
idc = 199; idc = 199;

View File

@ -30,11 +30,11 @@ class GVAR(triageCard) {
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
colorText[] = {1,1,0,1}; colorText[] = {1,1,0,1};
colorBackground[] = {0,0,0,0}; colorBackground[] = {0,0,0,0};
text = QUOTE(PATHTOF(ui\triage_card_corner_l.paa)); text = QPATHTOF(ui\triage_card_corner_l.paa);
}; };
class cornor_top_r: cornor_top_l { class cornor_top_r: cornor_top_l {
x = "20 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)"; x = "20 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
text = QUOTE(PATHTOF(ui\triage_card_corner_r.paa)); text = QPATHTOF(ui\triage_card_corner_r.paa);
}; };
class TriageCardLabel { class TriageCardLabel {

View File

@ -5,7 +5,7 @@ class CfgVehicles {
class ACE_moduleMedicalMenuSettings: ACE_Module { class ACE_moduleMedicalMenuSettings: ACE_Module {
scope = 2; scope = 2;
displayName = CSTRING(module_DisplayName); displayName = CSTRING(module_DisplayName);
icon = QUOTE(PATHTOEF(medical,UI\Icon_Module_Medical_ca.paa)); icon = QPATHTOEF(medical,UI\Icon_Module_Medical_ca.paa);
category = "ACE_medical"; category = "ACE_medical";
function = QUOTE(DFUNC(module)); function = QUOTE(DFUNC(module));
functionPriority = 1; functionPriority = 1;
@ -50,7 +50,7 @@ class CfgVehicles {
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
condition = QUOTE([ARR_2(ACE_player,_target)] call FUNC(canOpenMenu)); condition = QUOTE([ARR_2(ACE_player,_target)] call FUNC(canOpenMenu));
statement = QUOTE([_target] call DFUNC(openMenu)); statement = QUOTE([_target] call DFUNC(openMenu));
icon = PATHTOEF(medical,UI\icons\medical_cross.paa); icon = QPATHTOEF(medical,UI\icons\medical_cross.paa);
}; };
}; };
@ -63,7 +63,7 @@ class CfgVehicles {
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
condition = QUOTE([ARR_2(ACE_player,_target)] call FUNC(canOpenMenu)); condition = QUOTE([ARR_2(ACE_player,_target)] call FUNC(canOpenMenu));
statement = QUOTE([_target] call DFUNC(openMenu)); statement = QUOTE([_target] call DFUNC(openMenu));
icon = PATHTOEF(medical,UI\icons\medical_cross.paa); icon = QPATHTOEF(medical,UI\icons\medical_cross.paa);
}; };
}; };
}; };

View File

@ -51,7 +51,7 @@ class GVAR(medicalMenu) {
y = "2.1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)"; y = "2.1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
w = "38 * (((safezoneW / safezoneH) min 1.2) / 40)"; w = "38 * (((safezoneW / safezoneH) min 1.2) / 40)";
h = "3.1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; h = "3.1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
text = QUOTE(PATHTOF(data\background_img.paa)); text = QPATHTOF(data\background_img.paa);
colorText[] = {1, 1, 1, 0.0}; colorText[] = {1, 1, 1, 0.0};
}; };
class CatagoryLeft: HeaderName { class CatagoryLeft: HeaderName {
@ -94,42 +94,42 @@ class GVAR(medicalMenu) {
colorBackground[] = {0,0,0,1}; colorBackground[] = {0,0,0,1};
colorPicture[] = {1,1,1,1}; colorPicture[] = {1,1,1,1};
colorText[] = {1,1,1,1}; colorText[] = {1,1,1,1};
text = QUOTE(PATHTOF(data\icons\triage_card_small.paa)); text = QPATHTOF(data\icons\triage_card_small.paa);
}; };
class iconImg2: iconImg1 { class iconImg2: iconImg1 {
idc = 112; idc = 112;
x = "3 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)"; x = "3 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
text = QUOTE(PATHTOF(data\icons\examine_patient_small.paa)); text = QPATHTOF(data\icons\examine_patient_small.paa);
}; };
class iconImg3: iconImg1 { class iconImg3: iconImg1 {
idc = 113; idc = 113;
x = "4.5 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)"; x = "4.5 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
text = QUOTE(PATHTOF(data\icons\bandage_fracture_small.paa)); text = QPATHTOF(data\icons\bandage_fracture_small.paa);
}; };
class iconImg4: iconImg1 { class iconImg4: iconImg1 {
idc = 114; idc = 114;
x = "6 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)"; x = "6 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
text = QUOTE(PATHTOF(data\icons\medication_small.paa)); text = QPATHTOF(data\icons\medication_small.paa);
}; };
class iconImg5: iconImg1 { class iconImg5: iconImg1 {
idc = 115; idc = 115;
x = "7.5 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)"; x = "7.5 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
text = QUOTE(PATHTOF(data\icons\airway_management_small.paa)); text = QPATHTOF(data\icons\airway_management_small.paa);
}; };
class iconImg6: iconImg1 { class iconImg6: iconImg1 {
idc = 116; idc = 116;
x = "9 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)"; x = "9 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
text = QUOTE(PATHTOF(data\icons\advanced_treatment_small.paa)); text = QPATHTOF(data\icons\advanced_treatment_small.paa);
}; };
class iconImg7: iconImg1 { class iconImg7: iconImg1 {
idc = 117; idc = 117;
x = "10.5 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)"; x = "10.5 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
text = QUOTE(PATHTOF(data\icons\icon_carry.paa)); text = QPATHTOF(data\icons\icon_carry.paa);
}; };
class iconImg8: iconImg1 { class iconImg8: iconImg1 {
idc = 118; idc = 118;
x = "12 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)"; x = "12 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
text = QUOTE(PATHTOF(data\icons\toggle_self_small.paa)); text = QPATHTOF(data\icons\toggle_self_small.paa);
}; };
@ -274,7 +274,7 @@ class GVAR(medicalMenu) {
colorBackground[] = {1,1,1,1}; colorBackground[] = {1,1,1,1};
colorPicture[] = {1,1,1,1}; colorPicture[] = {1,1,1,1};
colorText[] = {1,1,1,1}; colorText[] = {1,1,1,1};
text = QUOTE(PATHTOEF(medical,ui\body_background.paa)); text = QPATHTOEF(medical,ui\body_background.paa);
}; };
class bodyImgHead: bodyImgBackground { class bodyImgHead: bodyImgBackground {
idc = 50; idc = 50;
@ -286,28 +286,28 @@ class GVAR(medicalMenu) {
colorBackground[] = {1,1,1,1}; colorBackground[] = {1,1,1,1};
colorPicture[] = {1,1,1,0.75}; colorPicture[] = {1,1,1,0.75};
colorText[] = {1,1,1,0.75}; colorText[] = {1,1,1,0.75};
text = QUOTE(PATHTOEF(medical,ui\body_head.paa)); text = QPATHTOEF(medical,ui\body_head.paa);
}; };
class bodyImgTorso: bodyImgHead { class bodyImgTorso: bodyImgHead {
idc = 51; idc = 51;
text = QUOTE(PATHTOEF(medical,ui\body_torso.paa)); text = QPATHTOEF(medical,ui\body_torso.paa);
}; };
class bodyImgArms_l: bodyImgHead { class bodyImgArms_l: bodyImgHead {
idc = 52; idc = 52;
text = QUOTE(PATHTOEF(medical,ui\body_arm_left.paa)); text = QPATHTOEF(medical,ui\body_arm_left.paa);
}; };
class bodyImgArms_r: bodyImgHead { class bodyImgArms_r: bodyImgHead {
idc = 53; idc = 53;
text = QUOTE(PATHTOEF(medical,ui\body_arm_right.paa)); text = QPATHTOEF(medical,ui\body_arm_right.paa);
}; };
class bodyImgLegs_l: bodyImgHead { class bodyImgLegs_l: bodyImgHead {
idc = 54; idc = 54;
text = QUOTE(PATHTOEF(medical,ui\body_leg_left.paa)); text = QPATHTOEF(medical,ui\body_leg_left.paa);
}; };
class bodyImgLegs_r: bodyImgHead { class bodyImgLegs_r: bodyImgHead {
idc = 55; idc = 55;
text = QUOTE(PATHTOEF(medical,ui\body_leg_right.paa)); text = QPATHTOEF(medical,ui\body_leg_right.paa);
}; };

View File

@ -8,21 +8,21 @@ class CfgVehicles {
displayName = CSTRING(configure); displayName = CSTRING(configure);
condition = QUOTE(([DISPLAY_MODE_DIALOG] call FUNC(canShow)) && {GVAR(currentShowMode) != DISPLAY_MODE_DIALOG}); condition = QUOTE(([DISPLAY_MODE_DIALOG] call FUNC(canShow)) && {GVAR(currentShowMode) != DISPLAY_MODE_DIALOG});
statement = QUOTE([DISPLAY_MODE_DIALOG] call FUNC(openDisplay)); statement = QUOTE([DISPLAY_MODE_DIALOG] call FUNC(openDisplay));
icon = QUOTE(PATHTOF(UI\icon_microDAGR.paa)); icon = QPATHTOF(UI\icon_microDAGR.paa);
exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"}; exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"};
class GVAR(show) { class GVAR(show) {
//Opens the mini map //Opens the mini map
displayName = CSTRING(show); displayName = CSTRING(show);
condition = QUOTE(([DISPLAY_MODE_DISPLAY] call FUNC(canShow)) && {GVAR(currentShowMode) != DISPLAY_MODE_DISPLAY}); condition = QUOTE(([DISPLAY_MODE_DISPLAY] call FUNC(canShow)) && {GVAR(currentShowMode) != DISPLAY_MODE_DISPLAY});
statement = QUOTE([DISPLAY_MODE_DISPLAY] call FUNC(openDisplay)); statement = QUOTE([DISPLAY_MODE_DISPLAY] call FUNC(openDisplay));
icon = QUOTE(PATHTOF(UI\icon_microDAGR.paa)); icon = QPATHTOF(UI\icon_microDAGR.paa);
exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"}; exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"};
}; };
class GVAR(close) { class GVAR(close) {
displayName = CSTRING(closeUnit); displayName = CSTRING(closeUnit);
condition = QUOTE(GVAR(currentShowMode) != DISPLAY_MODE_CLOSED); condition = QUOTE(GVAR(currentShowMode) != DISPLAY_MODE_CLOSED);
statement = QUOTE([DISPLAY_MODE_CLOSED] call FUNC(openDisplay)); statement = QUOTE([DISPLAY_MODE_CLOSED] call FUNC(openDisplay));
icon = QUOTE(PATHTOF(UI\icon_microDAGR.paa)); icon = QPATHTOF(UI\icon_microDAGR.paa);
exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"}; exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"};
}; };
}; };
@ -39,7 +39,7 @@ class CfgVehicles {
scope = 2; scope = 2;
isGlobal = 0; isGlobal = 0;
isSingular = 1; isSingular = 1;
icon = QUOTE(PATHTOF(UI\Icon_Module_microDAGR_ca.paa)); icon = QPATHTOF(UI\Icon_Module_microDAGR_ca.paa);
functionPriority = 0; functionPriority = 0;
class Arguments { class Arguments {
class MapDataAvailable { class MapDataAvailable {
@ -72,7 +72,7 @@ class CfgVehicles {
displayName = CSTRING(itemName); displayName = CSTRING(itemName);
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
vehicleClass = "Items"; vehicleClass = "Items";
icon = QUOTE(PATHTOF(UI\icon_microDAGR.paa)); icon = QPATHTOF(UI\icon_microDAGR.paa);
class TransportItems { class TransportItems {
MACRO_ADDITEM(ACE_microDAGR,1); MACRO_ADDITEM(ACE_microDAGR,1);
}; };

View File

@ -7,8 +7,8 @@ class CfgWeapons {
scope = 2; scope = 2;
displayName = CSTRING(itemName); displayName = CSTRING(itemName);
descriptionShort = CSTRING(itemDescription); descriptionShort = CSTRING(itemDescription);
model = QUOTE(PATHTOF(data\MicroDAGR.p3d)); model = QPATHTOF(data\MicroDAGR.p3d);
picture = QUOTE(PATHTOF(images\microDAGR_item.paa)); picture = QPATHTOF(images\microDAGR_item.paa);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 2; mass = 2;
}; };

View File

@ -16,7 +16,7 @@ _closeCode = {
if (GVAR(currentShowMode) == DISPLAY_MODE_CLOSED) exitWith {}; if (GVAR(currentShowMode) == DISPLAY_MODE_CLOSED) exitWith {};
[DISPLAY_MODE_CLOSED] call FUNC(openDisplay); [DISPLAY_MODE_CLOSED] call FUNC(openDisplay);
}; };
[(localize LSTRING(itemName)), QUOTE(PATHTOF(images\microDAGR_item.paa)), _conditonCode, _toggleCode, _closeCode] call EFUNC(common,deviceKeyRegisterNew); [(localize LSTRING(itemName)), QPATHTOF(images\microDAGR_item.paa), _conditonCode, _toggleCode, _closeCode] call EFUNC(common,deviceKeyRegisterNew);
//Add Eventhandler: //Add Eventhandler:

View File

@ -40,7 +40,7 @@ if (GVAR(currentApplicationPage) == APP_MODE_INFODISPLAY) then {
if (GVAR(currentWaypoint) == -2) then { if (GVAR(currentWaypoint) == -2) then {
(_display displayCtrl IDC_MODEDISPLAY_TARGETICON) ctrlSetText "\A3\ui_f\data\igui\rscingameui\rscoptics\laser_designator_iconLaserOn.paa" (_display displayCtrl IDC_MODEDISPLAY_TARGETICON) ctrlSetText "\A3\ui_f\data\igui\rscingameui\rscoptics\laser_designator_iconLaserOn.paa"
} else { } else {
(_display displayCtrl IDC_MODEDISPLAY_TARGETICON) ctrlSetText QUOTE(PATHTOF(images\icon_menuMark.paa)); (_display displayCtrl IDC_MODEDISPLAY_TARGETICON) ctrlSetText QPATHTOF(images\icon_menuMark.paa);
}; };
}; };
}; };
@ -100,19 +100,19 @@ if (GVAR(currentApplicationPage) == APP_MODE_MARK) then {
//Buttons pushed: //Buttons pushed:
if (GVAR(currentApplicationPage) == APP_MODE_INFODISPLAY) then { if (GVAR(currentApplicationPage) == APP_MODE_INFODISPLAY) then {
(_display displayCtrl IDC_BUTTONBG0) ctrlSetText QUOTE(PATHTOF(images\button_pushedDown.paa)); (_display displayCtrl IDC_BUTTONBG0) ctrlSetText QPATHTOF(images\button_pushedDown.paa);
} else { } else {
(_display displayCtrl IDC_BUTTONBG0) ctrlSetText QUOTE(PATHTOF(images\button_pushedUp.paa)); (_display displayCtrl IDC_BUTTONBG0) ctrlSetText QPATHTOF(images\button_pushedUp.paa);
}; };
if (GVAR(currentApplicationPage) == APP_MODE_COMPASS) then { if (GVAR(currentApplicationPage) == APP_MODE_COMPASS) then {
(_display displayCtrl IDC_BUTTONBG1) ctrlSetText QUOTE(PATHTOF(images\button_pushedDown.paa)); (_display displayCtrl IDC_BUTTONBG1) ctrlSetText QPATHTOF(images\button_pushedDown.paa);
} else { } else {
(_display displayCtrl IDC_BUTTONBG1) ctrlSetText QUOTE(PATHTOF(images\button_pushedUp.paa)); (_display displayCtrl IDC_BUTTONBG1) ctrlSetText QPATHTOF(images\button_pushedUp.paa);
}; };
if (GVAR(currentApplicationPage) == APP_MODE_MAP) then { if (GVAR(currentApplicationPage) == APP_MODE_MAP) then {
(_display displayCtrl IDC_BUTTONBG2) ctrlSetText QUOTE(PATHTOF(images\button_pushedDown.paa)); (_display displayCtrl IDC_BUTTONBG2) ctrlSetText QPATHTOF(images\button_pushedDown.paa);
} else { } else {
(_display displayCtrl IDC_BUTTONBG2) ctrlSetText QUOTE(PATHTOF(images\button_pushedUp.paa)); (_display displayCtrl IDC_BUTTONBG2) ctrlSetText QPATHTOF(images\button_pushedUp.paa);
}; };
//Update the page now: //Update the page now:

View File

@ -10,7 +10,7 @@ class controlsBackground {
}; };
class StatusBarBS: RscPicture { class StatusBarBS: RscPicture {
idc = -1; idc = -1;
text = QUOTE(PATHTOF(images\microDAGR_topBar.paa)); text = QPATHTOF(images\microDAGR_topBar.paa);
x = X_PART(0); x = X_PART(0);
y = Y_PART(0); y = Y_PART(0);
w = W_PART(25); w = W_PART(25);
@ -187,7 +187,7 @@ class controls {
}; };
class selfIcon: RscPicture { class selfIcon: RscPicture {
idc = -1; idc = -1;
text = QUOTE(PATHTOF(images\icon_self.paa)); text = QPATHTOF(images\icon_self.paa);
x = W_PART(0.5); x = W_PART(0.5);
y = H_PART(2); y = H_PART(2);
w = W_PART(4); w = W_PART(4);
@ -242,7 +242,7 @@ class controls {
}; };
class CompasIcon: RscPicture { class CompasIcon: RscPicture {
idc = -1; idc = -1;
text = QUOTE(PATHTOF(images\icon_infoCompass.paa)); text = QPATHTOF(images\icon_infoCompass.paa);
x = W_PART(0.5); x = W_PART(0.5);
y = H_PART(8.5); y = H_PART(8.5);
w = W_PART(2); w = W_PART(2);
@ -284,7 +284,7 @@ class controls {
class controls { class controls {
class TimeIcon: RscPicture { class TimeIcon: RscPicture {
idc = -1; idc = -1;
text = QUOTE(PATHTOF(images\icon_infoClock.paa)); text = QPATHTOF(images\icon_infoClock.paa);
x = W_PART(0.5); x = W_PART(0.5);
y = H_PART(3.5); y = H_PART(3.5);
w = W_PART(2); w = W_PART(2);
@ -315,7 +315,7 @@ class controls {
class controls { class controls {
class TargetIcon: RscPicture { class TargetIcon: RscPicture {
idc = IDC_MODEDISPLAY_TARGETICON; idc = IDC_MODEDISPLAY_TARGETICON;
text = QUOTE(PATHTOF(images\icon_menuMark.paa)); text = QPATHTOF(images\icon_menuMark.paa);
x = W_PART(0.5); x = W_PART(0.5);
y = H_PART(0.5); y = H_PART(0.5);
w = W_PART(2); w = W_PART(2);
@ -440,7 +440,7 @@ class controls {
class mapTrackButton: GVAR(RscActiveTextPicture) { class mapTrackButton: GVAR(RscActiveTextPicture) {
onbuttonclick = QUOTE(['autotrack'] call FUNC(modeMapButtons)); onbuttonclick = QUOTE(['autotrack'] call FUNC(modeMapButtons));
idc = IDC_MODEMAP_MAPTRACKBUTTON; idc = IDC_MODEMAP_MAPTRACKBUTTON;
text = QUOTE(PATHTOF(images\icon_mapTrack.paa)); text = QPATHTOF(images\icon_mapTrack.paa);
x = X_PART(11); x = X_PART(11);
y = Y_PART(18.75); y = Y_PART(18.75);
w = W_PART(3); w = W_PART(3);
@ -449,14 +449,14 @@ class controls {
class mapZoomIn: mapTrackButton { class mapZoomIn: mapTrackButton {
onbuttonclick = QUOTE(['zoomin'] call FUNC(modeMapButtons)); onbuttonclick = QUOTE(['zoomin'] call FUNC(modeMapButtons));
idc = IDC_MODEMAP_MAPZOOMIN; idc = IDC_MODEMAP_MAPZOOMIN;
text = QUOTE(PATHTOF(images\icon_mapPlus.paa)); text = QPATHTOF(images\icon_mapPlus.paa);
color[] = {1,1,1,0.4}; color[] = {1,1,1,0.4};
x = X_PART(4); x = X_PART(4);
}; };
class mapZoomOut: mapTrackButton { class mapZoomOut: mapTrackButton {
onbuttonclick = QUOTE(['zoomout'] call FUNC(modeMapButtons)); onbuttonclick = QUOTE(['zoomout'] call FUNC(modeMapButtons));
idc = IDC_MODEMAP_MAPZOOMOUT; idc = IDC_MODEMAP_MAPZOOMOUT;
text = QUOTE(PATHTOF(images\icon_mapMinus.paa)); text = QPATHTOF(images\icon_mapMinus.paa);
color[] = {1,1,1,0.4}; color[] = {1,1,1,0.4};
x = X_PART(18); x = X_PART(18);
}; };
@ -472,7 +472,7 @@ class controls {
class Controls { class Controls {
class ButtonTL: GVAR(RscActiveTextPicture) { class ButtonTL: GVAR(RscActiveTextPicture) {
idc = -1; idc = -1;
text = QUOTE(PATHTOF(images\icon_menuMark.paa)); text = QPATHTOF(images\icon_menuMark.paa);
x = W_PART(3); x = W_PART(3);
y = H_PART(1.5); y = H_PART(1.5);
w = W_PART(8); w = W_PART(8);
@ -480,7 +480,7 @@ class controls {
onbuttonclick = QUOTE([4] call FUNC(saveCurrentAndSetNewMode)); onbuttonclick = QUOTE([4] call FUNC(saveCurrentAndSetNewMode));
}; };
class ButtonTR: ButtonTL { class ButtonTR: ButtonTL {
text = QUOTE(PATHTOF(images\icon_menuWaypoints.paa)); text = QPATHTOF(images\icon_menuWaypoints.paa);
x = W_PART(14); x = W_PART(14);
y = H_PART(1.5); y = H_PART(1.5);
onbuttonclick = QUOTE([5] call FUNC(saveCurrentAndSetNewMode)); onbuttonclick = QUOTE([5] call FUNC(saveCurrentAndSetNewMode));
@ -492,7 +492,7 @@ class controls {
onbuttonclick = QUOTE(_this call FUNC(appMenuButtonConnectRangefinder)); onbuttonclick = QUOTE(_this call FUNC(appMenuButtonConnectRangefinder));
}; };
class ButtonBR: ButtonTL { class ButtonBR: ButtonTL {
text = QUOTE(PATHTOF(images\icon_menuSettings.paa)); text = QPATHTOF(images\icon_menuSettings.paa);
x = W_PART(14); x = W_PART(14);
y = H_PART(10.5); y = H_PART(10.5);
onbuttonclick = QUOTE([6] call FUNC(saveCurrentAndSetNewMode)); onbuttonclick = QUOTE([6] call FUNC(saveCurrentAndSetNewMode));
@ -555,7 +555,7 @@ class controls {
}; };
class DeleteButton: GVAR(RscActiveTextPicture) { class DeleteButton: GVAR(RscActiveTextPicture) {
idc = -1; idc = -1;
text = QUOTE(PATHTOF(images\icon_deleteButton.paa)); text = QPATHTOF(images\icon_deleteButton.paa);
x = W_PART(20); x = W_PART(20);
y = H_PART(2.75); y = H_PART(2.75);
w = W_PART(2); w = W_PART(2);
@ -717,7 +717,7 @@ class controls {
class ButtonBG0: RscPicture { class ButtonBG0: RscPicture {
idc = IDC_BUTTONBG0; idc = IDC_BUTTONBG0;
text = QUOTE(PATHTOF(images\button_pushedDown.paa)); text = QPATHTOF(images\button_pushedDown.paa);
x = X_PART(0 * (25/3)); x = X_PART(0 * (25/3));
y = Y_PART(21); y = Y_PART(21);
w = W_PART((25/3)); w = W_PART((25/3));
@ -733,7 +733,7 @@ class controls {
}; };
class ButtonIcon0: GVAR(RscActiveTextPicture) { class ButtonIcon0: GVAR(RscActiveTextPicture) {
idc = -1; idc = -1;
text = QUOTE(PATHTOF(images\icon_info.paa)); text = QPATHTOF(images\icon_info.paa);
x = X_PART(0 * (25/3)); x = X_PART(0 * (25/3));
y = Y_PART(21); y = Y_PART(21);
w = W_PART((25/3)); w = W_PART((25/3));
@ -741,19 +741,19 @@ class controls {
onbuttonclick = QUOTE([APP_MODE_INFODISPLAY] call FUNC(saveCurrentAndSetNewMode)); onbuttonclick = QUOTE([APP_MODE_INFODISPLAY] call FUNC(saveCurrentAndSetNewMode));
}; };
class ButtonIcon1: ButtonIcon0 { class ButtonIcon1: ButtonIcon0 {
text = QUOTE(PATHTOF(images\icon_compass.paa)); text = QPATHTOF(images\icon_compass.paa);
x = X_PART(1 * (25/3)); x = X_PART(1 * (25/3));
onbuttonclick = QUOTE([APP_MODE_COMPASS] call FUNC(saveCurrentAndSetNewMode)); onbuttonclick = QUOTE([APP_MODE_COMPASS] call FUNC(saveCurrentAndSetNewMode));
}; };
class ButtonIcon2: ButtonIcon0 { class ButtonIcon2: ButtonIcon0 {
text = QUOTE(PATHTOF(images\icon_map.paa)); text = QPATHTOF(images\icon_map.paa);
x = X_PART(2 * (25/3)); x = X_PART(2 * (25/3));
onbuttonclick = QUOTE([APP_MODE_MAP] call FUNC(saveCurrentAndSetNewMode)); onbuttonclick = QUOTE([APP_MODE_MAP] call FUNC(saveCurrentAndSetNewMode));
}; };
//At the end: The Big Shell overlay //At the end: The Big Shell overlay
class MicroDagrShell: RscPicture { class MicroDagrShell: RscPicture {
idc = IDC_MICRODAGRSHELL; idc = IDC_MICRODAGRSHELL;
text = QUOTE(PATHTOF(images\microDAGR_shellPicture.paa)); text = QPATHTOF(images\microDAGR_shellPicture.paa);
x = X_PART(-14.77); x = X_PART(-14.77);
y = Y_PART(-5.875); y = Y_PART(-5.875);
w = W_PART(53.62); w = W_PART(53.62);

View File

@ -9,7 +9,7 @@ class CfgVehicles {
class ACE_moduleAmbianceSound: Module_F { class ACE_moduleAmbianceSound: Module_F {
scope = 2; scope = 2;
displayName = CSTRING(AmbianceSounds_DisplayName); displayName = CSTRING(AmbianceSounds_DisplayName);
icon = QUOTE(PATHTOF(UI\Icon_Module_Ambient_Sounds_ca.paa)); icon = QPATHTOF(UI\Icon_Module_Ambient_Sounds_ca.paa);
category = "ACE_missionModules"; category = "ACE_missionModules";
function = QUOTE(FUNC(moduleAmbianceSound)); function = QUOTE(FUNC(moduleAmbianceSound));
functionPriority = 1; functionPriority = 1;

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