ACE3/addons/parachute/CfgVehicles.hpp

104 lines
3.3 KiB
C++
Raw Normal View History

2015-03-12 05:05:28 +00:00
class CfgVehicles {
class Box_NATO_Support_F;
class ACE_Box_Misc: Box_NATO_Support_F {
class TransportItems {
2015-07-25 19:59:52 +00:00
MACRO_ADDITEM(ACE_Altimeter,6);
2015-03-12 05:05:28 +00:00
};
class TransportBackpacks {
2015-07-25 19:59:52 +00:00
MACRO_ADDBACKPACK(ACE_NonSteerableParachute,4);
2015-03-12 05:05:28 +00:00
};
};
2015-07-01 01:03:51 +00:00
class Helicopter;
class ParachuteBase: Helicopter {
class ACE_SelfActions {
class ACE_CutParachute {
displayName = CSTRING(CutParachute);
condition = QUOTE(_target getVariable [ARR_2(QQGVAR(canCut),false)]);
statement = QUOTE([ARR_2(_player,_target)] call FUNC(cutParachute));
showDisabled = 0;
icon = QPATHTOF(UI\cut_ca.paa);
};
};
2015-07-28 16:36:13 +00:00
MACRO_HASRESERVE
};
class ParachuteWest: ParachuteBase {
MACRO_HASRESERVE
};
class ParachuteEast: ParachuteBase {
MACRO_HASRESERVE
};
class ParachuteG: ParachuteBase {
MACRO_HASRESERVE
};
class Parachute: ParachuteWest {
MACRO_HASRESERVE
};
class NonSteerable_Parachute_F: Parachute {
MACRO_HASRESERVE
};
class Paraglide: ParachuteWest {
2015-07-28 16:36:13 +00:00
MACRO_HASRESERVE
};
class Steerable_Parachute_F: Paraglide {
2015-07-28 16:36:13 +00:00
MACRO_HASRESERVE
};
class Parachute_02_base_F: ParachuteBase {
2015-07-28 16:36:13 +00:00
MACRO_HASRESERVE
};
class B_Parachute_02_F: Parachute_02_base_F {
MACRO_HASRESERVE
};
class O_Parachute_02_F: Parachute_02_base_F {
MACRO_HASRESERVE
};
class I_Parachute_02_F: Parachute_02_base_F {
MACRO_HASRESERVE
};
2015-07-28 17:24:34 +00:00
class Bag_Base;
class B_Parachute:Bag_Base {
2015-07-28 16:36:13 +00:00
MACRO_HASRESERVE
};
class B_B_Parachute_02_F: B_Parachute {
MACRO_HASRESERVE
};
class B_O_Parachute_02_F: B_Parachute {
MACRO_HASRESERVE
};
class B_I_Parachute_02_F: B_Parachute {
MACRO_HASRESERVE
2015-07-01 01:03:51 +00:00
};
2015-03-12 05:05:28 +00:00
class ACE_NonSteerableParachute: B_Parachute {
2015-05-27 20:04:41 +00:00
author = ECSTRING(common,ACETeam);
2015-03-12 05:05:28 +00:00
scope = 2;
displayName = CSTRING(NonSteerableParachute);
//picture = "\A3\Characters_F\data\ui\icon_b_parachute_ca.paa"; // @todo
//model = "\A3\Weapons_F\Ammoboxes\Bags\Backpack_Parachute"; // @todo
// backpackSimulation = "ParachuteNonSteerable"; //ParachuteSteerable //Bis broke this in 1.40
2015-03-12 05:05:28 +00:00
ParachuteClass = "NonSteerable_Parachute_F";
ace_hasReserveParachute = 1;
ace_reserveParachute = "ACE_NonSteerableReserveParachute";
2015-03-12 05:05:28 +00:00
maximumLoad = 0;
mass = 100;
};
2015-07-01 01:03:51 +00:00
class ACE_ReserveParachute: ACE_NonSteerableParachute {
author = ECSTRING(common,ACETeam);
displayName = CSTRING(ReserveParachute);
scope = 1;
2015-07-01 01:03:51 +00:00
mass = 70;
2015-08-23 11:40:13 +00:00
ParachuteClass = "Steerable_Parachute_F";
2015-07-01 01:03:51 +00:00
ace_reserveParachute = "";
ace_hasReserveParachute = 0;
};
class ACE_NonSteerableReserveParachute: ACE_ReserveParachute {
ParachuteClass = "NonSteerable_Parachute_F";
};
2015-07-01 01:03:51 +00:00
2015-03-12 05:05:28 +00:00
class B_Soldier_05_f; class B_Pilot_F: B_Soldier_05_f {backpack = "ACE_NonSteerableParachute";};
class I_Soldier_04_F; class I_pilot_F: I_Soldier_04_F {backpack = "ACE_NonSteerableParachute";};
class O_helipilot_F; class O_Pilot_F: O_helipilot_F {backpack = "ACE_NonSteerableParachute";};
};