From 100a25cb97674bb457a6ba8711889ed77462cdc5 Mon Sep 17 00:00:00 2001 From: jonpas Date: Sat, 21 Jan 2017 19:19:56 +0100 Subject: [PATCH] Add RH Acc Surefire flashlight map compatibility --- optionals/compat_rh_acc/CfgWeapons.hpp | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/optionals/compat_rh_acc/CfgWeapons.hpp b/optionals/compat_rh_acc/CfgWeapons.hpp index ffd18bc12e..2d1b84b5a2 100644 --- a/optionals/compat_rh_acc/CfgWeapons.hpp +++ b/optionals/compat_rh_acc/CfgWeapons.hpp @@ -1,18 +1,18 @@ class CfgWeapons { class ItemCore; + + /* Scopes */ class InventoryOpticsItem_Base_F; - - /* + // This would require MOA turrets - class RH_shortdot : ItemCore { + /*class RH_shortdot : ItemCore { ACE_ScopeAdjust_Vertical[] = { -1, 25 }; ACE_ScopeAdjust_Horizontal[] = { -13, 13 }; ACE_ScopeAdjust_VerticalIncrement = 0.5; ACE_ScopeAdjust_Unit = "MOA"; - }; - */ - + };*/ + class RH_accupoint : ItemCore { ACE_ScopeAdjust_Vertical[] = { -4, 30 }; ACE_ScopeAdjust_Horizontal[] = { -6, 6 }; @@ -147,4 +147,18 @@ class CfgWeapons { }; }; }; + + /* 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; + }; + }; + }; };