RHS weapons and Frag update

The RHS M249 and M240 now have the overheating and change barrel, plus
the M4 and M16 branch should have overheating applied to them. The ammo
class should have all of the hand grenade fixes in there.
This commit is contained in:
Ken 2015-12-17 17:04:30 -06:00
parent 90387eaf5b
commit e033c56cfc
3 changed files with 130 additions and 4 deletions

View File

@ -126,4 +126,66 @@ class CfgAmmo
class rhs_ammo_127x108mm_x5: SubmunitionBase { class rhs_ammo_127x108mm_x5: SubmunitionBase {
ACE_rearm_caliber=13; ACE_rearm_caliber=13;
}; };
class GrenadeHand;
class rhs_ammo_rgd5: GrenadeHand {
ace_frag_enabled = 1;
ace_frag_metal = 200;
ace_frag_charge = 110;
ace_frag_gurney_c = 2440;
ace_frag_gurney_k = "3/5";
ace_frag_classes[] = {"ACE_frag_small_HD"};
ace_frag_skip = 0;
ace_frag_force = 1;
};
class rhs_ammo_rgn_base: rhs_ammo_rgd5 {
ace_frag_enabled = 1;
ace_frag_metal = 193;
ace_frag_charge = 97;
ace_frag_gurney_c = 2800;
ace_frag_gurney_k = "3/5";
ace_frag_classes[] = {"ACE_frag_tiny_HD"};
ace_frag_skip = 0;
ace_frag_force = 1;
};
class rhs_ammo_rgn: rhs_ammo_rgn_base {
ace_frag_enabled = 0;
ace_frag_skip = 1;
ace_frag_force = 0;
};
class rhs_ammo_rgn_sub: rhs_ammo_rgn_base {};
class rhs_ammo_rgn_exp: rhs_ammo_rgn_base {};
class rhs_ammo_fakel: GrenadeHand {
ace_frag_enabled = 0;
ace_frag_skip = 1;
ace_frag_force = 0;
};
class rhs_ammo_fakels: rhs_ammo_fakel {};
class rhs_ammo_zarya2: rhs_ammo_fakels {};
class rhs_ammo_plamyam: rhs_ammo_fakels {};
class RocketBase;
class R_PG32V_F: RocketBase {};
class rhs_rpg26_rocket: R_PG32V_F {};
class rhs_rpg7v2_pg7vl: rhs_rpg26_rocket {};
class rhs_rpg7v2_og7v: rhs_rpg7v2_pg7vl {
ace_frag_enabled = 1;
ace_frag_metal = 400;
ace_frag_charge = 210;
ace_frag_gurney_c = 2800;
ace_frag_gurney_k = "3/5";
ace_frag_classes[] = {"ACE_frag_medium_HD"};
ace_frag_skip = 0;
ace_frag_force = 1;
};
class rhs_rpg7v2_tbg7v: rhs_rpg7v2_pg7vl {
ace_frag_enabled = 0;
ace_frag_skip = 1;
ace_frag_force = 0;
};
class rhs_rshg2_rocket: rhs_rpg7v2_tbg7v {
ace_frag_enabled = 0;
ace_frag_skip = 1;
ace_frag_force = 0;
};
}; };

View File

@ -94,6 +94,7 @@ class CfgAmmo
laserLock = 0; laserLock = 0;
airLock = 0; airLock = 0;
// Begin ACE guidance Configs // Begin ACE guidance Configs
class ace_missileguidance { class ace_missileguidance {
enabled = 1; enabled = 1;
@ -122,4 +123,48 @@ class CfgAmmo
attackProfiles[] = { "JAV_TOP", "JAV_DIR" }; attackProfiles[] = { "JAV_TOP", "JAV_DIR" };
}; };
}; };
class GrenadeHand;
class rhs_ammo_mk3a2: GrenadeHand {
ace_frag_enabled = 0;
ace_frag_skip = 1;
ace_frag_force = 0;
};
class rhs_ammo_m84: GrenadeHand {
ace_frag_enabled = 0;
ace_frag_skip = 1;
ace_frag_force = 0;
};
class rhs_ammo_m7a3_cs: GrenadeHand {
ace_frag_enabled = 0;
ace_frag_skip = 1;
ace_frag_force = 0;
};
class rhs_ammo_m69: GrenadeHand {
ace_frag_enabled = 0;
ace_frag_skip = 1;
ace_frag_force = 0;
};
class rhs_ammo_m67: GrenadeHand {
ace_frag_enabled = 1;
ace_frag_metal = 213;
ace_frag_charge = 185;
ace_frag_gurney_c = 2700;
ace_frag_gurney_k = "3/5";
ace_frag_classes[] = {"ACE_frag_medium_HD"};
ace_frag_skip = 0;
ace_frag_force = 1;
};
class RocketBase;
class rhs_ammo_M136_rocket: RocketBase {};
class rhs_ammo_M136_hedp_rocket: rhs_ammo_M136_rocket {
ace_frag_enabled = 1;
ace_frag_metal = 330;
ace_frag_charge = 280;
ace_frag_gurney_c = 2800;
ace_frag_gurney_k = "3/5";
ace_frag_classes[] = {"ACE_frag_medium_HD"};
ace_frag_skip = 0;
ace_frag_force = 1;
};
}; };

View File

@ -15,6 +15,9 @@ class CfgWeapons
class rhs_weap_m4_Base: arifle_MX_Base_F { class rhs_weap_m4_Base: arifle_MX_Base_F {
ACE_barrelTwist=177.8; ACE_barrelTwist=177.8;
ACE_barrelLength=368.3; 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};
class M203_GL : UGL_F { class M203_GL : UGL_F {
magazines[] = { magazines[] = {
"rhs_mag_M441_HE", "rhs_mag_M441_HE",
@ -112,15 +115,31 @@ class CfgWeapons
class rhs_weap_mk18: rhs_weap_m4a1 { class rhs_weap_mk18: rhs_weap_m4a1 {
ACE_barrelTwist=177.8; ACE_barrelTwist=177.8;
ACE_barrelLength=261.62; 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};
}; };
class rhs_weap_m16a4: rhs_weap_m4_Base { class rhs_weap_m16a4: rhs_weap_m4_Base {
ACE_barrelTwist = 177.8; ACE_barrelTwist = 177.8;
ACE_barrelLength = 508.0; ACE_barrelLength = 508.0;
}; };
class rhs_weap_lmg_minimipara;
class rhs_weap_lmg_minimi_railed : rhs_weap_lmg_minimipara {
ACE_barrelLength = 465.0;
ACE_barrelTwist = 177.8;
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};
};
class rhs_weap_m240_base; class rhs_weap_m240_base;
class rhs_weap_m240B: rhs_weap_m240_base { class rhs_weap_m240B: rhs_weap_m240_base {
ACE_barrelTwist = 304.8; ACE_barrelTwist = 304.8;
ACE_barrelLength = 629.92; ACE_barrelLength = 629.92;
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};
}; };
class rhs_weap_m14ebrri: srifle_EBR_F { class rhs_weap_m14ebrri: srifle_EBR_F {
ACE_barrelTwist=304.8; ACE_barrelTwist=304.8;