ACE3/optionals/compat_rhs_usf3/CfgAmmo.hpp

172 lines
6.2 KiB
C++
Raw Normal View History

class CfgAmmo
{
2015-04-27 13:48:53 +00:00
class BulletBase;
2016-05-20 00:53:23 +00:00
class B_762x54_Ball;
class rhsusf_B_300winmag: B_762x54_Ball {
2015-05-08 10:44:06 +00:00
ACE_caliber=7.823;
ACE_bulletLength=37.821;
2015-05-07 16:33:17 +00:00
ACE_bulletMass=14.256;
ACE_ammoTempMuzzleVelocityShifts[]={-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
ACE_ballisticCoefficients[]={0.310};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ICAO";
ACE_dragModel=7;
ACE_muzzleVelocities[]={847, 867, 877};
ACE_barrelLengths[]={508.0, 609.6, 660.4};
2015-04-27 13:48:53 +00:00
};
class B_556x45_Ball;
class rhs_ammo_556x45_Mk318_Ball: B_556x45_Ball {
2015-05-08 10:44:06 +00:00
ACE_caliber=5.69;
ACE_bulletLength=23.012;
2015-05-07 16:33:17 +00:00
ACE_bulletMass=4.0176;
ACE_ammoTempMuzzleVelocityShifts[]={-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
ACE_ballisticCoefficients[]={0.307};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={780, 886, 950};
ACE_barrelLengths[]={254.0, 393.7, 508.0};
2015-04-27 13:48:53 +00:00
};
class rhs_ammo_556x45_Mk262_Ball: B_556x45_Ball {
2015-05-08 10:44:06 +00:00
ACE_caliber=5.69;
ACE_bulletLength=23.012;
2015-05-07 16:33:17 +00:00
ACE_bulletMass=4.9896;
ACE_ammoTempMuzzleVelocityShifts[]={-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
ACE_ballisticCoefficients[]={0.361};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={624, 816, 832, 838};
ACE_barrelLengths[]={190.5, 368.3, 457.2, 508.0};
2015-04-27 13:48:53 +00:00
};
class rhs_ammo_762x51_M80_Ball: BulletBase {
2015-05-08 10:44:06 +00:00
ACE_caliber=7.823;
ACE_bulletLength=28.956;
2015-05-07 16:33:17 +00:00
ACE_bulletMass=9.4608;
ACE_ammoTempMuzzleVelocityShifts[]={-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
ACE_ballisticCoefficients[]={0.2};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ICAO";
ACE_dragModel=7;
ACE_muzzleVelocities[]={700, 800, 820, 833, 845};
ACE_barrelLengths[]={254.0, 406.4, 508.0, 609.6, 660.4};
2015-04-27 13:48:53 +00:00
};
class rhs_ammo_762x51_M118_Special_Ball: rhs_ammo_762x51_M80_Ball {
2015-05-08 10:44:06 +00:00
ACE_caliber=7.823;
ACE_bulletLength=31.496;
2015-05-07 16:33:17 +00:00
ACE_bulletMass=11.34;
ACE_ammoTempMuzzleVelocityShifts[]={-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
ACE_ballisticCoefficients[]={0.243};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ICAO";
ACE_dragModel=7;
ACE_muzzleVelocities[]={750, 780, 790, 794};
ACE_barrelLengths[]={406.4, 508.0, 609.6, 660.4};
2015-04-27 13:48:53 +00:00
};
class rhs_ammo_762x51_M993_Ball: rhs_ammo_762x51_M80_Ball {
2015-05-08 10:44:06 +00:00
ACE_caliber=7.823;
ACE_bulletLength=31.496;
2015-05-07 16:33:17 +00:00
ACE_bulletMass=8.2296;
ACE_ammoTempMuzzleVelocityShifts[]={-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
ACE_ballisticCoefficients[]={0.377};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ICAO";
ACE_dragModel=1;
ACE_muzzleVelocities[]={875, 910, 930};
ACE_barrelLengths[]={330.2, 406.4, 508.0};
2015-04-27 13:48:53 +00:00
};
class rhs_ammo_45ACP_MHP: BulletBase {
2015-05-08 10:44:06 +00:00
ACE_caliber=11.481;
ACE_bulletLength=17.272;
2015-05-07 16:33:17 +00:00
ACE_bulletMass=14.904;
ACE_ammoTempMuzzleVelocityShifts[]={-2.655, -2.547, -2.285, -2.012, -1.698, -1.280, -0.764, -0.153, 0.596, 1.517, 2.619};
ACE_ballisticCoefficients[]={0.195};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={230, 250, 285};
ACE_barrelLengths[]={101.6, 127.0, 228.6};
2015-04-27 13:48:53 +00:00
};
class M_Titan_AT;
class rhs_ammo_M_fgm148_AT: M_Titan_AT {
irLock = 0;
laserLock = 0;
airLock = 0;
// Begin ACE guidance Configs
class ace_missileguidance {
enabled = 1;
minDeflection = 0.00005; // Minium flap deflection for guidance
maxDeflection = 0.025; // Maximum flap deflection for guidance
incDeflection = 0.00005; // The incrmeent in which deflection adjusts.
canVanillaLock = 0;
// Guidance type for munitions
defaultSeekerType = "Optic";
seekerTypes[] = { "Optic" };
defaultSeekerLockMode = "LOBL";
seekerLockModes[] = { "LOBL" };
seekerAngle = 180; // Angle in front of the missile which can be searched
seekerAccuracy = 1; // seeker accuracy multiplier
seekerMinRange = 0;
seekerMaxRange = 2500; // Range from the missile which the seeker can visually search
// Attack profile type selection
defaultAttackProfile = "JAV_TOP";
attackProfiles[] = { "JAV_TOP", "JAV_DIR" };
};
};
class GrenadeHand;
class rhs_ammo_mk3a2: GrenadeHand {
ace_frag_enabled = 0;
ace_frag_skip = 1;
ace_frag_force = 0;
};
class rhs_ammo_m84: GrenadeHand {
ace_frag_enabled = 0;
ace_frag_skip = 1;
ace_frag_force = 0;
};
class rhs_ammo_m7a3_cs: GrenadeHand {
ace_frag_enabled = 0;
ace_frag_skip = 1;
ace_frag_force = 0;
};
2016-01-07 06:59:31 +00:00
class GrenadeHand_stone;
class rhs_ammo_m69: GrenadeHand_stone {
ace_frag_enabled = 0;
ace_frag_skip = 1;
ace_frag_force = 0;
};
class rhs_ammo_m67: GrenadeHand {
ace_frag_enabled = 1;
ace_frag_metal = 213;
ace_frag_charge = 185;
ace_frag_gurney_c = 2700;
ace_frag_gurney_k = "3/5";
ace_frag_classes[] = {"ACE_frag_medium_HD"};
ace_frag_skip = 0;
ace_frag_force = 1;
};
class RocketBase;
class rhs_ammo_M136_rocket: RocketBase {};
class rhs_ammo_M136_hedp_rocket: rhs_ammo_M136_rocket {
ace_frag_enabled = 1;
ace_frag_metal = 330;
ace_frag_charge = 280;
ace_frag_gurney_c = 2800;
ace_frag_gurney_k = "3/5";
ace_frag_classes[] = {"ACE_frag_medium_HD"};
ace_frag_skip = 0;
ace_frag_force = 1;
};
};