ACE3/addons/tacticalladder/CfgVehicles.hpp

107 lines
3.4 KiB
C++
Raw Normal View History

class CBA_Extended_EventHandlers;
class CfgVehicles {
class Man;
class CAManBase: Man {
class ACE_SelfActions {
class ACE_Equipment {
class ACE_TacticalLadders {
displayName = CSTRING(Deploy);
condition = QUOTE(backpack _player == 'ACE_TacticalLadder_Pack');
statement = QUOTE([_player] call FUNC(deployTL));
exceptions[] = {};
showDisabled = 1;
priority = 4;
};
};
};
};
2015-07-25 19:59:52 +00:00
class Bag_Base;
class ACE_TacticalLadder_Pack: Bag_Base {
scope = 2;
author = ECSTRING(common,ACETeam);
displayName = CSTRING(DisplayName);
descriptionShort = "";
2016-04-08 18:34:50 +00:00
model = QPATHTOF(data\ace_tacticalladder_pack.p3d);
picture = QPATHTOF(UI\ace_tactical_ladder_pack_ca.paa);
maximumLoad = 0;
mass = 50;
};
class Box_NATO_Support_F;
class ACE_Box_Misc: Box_NATO_Support_F {
class TransportBackpacks {
2015-07-25 19:59:52 +00:00
MACRO_ADDBACKPACK(ACE_TacticalLadder_Pack,3);
};
};
2015-07-25 19:59:52 +00:00
class House;
class ACE_TacticalLadder: House {
class EventHandlers {
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers {};
};
2015-06-13 07:51:49 +00:00
displayName = CSTRING(DisplayName);
class DestructionEffects {};
2016-04-08 18:34:50 +00:00
model = QPATHTOF(data\ace_tacticalladder.p3d);
animated = 1;
autocenter = 0;
featureSize = 12;
ladders[] = {{"start","end"}};
class AnimationSources {
class rotate {
source = "user";
animPeriod = 1e-007;
};
class extract_1 {
source = "user";
animPeriod = 1e-007;
};
class extract_2: extract_1 {};
class extract_3: extract_1 {};
class extract_4: extract_1 {};
class extract_5: extract_1 {};
class extract_6: extract_1 {};
class extract_7: extract_1 {};
class extract_8: extract_1 {};
class extract_9: extract_1 {};
class extract_10: extract_1 {};
class extract_11: extract_1 {};
};
class ACE_Actions {
class ACE_MainActions {
selection = "roadway";
distance = 5;
condition = QUOTE(_target call FUNC(isLadderEmpty));
class ACE_PickUp {
selection = "";
2015-06-13 07:51:49 +00:00
displayName = CSTRING(Pickup);
distance = 4;
condition = QUOTE((backpack ACE_player) == '');
statement = QUOTE([ARR_2(_player,_target)] call FUNC(pickupTL));
showDisabled = 0;
exceptions[] = {};
priority = 5;
};
class ACE_Position {
selection = "";
2015-06-13 07:51:49 +00:00
displayName = CSTRING(Position);
distance = 4;
condition = "true";
2015-08-02 06:05:28 +00:00
//wait a frame to handle "Do When releasing action menu key" option:
statement = QUOTE([ARR_2({_this call FUNC(positionTL)},[ARR_2(_player,_target)])] call CBA_fnc_execNextFrame);
showDisabled = 0;
exceptions[] = {};
priority = 5;
};
};
};
};
};