ACE3/addons/dragging/CfgVehicles.hpp

45 lines
1.2 KiB
C++
Raw Normal View History

class CfgVehicles {
class ThingX;
class ReammoBox_F: ThingX {
2015-03-16 13:31:16 +00:00
XEH_ENABLED;
GVAR(canDrag) = 0;
GVAR(dragPosition[]) = {0,1,1};
GVAR(dragDirection) = 0;
};
class Slingload_base_F: ReammoBox_F {
GVAR(canDrag) = 0;
};
class EAST_Box_Base: ReammoBox_F {
GVAR(canDrag) = 1;
};
class IND_Box_Base: ReammoBox_F {
GVAR(canDrag) = 1;
};
/*class FIA_Box_Base_F: ReammoBox_F {
GVAR(canDrag) = 1;
};*/
class NATO_Box_Base: ReammoBox_F {
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 {
GVAR(canDrag) = 0;
};
class Box_NATO_AmmoVeh_F: NATO_Box_Base {
GVAR(canDrag) = 0;
};
class Box_IND_AmmoVeh_F: IND_Box_Base {
GVAR(canDrag) = 0;
};
};