2015-01-13 23:52:37 +00:00
|
|
|
class CfgAmmo {
|
2015-04-06 16:14:56 +00:00
|
|
|
class BulletBase;
|
2019-08-01 21:47:45 +00:00
|
|
|
class B_20mm: BulletBase {
|
2015-04-17 14:30:55 +00:00
|
|
|
hit = 80;
|
2015-04-06 19:54:06 +00:00
|
|
|
indirectHit = 12;
|
|
|
|
indirectHitRange = 2; //2;
|
|
|
|
caliber = 1.4;
|
|
|
|
tracerStartTime = 0.02;
|
2015-04-06 16:14:56 +00:00
|
|
|
timeToLive = 40;
|
2015-04-06 19:54:06 +00:00
|
|
|
explosive = 1.8;
|
2015-04-07 19:59:35 +00:00
|
|
|
tracersEvery = 3;
|
|
|
|
tracerEndTime = 3.5;
|
|
|
|
CraterEffects = "ExploAmmoCrater";
|
2015-04-17 14:30:55 +00:00
|
|
|
explosionEffects = "ExploAmmoExplosion";
|
2015-04-07 19:59:35 +00:00
|
|
|
model = "\A3\Weapons_f\Data\bullettracer\tracer_red";
|
|
|
|
};
|
2017-01-23 18:13:37 +00:00
|
|
|
|
2019-08-01 21:47:45 +00:00
|
|
|
class ACE_20mm_HE: B_20mm {};
|
|
|
|
class ACE_20mm_AP: B_20mm {
|
2015-04-07 19:59:35 +00:00
|
|
|
hit = 50;
|
|
|
|
indirectHit = 12;
|
|
|
|
indirectHitRange = 0.3; //2;
|
|
|
|
explosive = 0;
|
|
|
|
CraterEffects = "";
|
2015-04-17 14:30:55 +00:00
|
|
|
explosionEffects = "";
|
2015-04-06 16:14:56 +00:00
|
|
|
};
|
|
|
|
|
2015-02-14 08:36:35 +00:00
|
|
|
// adjust minigun caliber and deflection to other ammo
|
2015-01-13 23:52:37 +00:00
|
|
|
class SubmunitionBullet;
|
|
|
|
class B_65x39_Minigun_Caseless: SubmunitionBullet {
|
|
|
|
caliber = 1;
|
2015-02-14 08:36:35 +00:00
|
|
|
deflecting = 15;
|
2015-01-13 23:52:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class B_762x51_Minigun_Tracer_Red: SubmunitionBullet {
|
|
|
|
caliber = 1.6;
|
2015-02-14 08:36:35 +00:00
|
|
|
deflecting = 15;
|
2015-01-13 23:52:37 +00:00
|
|
|
};
|
|
|
|
|
2015-02-14 08:36:35 +00:00
|
|
|
// also adjust tracer, "muh lightshow"; also adjust splash damage radius
|
2015-01-13 23:52:37 +00:00
|
|
|
class Gatling_30mm_HE_Plane_CAS_01_F: BulletBase {
|
2019-08-04 10:36:40 +00:00
|
|
|
hit = 70; // default: 180
|
2017-06-02 01:48:35 +00:00
|
|
|
indirectHit = 12; // default: 4
|
2019-08-01 09:19:11 +00:00
|
|
|
indirectHitRange = 4; // default: 3
|
2017-06-02 01:48:35 +00:00
|
|
|
caliber = 1.4; // default: 5
|
|
|
|
deflecting = 3; // default: 5
|
|
|
|
fuseDistance = 3; // default: 10
|
|
|
|
tracerStartTime = 0.02; // default: 0.1
|
|
|
|
timeToLive = 40; // default: 6
|
2015-01-13 23:52:37 +00:00
|
|
|
};
|
2020-01-11 05:14:55 +00:00
|
|
|
|
2019-08-01 09:19:11 +00:00
|
|
|
// adjust damage and splash damage, AP Rounds
|
2019-08-04 10:36:40 +00:00
|
|
|
class ACE_Gatling_30mm_AP_Plane_CAS_01_F: Gatling_30mm_HE_Plane_CAS_01_F {
|
2019-08-05 18:10:15 +00:00
|
|
|
explosive = 0.05; // default: 0.4
|
|
|
|
caliber = 5; // default: 5
|
|
|
|
deflecting = 8; // default: 5
|
|
|
|
hit = 110; // default: 180
|
|
|
|
indirectHit = 2.5; // default: 4
|
|
|
|
indirectHitRange = 1; // default: 3
|
|
|
|
fuseDistance = 0.2; // default: 10
|
2019-08-01 09:19:11 +00:00
|
|
|
};
|
|
|
|
|
2019-08-04 10:49:23 +00:00
|
|
|
// adds submunition logic, enabling multiple rounds per frame
|
|
|
|
class ACE_Gatling_30mm_Sub_HEI: SubmunitionBullet {
|
2019-08-05 18:10:15 +00:00
|
|
|
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
|
|
|
|
model = "\A3\Weapons_f\Data\bullettracer\tracer_red.p3d";
|
|
|
|
triggerTime = 0.005;
|
|
|
|
ACE_caliber = 1.4;
|
2019-08-04 10:49:23 +00:00
|
|
|
};
|
2019-08-04 10:36:40 +00:00
|
|
|
|
2019-08-04 10:49:23 +00:00
|
|
|
class ACE_Gatling_30mm_Sub_AP: ACE_Gatling_30mm_Sub_HEI {
|
2019-08-04 10:52:04 +00:00
|
|
|
submunitionAmmo = "ACE_Gatling_30mm_AP_Plane_CAS_01_F";
|
2019-09-05 01:22:43 +00:00
|
|
|
ACE_caliber = 1.4;
|
2019-08-04 10:49:23 +00:00
|
|
|
};
|
2020-01-11 05:14:55 +00:00
|
|
|
|
2019-08-04 10:36:40 +00:00
|
|
|
class ACE_Gatling_30mm_Sub_CM41: ACE_Gatling_30mm_Sub_HEI {
|
2020-01-11 05:14:55 +00:00
|
|
|
submunitionAmmo[] = {"ACE_Gatling_30mm_AP_Plane_CAS_01_F",0.8,"Gatling_30mm_HE_Plane_CAS_01_F",0.2};
|
2019-09-05 01:22:43 +00:00
|
|
|
ACE_caliber = 1.4;
|
2019-08-04 10:36:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Gatling_30mm_Sub_CM51: ACE_Gatling_30mm_Sub_HEI {
|
2020-01-11 05:14:55 +00:00
|
|
|
submunitionAmmo[] = {"ACE_Gatling_30mm_AP_Plane_CAS_01_F",0.83,"Gatling_30mm_HE_Plane_CAS_01_F",0.17};
|
2019-09-05 01:22:43 +00:00
|
|
|
ACE_caliber = 1.4;
|
2019-08-04 10:36:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// 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; // default: 150
|
|
|
|
indirectHit = 11; // default: 4
|
|
|
|
indirectHitRange = 3; // default: 3
|
2019-08-01 09:19:11 +00:00
|
|
|
};
|
2015-01-13 23:52:37 +00:00
|
|
|
};
|