ACE3/optionals/compat_rhs_usf3/CfgWeapons.hpp

388 lines
13 KiB
C++
Raw Normal View History

class CfgWeapons {
2015-04-27 13:48:53 +00:00
class Pistol_Base_F;
class Rifle_Base_F;
class srifle_EBR_F;
2015-05-13 19:19:00 +00:00
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;
ACE_barrelLength = 736.6;
ACE_RailHeightAboveBore = 3.8;
};
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;
ACE_Overheating_dispersion = 0.75;
ACE_RailHeightAboveBore = 3.6;
2015-04-27 13:48:53 +00:00
};
class rhs_weap_m24sws: rhs_weap_XM2010_Base_F {
ACE_barrelTwist = 285.75;
ACE_barrelLength = 609.6;
ACE_RailHeightAboveBore = 1.8;
2016-07-28 22:05:53 +00:00
};
class rhs_weap_m40a5: rhs_weap_XM2010_Base_F {
ACE_barrelTwist = 304.8; // 1:12"
ACE_barrelLength = 635.0; // 25"
ACE_RailHeightAboveBore = 2.6;
};
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 {
2015-12-20 20:37:14 +00:00
ACE_barrelTwist = 177.8;
ACE_barrelLength = 368.3;
class M203_GL: UGL_F {
magazines[] += {"ACE_HuntIR_M203"};
2015-06-23 17:55:10 +00:00
};
// Added to the M320_GL in subConfig
2015-04-27 13:48:53 +00:00
};
class rhs_weap_m4a1;
class rhs_weap_hk416d10: rhs_weap_m4a1 {
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 {
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 {
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 {
ACE_barrelTwist = 177.8;
ACE_barrelLength = 508.0;
2015-04-27 13:48:53 +00:00
};
class rhs_weap_lmg_minimi_railed; // Rifle_Base_F - scope = private;
class rhs_weap_m249_pip_S: rhs_weap_lmg_minimi_railed {
ACE_barrelLength = 348;
ACE_barrelTwist = 177.8;
2015-12-20 20:37:14 +00:00
ACE_Overheating_allowSwapBarrel = 1;
};
class rhs_weap_m249_pip_L: rhs_weap_lmg_minimi_railed {
ACE_barrelLength = 464.8;
ACE_barrelTwist = 177.8;
ACE_Overheating_allowSwapBarrel = 1;
};
class rhs_weap_m240_base; // Rifle_Long_Base_F
2015-06-12 02:04:34 +00:00
class rhs_weap_m240B: rhs_weap_m240_base {
ACE_barrelTwist = 304.8;
ACE_barrelLength = 629.92;
ACE_Overheating_allowSwapBarrel = 1;
2015-04-27 13:48:53 +00:00
};
2015-06-12 02:04:34 +00:00
class rhs_weap_m14ebrri: srifle_EBR_F {
2015-12-20 20:37:14 +00:00
ACE_barrelTwist = 304.8;
ACE_barrelLength = 558.8;
ACE_Overheating_dispersion = 0.75;
ACE_RailHeightAboveBore = 3.3;
2015-04-27 13:48:53 +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;
ACE_RailHeightAboveBore = 3.4;
2015-04-27 13:48:53 +00:00
};
2015-06-12 02:04:34 +00:00
class rhs_weap_sr25_ec: rhs_weap_sr25 {
2015-12-20 20:37:14 +00:00
ACE_barrelTwist = 285.75;
ACE_barrelLength = 508.0;
ACE_RailHeightAboveBore = 3.4;
2015-04-27 13:48:53 +00:00
};
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
};
2017-04-16 14:09:50 +00:00
class SMG_02_base_F;
class rhsusf_weap_MP7A1_base_f: SMG_02_base_F {
ACE_barrelTwist = 160.0;
ACE_barrelLength = 180.0;
};
// 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
};
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;
};
// RHS sniper scopes
class ItemCore;
class InventoryOpticsItem_Base_F;
class rhsusf_acc_sniper_base: ItemCore {
ACE_ScopeAdjust_Vertical[] = {-4, 30};
ACE_ScopeAdjust_Horizontal[] = {-6, 6};
ACE_ScopeAdjust_VerticalIncrement = 0.1;
2015-05-23 15:06:46 +00:00
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class pso1_scope {
discreteDistance[] = {100};
discreteDistanceInitIndex = 0;
};
};
};
};
class rhsusf_acc_LEUPOLDMK4: rhsusf_acc_sniper_base {
ACE_ScopeHeightAboveRail = 2.4;
};
class rhsusf_acc_LEUPOLDMK4_2: rhsusf_acc_sniper_base {
ACE_ScopeHeightAboveRail = 3.8;
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class pso1_scope {
discreteDistance[] = {100};
discreteDistanceInitIndex = 0;
};
};
};
};
class rhsusf_acc_LEUPOLDMK4_2_d: rhsusf_acc_LEUPOLDMK4_2 {
ACE_ScopeHeightAboveRail = 3.8;
};
class rhsusf_acc_premier: rhsusf_acc_LEUPOLDMK4_2 {
ACE_ScopeHeightAboveRail = 5.4;
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class pso1_scope {
discreteDistance[] = {100};
discreteDistanceInitIndex = 0;
};
};
};
};
class rhsusf_acc_premier_low: rhsusf_acc_premier {
ACE_ScopeHeightAboveRail = 4.0;
};
class rhsusf_acc_premier_anpvs27: rhsusf_acc_premier {
ACE_ScopeHeightAboveRail = 5.4;
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class pso1_nvg {
discreteDistance[] = {100};
discreteDistanceInitIndex = 0;
};
};
};
};
class rhsusf_acc_M8541: rhsusf_acc_premier { // http://www.schmidtundbender.de/en/products/police-and-military-forces/3-12x50-pm-iilpmtc.html
ACE_ScopeHeightAboveRail = 4.0;
ACE_ScopeAdjust_Vertical[] = {0, 22};
ACE_ScopeAdjust_Horizontal[] = {-6, 6};
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class Snip {
discreteDistance[] = {100};
discreteDistanceInitIndex = 0;
};
};
};
};
class rhsusf_acc_M8541_low: rhsusf_acc_M8541 {
ACE_ScopeHeightAboveRail = 3.0;
};
// RHS lauchers
class rhs_weap_fgm148: launch_O_Titan_F {
ace_javelin_enabled = 1;
weaponInfoType = "ACE_RscOptics_javelin";
2015-05-13 22:04:27 +00:00
modelOptics = "\z\ace\addons\javelin\data\reticle_titan.p3d";
canLock = 0;
lockingTargetSound[] = {"",0,1};
lockedTargetSound[] = {"",0,1};
};
2015-07-01 20:25:19 +00:00
#define HEARING_PROTECTION_VICCREW EGVAR(hearing,protection) = 0.85; EGVAR(hearing,lowerVolume) = 0.6;
#define HEARING_PROTECTION_EARMUFF EGVAR(hearing,protection) = 0.75; EGVAR(hearing,lowerVolume) = 0.5;
#define HEARING_PROTECTION_PELTOR EGVAR(hearing,protection) = 0.75; EGVAR(hearing,lowerVolume) = 0;
// Fast Helmets
class rhsusf_opscore_01;
class rhsusf_opscore_aor1_pelt: rhsusf_opscore_01 {
HEARING_PROTECTION_PELTOR
};
class rhsusf_opscore_aor1_pelt_nsw: rhsusf_opscore_01 {
HEARING_PROTECTION_PELTOR
};
class rhsusf_opscore_bk_pelt: rhsusf_opscore_01 {
HEARING_PROTECTION_PELTOR
};
class rhsusf_opscore_fg_pelt: rhsusf_opscore_01 {
HEARING_PROTECTION_PELTOR
};
class rhsusf_opscore_fg_pelt_nsw: rhsusf_opscore_01 {
HEARING_PROTECTION_PELTOR
};
class rhsusf_opscore_fg_pelt_cam: rhsusf_opscore_01 {
HEARING_PROTECTION_PELTOR
};
class rhsusf_opscore_paint_pelt: rhsusf_opscore_01 {
HEARING_PROTECTION_PELTOR
};
class rhsusf_opscore_paint_pelt_nsw: rhsusf_opscore_01 {
HEARING_PROTECTION_PELTOR
};
class rhsusf_opscore_paint_pelt_nsw_cam: rhsusf_opscore_01 {
HEARING_PROTECTION_PELTOR
};
class rhsusf_opscore_aor2_pelt: rhsusf_opscore_01 {
HEARING_PROTECTION_PELTOR
};
class rhsusf_opscore_aor2_pelt_nsw: rhsusf_opscore_01 {
HEARING_PROTECTION_PELTOR
};
class rhsusf_opscore_ut_pelt: rhsusf_opscore_01 {
HEARING_PROTECTION_PELTOR
};
class rhsusf_opscore_ut_pelt_cam: rhsusf_opscore_01 {
HEARING_PROTECTION_PELTOR
};
class rhsusf_opscore_ut_pelt_nsw_cam: rhsusf_opscore_01 {
HEARING_PROTECTION_PELTOR
};
class rhsusf_opscore_mc_pelt: rhsusf_opscore_01 {
HEARING_PROTECTION_PELTOR
};
class rhsusf_opscore_mc_pelt_nsw: rhsusf_opscore_01 {
HEARING_PROTECTION_PELTOR
};
class rhsusf_opscore_cover;
class rhsusf_opscore_mc_cover_pelt: rhsusf_opscore_cover {
HEARING_PROTECTION_PELTOR
};
class rhsusf_opscore_mc_cover_pelt_cam: rhsusf_opscore_cover {
HEARING_PROTECTION_PELTOR
};
class rhsusf_opscore_rg_cover_pelt: rhsusf_opscore_cover {
HEARING_PROTECTION_PELTOR
};
class rhsusf_opscore_coy_cover_pelt: rhsusf_opscore_cover {
HEARING_PROTECTION_PELTOR
};
class rhsusf_opscore_mar_01;
class rhsusf_opscore_mar_ut_pelt: rhsusf_opscore_mar_01 {
HEARING_PROTECTION_PELTOR
};
class rhsusf_opscore_mar_fg_pelt: rhsusf_opscore_mar_01 {
HEARING_PROTECTION_PELTOR
};
// ACH Helmets
2015-07-26 23:42:02 +00:00
class rhsusf_ach_helmet_ocp;
class rhsusf_ach_bare_des_headset: rhsusf_ach_helmet_ocp {
HEARING_PROTECTION_PELTOR
};
class rhsusf_ach_bare_des_headset_ess: rhsusf_ach_helmet_ocp {
HEARING_PROTECTION_PELTOR
};
class rhsusf_ach_bare_headset: rhsusf_ach_helmet_ocp {
HEARING_PROTECTION_PELTOR
};
class rhsusf_ach_bare_headset_ess: rhsusf_ach_helmet_ocp {
HEARING_PROTECTION_PELTOR
};
class rhsusf_ach_bare_semi_headset: rhsusf_ach_helmet_ocp {
HEARING_PROTECTION_PELTOR
};
class rhsusf_ach_bare_semi_headset_ess: rhsusf_ach_helmet_ocp {
HEARING_PROTECTION_PELTOR
};
class rhsusf_ach_bare_tan_headset: rhsusf_ach_helmet_ocp {
HEARING_PROTECTION_PELTOR
};
class rhsusf_ach_bare_tan_headset_ess: rhsusf_ach_helmet_ocp {
HEARING_PROTECTION_PELTOR
};
class rhsusf_ach_bare_wood_headset: rhsusf_ach_helmet_ocp {
HEARING_PROTECTION_PELTOR
};
class rhsusf_ach_bare_wood_headset_ess: rhsusf_ach_helmet_ocp {
HEARING_PROTECTION_PELTOR
};
class rhsusf_ach_helmet_headset_ocp: rhsusf_ach_helmet_ocp {
HEARING_PROTECTION_PELTOR
};
class rhsusf_ach_helmet_headset_ess_ocp: rhsusf_ach_helmet_ocp {
HEARING_PROTECTION_PELTOR
2015-07-26 23:42:02 +00:00
};
// ACVC Helmets
2015-07-01 20:25:19 +00:00
class rhsusf_cvc_helmet: rhsusf_opscore_01 {
HEARING_PROTECTION_VICCREW
};
// MICH Helmets
class rhsusf_mich_bare;
class rhsusf_mich_bare_alt: rhsusf_mich_bare {
HEARING_PROTECTION_PELTOR
};
class rhsusf_mich_bare_norotos;
class rhsusf_mich_bare_norotos_alt: rhsusf_mich_bare_norotos {
HEARING_PROTECTION_PELTOR
};
class rhsusf_mich_bare_norotos_arc;
class rhsusf_mich_bare_norotos_arc_alt: rhsusf_mich_bare_norotos_arc {
HEARING_PROTECTION_PELTOR
};
class rhsusf_mich_bare_semi;
class rhsusf_mich_bare_alt_semi: rhsusf_mich_bare_semi {
HEARING_PROTECTION_PELTOR
2015-07-01 20:25:19 +00:00
};
class rhsusf_mich_bare_norotos_semi;
class rhsusf_mich_bare_norotos_alt_semi: rhsusf_mich_bare_norotos_semi {
HEARING_PROTECTION_PELTOR
};
class rhsusf_mich_bare_norotos_arc_semi;
class rhsusf_mich_bare_norotos_arc_alt_semi: rhsusf_mich_bare_norotos_arc_semi {
HEARING_PROTECTION_PELTOR
};
class rhsusf_mich_bare_tan;
class rhsusf_mich_bare_alt_tan: rhsusf_mich_bare_tan {
HEARING_PROTECTION_PELTOR
};
class rhsusf_mich_bare_norotos_tan;
class rhsusf_mich_bare_norotos_alt_tan: rhsusf_mich_bare_norotos_tan {
HEARING_PROTECTION_PELTOR
};
class rhsusf_mich_bare_norotos_arc_tan;
class rhsusf_mich_bare_norotos_arc_alt_tan: rhsusf_mich_bare_norotos_arc_tan {
HEARING_PROTECTION_PELTOR
};
2015-07-01 20:25:19 +00:00
class H_PilotHelmetHeli_B;
class H_CrewHelmetHeli_B;
class rhsusf_hgu56p: H_PilotHelmetHeli_B {
HEARING_PROTECTION_VICCREW
2015-07-01 20:25:19 +00:00
};
class rhsusf_hgu56p_mask: H_CrewHelmetHeli_B {
HEARING_PROTECTION_VICCREW
2015-07-01 20:25:19 +00:00
};
class H_HelmetB;
class RHS_jetpilot_usaf: H_HelmetB {
HEARING_PROTECTION_VICCREW
2015-07-01 20:25:19 +00:00
};
};