ACE3/addons/ballistics/CfgAmmo.hpp
2015-01-14 04:02:48 +01:00

138 lines
2.9 KiB
C++

class CfgAmmo {
/* 6.5x39mm Grendel */
class BulletBase;
class B_65x39_Caseless: BulletBase {
typicalSpeed = 724;
airFriction = -0.000915;
};
// IR Dim
class B_65x39_Caseless_yellow;
class ACE_B_65x39_Caseless_Tracer_Dim: B_65x39_Caseless_yellow {
nvgOnly = 1;
};
class B_65x39_Case_yellow;
class ACE_B_65x39_Case_Tracer_Dim: B_65x39_Case_yellow {
nvgOnly = 1;
};
// sub sonic
class ACE_B_65x39_Caseless_SD: B_65x39_Caseless {
airFriction = -0.00054;
hit = 8.75;
supersonicCrackFar[] = {};
supersonicCrackNear[] = {};
typicalSpeed = 320;
audibleFire = 0.8;
visibleFire = 2.5;
};
class B_65x39_Case;
class ACE_B_65x39_Case_SD: B_65x39_Case {
airFriction = -0.00054;
hit = 8.75;
supersonicCrackFar[] = {};
supersonicCrackNear[] = {};
typicalSpeed = 320;
audibleFire = 0.8;
visibleFire = 2.5;
};
// armor piercing
class ACE_B_65x39_Caseless_AP: B_65x39_Caseless {
caliber = 1.8;
hit = 10.5;
};
class ACE_B_65x39_Case_AP: B_65x39_Case {
caliber = 1.8;
hit = 10.5;
};
/* 5.56x45mm NATO */
class B_556x45_Ball: BulletBase {
typicalSpeed = 911;
airFriction = -0.001335;
};
// IR Dim
class B_556x45_Ball_Tracer_Red;
class ACE_B_556x45_Ball_Tracer_Dim: B_556x45_Ball_Tracer_Red {
nvgOnly = 1;
};
// sub sonic
class ACE_B_556x45_Ball_SD: B_556x45_Ball {
airFriction = -0.0006;
hit = 7;
supersonicCrackFar[] = {};
supersonicCrackNear[] = {};
typicalSpeed = 320;
audibleFire = 0.6;
visibleFire = 2.0;
};
// armor piercing
class ACE_B_556x45_Ball_AP: B_556x45_Ball {
caliber = 1.4;
hit = 8.4;
};
/* 7.62x51mm NATO */
class B_762x51_Ball: BulletBase {
typicalSpeed = 853;
//airfriction =
};
// IR Dim
class B_762x51_Tracer_Red;
class ACE_B_762x51_Tracer_Dim: B_762x51_Tracer_Red {
nvgOnly = 1;
};
// sub sonic
class ACE_B_762x51_Ball_SD: B_762x51_Ball {
airFriction = -0.00048;
hit = 10.5;
supersonicCrackFar[] = {};
supersonicCrackNear[] = {};
typicalSpeed = 320;
audibleFire = 0.9;
visibleFire = 3.0;
};
// armor piercing
class ACE_B_762x51_Ball_AP: B_762x51_Ball {
caliber = 2.4;
hit = 12.6;
};
// M118 LR
class ACE_B_762x51_M118LR: B_762x51_Ball {
typicalspeed = 792;
airfriction = -0.0008577;
};
/* Other */
class B_9x21_Ball;
class B_9x19_Ball: B_9x21_Ball {
typicalSpeed = 381;
airfriction = -0.00213;
};
class B_45ACP_Ball: BulletBase {
typicalSpeed = 250;
airfriction = -0.0009;
};
};