ACE3/addons/aircraft/CfgAmmo.hpp

59 lines
1.7 KiB
C++
Raw Normal View History

2015-01-13 23:52:37 +00:00
class CfgAmmo {
class BulletBase;
2015-04-07 19:59:35 +00:00
class B_20mm : BulletBase {
2015-04-17 14:30:55 +00:00
hit = 80;
indirectHit = 12;
indirectHitRange = 2; //2;
caliber = 1.4;
tracerStartTime = 0.02;
timeToLive = 40;
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";
};
2015-04-14 22:11:49 +00:00
class ACE_20mm_HE : B_20mm {};
2015-04-07 19:59:35 +00:00
class ACE_20mm_AP : B_20mm {
hit = 50;
indirectHit = 12;
indirectHitRange = 0.3; //2;
explosive = 0;
CraterEffects = "";
2015-04-17 14:30:55 +00:00
explosionEffects = "";
};
// 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; // 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
2015-01-13 23:52:37 +00:00
};
// 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; // default: 150
indirectHit = 11; // default: 4
indirectHitRange = 3; // default: 3
2015-01-13 23:52:37 +00:00
};
};