ACE3/optionals/compat_rhs_usf3/CfgWeapons.hpp

232 lines
7.9 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;
2015-07-01 20:25:19 +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;
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;
ACE_Overheating_Dispersion[] = {0, 0.001, 0.002, 0.004};
ACE_Overheating_SlowdownFactor[] = {1, 1, 1, 0.9};
ACE_Overheating_JamChance[] = {0, 0.0003, 0.0015, 0.0075};
2015-06-23 17:55:10 +00:00
class M203_GL : UGL_F {
magazines[] = {
"rhs_mag_M441_HE",
"rhs_mag_M433_HEDP",
"rhs_mag_M4009",
"rhs_mag_m576",
"rhs_mag_M585_white",
"rhs_mag_M661_green",
"rhs_mag_M662_red",
"rhs_mag_M713_red",
"rhs_mag_M714_white",
"rhs_mag_M715_green",
"rhs_mag_M716_yellow",
2015-06-23 17:55:10 +00:00
//bis compatibility
"1Rnd_HE_Grenade_shell",
"UGL_FlareWhite_F",
"UGL_FlareGreen_F",
"UGL_FlareRed_F",
"UGL_FlareYellow_F",
"UGL_FlareCIR_F",
"1Rnd_Smoke_Grenade_shell",
"1Rnd_SmokeRed_Grenade_shell",
"1Rnd_SmokeGreen_Grenade_shell",
"1Rnd_SmokeYellow_Grenade_shell",
"1Rnd_SmokePurple_Grenade_shell",
"1Rnd_SmokeBlue_Grenade_shell",
"1Rnd_SmokeOrange_Grenade_shell",
"3Rnd_HE_Grenade_shell",
"3Rnd_UGL_FlareWhite_F",
"3Rnd_UGL_FlareGreen_F",
"3Rnd_UGL_FlareRed_F",
"3Rnd_UGL_FlareYellow_F",
"3Rnd_UGL_FlareCIR_F",
"3Rnd_Smoke_Grenade_shell",
"3Rnd_SmokeRed_Grenade_shell",
"3Rnd_SmokeGreen_Grenade_shell",
"3Rnd_SmokeYellow_Grenade_shell",
"3Rnd_SmokePurple_Grenade_shell",
"3Rnd_SmokeBlue_Grenade_shell",
"3Rnd_SmokeOrange_Grenade_shell",
2015-07-26 23:42:02 +00:00
2015-06-23 17:55:10 +00:00
//ACE3 Compatibility
"ACE_HuntIR_M203"
};
};
class M320_GL : M203_GL {
magazines[] = {
"rhs_mag_M441_HE",
"rhs_mag_M433_HEDP",
"rhs_mag_M4009",
"rhs_mag_m576",
"rhs_mag_M585_white",
"rhs_mag_M661_green",
"rhs_mag_M662_red",
"rhs_mag_M713_red",
"rhs_mag_M714_white",
"rhs_mag_M715_green",
"rhs_mag_M716_yellow",
2015-06-23 17:55:10 +00:00
//bis compatibility
"1Rnd_HE_Grenade_shell",
"UGL_FlareWhite_F",
"UGL_FlareGreen_F",
"UGL_FlareRed_F",
"UGL_FlareYellow_F",
"UGL_FlareCIR_F",
"1Rnd_Smoke_Grenade_shell",
"1Rnd_SmokeRed_Grenade_shell",
"1Rnd_SmokeGreen_Grenade_shell",
"1Rnd_SmokeYellow_Grenade_shell",
"1Rnd_SmokePurple_Grenade_shell",
"1Rnd_SmokeBlue_Grenade_shell",
"1Rnd_SmokeOrange_Grenade_shell",
"3Rnd_HE_Grenade_shell",
"3Rnd_UGL_FlareWhite_F",
"3Rnd_UGL_FlareGreen_F",
"3Rnd_UGL_FlareRed_F",
"3Rnd_UGL_FlareYellow_F",
"3Rnd_UGL_FlareCIR_F",
"3Rnd_Smoke_Grenade_shell",
"3Rnd_SmokeRed_Grenade_shell",
"3Rnd_SmokeGreen_Grenade_shell",
"3Rnd_SmokeYellow_Grenade_shell",
"3Rnd_SmokePurple_Grenade_shell",
"3Rnd_SmokeBlue_Grenade_shell",
"3Rnd_SmokeOrange_Grenade_shell",
2015-07-26 23:42:02 +00:00
2015-06-23 17:55:10 +00:00
//ACE3 Compatibility
"ACE_HuntIR_M203"
};
};
2015-04-27 13:48:53 +00:00
};
2015-04-27 13:46:49 +00:00
class rhs_weap_m4a1;
2015-06-12 02:04:34 +00:00
class rhs_weap_mk18: rhs_weap_m4a1 {
2015-12-20 20:37:14 +00:00
ACE_barrelTwist = 177.8;
ACE_barrelLength = 261.62;
ACE_Overheating_Dispersion[] = {0, 0.001, 0.002, 0.004};
ACE_Overheating_SlowdownFactor[] = {1, 1, 1, 0.9};
ACE_Overheating_JamChance[] = {0, 0.0003, 0.0015, 0.0075};
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_minimipara;
class rhs_weap_lmg_minimi_railed : rhs_weap_lmg_minimipara {
ACE_barrelLength = 465.0;
ACE_barrelTwist = 177.8;
2015-12-20 20:37:14 +00:00
ACE_Overheating_allowSwapBarrel = 1;
ACE_Overheating_Dispersion[] = {0, -0.001, 0.001, 0.003};
ACE_Overheating_SlowdownFactor[] = {1, 1, 1, 0.9};
ACE_Overheating_JamChance[] = {0, 0.0003, 0.0015, 0.0075};
};
2015-06-12 02:04:34 +00:00
class rhs_weap_m240_base;
class rhs_weap_m240B: rhs_weap_m240_base {
ACE_barrelTwist = 304.8;
ACE_barrelLength = 629.92;
ACE_Overheating_allowSwapBarrel = 1;
2015-12-20 20:37:14 +00:00
ACE_Overheating_Dispersion[] = {0, -0.001, 0.001, 0.004};
ACE_Overheating_SlowdownFactor[] = {1, 1, 1, 0.9};
ACE_Overheating_JamChance[] = {0, 0.0003, 0.0015, 0.0075};
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;
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;
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;
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
};
2015-07-01 20:25:19 +00:00
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
};
2015-07-01 20:25:19 +00:00
class rhsusf_acc_sniper_base;
class rhsusf_acc_LEUPOLDMK4: rhsusf_acc_sniper_base {
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 rhsusf_acc_LEUPOLDMK4_2: rhsusf_acc_sniper_base {
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;
};
2015-07-01 20:25:19 +00:00
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";
2015-07-01 20:25:19 +00:00
canLock = 0;
lockingTargetSound[] = {"",0,1};
lockedTargetSound[] = {"",0,1};
};
2015-07-01 20:25:19 +00:00
2015-07-26 23:42:02 +00:00
class rhsusf_ach_helmet_ocp;
class rhsusf_opscore_01: rhsusf_ach_helmet_ocp {
ace_hearing_protection = 0.50;
ace_hearing_lowerVolume = 0.60;
};
class rhsusf_opscore_01_tan: rhsusf_opscore_01 {};
class rhsusf_opscore_03_ocp: rhsusf_opscore_01 {};
2015-07-01 20:25:19 +00:00
class rhsusf_cvc_helmet: rhsusf_opscore_01 {
ace_hearing_protection = 1;
ace_hearing_lowerVolume = 0.80;
};
class rhsusf_cvc_green_helmet: rhsusf_cvc_helmet {};
class rhsusf_cvc_ess: rhsusf_cvc_helmet {};
class rhsusf_cvc_green_ess: rhsusf_cvc_ess {};
class H_PilotHelmetHeli_B;
class H_CrewHelmetHeli_B;
class rhsusf_hgu56p: H_PilotHelmetHeli_B
{
2015-07-18 13:51:16 +00:00
ace_hearing_protection = 0.85;
ace_hearing_lowerVolume = 0.75;
2015-07-01 20:25:19 +00:00
};
class rhsusf_hgu56p_mask: H_CrewHelmetHeli_B
{
2015-07-18 13:51:16 +00:00
ace_hearing_protection = 0.85;
ace_hearing_lowerVolume = 0.75;
2015-07-01 20:25:19 +00:00
};
class H_HelmetB;
class RHS_jetpilot_usaf: H_HelmetB {
ace_hearing_protection = 1;
ace_hearing_lowerVolume = 0.80;
};
};