ACE3/addons/aircraft/CfgAmmo.hpp

58 lines
1.6 KiB
C++
Raw Normal View History

2015-01-13 23:52:37 +00:00
class CfgAmmo {
class BulletBase;
class B_20mm;
class ACE_20mm_HEDP : B_20mm {
hit = 80;
indirectHit = 12;
indirectHitRange = 2; //2;
caliber = 1.4;
tracerStartTime = 0.02;
timeToLive = 40;
explosive = 1.8;
};
// 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;
deflecting = 15;
2015-01-13 23:52:37 +00:00
};
class B_762x51_Minigun_Tracer_Red: SubmunitionBullet {
caliber = 1.6;
deflecting = 15;
2015-01-13 23:52:37 +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 {
hit = 80;
indirectHit = 12;
indirectHitRange = 3; //2;
2015-01-13 23:52:37 +00:00
caliber = 1.4;
deflecting = 3;
fuseDistance = 3;
tracerStartTime = 0.02;
timeToLive = 40;
2015-01-13 23:52:37 +00:00
};
// helper projectiles to simulate a rof > fps
2015-01-13 23:52:37 +00:00
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
2015-01-13 23:52:37 +00:00
class Cannon_30mm_HE_Plane_CAS_02_F: Gatling_30mm_HE_Plane_CAS_01_F {
hit = 70; //40;
indirectHit = 11; //14;
2015-01-13 23:52:37 +00:00
indirectHitRange = 3;
};
};