mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
bd4d1a7a50
* fix dbal visible pointer * fix dbal visible pointer * remove unused macro * tweak numbers, move define to single file * change max range
59 lines
1.7 KiB
C++
59 lines
1.7 KiB
C++
class CfgWeapons {
|
|
class ItemCore;
|
|
class InventoryFlashLightItem_Base_F;
|
|
|
|
class acc_pointer_IR: ItemCore {
|
|
MRT_SwitchItemNextClass = "ACE_acc_pointer_red";
|
|
MRT_SwitchItemPrevClass = "ACE_acc_pointer_red";
|
|
MRT_switchItemHintText = CSTRING(IRLaser);
|
|
|
|
displayName = CSTRING(red);
|
|
descriptionUse = CSTRING(useLaser);
|
|
|
|
class ItemInfo: InventoryFlashLightItem_Base_F {
|
|
class Pointer;
|
|
};
|
|
};
|
|
|
|
class ACE_acc_pointer_green_IR: acc_pointer_IR {
|
|
MRT_SwitchItemNextClass = "ACE_acc_pointer_green";
|
|
MRT_SwitchItemPrevClass = "ACE_acc_pointer_green";
|
|
|
|
author = ECSTRING(common,ACETeam);
|
|
_generalMacro = "ACE_acc_pointer_green";
|
|
scope = 1;
|
|
displayName = CSTRING(green);
|
|
baseWeapon = "ACE_acc_pointer_green";
|
|
};
|
|
|
|
class ACE_acc_pointer_red: acc_pointer_IR {
|
|
MRT_SwitchItemNextClass = "acc_pointer_IR";
|
|
MRT_SwitchItemPrevClass = "acc_pointer_IR";
|
|
MRT_switchItemHintText = CSTRING(Laser);
|
|
|
|
author = ECSTRING(common,ACETeam);
|
|
_generalMacro = "ACE_acc_pointer_red";
|
|
scope = 1;
|
|
descriptionShort = CSTRING(Description);
|
|
baseWeapon = "acc_pointer_IR";
|
|
|
|
class ItemInfo: ItemInfo {
|
|
POINTER_VISIBLE_RED;
|
|
};
|
|
};
|
|
|
|
class ACE_acc_pointer_green: ACE_acc_pointer_red {
|
|
MRT_SwitchItemNextClass = "ACE_acc_pointer_green_IR";
|
|
MRT_SwitchItemPrevClass = "ACE_acc_pointer_green_IR";
|
|
|
|
_generalMacro = "ACE_acc_pointer_green";
|
|
scope = 2;
|
|
displayName = CSTRING(green);
|
|
baseWeapon = "ACE_acc_pointer_green";
|
|
|
|
class ItemInfo: ItemInfo {
|
|
POINTER_VISIBLE_GREEN;
|
|
};
|
|
};
|
|
};
|