2015-06-04 15:11:09 +00:00
|
|
|
|
2016-03-01 16:05:00 +00:00
|
|
|
class CBA_Extended_EventHandlers;
|
|
|
|
|
2015-06-04 15:11:09 +00:00
|
|
|
class CfgVehicles {
|
|
|
|
class Fence;
|
|
|
|
class ACE_ConcertinaWireNoGeo: Fence {
|
2016-03-01 16:05:00 +00:00
|
|
|
class EventHandlers {
|
|
|
|
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers {};
|
|
|
|
};
|
|
|
|
|
2015-06-04 15:11:09 +00:00
|
|
|
scope = 1;
|
|
|
|
displayName = "";
|
2016-04-08 18:34:50 +00:00
|
|
|
model = QPATHTOF(data\ACE_ConcertinaWireNoGeo.p3d);
|
2015-06-04 15:11:09 +00:00
|
|
|
destrType = "DestructTent";
|
|
|
|
accuracy = 0.3;
|
|
|
|
mapSize = 2.8;
|
|
|
|
animated = 1;
|
|
|
|
autocenter = 0;
|
|
|
|
armor = 200;
|
|
|
|
class AnimationSources {
|
|
|
|
class fix1 {
|
|
|
|
source = "user";
|
|
|
|
animPeriod = 1e-007;
|
|
|
|
initPhase = 0;
|
|
|
|
};
|
|
|
|
class fix2: fix1 {};
|
|
|
|
class fix3: fix1 {};
|
|
|
|
class fix4: fix1 {};
|
|
|
|
class rotate {
|
|
|
|
source = "user";
|
|
|
|
animPeriod = 1e-007;
|
|
|
|
};
|
|
|
|
class wire_2 {
|
|
|
|
source = "user";
|
|
|
|
animPeriod = 1e-007;
|
|
|
|
};
|
2021-10-18 16:56:43 +00:00
|
|
|
class wire_3: wire_2 {};
|
|
|
|
class wire_4: wire_2 {};
|
|
|
|
class wire_5: wire_2 {};
|
|
|
|
class wire_6: wire_2 {};
|
|
|
|
class wire_7: wire_2 {};
|
|
|
|
class wire_8: wire_2 {};
|
|
|
|
class wire_9: wire_2 {};
|
|
|
|
class wire_10: wire_2 {};
|
|
|
|
class wire_11: wire_2 {};
|
|
|
|
class wire_12: wire_2 {};
|
|
|
|
class wire_13: wire_2 {};
|
|
|
|
class wire_14: wire_2 {};
|
|
|
|
class wire_15: wire_2 {};
|
|
|
|
class wire_16: wire_2 {};
|
|
|
|
class wire_17: wire_2 {};
|
|
|
|
class wire_18: wire_2 {};
|
2015-08-20 19:41:28 +00:00
|
|
|
|
2015-06-04 15:11:09 +00:00
|
|
|
class wire_2_1: wire_2 {
|
|
|
|
animPeriod = 8;
|
|
|
|
};
|
|
|
|
class wire_3_1: wire_2_1 {};
|
|
|
|
class wire_4_1: wire_2_1 {};
|
|
|
|
class wire_5_1: wire_2_1 {};
|
|
|
|
class wire_6_1: wire_2_1 {};
|
|
|
|
class wire_7_1: wire_2_1 {};
|
|
|
|
class wire_8_1: wire_2_1 {};
|
|
|
|
class wire_9_1: wire_2_1 {};
|
|
|
|
class wire_10_1: wire_2_1 {};
|
|
|
|
class wire_11_1: wire_2_1 {};
|
|
|
|
class wire_12_1: wire_2_1 {};
|
|
|
|
class wire_13_1: wire_2_1 {};
|
|
|
|
class wire_14_1: wire_2_1 {};
|
|
|
|
class wire_15_1: wire_2_1 {};
|
|
|
|
class wire_16_1: wire_2_1 {};
|
|
|
|
class wire_17_1: wire_2_1 {};
|
2015-08-20 19:41:28 +00:00
|
|
|
class wire_18_1: wire_2_1 {};
|
2015-06-04 15:11:09 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
class ACE_ConcertinaWire: ACE_ConcertinaWireNoGeo {
|
|
|
|
scope = 2;
|
2019-11-18 18:48:40 +00:00
|
|
|
displayName = CSTRING(DisplayName);
|
2022-10-13 17:13:20 +00:00
|
|
|
editorPreview = QPATHTOF(data\preview_concertina_wire.jpg);
|
2016-04-08 18:34:50 +00:00
|
|
|
model = QPATHTOF(data\ACE_ConcertinaWire.p3d);
|
2015-08-23 23:39:08 +00:00
|
|
|
EGVAR(logistics_wirecutter,isFence) = 1;
|
2015-06-04 15:11:09 +00:00
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
|
|
|
selection = "";
|
|
|
|
distance = 5;
|
|
|
|
condition = "true";
|
|
|
|
class ACE_Dismount {
|
|
|
|
selection = "";
|
2019-11-18 18:48:40 +00:00
|
|
|
displayName = CSTRING(UnrollWire);
|
2015-06-04 15:11:09 +00:00
|
|
|
distance = 5;
|
2016-04-16 17:54:33 +00:00
|
|
|
condition = "alive _target";
|
2015-06-04 15:11:09 +00:00
|
|
|
statement = QUOTE([ARR_2(_target,_player)] call FUNC(dismount));
|
|
|
|
showDisabled = 0;
|
|
|
|
exceptions[] = {};
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icon_sandbag_ca.paa);
|
2015-06-04 15:11:09 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-03-01 16:05:00 +00:00
|
|
|
|
|
|
|
class ThingX;
|
2016-01-03 14:21:38 +00:00
|
|
|
class ACE_ConcertinaWireCoil: ThingX {
|
2016-03-01 16:05:00 +00:00
|
|
|
class EventHandlers {
|
|
|
|
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers {};
|
|
|
|
};
|
|
|
|
|
2015-06-04 15:11:09 +00:00
|
|
|
scope = 2;
|
2019-11-18 18:48:40 +00:00
|
|
|
displayName = CSTRING(Coil_DisplayName);
|
2022-10-13 17:13:20 +00:00
|
|
|
editorPreview = QPATHTOF(data\preview_concertina_wire_coil.jpg);
|
2016-04-08 18:34:50 +00:00
|
|
|
model = QPATHTOF(data\ACE_ConcertinaWireCoil.p3d);
|
2022-10-13 17:13:20 +00:00
|
|
|
icon = "iconObject_circle";
|
2015-06-04 15:11:09 +00:00
|
|
|
mapsize = 0.5;
|
|
|
|
animated = 0;
|
|
|
|
nameSound = "fence";
|
|
|
|
typicalCargo[] = {};
|
|
|
|
transportAmmo = 0;
|
|
|
|
transportRepair = 0;
|
|
|
|
transportFuel = 0;
|
|
|
|
cost = 0;
|
|
|
|
armor = 1000;
|
|
|
|
destrType = "DestructNo";
|
|
|
|
accuracy = 1000;
|
|
|
|
autocenter = 0;
|
|
|
|
EGVAR(dragging,canDrag) = 1;
|
2016-02-28 14:18:15 +00:00
|
|
|
EGVAR(dragging,dragPosition)[] = {0,0.5,0.5};
|
2015-06-04 15:11:09 +00:00
|
|
|
EGVAR(dragging,dragDirection) = 0;
|
2015-08-20 19:41:28 +00:00
|
|
|
EGVAR(cargo,size) = 1;
|
|
|
|
EGVAR(cargo,canLoad) = 1;
|
2015-06-04 15:11:09 +00:00
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
|
|
|
selection = "";
|
|
|
|
distance = 4;
|
|
|
|
condition = "true";
|
|
|
|
class ACE_Deploy {
|
|
|
|
selection = "";
|
2019-11-18 18:48:40 +00:00
|
|
|
displayName = CSTRING(RollWire);
|
2015-06-04 15:11:09 +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:
|
2023-11-05 18:36:00 +00:00
|
|
|
statement = QUOTE([ARR_2({_this call FUNC(deploy)},[ARR_2(_target,_player)])] call CBA_fnc_execNextFrame);
|
2015-06-04 15:11:09 +00:00
|
|
|
showDisabled = 0;
|
|
|
|
exceptions[] = {};
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icon_sandbag_ca.paa);
|
2015-06-04 15:11:09 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-08-20 19:41:28 +00:00
|
|
|
|
2016-03-01 16:05:00 +00:00
|
|
|
class NonStrategic;
|
2015-06-04 15:11:09 +00:00
|
|
|
class Land_Razorwire_F: NonStrategic {
|
2016-03-01 16:05:00 +00:00
|
|
|
class EventHandlers {
|
|
|
|
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers {};
|
|
|
|
};
|
2015-06-04 15:11:09 +00:00
|
|
|
};
|
|
|
|
};
|