2016-07-28 21:50:52 +00:00
|
|
|
class CfgWeapons {
|
2015-04-27 13:48:53 +00:00
|
|
|
class Pistol_Base_F;
|
|
|
|
class Rifle_Base_F;
|
2020-05-10 15:20:56 +00:00
|
|
|
class rhs_weap_m14ebrri_base;
|
2016-07-28 21:50:52 +00:00
|
|
|
class GM6_base_F;
|
|
|
|
class rhs_weap_M107_Base_F: GM6_base_F {
|
|
|
|
ACE_barrelTwist = 381.0;
|
|
|
|
ACE_barrelLength = 736.6;
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 4.18639;
|
2016-07-28 21:50:52 +00:00
|
|
|
};
|
2015-06-12 02:04:34 +00:00
|
|
|
class rhs_weap_XM2010_Base_F: Rifle_Base_F {
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelTwist = 254.0;
|
|
|
|
ACE_barrelLength = 609.6;
|
2023-07-16 17:27:09 +00:00
|
|
|
EGVAR(overheating,dispersion) = 0.75;
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 3.1028;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2017-01-09 18:11:31 +00:00
|
|
|
class rhs_weap_m24sws: rhs_weap_XM2010_Base_F {
|
2016-07-28 21:50:52 +00:00
|
|
|
ACE_barrelTwist = 285.75;
|
|
|
|
ACE_barrelLength = 609.6;
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 2.41891;
|
2016-07-28 22:05:53 +00:00
|
|
|
};
|
2017-02-11 20:24:54 +00:00
|
|
|
class rhs_weap_m40a5: rhs_weap_XM2010_Base_F {
|
|
|
|
ACE_barrelTwist = 304.8; // 1:12"
|
|
|
|
ACE_barrelLength = 635.0; // 25"
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 2.46368;
|
2017-05-17 02:40:07 +00:00
|
|
|
};
|
2015-04-27 13:48:53 +00:00
|
|
|
class arifle_MX_Base_F;
|
2015-06-12 02:04:34 +00:00
|
|
|
class rhs_weap_m4_Base: arifle_MX_Base_F {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 2.56518;
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelTwist = 177.8;
|
|
|
|
ACE_barrelLength = 368.3;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2016-07-28 21:50:52 +00:00
|
|
|
class rhs_weap_m4a1;
|
|
|
|
class rhs_weap_hk416d10: rhs_weap_m4a1 {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 3.56139;
|
2016-07-28 21:50:52 +00:00
|
|
|
ACE_barrelTwist = 177.8;
|
|
|
|
ACE_barrelLength = 254;
|
|
|
|
};
|
|
|
|
class rhs_weap_hk416d145: rhs_weap_hk416d10 {
|
|
|
|
ACE_barrelTwist = 177.8;
|
|
|
|
ACE_barrelLength = 368.3;
|
|
|
|
};
|
|
|
|
class rhs_weap_m27iar: rhs_weap_m4a1 {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 3.56139;
|
2016-07-28 21:50:52 +00:00
|
|
|
ACE_barrelTwist = 177.8;
|
|
|
|
ACE_barrelLength = 419.1;
|
|
|
|
};
|
2016-05-20 00:53:23 +00:00
|
|
|
class rhs_weap_m4a1_blockII;
|
|
|
|
class rhs_weap_mk18: rhs_weap_m4a1_blockII {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 2.6068;
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelTwist = 177.8;
|
|
|
|
ACE_barrelLength = 261.62;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2015-06-12 02:04:34 +00:00
|
|
|
class rhs_weap_m16a4: rhs_weap_m4_Base {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 2.59324;
|
2015-12-17 23:04:30 +00:00
|
|
|
ACE_barrelTwist = 177.8;
|
|
|
|
ACE_barrelLength = 508.0;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2018-11-17 16:11:47 +00:00
|
|
|
class rhs_weap_saw_base: Rifle_Base_F { // Base class for all Minimi
|
2022-01-26 01:33:05 +00:00
|
|
|
EGVAR(overheating,allowSwapBarrel) = 1;
|
|
|
|
EGVAR(overheating,closedBolt) = 0;
|
2018-11-17 16:11:47 +00:00
|
|
|
};
|
|
|
|
class rhs_weap_lmg_minimi_railed;
|
2016-07-28 21:50:52 +00:00
|
|
|
class rhs_weap_m249_pip_S: rhs_weap_lmg_minimi_railed {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 4.11044;
|
2017-01-09 18:11:31 +00:00
|
|
|
ACE_barrelLength = 348;
|
2015-12-17 23:04:30 +00:00
|
|
|
ACE_barrelTwist = 177.8;
|
2016-07-28 21:50:52 +00:00
|
|
|
};
|
|
|
|
class rhs_weap_m249_pip_L: rhs_weap_lmg_minimi_railed {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 4.34899;
|
2016-09-03 20:00:15 +00:00
|
|
|
ACE_barrelLength = 464.8;
|
2016-07-28 21:50:52 +00:00
|
|
|
ACE_barrelTwist = 177.8;
|
|
|
|
};
|
2020-06-13 20:55:05 +00:00
|
|
|
class rhs_weap_m249: rhs_weap_lmg_minimi_railed {
|
|
|
|
ACE_barrelLength = 464.8;
|
|
|
|
ACE_barrelTwist = 177.8;
|
|
|
|
};
|
|
|
|
class rhs_weap_m249_pip: rhs_weap_lmg_minimi_railed {
|
|
|
|
ACE_barrelLength = 464.8;
|
|
|
|
ACE_barrelTwist = 177.8;
|
|
|
|
};
|
|
|
|
class rhs_weap_M249_base;
|
|
|
|
class rhs_weap_m240_base: rhs_weap_M249_base {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 4.3987;
|
2015-12-17 23:04:30 +00:00
|
|
|
ACE_barrelTwist = 304.8;
|
|
|
|
ACE_barrelLength = 629.92;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2020-06-13 20:55:05 +00:00
|
|
|
class rhs_weap_m14_base;
|
|
|
|
class rhs_weap_m14: rhs_weap_m14_base {
|
|
|
|
ACE_barrelTwist = 304.8;
|
|
|
|
ACE_barrelLength = 558.8;
|
2023-07-16 17:27:09 +00:00
|
|
|
EGVAR(overheating,dispersion) = 0.75;
|
2020-06-13 20:55:05 +00:00
|
|
|
};
|
2020-05-10 15:20:56 +00:00
|
|
|
class rhs_weap_m14ebrri: rhs_weap_m14ebrri_base {
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelTwist = 304.8;
|
|
|
|
ACE_barrelLength = 558.8;
|
2023-07-16 17:27:09 +00:00
|
|
|
EGVAR(overheating,dispersion) = 0.75;
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 3.08341;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2020-07-22 15:25:09 +00:00
|
|
|
class rhs_weap_m14_socom_base: rhs_weap_m14_base {
|
2020-06-13 20:55:05 +00:00
|
|
|
ACE_barrelTwist = 304.8;
|
|
|
|
ACE_barrelLength = 413; //16.25 in (413 mm)
|
2023-07-16 17:27:09 +00:00
|
|
|
EGVAR(overheating,dispersion) = 0.75;
|
2020-06-13 20:55:05 +00:00
|
|
|
};
|
2015-06-12 02:04:34 +00:00
|
|
|
class rhs_weap_sr25: rhs_weap_m14ebrri {
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelTwist = 285.75;
|
|
|
|
ACE_barrelLength = 609.6;
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 3.13162;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2015-06-12 02:04:34 +00:00
|
|
|
class rhs_weap_sr25_ec: rhs_weap_sr25 {
|
2020-08-25 00:34:43 +00:00
|
|
|
ACE_barrelLength = 508.0;
|
|
|
|
ACE_RailHeightAboveBore = 3.13689;
|
|
|
|
};
|
|
|
|
class rhs_weap_sr25_d;
|
|
|
|
class rhs_weap_sr25_ec_d: rhs_weap_sr25_d {
|
|
|
|
ACE_barrelLength = 508.0;
|
|
|
|
ACE_RailHeightAboveBore = 3.13689;
|
|
|
|
};
|
|
|
|
class rhs_weap_sr25_wd;
|
|
|
|
class rhs_weap_sr25_ec_wd: rhs_weap_sr25_wd {
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelLength = 508.0;
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 3.13689;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2020-06-13 20:55:05 +00:00
|
|
|
class rhs_weap_SCAR_H_Base;
|
|
|
|
class rhs_weap_SCAR_H_CQC_Base: rhs_weap_SCAR_H_Base {
|
|
|
|
ACE_barrelTwist = 304.8; // 1:12"
|
|
|
|
ACE_barrelLength = 330.0;
|
|
|
|
};
|
2020-07-22 15:25:09 +00:00
|
|
|
class rhs_weap_SCAR_H_LB_Base: rhs_weap_SCAR_H_Base {
|
2020-06-13 20:55:05 +00:00
|
|
|
ACE_barrelTwist = 304.8; // 1:12"
|
|
|
|
ACE_barrelLength = 508.0;
|
|
|
|
};
|
2020-07-22 15:25:09 +00:00
|
|
|
class rhs_weap_SCAR_H_STD_Base: rhs_weap_SCAR_H_Base {
|
2020-06-13 20:55:05 +00:00
|
|
|
ACE_barrelTwist = 304.8; // 1:12"
|
|
|
|
ACE_barrelLength = 406.0;
|
|
|
|
};
|
2015-06-12 02:04:34 +00:00
|
|
|
class rhs_weap_M590_5RD: Rifle_Base_F {
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelTwist = 0.0;
|
|
|
|
ACE_twistDirection = 0;
|
|
|
|
ACE_barrelLength = 469.9;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2015-06-12 02:04:34 +00:00
|
|
|
class rhs_weap_M590_8RD: rhs_weap_M590_5RD {
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelTwist = 0.0;
|
|
|
|
ACE_twistDirection = 0;
|
|
|
|
ACE_barrelLength = 508.0;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2021-10-15 18:47:05 +00:00
|
|
|
class rhs_weap_m32_Base_F: Rifle_Base_F {
|
2023-07-16 17:27:09 +00:00
|
|
|
EGVAR(overheating,jamTypesAllowed)[] = {"Fire", "Dud"};
|
2021-10-14 15:47:52 +00:00
|
|
|
};
|
2017-04-16 14:09:50 +00:00
|
|
|
class SMG_02_base_F;
|
|
|
|
class rhsusf_weap_MP7A1_base_f: SMG_02_base_F {
|
2019-05-30 18:34:18 +00:00
|
|
|
ACE_barrelLength = 180;
|
|
|
|
ACE_barrelTwist = 160;
|
|
|
|
ACE_IronSightBaseAngle = -0.286479; // 5 mRad POA = POI at the default discreteDistance 100 m, SMG_02_base_F default value 0.434847
|
|
|
|
ACE_RailBaseAngle = 0; // SMG_02_base_F default value 0.0217724
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 5;
|
2016-07-28 21:50:52 +00:00
|
|
|
};
|
|
|
|
// RHS pistols
|
2015-04-27 13:48:53 +00:00
|
|
|
class hgun_ACPC2_F;
|
2015-06-12 02:04:34 +00:00
|
|
|
class rhsusf_weap_m1911a1: hgun_ACPC2_F {
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelTwist = 406.4;
|
|
|
|
ACE_barrelLength = 127.0;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2016-07-28 21:50:52 +00:00
|
|
|
class hgun_P07_F;
|
|
|
|
class rhsusf_weap_glock17g4: hgun_P07_F {
|
|
|
|
ACE_barrelTwist = 248.92;
|
|
|
|
ACE_barrelLength = 114.046;
|
|
|
|
};
|
|
|
|
class rhsusf_weap_m9: rhsusf_weap_glock17g4 {
|
|
|
|
ACE_barrelTwist = 248.92;
|
|
|
|
ACE_barrelLength = 124.46;
|
|
|
|
};
|
2021-10-14 15:47:52 +00:00
|
|
|
class rhs_weap_M320_Base_F: Pistol_Base_F {
|
2023-07-16 17:27:09 +00:00
|
|
|
EGVAR(overheating,jamTypesAllowed)[] = {"Fire", "Dud"};
|
2021-10-14 15:47:52 +00:00
|
|
|
};
|
|
|
|
|
2023-09-03 16:36:19 +00:00
|
|
|
// RHS launchers
|
2022-08-01 17:32:02 +00:00
|
|
|
class launch_O_Titan_F;
|
2015-07-01 20:25:19 +00:00
|
|
|
|
2022-08-01 17:32:02 +00:00
|
|
|
class rhs_weap_fim92: launch_O_Titan_F {
|
|
|
|
EGVAR(overpressure,range) = 6;
|
|
|
|
EGVAR(overpressure,angle) = 40;
|
|
|
|
EGVAR(overpressure,damage) = 0.6;
|
|
|
|
EGVAR(overpressure,offset) = 1.45;
|
|
|
|
};
|
|
|
|
|
2023-09-03 16:36:19 +00:00
|
|
|
class Launcher_Base_F;
|
2022-08-01 17:32:02 +00:00
|
|
|
|
2017-10-10 15:27:49 +00:00
|
|
|
class rhs_weap_smaw: Launcher_Base_F {
|
2022-08-01 17:32:02 +00:00
|
|
|
EGVAR(reloadlaunchers,enabled) = 1;
|
|
|
|
EGVAR(overpressure,angle) = 45;
|
|
|
|
EGVAR(overpressure,offset) = 1.3;
|
2017-10-10 15:27:49 +00:00
|
|
|
};
|
2022-08-01 17:32:02 +00:00
|
|
|
|
2017-10-10 15:27:49 +00:00
|
|
|
class rhs_weap_maaws: Launcher_Base_F {
|
2022-08-01 17:32:02 +00:00
|
|
|
EGVAR(reloadlaunchers,enabled) = 1;
|
|
|
|
EGVAR(overpressure,range) = 15;
|
|
|
|
EGVAR(overpressure,angle) = 70;
|
|
|
|
EGVAR(overpressure,damage) = 0.75;
|
|
|
|
EGVAR(overpressure,offset) = 0.95;
|
|
|
|
};
|
|
|
|
|
|
|
|
class rhs_weap_M136: Launcher_Base_F {
|
|
|
|
EGVAR(overpressure,range) = 10;
|
|
|
|
EGVAR(overpressure,angle) = 50;
|
|
|
|
EGVAR(overpressure,offset) = 0.9;
|
2017-10-10 15:27:49 +00:00
|
|
|
};
|
2017-05-17 02:40:07 +00:00
|
|
|
|
2024-07-20 19:19:18 +00:00
|
|
|
class rhsusf_hgu56p;
|
2019-12-19 16:20:20 +00:00
|
|
|
class rhsusf_hgu56p_visor: rhsusf_hgu56p {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_black;
|
|
|
|
class rhsusf_hgu56p_visor_black: rhsusf_hgu56p_black {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_green;
|
|
|
|
class rhsusf_hgu56p_visor_green: rhsusf_hgu56p_green {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_visor_mask: rhsusf_hgu56p {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_visor_mask_black: rhsusf_hgu56p_black {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_visor_mask_Empire_black: rhsusf_hgu56p_black {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_visor_mask_green: rhsusf_hgu56p_green {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_mask_smiley;
|
|
|
|
class rhsusf_hgu56p_visor_mask_smiley: rhsusf_hgu56p_mask_smiley {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_pink;
|
|
|
|
class rhsusf_hgu56p_visor_mask_pink: rhsusf_hgu56p_pink {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_visor_pink: rhsusf_hgu56p_pink {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_saf;
|
|
|
|
class rhsusf_hgu56p_visor_saf: rhsusf_hgu56p_saf {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_usa;
|
|
|
|
class rhsusf_hgu56p_visor_usa: rhsusf_hgu56p_usa {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_white;
|
|
|
|
class rhsusf_hgu56p_visor_white: rhsusf_hgu56p_white {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_visor_mask_black_skull;
|
|
|
|
class rhsusf_hgu56p_mask_black_skull: rhsusf_hgu56p_visor_mask_black_skull {
|
|
|
|
ACE_Protection = 0;
|
|
|
|
};
|
2015-07-01 20:25:19 +00:00
|
|
|
|
|
|
|
class H_HelmetB;
|
|
|
|
class RHS_jetpilot_usaf: H_HelmetB {
|
2019-12-19 16:20:20 +00:00
|
|
|
ACE_Protection = 1;
|
2015-07-01 20:25:19 +00:00
|
|
|
};
|
2015-05-23 19:22:15 +00:00
|
|
|
};
|