mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
ccd3fb8b4a
add New Config Parameter has Reserve Parachute
74 lines
2.8 KiB
C++
74 lines
2.8 KiB
C++
class CfgVehicles {
|
|
class Box_NATO_Support_F;
|
|
class ACE_Box_Misc: Box_NATO_Support_F {
|
|
class TransportItems {
|
|
class _xx_ACE_Altimeter {
|
|
name = "ACE_Altimeter";
|
|
count = 6;
|
|
};
|
|
};
|
|
class TransportBackpacks {
|
|
class _xx_ACE_NonSteerableParachute {
|
|
backpack = "ACE_NonSteerableParachute";
|
|
count = 4;
|
|
};
|
|
class _xx_ACE_ReserveParachute {
|
|
backpack = "ACE_ReserveParachute";
|
|
count = 4;
|
|
};
|
|
};
|
|
};
|
|
|
|
class Man;
|
|
class CAManBase: Man {
|
|
class ACE_SelfActions {
|
|
class ACE_CutParachute {
|
|
displayName = "$STR_ACE_Parachute_CutParachute";
|
|
exceptions[] = {"isNotInside"};
|
|
condition = QUOTE([_player] call FUNC(checkCutParachute));
|
|
statement = QUOTE([_player] call FUNC(cutParachute));
|
|
showDisabled = 0;
|
|
priority = 2.9;
|
|
icon = QUOTE(PATHTOF(UI\cut_ca.paa));
|
|
hotkey = "C"; // Did this realy Work?
|
|
};
|
|
};
|
|
};
|
|
class Helicopter;
|
|
class ParachuteBase: Helicopter {
|
|
ace_hasReserveParachute = 1;
|
|
ace_reserveParachute = "ACE_ReserveParachute";
|
|
};
|
|
class B_Parachute: ParachuteBase {
|
|
ace_hasReserveParachute = 1;
|
|
ace_reserveParachute = "ACE_ReserveParachute";
|
|
};
|
|
class ACE_NonSteerableParachute: B_Parachute {
|
|
ace_hasReserveParachute = 0;
|
|
ace_reserveParachute = "";
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
scope = 2;
|
|
displayName = "$STR_ACE_Parachute_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
|
|
ParachuteClass = "NonSteerable_Parachute_F";
|
|
maximumLoad = 0;
|
|
mass = 100;
|
|
};
|
|
class ACE_ReserveParachute: ACE_NonSteerableParachute {
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
displayName = "$STR_ACE_Parachute_ReserveParachute";
|
|
//picture = "\z\ace\addons\parachute\ui\reserveParachute_icon.paa"; //@todo
|
|
//model = "\z\ace\addons\parachute\data\test.p3d"; // @todo
|
|
ace_hasReserveParachute = 0;
|
|
ace_reserveParachute = "";
|
|
ParachuteClass = "NonSteerable_Parachute_F";
|
|
mass = 70;
|
|
scope = 2;
|
|
};
|
|
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";};
|
|
};
|