2015-09-26 01:16:55 +00:00
|
|
|
|
2016-03-01 16:05:00 +00:00
|
|
|
class CBA_Extended_EventHandlers;
|
|
|
|
|
2015-06-02 17:30:50 +00:00
|
|
|
class CfgVehicles {
|
|
|
|
class Man;
|
|
|
|
class CAManBase: Man {
|
|
|
|
class ACE_SelfActions {
|
2015-09-26 01:16:55 +00:00
|
|
|
class GVAR(place) {
|
2015-06-06 02:02:24 +00:00
|
|
|
displayName = CSTRING(DeploySandbag);
|
2015-09-26 01:16:55 +00:00
|
|
|
condition = QUOTE(_this call FUNC(canDeploy));
|
|
|
|
//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(deploy)},_this)] call CBA_fnc_execNextFrame);
|
2015-06-09 14:20:43 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-09-26 01:16:55 +00:00
|
|
|
showDisabled = 0;
|
2015-06-02 17:30:50 +00:00
|
|
|
priority = 4;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icon_sandbag_ca.paa);
|
2015-06-02 17:30:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Item_Base_F;
|
|
|
|
class ACE_Item_Sandbag_empty: Item_Base_F {
|
2015-06-06 02:02:24 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
2015-06-02 17:30:50 +00:00
|
|
|
scope = 2;
|
|
|
|
scopeCurator = 2;
|
2015-06-06 02:02:24 +00:00
|
|
|
displayName = CSTRING(sandbagEmpty_displayName);
|
2015-06-02 17:30:50 +00:00
|
|
|
vehicleClass = "Items";
|
|
|
|
class TransportItems {
|
2015-07-25 19:59:52 +00:00
|
|
|
MACRO_ADDITEM(ACE_Sandbag_empty,1);
|
2015-06-02 17:30:50 +00:00
|
|
|
};
|
|
|
|
};
|
2015-09-26 01:16:55 +00:00
|
|
|
|
|
|
|
/*class ACE_Item_Sandbag: Item_Base_F {
|
2015-06-06 02:02:24 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
2015-06-02 17:30:50 +00:00
|
|
|
scope = 2;
|
|
|
|
scopeCurator = 2;
|
2015-06-06 02:02:24 +00:00
|
|
|
displayName = CSTRING(sandbag_displayName);
|
2015-06-02 17:30:50 +00:00
|
|
|
vehicleClass = "Items";
|
|
|
|
class TransportItems {
|
|
|
|
class ACE_Sandbag {
|
|
|
|
name = "ACE_Sandbag";
|
|
|
|
count = 1;
|
|
|
|
};
|
|
|
|
};
|
2015-09-26 01:16:55 +00:00
|
|
|
};*/
|
|
|
|
|
2016-01-03 14:21:38 +00:00
|
|
|
class ThingX;
|
|
|
|
class ACE_SandbagObject: ThingX {
|
2016-03-01 16:05:00 +00:00
|
|
|
class EventHandlers {
|
|
|
|
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers {};
|
|
|
|
};
|
|
|
|
|
2015-06-06 02:02:24 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
2016-01-01 19:04:07 +00:00
|
|
|
scope = 2;
|
2016-03-03 18:54:13 +00:00
|
|
|
side = 3;
|
2016-04-08 18:34:50 +00:00
|
|
|
model = QPATHTOF(data\ace_sandbag_build.p3d);
|
2015-06-06 02:02:24 +00:00
|
|
|
displayName = CSTRING(sandbag_displayName);
|
2016-01-03 00:25:48 +00:00
|
|
|
vehicleClass = "ACE_Logistics_Items";
|
2015-06-04 09:13:12 +00:00
|
|
|
typicalCargo[] = {};
|
|
|
|
armor = 12000; // Withstand 200 5.56 bullets before sandbag hull is cheese
|
|
|
|
mapSize = 0.4;
|
|
|
|
nameSound = "Bunker";
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icon_sandbag_ca.paa);
|
2015-06-04 09:13:12 +00:00
|
|
|
accuracy = 1000;
|
|
|
|
destrType = "DestructDefault";
|
|
|
|
|
|
|
|
class DestructionEffects {};
|
2015-09-26 01:16:55 +00:00
|
|
|
|
2015-06-04 09:13:12 +00:00
|
|
|
class Damage {
|
|
|
|
tex[] = {};
|
|
|
|
mat[] = {
|
|
|
|
"z\ace\addons\sandbag\data\bag_destruct.rvmat",
|
|
|
|
"z\ace\addons\sandbag\data\bag_destruct.rvmat",
|
|
|
|
"z\ace\addons\sandbag\data\bag_destruct.rvmat"
|
|
|
|
};
|
|
|
|
};
|
2015-09-26 01:16:55 +00:00
|
|
|
|
2015-06-02 17:30:50 +00:00
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
|
|
|
selection = "";
|
|
|
|
distance = 5;
|
|
|
|
condition = "true";
|
2015-09-26 01:16:55 +00:00
|
|
|
|
2015-06-02 17:30:50 +00:00
|
|
|
class ACE_PickUp {
|
|
|
|
selection = "";
|
2015-06-06 02:02:24 +00:00
|
|
|
displayName = CSTRING(PICKUPSB);
|
2015-06-02 17:30:50 +00:00
|
|
|
distance = 4;
|
2015-09-26 01:16:55 +00:00
|
|
|
condition = QUOTE(!(_player getVariable [ARR_2(QUOTE(QGVAR(isUsingSandbag)),false)]));
|
|
|
|
statement = QUOTE([ARR_2(_player,_target)] call FUNC(pickup));
|
2015-06-04 09:13:12 +00:00
|
|
|
showDisabled = 0;
|
|
|
|
exceptions[] = {};
|
|
|
|
priority = 5;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icon_sandbag_ca.paa);
|
2015-06-04 09:13:12 +00:00
|
|
|
};
|
2015-06-02 17:30:50 +00:00
|
|
|
};
|
|
|
|
};
|
2015-06-04 09:13:12 +00:00
|
|
|
};
|
2015-09-26 01:16:55 +00:00
|
|
|
|
2015-06-04 09:13:12 +00:00
|
|
|
class ACE_SandbagObject_NoGeo: ACE_SandbagObject {
|
|
|
|
scope = 1;
|
2016-04-08 18:34:50 +00:00
|
|
|
model = QPATHTOF(data\ace_sandbag_nogeo.p3d);
|
2015-06-04 09:13:12 +00:00
|
|
|
};
|
2015-07-25 19:59:52 +00:00
|
|
|
|
2015-06-02 17:30:50 +00:00
|
|
|
class Box_NATO_Support_F;
|
|
|
|
class ACE_Box_Misc: Box_NATO_Support_F {
|
|
|
|
class TransportItems {
|
|
|
|
MACRO_ADDITEM(ACE_Sandbag_empty,50);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|