mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Parachute - Config Division/Formating
This commit is contained in:
parent
dd026cea0f
commit
82ea87d1de
34
addons/parachute/CfgVehicles.hpp
Normal file
34
addons/parachute/CfgVehicles.hpp
Normal file
@ -0,0 +1,34 @@
|
||||
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 B_Parachute;
|
||||
class ACE_NonSteerableParachute: B_Parachute {
|
||||
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 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";};
|
||||
};
|
9
addons/parachute/CfgWeapons.hpp
Normal file
9
addons/parachute/CfgWeapons.hpp
Normal file
@ -0,0 +1,9 @@
|
||||
class CfgWeapons {
|
||||
class ItemWatch;
|
||||
class ACE_Altimeter:ItemWatch {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
descriptionShort = "$STR_ACE_Parachute_AltimeterDescription";
|
||||
displayName = "$STR_ACE_Parachute_AltimeterDisplayName";
|
||||
picture = PATHTOF(UI\watch_altimeter.paa);
|
||||
};
|
||||
};
|
@ -1,61 +1,18 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
class CfgPatches {
|
||||
class ACE_Parachute {
|
||||
units[] = {"ACE_NonSteerableParachute"};
|
||||
weapons[] = {"ACE_Altimeter"};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {"ace_common"};
|
||||
VERSION_CONFIG;
|
||||
author[] = {"Garth 'LH' de Wet"};
|
||||
authorUrl = "http://garth.snakebiteink.co.za/";
|
||||
};
|
||||
class ACE_Parachute {
|
||||
units[] = {"ACE_NonSteerableParachute"};
|
||||
weapons[] = {"ACE_Altimeter"};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {"ace_common"};
|
||||
VERSION_CONFIG;
|
||||
author[] = {"Garth 'LH' de Wet"};
|
||||
authorUrl = "http://garth.snakebiteink.co.za/";
|
||||
};
|
||||
};
|
||||
|
||||
#include "CfgEventHandlers.hpp"
|
||||
#include "CfgVehicles.hpp"
|
||||
#include "CfgWeapons.hpp"
|
||||
#include "RscTitles.hpp"
|
||||
|
||||
class CfgWeapons {
|
||||
class ItemWatch;
|
||||
class ACE_Altimeter:ItemWatch {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
descriptionShort = "$STR_ACE_Parachute_AltimeterDescription";
|
||||
displayName = "$STR_ACE_Parachute_AltimeterDisplayName";
|
||||
picture = PATHTOF(UI\watch_altimeter.paa);
|
||||
};
|
||||
};
|
||||
|
||||
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 B_Parachute;
|
||||
class ACE_NonSteerableParachute: B_Parachute {
|
||||
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 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";};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user