Skip to content

Commit

Permalink
Remove submuntion ammo changes to A-10 (#5231)
Browse files Browse the repository at this point in the history
* Remove changes to Aircraft cannons

* keep ammo changes, i guess
  • Loading branch information
PabstMirror authored Jun 2, 2017
1 parent 7bccf2f commit 2712a1e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 39 deletions.
31 changes: 11 additions & 20 deletions addons/aircraft/CfgAmmo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,29 +39,20 @@ class CfgAmmo {

// also adjust tracer, "muh lightshow"; also adjust splash damage radius
class Gatling_30mm_HE_Plane_CAS_01_F: BulletBase {
hit = 80;
indirectHit = 12;
indirectHitRange = 3; //2;
caliber = 1.4;
deflecting = 3;
fuseDistance = 3;
tracerStartTime = 0.02;
timeToLive = 40;
};

// helper projectiles to simulate a rof > fps
class ACE_Gatling_30mm_HE_Plane_CAS_01_Deploy: Gatling_30mm_HE_Plane_CAS_01_F {
simulation = "shotSubmunitions";
triggerTime = 0;
submunitionAmmo = "ACE_Gatling_30mm_HE_Plane_CAS_01_Sub";
submunitionConeType[] = {"custom", {{0,0}, {0,0}, {0,0}} };
hit = 80; // default: 180
indirectHit = 12; // default: 4
indirectHitRange = 3; // default: 3
caliber = 1.4; // default: 5
deflecting = 3; // default: 5
fuseDistance = 3; // default: 10
tracerStartTime = 0.02; // default: 0.1
timeToLive = 40; // default: 6
};
class ACE_Gatling_30mm_HE_Plane_CAS_01_Sub: Gatling_30mm_HE_Plane_CAS_01_F {};

// adjust damage and splash damage, closer to bluefor gatling with same caliber
class Cannon_30mm_HE_Plane_CAS_02_F: Gatling_30mm_HE_Plane_CAS_01_F {
hit = 70; //40;
indirectHit = 11; //14;
indirectHitRange = 3;
hit = 70; // default: 150
indirectHit = 11; // default: 4
indirectHitRange = 3; // default: 3
};
};
1 change: 0 additions & 1 deletion addons/aircraft/CfgMagazines.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ class CfgMagazines {
// shoot helper object to tripple rof
class VehicleMagazine;
class 1000Rnd_Gatling_30mm_Plane_CAS_01_F: VehicleMagazine {
ammo = "ACE_Gatling_30mm_HE_Plane_CAS_01_Deploy";
count = 1170;
};

Expand Down
18 changes: 0 additions & 18 deletions addons/aircraft/CfgWeapons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,22 +111,4 @@ class CfgWeapons {
class medium: LowROF {};
class far: medium {};
};

class Gatling_30mm_Plane_CAS_01_F: CannonCore {
autoFire = 1;
burst = 1;

class LowROF: Mode_FullAuto {
autoFire = 0;
burst = 22; //65;
reloadTime = 0.0462; //0.0154; //0.034;
multiplier = 3;
};

class close: LowROF {};
class near: close {};
class short: close {};
class medium: close {};
class far: close {};
};
};

0 comments on commit 2712a1e

Please sign in to comment.