mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
RHS Compat - Simplify HuntIR mag config (#6580)
* RHS Compat - Simplify HuntIR mag config * x
This commit is contained in:
parent
db6a40f91d
commit
75f8a35d3d
5
optionals/compat_rhs_usf3/CfgMagazineWells.hpp
Normal file
5
optionals/compat_rhs_usf3/CfgMagazineWells.hpp
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
class CfgMagazineWells {
|
||||||
|
class UGL_40x36 { // rhsusf\addons\rhsusf_c_weapons\cfgMagazineWells.hpp
|
||||||
|
ADDON[] = {"ACE_HuntIR_M203"};
|
||||||
|
};
|
||||||
|
};
|
@ -16,11 +16,6 @@ class CfgWeapons {
|
|||||||
class Rifle_Base_F;
|
class Rifle_Base_F;
|
||||||
class srifle_EBR_F;
|
class srifle_EBR_F;
|
||||||
class launch_O_Titan_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 GM6_base_F;
|
||||||
class rhs_weap_M107_Base_F: GM6_base_F {
|
class rhs_weap_M107_Base_F: GM6_base_F {
|
||||||
ACE_barrelTwist = 381.0;
|
ACE_barrelTwist = 381.0;
|
||||||
@ -48,10 +43,6 @@ class CfgWeapons {
|
|||||||
ACE_RailHeightAboveBore = 2.56518;
|
ACE_RailHeightAboveBore = 2.56518;
|
||||||
ACE_barrelTwist = 177.8;
|
ACE_barrelTwist = 177.8;
|
||||||
ACE_barrelLength = 368.3;
|
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_m4a1;
|
||||||
class rhs_weap_hk416d10: rhs_weap_m4a1 {
|
class rhs_weap_hk416d10: rhs_weap_m4a1 {
|
||||||
|
@ -17,6 +17,7 @@ class CfgPatches {
|
|||||||
#include "CfgAmmo.hpp"
|
#include "CfgAmmo.hpp"
|
||||||
#include "CfgEventHandlers.hpp"
|
#include "CfgEventHandlers.hpp"
|
||||||
#include "CfgMagazines.hpp"
|
#include "CfgMagazines.hpp"
|
||||||
|
#include "CfgMagazineWells.hpp"
|
||||||
#include "CfgWeapons.hpp"
|
#include "CfgWeapons.hpp"
|
||||||
#include "CfgVehicles.hpp"
|
#include "CfgVehicles.hpp"
|
||||||
#include "CfgGlasses.hpp"
|
#include "CfgGlasses.hpp"
|
||||||
|
@ -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"};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
Loading…
Reference in New Issue
Block a user