mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
104 lines
3.3 KiB
C++
104 lines
3.3 KiB
C++
|
|
class CBA_Extended_EventHandlers;
|
|
|
|
class CfgVehicles {
|
|
class Man;
|
|
class CAManBase: Man {
|
|
class ACE_SelfActions {
|
|
class ACE_TacticalLadders {
|
|
displayName = CSTRING(Deploy);
|
|
condition = QUOTE(backpack _player == 'ACE_TacticalLadder_Pack');
|
|
statement = QUOTE([_player] call FUNC(deployTL));
|
|
exceptions[] = {};
|
|
showDisabled = 1;
|
|
priority = 4;
|
|
};
|
|
};
|
|
};
|
|
|
|
class Bag_Base;
|
|
class ACE_TacticalLadder_Pack: Bag_Base {
|
|
scope = 2;
|
|
displayName = CSTRING(DisplayName);
|
|
descriptionShort = "";
|
|
model = PATHTOF(data\ace_tacticalladder_pack.p3d);
|
|
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 {
|
|
MACRO_ADDBACKPACK(ACE_TacticalLadder_Pack,3);
|
|
};
|
|
};
|
|
|
|
class House;
|
|
class ACE_TacticalLadder: House {
|
|
class EventHandlers {
|
|
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers {};
|
|
};
|
|
|
|
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 = QUOTE(_target call FUNC(isLadderEmpty));
|
|
|
|
class ACE_PickUp {
|
|
selection = "";
|
|
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 = "";
|
|
displayName = CSTRING(Position);
|
|
distance = 4;
|
|
condition = "true";
|
|
//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;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|