ACE3/addons/vector/CfgVehicles.hpp

27 lines
630 B
C++
Raw Normal View History

2015-01-14 06:24:17 +00:00
#define MACRO_ADDWEAPON(WEAPON,COUNT) class _xx_##WEAPON { \
weapon = #WEAPON; \
count = COUNT; \
}
class CfgVehicles {
class Item_Base_F;
class ACE_Item_Vector: Item_Base_F {
author = "$STR_ACE_Common_ACETeam";
scope = 2;
scopeCurator = 2;
displayName = "$STR_ACE_Vector_VectorName";
vehicleClass = "Items";
class TransportWeapons {
MACRO_ADDWEAPON(ACE_Vector,1);
};
};
class Box_NATO_Support_F;
class ACE_Box_Misc: Box_NATO_Support_F {
class TransportWeapons {
MACRO_ADDWEAPON(ACE_Vector,6);
};
};
};