Skip to content

Commit

Permalink
Fixes accidental late-night reversion
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenLuke committed Aug 4, 2019
1 parent 06fded2 commit 8e46e0d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
10 changes: 5 additions & 5 deletions addons/aircraft/CfgAmmo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,25 +52,25 @@ class CfgAmmo {
// adjust damage and splash damage, AP Rounds
class ACE_Gatling_30mm_AP_Plane_CAS_01_F: Gatling_30mm_HE_Plane_CAS_01_F {
explosive = 0.05; // default: 0.4
hit = 110; // default: 180
hit = 110; // default: 180
indirectHit = 2.5; // default: 4
indirectHitRange = 1; // default: 3
fuseDistance = 0.2; // default: 10
fuseDistance = 0.2; // default: 10
deflecting = 5;
};

// adds submunition logic, enabling multiple rounds per frame
class ACE_Gatling_30mm_Sub_HEI: SubmunitionBullet {
submunitionAmmo = "Gatling_30mm_HE_Plane_CAS_01_F";
weaponType = "cannon";
submunitionConeType[] = {"poissondisccenter", 3};
submunitionConeAngle = 0.056; // in degrees, 0.055 ~= 0.001 mils minute, but present
submunitionConeType[] = {"poissondisccenter", 3};
submunitionConeAngle = 0.056; // in degrees, 0.055 ~= 0.001 mils minute, but present
model = "\A3\Weapons_f\Data\bullettracer\tracer_red.p3d";
triggerTime = 0.005;
};

class ACE_Gatling_30mm_Sub_AP: ACE_Gatling_30mm_Sub_HEI {
submunitionAmmo = "ACE_Gatling_30mm_AP_Plane_CAS_01_F";
submunitionAmmo = "ACE_Gatling_30mm_AP_Plane_CAS_01_F";
};

class ACE_Gatling_30mm_Sub_CM41: ACE_Gatling_30mm_Sub_HEI {
Expand Down
14 changes: 7 additions & 7 deletions addons/aircraft/CfgMagazines.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@ class CfgMagazines {
// shoot helper object to tripple rof
class VehicleMagazine;
class 1000Rnd_Gatling_30mm_Plane_CAS_01_F: VehicleMagazine {
ammo = "ACE_Gatling_30mm_Sub_HEI";
ammo = "ACE_Gatling_30mm_Sub_HEI";
count = 1170;
};

class ACE_1000Rnd_Gatling_30mm_Plane_CAS_AP: 1000Rnd_Gatling_30mm_Plane_CAS_01_F {
ammo = "ACE_Gatling_30mm_Sub_AP";
displayName = "30mm DU Armor Piercing";
displayNameShort = "30mm DUAP";
displayName = "30mm DU Armor Piercing";
displayNameShort = "30mm DUAP";
};

class ACE_1000Rnd_Gatling_30mm_Plane_CAS_CM41: 1000Rnd_Gatling_30mm_Plane_CAS_01_F {
ammo = "ACE_Gatling_30mm_Sub_CM41";
displayName = "30mm Combat Mix 4:1 DU:HEI";
displayNameShort = "30mm 4:1 DU:HEI";
displayName = "30mm Combat Mix 4:1 DU:HEI";
displayNameShort = "30mm 4:1 DU:HEI";
};

class ACE_1000Rnd_Gatling_30mm_Plane_CAS_CM51: 1000Rnd_Gatling_30mm_Plane_CAS_01_F {
ammo = "ACE_Gatling_30mm_Sub_CM51";
displayName = "30mm Combat Mix 5:1 DU:HEI";
displayNameShort = "30mm 5:1 DU:HEI";
displayName = "30mm Combat Mix 5:1 DU:HEI";
displayNameShort = "30mm 5:1 DU:HEI";
};

// an extended magazine for the comanche
Expand Down
10 changes: 5 additions & 5 deletions addons/aircraft/CfgWeapons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ class CfgWeapons {
class CannonCore;
// Fix attrocious A-10 Cannon Dispersion; Add high ROF capability
class Gatling_30mm_Plane_CAS_01_F: CannonCore {
magazines[] += {"ACE_1000Rnd_Gatling_30mm_Plane_CAS_AP","ACE_1000Rnd_Gatling_30mm_Plane_CAS_CM41","ACE_1000Rnd_Gatling_30mm_Plane_CAS_CM51"};
magazines[] += {"ACE_1000Rnd_Gatling_30mm_Plane_CAS_AP","ACE_1000Rnd_Gatling_30mm_Plane_CAS_CM41","ACE_1000Rnd_Gatling_30mm_Plane_CAS_CM51"};
class LowROF: Mode_FullAuto {
multiplier = 3;
multiplier = 3;
burst = 1;
burstRangeMax = 1;
reloadtime = 0.015;
dispersion = 0.0028; //0.279508497 = 0.25 * sqrt(0.8^-1); (80%, 5mil. https://en.wikipedia.org/wiki/GAU-8_Avenger#Accuracy) - Luke
burstRangeMax = 1;
reloadtime = 0.046;
dispersion = 0.0046; //0.279508497 = 0.25 * sqrt(0.8^-1); (80%, 5mil. https://en.wikipedia.org/wiki/GAU-8_Avenger#Accuracy) - Luke
magazines[] = {"1000Rnd_Gatling_30mm_Plane_CAS_01_F", "ACE_1000Rnd_Gatling_30mm_Plane_CAS_CM"};

};
Expand Down

0 comments on commit 8e46e0d

Please sign in to comment.