ACE3/optionals/compat_rh_acc/CfgWeapons.hpp
Dystopian 1fe7c5c29c Map - Improve flashlight support (#6608)
* Improve flashlight support

* Speed up items check loop

* Speed up more

* Remove useless var
2018-10-25 11:39:27 -05:00

162 lines
5.2 KiB
C++

class CfgWeapons {
class ItemCore;
/* Scopes */
class InventoryOpticsItem_Base_F;
class RH_shortdot : ItemCore {
ACE_ScopeHeightAboveRail = 4.40511;
/* // This would require MOA turrets
ACE_ScopeAdjust_Vertical[] = { -1, 25 };
ACE_ScopeAdjust_Horizontal[] = { -13, 13 };
ACE_ScopeAdjust_VerticalIncrement = 0.5;
ACE_ScopeAdjust_Unit = "MOA";
*/
};
class RH_accupoint : ItemCore {
ACE_ScopeHeightAboveRail = 3.726;
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class Accupoint {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
class RH_m3lr : ItemCore {
ACE_ScopeHeightAboveRail = 3.5751;
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class m3lr {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
class RH_leu_mk4 : ItemCore {
ACE_ScopeHeightAboveRail = 4.64216;
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class mk4 {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
class RH_c79 : ItemCore {
ACE_ScopeHeightAboveRail = 4.16731;
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class c79scope {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
class RH_c79_2d : ItemCore {
ACE_ScopeHeightAboveRail = 4.16731;
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class c79scope {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
class RH_anpvs10 : ItemCore {
ACE_ScopeHeightAboveRail = 2.64379;
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class pvs10 {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
class RH_pas13cm : ItemCore {
ACE_ScopeHeightAboveRail = 10.601;
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class MTWS {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
class RH_pas13cmg : ItemCore {
ACE_ScopeHeightAboveRail = 10.601;
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class MTWSmg {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
class RH_pas13ch : ItemCore {
ACE_ScopeHeightAboveRail = 10.6017;
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class HTWS {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
};