RHS Compat - Simplify HuntIR mag config (#6580)

* RHS Compat - Simplify HuntIR mag config

* x
This commit is contained in:
PabstMirror 2018-09-17 13:22:18 -05:00 committed by GitHub
parent db6a40f91d
commit 75f8a35d3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 35 deletions

View File

@ -0,0 +1,5 @@
class CfgMagazineWells {
class UGL_40x36 { // rhsusf\addons\rhsusf_c_weapons\cfgMagazineWells.hpp
ADDON[] = {"ACE_HuntIR_M203"};
};
};

View File

@ -16,11 +16,6 @@ class CfgWeapons {
class Rifle_Base_F;
class srifle_EBR_F;
class launch_O_Titan_F;
class UGL_F;
class rhs_weap_M320_Base_F: Pistol_Base_F { // Standalone M320 (pistol slot)
magazines[] += {"ACE_HuntIR_M203"};
};
class GM6_base_F;
class rhs_weap_M107_Base_F: GM6_base_F {
ACE_barrelTwist = 381.0;
@ -48,10 +43,6 @@ class CfgWeapons {
ACE_RailHeightAboveBore = 2.56518;
ACE_barrelTwist = 177.8;
ACE_barrelLength = 368.3;
class M203_GL: UGL_F {
magazines[] += {"ACE_HuntIR_M203"};
};
// Added to the M320_GL in subConfig
};
class rhs_weap_m4a1;
class rhs_weap_hk416d10: rhs_weap_m4a1 {

View File

@ -17,6 +17,7 @@ class CfgPatches {
#include "CfgAmmo.hpp"
#include "CfgEventHandlers.hpp"
#include "CfgMagazines.hpp"
#include "CfgMagazineWells.hpp"
#include "CfgWeapons.hpp"
#include "CfgVehicles.hpp"
#include "CfgGlasses.hpp"

View File

@ -1,26 +0,0 @@
#include "\z\ace\addons\compat_rhs_usf3\script_component.hpp"
#undef COMPONENT
#define COMPONENT compat_rhs_usf3_sub
class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_compat_rhs_usf3"};
author = ECSTRING(common,ACETeam);
url = ECSTRING(main,URL);
VERSION_CONFIG;
};
};
class CfgWeapons {
class arifle_MX_Base_F;
class rhs_weap_m4_Base: arifle_MX_Base_F {
class M203_GL;
class M320_GL: M203_GL {
magazines[] += {"ACE_HuntIR_M203"};
};
};
};