Merge pull request #3050 from acemod/rhs_compat_fixSpottingRifleOP

RHS Compat fix for SMAW spotting rifle backblast
This commit is contained in:
PabstMirror 2015-12-31 14:59:23 -06:00
commit 0c9cba0896
3 changed files with 20 additions and 22 deletions

View File

@ -1,10 +1,8 @@
class CfgAmmo class CfgAmmo {
{
class BulletBase; class BulletBase;
class B_556x45_Ball; class B_556x45_Ball;
class rhs_B_545x39_Ball: B_556x45_Ball class rhs_B_545x39_Ball: B_556x45_Ball {
{
ACE_caliber=5.588; ACE_caliber=5.588;
ACE_bulletLength=21.59; ACE_bulletLength=21.59;
ACE_bulletMass=3.42792; ACE_bulletMass=3.42792;
@ -16,8 +14,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={780, 880, 920}; ACE_muzzleVelocities[]={780, 880, 920};
ACE_barrelLengths[]={254.0, 414.02, 508.0}; ACE_barrelLengths[]={254.0, 414.02, 508.0};
}; };
class rhs_B_545x39_Ball_Tracer_Green: rhs_B_545x39_Ball class rhs_B_545x39_Ball_Tracer_Green: rhs_B_545x39_Ball {
{
ACE_caliber=5.588; ACE_caliber=5.588;
ACE_bulletLength=21.59; ACE_bulletLength=21.59;
ACE_bulletMass=3.22704; ACE_bulletMass=3.22704;
@ -30,8 +27,7 @@ class CfgAmmo
ACE_barrelLengths[]={254.0, 414.02, 508.0}; ACE_barrelLengths[]={254.0, 414.02, 508.0};
}; };
class B_762x51_Ball; class B_762x51_Ball;
class rhs_B_762x54_Ball: B_762x51_Ball class rhs_B_762x54_Ball: B_762x51_Ball {
{
ACE_caliber=7.925; ACE_caliber=7.925;
ACE_bulletLength=28.956; ACE_bulletLength=28.956;
ACE_bulletMass=9.8496; ACE_bulletMass=9.8496;
@ -43,8 +39,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={700, 800, 820, 833}; ACE_muzzleVelocities[]={700, 800, 820, 833};
ACE_barrelLengths[]={406.4, 508.0, 609.6, 660.4}; ACE_barrelLengths[]={406.4, 508.0, 609.6, 660.4};
}; };
class rhs_B_762x54_Ball_Tracer_Green: B_762x51_Ball class rhs_B_762x54_Ball_Tracer_Green: B_762x51_Ball {
{
ACE_caliber=7.925; ACE_caliber=7.925;
ACE_bulletLength=28.956; ACE_bulletLength=28.956;
ACE_bulletMass=9.6552; ACE_bulletMass=9.6552;
@ -56,8 +51,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={680, 750, 798, 800}; ACE_muzzleVelocities[]={680, 750, 798, 800};
ACE_barrelLengths[]={406.4, 508.0, 609.6, 660.4}; ACE_barrelLengths[]={406.4, 508.0, 609.6, 660.4};
}; };
class rhs_B_762x54_7N1_Ball: rhs_B_762x54_Ball class rhs_B_762x54_7N1_Ball: rhs_B_762x54_Ball {
{
ACE_caliber=7.925; ACE_caliber=7.925;
ACE_bulletLength=28.956; ACE_bulletLength=28.956;
ACE_bulletMass=9.8496; ACE_bulletMass=9.8496;
@ -69,8 +63,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={700, 800, 820, 833}; ACE_muzzleVelocities[]={700, 800, 820, 833};
ACE_barrelLengths[]={406.4, 508.0, 609.6, 660.4}; ACE_barrelLengths[]={406.4, 508.0, 609.6, 660.4};
}; };
class rhs_B_762x39_Ball: B_762x51_Ball class rhs_B_762x39_Ball: B_762x51_Ball {
{
ACE_caliber=7.823; ACE_caliber=7.823;
ACE_bulletLength=28.956; ACE_bulletLength=28.956;
ACE_bulletMass=7.9704; ACE_bulletMass=7.9704;
@ -82,8 +75,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={650, 716, 750}; ACE_muzzleVelocities[]={650, 716, 750};
ACE_barrelLengths[]={254.0, 414.02, 508.0}; ACE_barrelLengths[]={254.0, 414.02, 508.0};
}; };
class rhs_B_762x39_Tracer: rhs_B_762x39_Ball class rhs_B_762x39_Tracer: rhs_B_762x39_Ball {
{
ACE_caliber=7.823; ACE_caliber=7.823;
ACE_bulletLength=28.956; ACE_bulletLength=28.956;
ACE_bulletMass=7.5816; ACE_bulletMass=7.5816;
@ -96,8 +88,7 @@ class CfgAmmo
ACE_barrelLengths[]={254.0, 414.02, 508.0}; ACE_barrelLengths[]={254.0, 414.02, 508.0};
}; };
class B_9x21_Ball; class B_9x21_Ball;
class rhs_B_9x19_7N21: B_9x21_Ball class rhs_B_9x19_7N21: B_9x21_Ball {
{
ACE_caliber=9.017; ACE_caliber=9.017;
ACE_bulletLength=15.494; ACE_bulletLength=15.494;
ACE_bulletMass=5.19696; ACE_bulletMass=5.19696;
@ -109,8 +100,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={445, 460, 480}; ACE_muzzleVelocities[]={445, 460, 480};
ACE_barrelLengths[]={101.6, 127.0, 228.6}; ACE_barrelLengths[]={101.6, 127.0, 228.6};
}; };
class rhs_B_9x18_57N181S: B_9x21_Ball class rhs_B_9x18_57N181S: B_9x21_Ball {
{
ACE_caliber=9.271; ACE_caliber=9.271;
ACE_bulletLength=15.494; ACE_bulletLength=15.494;
ACE_bulletMass=6.00048; ACE_bulletMass=6.00048;

View File

@ -14,4 +14,4 @@ class cfgMagazines {
class rhs_mag_127x108mm_1470 : rhs_mag_127x108mm_50 { class rhs_mag_127x108mm_1470 : rhs_mag_127x108mm_50 {
ace_isbelt = 0; ace_isbelt = 0;
}; };
}; };

View File

@ -19,4 +19,12 @@ class cfgMagazines {
class RHS_48Rnd_40mm_MK19: VehicleMagazine { class RHS_48Rnd_40mm_MK19: VehicleMagazine {
ace_isbelt = 1; ace_isbelt = 1;
}; };
};
class CA_LauncherMagazine;
class rhs_mag_smaw_SR: CA_LauncherMagazine {
EGVAR(overpressure,priority) = 99;
EGVAR(overpressure,angle) = 0;
EGVAR(overpressure,range) = 0;
EGVAR(overpressure,damage) = 0;
};
};