ACE3/addons/flags/CfgWeapons.hpp

55 lines
2.1 KiB
C++
Raw Normal View History

2022-06-10 19:46:06 +00:00
class CfgWeapons {
class ACE_ItemCore;
class CBA_MiscItem_ItemInfo;
class GVAR(white): ACE_ItemCore {
scope = 2;
author = ECSTRING(common,ACETeam);
descriptionShort = CSTRING(description);
descriptionUse = CSTRING(description);
2022-06-10 20:14:32 +00:00
2022-06-10 19:46:06 +00:00
displayName = CSTRING(white);
2022-06-10 20:14:32 +00:00
picture = QPATHTOF(data\pictures\white_item.paa);
2022-06-10 19:46:06 +00:00
GVAR(texture) = "\a3\data_f\flags\flag_white_co.paa";
2022-06-10 20:14:32 +00:00
GVAR(actionIconPlace) = QPATHTOF(data\icons\place\white_place_icon.paa);
GVAR(actionIconCarry) = QPATHTOF(data\icons\carry\white_carry_icon.paa);
2022-06-10 19:46:06 +00:00
class ItemInfo: CBA_MiscItem_ItemInfo {
mass = 3;
};
};
class GVAR(red): GVAR(white) {
displayName = CSTRING(red);
2022-06-10 20:14:32 +00:00
picture = QPATHTOF(data\pictures\red_item.paa);
2022-06-10 19:46:06 +00:00
GVAR(texture) = "\a3\data_f\flags\flag_red_co.paa";
2022-06-10 20:14:32 +00:00
GVAR(actionIconPlace) = QPATHTOF(data\icons\place\red_place_icon.paa);
GVAR(actionIconCarry) = QPATHTOF(data\icons\carry\red_carry_icon.paa);
2022-06-10 19:46:06 +00:00
};
class GVAR(blue): GVAR(white) {
displayName = CSTRING(blue);
2022-06-10 20:14:32 +00:00
picture = QPATHTOF(data\pictures\blue_item.paa);
2022-06-10 19:46:06 +00:00
GVAR(texture) = "\a3\data_f\flags\Flag_blue_co.paa";
2022-06-10 20:14:32 +00:00
GVAR(actionIconPlace) = QPATHTOF(data\icons\place\blue_place_icon.paa);
GVAR(actionIconCarry) = QPATHTOF(data\icons\carry\blue_carry_icon.paa);
2022-06-10 19:46:06 +00:00
};
class GVAR(green): GVAR(white) {
displayName = CSTRING(green);
2022-06-10 20:14:32 +00:00
picture = QPATHTOF(data\pictures\green_item.paa);
2022-06-10 19:46:06 +00:00
GVAR(texture) = "\a3\data_f\flags\flag_green_co.paa";
2022-06-10 20:14:32 +00:00
GVAR(actionIconPlace) = QPATHTOF(data\icons\place\green_place_icon.paa);
GVAR(actionIconCarry) = QPATHTOF(data\icons\carry\green_carry_icon.paa);
2022-06-10 19:46:06 +00:00
};
class GVAR(yellow): GVAR(white) {
displayName = CSTRING(yellow);
2022-06-10 20:14:32 +00:00
picture = QPATHTOF(data\pictures\yellow_item.paa);
2022-06-10 19:46:06 +00:00
GVAR(texture) = QPATHTOF(data\Flag_yellow_co.paa);
2022-06-10 20:14:32 +00:00
GVAR(actionIconPlace) = QPATHTOF(data\icons\place\yellow_place_icon.paa);
GVAR(actionIconCarry) = QPATHTOF(data\icons\carry\yellow_carry_icon.paa);
2022-06-10 19:46:06 +00:00
};
};