Remove submuntion ammo changes to A-10 (#5231)

* Remove changes to Aircraft cannons

* keep ammo changes, i guess
This commit is contained in:
PabstMirror 2017-06-01 20:48:35 -05:00 committed by GitHub
parent 7bccf2f6be
commit 2712a1ed8a
3 changed files with 11 additions and 39 deletions

View File

@ -39,29 +39,20 @@ class CfgAmmo {
// also adjust tracer, "muh lightshow"; also adjust splash damage radius // also adjust tracer, "muh lightshow"; also adjust splash damage radius
class Gatling_30mm_HE_Plane_CAS_01_F: BulletBase { class Gatling_30mm_HE_Plane_CAS_01_F: BulletBase {
hit = 80; hit = 80; // default: 180
indirectHit = 12; indirectHit = 12; // default: 4
indirectHitRange = 3; //2; indirectHitRange = 3; // default: 3
caliber = 1.4; caliber = 1.4; // default: 5
deflecting = 3; deflecting = 3; // default: 5
fuseDistance = 3; fuseDistance = 3; // default: 10
tracerStartTime = 0.02; tracerStartTime = 0.02; // default: 0.1
timeToLive = 40; timeToLive = 40; // default: 6
}; };
// 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}} };
};
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 // 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 { class Cannon_30mm_HE_Plane_CAS_02_F: Gatling_30mm_HE_Plane_CAS_01_F {
hit = 70; //40; hit = 70; // default: 150
indirectHit = 11; //14; indirectHit = 11; // default: 4
indirectHitRange = 3; indirectHitRange = 3; // default: 3
}; };
}; };

View File

@ -2,7 +2,6 @@ class CfgMagazines {
// shoot helper object to tripple rof // shoot helper object to tripple rof
class VehicleMagazine; class VehicleMagazine;
class 1000Rnd_Gatling_30mm_Plane_CAS_01_F: VehicleMagazine { class 1000Rnd_Gatling_30mm_Plane_CAS_01_F: VehicleMagazine {
ammo = "ACE_Gatling_30mm_HE_Plane_CAS_01_Deploy";
count = 1170; count = 1170;
}; };

View File

@ -111,22 +111,4 @@ class CfgWeapons {
class medium: LowROF {}; class medium: LowROF {};
class far: medium {}; 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 {};
};
}; };