ACE3/addons/tacticalladder/CfgVehicles.hpp

99 lines
3.1 KiB
C++
Raw Normal View History

class CfgVehicles {
class Man;
class CAManBase: Man {
class ACE_SelfActions {
class ACE_TacticalLadders {
2015-06-13 07:51:49 +00:00
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;
displayName = CSTRING(DisplayName);
descriptionShort = "";
model = PATHTOF(data\ace_tacticalladder_pack.p3d);
2015-07-25 19:59:52 +00:00
picture = PATHTOF(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 {
XEH_ENABLED;
2015-06-13 07:51:49 +00:00
displayName = CSTRING(DisplayName);
class DestructionEffects {};
model = PATHTOF(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 = "true";
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 EFUNC(common,execNextFrame));
showDisabled = 0;
exceptions[] = {};
priority = 5;
};
};
};
};
};