2015-01-17 22:38:13 +00:00
|
|
|
|
|
|
|
class SlotInfo;
|
|
|
|
class PointerSlot: SlotInfo {
|
2015-04-13 22:32:09 +00:00
|
|
|
compatibleItems[] += {"ACE_acc_pointer_red","ACE_acc_pointer_green_IR","ACE_acc_pointer_green"};
|
2015-01-17 22:38:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class CfgWeapons {
|
|
|
|
class ItemCore;
|
|
|
|
class InventoryFlashLightItem_Base_F;
|
|
|
|
|
2015-04-13 22:32:09 +00:00
|
|
|
class acc_pointer_IR: ItemCore {
|
2017-02-25 16:16:40 +00:00
|
|
|
MRT_SwitchItemNextClass = "ACE_acc_pointer_red";
|
|
|
|
MRT_SwitchItemPrevClass = "ACE_acc_pointer_red";
|
|
|
|
MRT_switchItemHintText = CSTRING(IRLaser);
|
2015-04-13 22:32:09 +00:00
|
|
|
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(red);
|
|
|
|
descriptionUse = CSTRING(useLaser);
|
2015-04-13 22:32:09 +00:00
|
|
|
};
|
|
|
|
|
2015-01-17 22:38:13 +00:00
|
|
|
class ACE_acc_pointer_red: ItemCore {
|
2017-02-25 16:16:40 +00:00
|
|
|
MRT_SwitchItemNextClass = "acc_pointer_IR";
|
|
|
|
MRT_SwitchItemPrevClass = "acc_pointer_IR";
|
|
|
|
MRT_switchItemHintText = CSTRING(Laser);
|
2015-04-13 22:32:09 +00:00
|
|
|
|
2015-04-30 16:51:30 +00:00
|
|
|
ACE_laserpointer = 1;
|
|
|
|
|
2015-05-27 20:04:41 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
2015-01-17 22:38:13 +00:00
|
|
|
_generalMacro = "ACE_acc_pointer_red";
|
2015-04-13 22:32:09 +00:00
|
|
|
scope = 1;
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(red);
|
|
|
|
descriptionUse = CSTRING(useLaser);
|
2015-01-17 22:38:13 +00:00
|
|
|
picture = "\A3\weapons_F\Data\UI\gear_accv_pointer_CA.paa";
|
|
|
|
model = "\A3\weapons_f\acc\accv_pointer_F";
|
2015-05-27 17:04:25 +00:00
|
|
|
descriptionShort = CSTRING(Description);
|
2015-01-17 22:38:13 +00:00
|
|
|
|
|
|
|
class ItemInfo: InventoryFlashLightItem_Base_F {
|
|
|
|
mass = 6;
|
|
|
|
|
|
|
|
class Pointer {};
|
|
|
|
|
|
|
|
class FlashLight {
|
|
|
|
color[] = {0,0,0};
|
|
|
|
ambient[] = {0,0,0};
|
|
|
|
intensity = 0;
|
|
|
|
size = 0;
|
|
|
|
innerAngle = 0;
|
|
|
|
outerAngle = 0;
|
|
|
|
coneFadeCoef = 5;
|
|
|
|
position = "flash dir";
|
|
|
|
direction = "flash";
|
|
|
|
useFlare = 0;
|
|
|
|
flareSize = 0;
|
|
|
|
flareMaxDistance = "100.0f";
|
|
|
|
dayLight = 0;
|
|
|
|
|
|
|
|
class Attenuation {
|
|
|
|
start = 0;
|
|
|
|
constant = 0;
|
|
|
|
linear = 0;
|
|
|
|
quadratic = 0;
|
|
|
|
hardLimitStart = 0;
|
|
|
|
hardLimitEnd = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
scale[] = {0};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
inertia = 0.1;
|
|
|
|
};
|
|
|
|
|
2015-04-13 22:32:09 +00:00
|
|
|
class ACE_acc_pointer_green_IR: acc_pointer_IR {
|
2017-02-25 16:16:40 +00:00
|
|
|
MRT_SwitchItemNextClass = "ACE_acc_pointer_green";
|
|
|
|
MRT_SwitchItemPrevClass = "ACE_acc_pointer_green";
|
|
|
|
MRT_switchItemHintText = CSTRING(IRLaser);
|
2015-04-13 22:32:09 +00:00
|
|
|
|
2015-05-27 20:04:41 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
2015-04-13 22:32:09 +00:00
|
|
|
_generalMacro = "ACE_acc_pointer_green";
|
|
|
|
scope = 1;
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(green);
|
2015-04-13 22:32:09 +00:00
|
|
|
};
|
|
|
|
|
2015-01-17 22:38:13 +00:00
|
|
|
class ACE_acc_pointer_green: ACE_acc_pointer_red {
|
2017-02-25 16:16:40 +00:00
|
|
|
MRT_SwitchItemNextClass = "ACE_acc_pointer_green_IR";
|
|
|
|
MRT_SwitchItemPrevClass = "ACE_acc_pointer_green_IR";
|
|
|
|
MRT_switchItemHintText = CSTRING(Laser);
|
2015-04-13 22:32:09 +00:00
|
|
|
|
2015-04-30 16:51:30 +00:00
|
|
|
ACE_laserpointer = 2;
|
|
|
|
|
2015-05-27 20:04:41 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
2015-01-17 22:38:13 +00:00
|
|
|
_generalMacro = "ACE_acc_pointer_green";
|
2015-04-13 22:32:09 +00:00
|
|
|
scope = 2;
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(green);
|
2015-01-17 22:38:13 +00:00
|
|
|
};
|
|
|
|
};
|