ACE3/optionals/compat_rh_acc/CfgWeapons.hpp
Dedmen Miller a614744e31 AB compat rail/scope height update (#5650)
* Compat rail/scope height update

* fix
2017-10-23 15:02:48 +02:00

176 lines
5.7 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;
};
};
};
};
/* Flashlights */
class InventoryFlashLightItem_Base_F;
class RH_SFM952V: ItemCore {
class ItemInfo: InventoryFlashLightItem_Base_F {
class FlashLight {
ACE_Flashlight_Colour = "white";
ACE_Flashlight_Beam = QPATHTOEF(map,UI\Flashlight_beam_white_ca.paa);
ACE_Flashlight_Size = 2.75;
ACE_Flashlight_Sound = 1;
};
};
};
};