2015-03-14 12:51:23 +00:00
|
|
|
|
|
|
|
class CfgVehicles {
|
2015-03-18 12:36:22 +00:00
|
|
|
// Static weapons
|
|
|
|
class LandVehicle;
|
|
|
|
class StaticWeapon: LandVehicle {
|
|
|
|
GVAR(canCarry) = 1;
|
|
|
|
GVAR(carryPosition[]) = {0,1.2,0};
|
|
|
|
GVAR(carryDirection) = 0;
|
|
|
|
|
|
|
|
GVAR(canDrag) = 1;
|
|
|
|
GVAR(dragPosition[]) = {0,1.2,0};
|
|
|
|
GVAR(dragDirection) = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
//remove actions from Taru Pods
|
|
|
|
class Pod_Heli_Transport_04_base_F: StaticWeapon {
|
|
|
|
GVAR(canCarry) = 0;
|
|
|
|
GVAR(canDrag) = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
class StaticMortar;
|
|
|
|
class Mortar_01_base_F: StaticMortar {
|
|
|
|
GVAR(canCarry) = 1;
|
|
|
|
GVAR(carryPosition[]) = {0,1.2,0};
|
|
|
|
GVAR(carryDirection) = 0;
|
|
|
|
|
|
|
|
GVAR(canDrag) = 1;
|
|
|
|
GVAR(dragPosition[]) = {0,1.2,0};
|
|
|
|
GVAR(dragDirection) = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
// ammo boxes
|
2015-03-14 12:51:23 +00:00
|
|
|
class ThingX;
|
|
|
|
class ReammoBox_F: ThingX {
|
2015-03-16 13:31:16 +00:00
|
|
|
XEH_ENABLED;
|
2015-03-17 14:42:25 +00:00
|
|
|
GVAR(canCarry) = 0;
|
|
|
|
GVAR(carryPosition[]) = {0,1,1};
|
|
|
|
GVAR(carryDirection) = 0;
|
|
|
|
|
2015-03-14 12:51:23 +00:00
|
|
|
GVAR(canDrag) = 0;
|
2015-03-16 18:25:29 +00:00
|
|
|
GVAR(dragPosition[]) = {0,1.2,0};
|
2015-03-14 12:51:23 +00:00
|
|
|
GVAR(dragDirection) = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
class Slingload_base_F: ReammoBox_F {
|
2015-03-17 14:42:25 +00:00
|
|
|
GVAR(canCarry) = 0;
|
2015-03-14 12:51:23 +00:00
|
|
|
GVAR(canDrag) = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
class EAST_Box_Base: ReammoBox_F {
|
2015-03-17 14:42:25 +00:00
|
|
|
GVAR(canCarry) = 1;
|
2015-03-14 12:51:23 +00:00
|
|
|
GVAR(canDrag) = 1;
|
|
|
|
};
|
|
|
|
class IND_Box_Base: ReammoBox_F {
|
2015-03-17 14:42:25 +00:00
|
|
|
GVAR(canCarry) = 1;
|
2015-03-14 12:51:23 +00:00
|
|
|
GVAR(canDrag) = 1;
|
|
|
|
};
|
|
|
|
/*class FIA_Box_Base_F: ReammoBox_F {
|
2015-03-17 14:42:25 +00:00
|
|
|
GVAR(canCarry) = 1;
|
2015-03-14 12:51:23 +00:00
|
|
|
GVAR(canDrag) = 1;
|
|
|
|
};*/
|
|
|
|
class NATO_Box_Base: ReammoBox_F {
|
2015-03-17 14:42:25 +00:00
|
|
|
GVAR(canCarry) = 1;
|
2015-03-14 12:51:23 +00:00
|
|
|
GVAR(canDrag) = 1;
|
|
|
|
};
|
|
|
|
|
|
|
|
// Remove Larger crate dragging support.
|
|
|
|
// Would be better to allow some sort of joint push/drag functionality
|
|
|
|
// Requiring 2 units to access the larger crates and attaching them together (a crappy method of doing it)
|
|
|
|
// in order to move the bigger ones. Currently simply remove support.
|
|
|
|
// I believe these crates are currently broken (hitbox doesn't work or something) in 1.22 (2014-07-04)
|
|
|
|
class Box_East_AmmoVeh_F: EAST_Box_Base {
|
2015-03-17 14:42:25 +00:00
|
|
|
GVAR(canCarry) = 0;
|
2015-03-14 12:51:23 +00:00
|
|
|
GVAR(canDrag) = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
class Box_NATO_AmmoVeh_F: NATO_Box_Base {
|
2015-03-17 14:42:25 +00:00
|
|
|
GVAR(canCarry) = 0;
|
2015-03-14 12:51:23 +00:00
|
|
|
GVAR(canDrag) = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
class Box_IND_AmmoVeh_F: IND_Box_Base {
|
2015-03-17 14:42:25 +00:00
|
|
|
GVAR(canCarry) = 0;
|
2015-03-14 12:51:23 +00:00
|
|
|
GVAR(canDrag) = 0;
|
|
|
|
};
|
2015-03-29 01:35:55 +00:00
|
|
|
|
2015-10-28 20:33:00 +00:00
|
|
|
// Barrier
|
2015-11-01 19:33:18 +00:00
|
|
|
class RoadCone_F: thingX {
|
|
|
|
XEH_ENABLED;
|
2015-10-28 20:33:00 +00:00
|
|
|
GVAR(canCarry) = 1;
|
2015-11-01 19:33:18 +00:00
|
|
|
GVAR(carryPosition[]) = {0,1,1};
|
|
|
|
GVAR(carryDirection) = 0;
|
|
|
|
|
2015-10-28 20:33:00 +00:00
|
|
|
GVAR(canDrag) = 1;
|
2015-11-01 19:33:18 +00:00
|
|
|
GVAR(dragPosition[]) = {0,1.2,0};
|
|
|
|
GVAR(dragDirection) = 0;
|
2015-10-28 20:33:00 +00:00
|
|
|
};
|
2015-11-01 21:38:55 +00:00
|
|
|
|
|
|
|
class RoadBarrier_F: RoadCone_F {
|
|
|
|
GVAR(carryPosition[]) = {0,1,0.300671};
|
|
|
|
};
|
|
|
|
|
2015-03-29 01:35:55 +00:00
|
|
|
class ACE_RepairItem_Base: ThingX {};
|
|
|
|
|
|
|
|
class ACE_Track: ACE_RepairItem_Base {
|
|
|
|
GVAR(canCarry) = 1;
|
|
|
|
GVAR(carryPosition[]) = {0,1,1};
|
|
|
|
GVAR(carryDirection) = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Wheel: ACE_RepairItem_Base {
|
|
|
|
GVAR(canCarry) = 1;
|
|
|
|
GVAR(carryPosition[]) = {0,1,1};
|
|
|
|
GVAR(carryDirection) = 0;
|
|
|
|
};
|
2015-03-14 12:51:23 +00:00
|
|
|
};
|