2015-06-03 18:27:52 +00:00
|
|
|
|
2016-03-01 16:05:00 +00:00
|
|
|
class CBA_Extended_EventHandlers;
|
|
|
|
|
2015-06-03 18:27:52 +00:00
|
|
|
class CfgVehicles {
|
|
|
|
class Man;
|
|
|
|
class CAManBase: Man {
|
|
|
|
class ACE_SelfActions {
|
2016-06-02 08:35:33 +00:00
|
|
|
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-06-03 18:27:52 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-07-25 19:59:52 +00:00
|
|
|
|
2015-06-03 18:27:52 +00:00
|
|
|
class Bag_Base;
|
2015-06-18 09:02:04 +00:00
|
|
|
class ACE_TacticalLadder_Pack: Bag_Base {
|
|
|
|
scope = 2;
|
|
|
|
displayName = CSTRING(DisplayName);
|
2015-06-03 18:27:52 +00:00
|
|
|
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);
|
2015-06-03 18:27:52 +00:00
|
|
|
maximumLoad = 0;
|
|
|
|
mass = 50;
|
2015-06-18 09:02:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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-06-18 09:02:04 +00:00
|
|
|
};
|
|
|
|
};
|
2015-07-25 19:59:52 +00:00
|
|
|
|
2015-06-03 18:27:52 +00:00
|
|
|
class House;
|
2015-09-26 01:16:55 +00:00
|
|
|
class ACE_TacticalLadder: House {
|
2016-03-01 16:05:00 +00:00
|
|
|
class EventHandlers {
|
|
|
|
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers {};
|
|
|
|
};
|
|
|
|
|
2015-06-13 07:51:49 +00:00
|
|
|
displayName = CSTRING(DisplayName);
|
2015-06-03 18:27:52 +00:00
|
|
|
class DestructionEffects {};
|
2016-04-08 18:34:50 +00:00
|
|
|
model = QPATHTOF(data\ace_tacticalladder.p3d);
|
2015-06-03 18:27:52 +00:00
|
|
|
animated = 1;
|
|
|
|
autocenter = 0;
|
|
|
|
featureSize = 12;
|
|
|
|
ladders[] = {{"start","end"}};
|
2015-09-26 01:16:55 +00:00
|
|
|
|
2015-06-03 18:27:52 +00:00
|
|
|
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 {};
|
|
|
|
};
|
2015-09-26 01:16:55 +00:00
|
|
|
|
2015-06-03 18:27:52 +00:00
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
|
|
|
selection = "roadway";
|
|
|
|
distance = 5;
|
2015-12-27 18:28:29 +00:00
|
|
|
condition = QUOTE(_target call FUNC(isLadderEmpty));
|
2015-09-26 01:16:55 +00:00
|
|
|
|
2015-06-03 18:27:52 +00:00
|
|
|
class ACE_PickUp {
|
|
|
|
selection = "";
|
2015-06-13 07:51:49 +00:00
|
|
|
displayName = CSTRING(Pickup);
|
2015-06-03 18:27:52 +00:00
|
|
|
distance = 4;
|
2015-06-12 21:54:51 +00:00
|
|
|
condition = QUOTE((backpack ACE_player) == '');
|
2015-09-26 01:16:55 +00:00
|
|
|
statement = QUOTE([ARR_2(_player,_target)] call FUNC(pickupTL));
|
2015-06-03 18:27:52 +00:00
|
|
|
showDisabled = 0;
|
|
|
|
exceptions[] = {};
|
|
|
|
priority = 5;
|
|
|
|
};
|
2015-09-26 01:16:55 +00:00
|
|
|
|
2015-06-03 18:27:52 +00:00
|
|
|
class ACE_Position {
|
|
|
|
selection = "";
|
2015-06-13 07:51:49 +00:00
|
|
|
displayName = CSTRING(Position);
|
2015-06-03 18:27:52 +00:00
|
|
|
distance = 4;
|
|
|
|
condition = "true";
|
2015-08-02 06:05:28 +00:00
|
|
|
//wait a frame to handle "Do When releasing action menu key" option:
|
2016-05-22 13:27:24 +00:00
|
|
|
statement = QUOTE([ARR_2({_this call FUNC(positionTL)},[ARR_2(_player,_target)])] call CBA_fnc_execNextFrame);
|
2015-06-03 18:27:52 +00:00
|
|
|
showDisabled = 0;
|
|
|
|
exceptions[] = {};
|
|
|
|
priority = 5;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|