ACE3/addons/huntir/CfgVehicles.hpp

95 lines
2.8 KiB
C++
Raw Normal View History

2015-06-06 12:13:34 +00:00
class CfgVehicles {
class Man;
class CAManBase: Man {
class ACE_SelfActions {
class ACE_Equipment {
class GVAR(open) {
2015-06-07 17:39:24 +00:00
displayName = CSTRING(activateMonitor);
2015-06-07 09:36:58 +00:00
condition = QUOTE([ARR_2(ACE_player,'ACE_HuntIR_monitor')] call EFUNC(common,hasItem));
statement = QUOTE([FUNC(huntir)] call CBA_fnc_execNextFrame;);
2015-06-06 12:13:34 +00:00
showDisabled = 0;
2016-04-08 18:34:50 +00:00
icon = QPATHTOF(UI\w_huntir_monitor_ca.paa);
2015-06-06 12:13:34 +00:00
exceptions[] = {};
};
};
};
};
2015-07-25 19:59:52 +00:00
2015-06-06 12:13:34 +00:00
class Parachute_02_base_F;
class ACE_HuntIR: Parachute_02_base_F {
2015-06-14 11:57:38 +00:00
author = ECSTRING(common,ACETeam);
castDriverShadow = 0;
destrType = "DestructDefault";
2015-06-06 12:13:34 +00:00
displayName = "HuntIR";
2016-04-08 18:34:50 +00:00
model = QPATHTOF(data\huntir.p3d);
2015-06-14 11:57:38 +00:00
scope = 1;
2015-06-06 12:13:34 +00:00
soundCrash[] = {"", db-30, 1 };
2015-06-14 11:57:38 +00:00
soundEnviron[] = {"z\ace\addons\apl\sounds\padak_let", 0.316228, 1, 80};
2015-06-06 12:13:34 +00:00
soundLandCrash[] = {"", db-30, 1 };
soundWaterCrash[] = {"", db10, 1 };
class HitPoints {
2015-06-14 11:57:38 +00:00
class HitEngine {
armor = 0;
material = -1;
name = "";
visual = "";
radius = 0;
passThrough = 0;
explosionShielding = 0;
};
class HitParachute {
armor = 0.0001;
material = -1;
name = "parachute";
visual = "";
radius = 0.2;
passThrough = 1;
explosionShielding = 0;
};
class HitCamera {
armor = 0.001;
material = -1;
name = "camera";
visual = "";
radius = 0.025;
passThrough = 1;
explosionShielding = 1;
};
};
2015-06-06 12:13:34 +00:00
};
class Item_Base_F;
class ACE_Item_HuntIR_monitor: Item_Base_F {
scope = 2;
scopeCurator = 2;
2015-06-07 17:39:24 +00:00
displayName = CSTRING(monitor_displayName);
2015-06-06 12:13:34 +00:00
vehicleClass = "Items";
class TransportItems {
2015-07-25 19:59:52 +00:00
MACRO_ADDITEM(ACE_HuntIR_monitor,1);
2015-06-06 12:13:34 +00:00
};
};
2015-07-25 19:59:52 +00:00
2015-06-06 12:13:34 +00:00
class ReammoBox_F;
class ACE_HuntIR_Box: ReammoBox_F {
2016-04-08 18:34:50 +00:00
model = QPATHTOF(data\ace_huntirbox.p3d);
displayName = CSTRING(TransportBox_DisplayName);
2015-06-06 12:13:34 +00:00
class TransportItems {
MACRO_ADDITEM(ACE_HuntIR_monitor,5);
};
class TransportMagazines {
MACRO_ADDMAGAZINE(ACE_HuntIR_M203,20);
};
};
class Box_NATO_Support_F;
class ACE_Box_Misc: Box_NATO_Support_F {
class TransportItems {
MACRO_ADDITEM(ACE_HuntIR_monitor,5);
};
class TransportMagazines {
MACRO_ADDMAGAZINE(ACE_HuntIR_M203,20);
};
};
2015-06-06 12:13:34 +00:00
};