Skip to content
This repository was archived by the owner on May 1, 2022. It is now read-only.

Commit e2bc6d5

Browse files
authored
mp5 inheritance and 9x19 added (#12)
1 parent 1de285e commit e2bc6d5

File tree

2 files changed

+20
-19
lines changed

2 files changed

+20
-19
lines changed

addons/main/CfgAmmo.hpp

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,19 @@ class CfgAmmo {
2525
ACE_muzzleVelocities[]={900};
2626
ACE_barrelLengths[]={736.6};
2727
};
28-
class ffaa_5x28: BulletBase {
29-
ACE_caliber=5.7;
30-
ACE_bulletLength=23.012;
31-
ACE_bulletMass=15;
32-
ACE_ammoTempMuzzleVelocityShifts[]={-26.55,-25.47,-22.85,-20.12,-16.98,-12.8,-7.64,-1.53,5.96,15.17,26.19};
33-
ACE_ballisticCoefficients[]={0.31};
34-
ACE_velocityBoundaries[]={};
35-
ACE_standardAtmosphere="ASM";
36-
ACE_dragModel=1;
37-
ACE_muzzleVelocities[]={280, 300, 320};
38-
ACE_barrelLengths[]={254.0, 414.02, 508.0};
39-
};
28+
class ffaa_B_9x19_Ball: BulletBase
29+
{
30+
ACE_caliber = 9.017;
31+
ACE_bulletLength = 15.494;
32+
ACE_bulletMass = 8.0352;
33+
ACE_ammoTempMuzzleVelocityShifts[] = {-2.655,-2.547,-2.285,-2.012,-1.698,-1.28,-0.764,-0.153,0.596,1.517,2.619};
34+
ACE_ballisticCoefficients[] = {0.165};
35+
ACE_velocityBoundaries[] = {};
36+
ACE_standardAtmosphere = "ASM";
37+
ACE_dragModel = 1;
38+
ACE_muzzleVelocities[] = {340,370,400};
39+
ACE_barrelLengths[] = {101.6,127.0,228.6};
40+
};
4041
class ffaa_granada_m_alhambra: GrenadeHand {
4142
ace_frag_metal=296;
4243
ace_frag_charge=180;

addons/main/CfgWeapons.hpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -396,19 +396,19 @@ class CfgWeapons {
396396
};
397397
};
398398
// SUBFUSILES
399-
class ffaa_armas_hkmp510a3: Rifle_Base_F {
399+
class ffaa_armas_hkmp5pdw : Rifle_Base_F {
400400
ACE_barrelTwist=250;
401-
ACE_barrelLength=146;
401+
ACE_barrelLength=148;
402402
};
403-
class ffaa_armas_hkmp5a5: ffaa_armas_hkmp510a3 {
403+
class ffaa_armas_hkmp510a3: ffaa_armas_hkmp5pdw {
404404
ACE_barrelTwist=250;
405-
ACE_barrelLength=225;
405+
ACE_barrelLength=146;
406406
};
407-
class ffaa_armas_hkmp5pdw: ffaa_armas_hkmp5a5 {
407+
class ffaa_armas_hkmp5a5 : ffaa_armas_hkmp5pdw {
408408
ACE_barrelTwist=250;
409-
ACE_barrelLength=148;
409+
ACE_barrelLength=225;
410410
};
411-
class ffaa_armas_ump: ffaa_armas_hkmp5a5 {
411+
class ffaa_armas_ump: ffaa_armas_hkmp5pdw {
412412
ACE_barrelTwist=305;
413413
ACE_barrelLength=200;
414414
};

0 commit comments

Comments
 (0)