From 68c912775304069c5cf7f7abe499ffe0b8e2157f Mon Sep 17 00:00:00 2001 From: KoffeinFlummi Date: Thu, 7 May 2015 18:39:57 +0200 Subject: [PATCH] Convert ACE_barrelLengths to meters --- addons/ballistics/CfgAmmo.hpp | 92 ++--- extras/CfgAmmoReference.hpp | 412 +++++++++++----------- optionals/compat_cup/CfgAmmo.hpp | 64 ++-- optionals/compat_hlcmods_core/CfgAmmo.hpp | 46 +-- optionals/compat_rh_de/CfgAmmo.hpp | 24 +- optionals/compat_rh_m4/CfgAmmo.hpp | 30 +- optionals/compat_rh_pdw/CfgAmmo.hpp | 2 +- optionals/compat_rhs_afrf3/CfgAmmo.hpp | 18 +- optionals/compat_rhs_usf3/CfgAmmo.hpp | 14 +- 9 files changed, 351 insertions(+), 351 deletions(-) diff --git a/addons/ballistics/CfgAmmo.hpp b/addons/ballistics/CfgAmmo.hpp index 753c5ba8a1..8c47af9ac3 100644 --- a/addons/ballistics/CfgAmmo.hpp +++ b/addons/ballistics/CfgAmmo.hpp @@ -34,7 +34,7 @@ class CfgAmmo { ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={723, 764, 796, 825, 843, 866, 878, 892, 906, 915, 922, 900}; - ACE_barrelLengths[]={8.3, 9.4, 10.6, 11.8, 13.0, 14.2, 15.4, 16.5, 17.7, 18.9, 20.0, 24.0}; + ACE_barrelLengths[]={0.21082, 0.23876, 0.26924, 0.29972, 0.3302, 0.36068, 0.39116, 0.4191, 0.44958, 0.48006, 0.508, 0.6096}; }; class ACE_556x45_Ball_Mk262 : B_556x45_Ball { airFriction=-0.001125; @@ -51,7 +51,7 @@ class CfgAmmo { ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={624, 816, 832, 838}; - ACE_barrelLengths[]={7.5, 14.5, 18, 20}; + ACE_barrelLengths[]={0.1905, 0.3683, 0.4572, 0.508}; }; class ACE_556x45_Ball_Mk318 : B_556x45_Ball { airFriction=-0.001120; @@ -68,7 +68,7 @@ class CfgAmmo { ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={780, 886, 950}; - ACE_barrelLengths[]={10, 15.5, 20}; + ACE_barrelLengths[]={0.254, 0.3937, 0.508}; }; class ACE_556x45_Ball_M995_AP : B_556x45_Ball { airFriction=-0.001120; @@ -85,7 +85,7 @@ class CfgAmmo { ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={950, 1030, 1040}; - ACE_barrelLengths[]={10, 15.5, 20}; + ACE_barrelLengths[]={0.254, 0.3937, 0.508}; }; class B_556x45_Ball_Tracer_Red; class ACE_B_556x45_Ball_Tracer_Dim: B_556x45_Ball_Tracer_Red { @@ -106,7 +106,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={780, 880, 920}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class B_556x45_Ball_Tracer_Green; class ACE_545x39_Ball_7T3M : B_556x45_Ball_Tracer_Green { @@ -126,7 +126,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={785, 883, 925}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class B_65x39_Caseless : BulletBase { airFriction=-0.000785; @@ -140,7 +140,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={730, 760, 788, 800, 810, 830}; - ACE_barrelLengths[]={10, 16, 20, 24, 26, 30}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604, 0.762}; }; class B_65x39_Case_yellow; class ACE_65x39_Caseless_Tracer_Dim : B_65x39_Case_yellow { @@ -163,7 +163,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={730, 760, 790, 820, 830}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class ACE_65_Creedmor_Ball: B_65x39_Caseless { airFriction=-0.000651; @@ -178,7 +178,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={750, 820, 840, 852, 860}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class B_762x51_Ball : BulletBase { airFriction=-0.001035; @@ -195,7 +195,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 800, 820, 833, 845}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class B_762x51_Tracer_Yellow; class ACE_B_762x51_Tracer_Dim: B_762x51_Tracer_Yellow { @@ -215,7 +215,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={750, 780, 790, 794}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class ACE_762x51_Ball_Mk316_Mod_0 : B_762x51_Ball { airFriction=-0.0008525; @@ -231,7 +231,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={775, 790, 805, 810}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class ACE_762x51_Ball_Mk319_Mod_0 : B_762x51_Ball { airFriction=-0.00103; @@ -247,7 +247,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={838, 892, 910}; - ACE_barrelLengths[]={13, 16, 20}; + ACE_barrelLengths[]={0.3302, 0.4064, 0.508}; }; class ACE_762x51_Ball_M993_AP : B_762x51_Ball { airFriction=-0.00103; @@ -263,7 +263,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={875, 910, 930}; - ACE_barrelLengths[]={13, 16, 20}; + ACE_barrelLengths[]={0.3302, 0.4064, 0.508}; }; class ACE_762x51_Ball_Subsonic : B_762x51_Ball { airFriction=-0.000535; @@ -279,7 +279,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={305, 325, 335, 340}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class ACE_30_06_M1_Ball : B_762x51_Ball { airFriction=-0.0009; @@ -295,7 +295,7 @@ class CfgAmmo { ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={700, 785, 800, 830, 840}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class ACE_7_Remington_Magnum_Ball : B_762x51_Ball { airFriction=-0.0008; @@ -311,7 +311,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={720, 780, 812, 822, 830}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class ACE_243_Winchester_Ball : B_762x51_Ball { airFriction=-0.00095; @@ -327,7 +327,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={830, 875, 900, 915, 920}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class ACE_762x67_Ball_Mk248_Mod_0 : B_762x51_Ball { airFriction=-0.000830; @@ -343,7 +343,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={865, 900, 924}; - ACE_barrelLengths[]={20, 24, 26}; + ACE_barrelLengths[]={0.508, 0.6096, 0.6604}; }; class ACE_762x67_Ball_Mk248_Mod_1 : B_762x51_Ball { airFriction=-0.000815; @@ -359,7 +359,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={847, 867, 877}; - ACE_barrelLengths[]={20, 24, 26}; + ACE_barrelLengths[]={0.508, 0.6096, 0.6604}; }; class ACE_762x67_Ball_Berger_Hybrid_OTM : B_762x51_Ball { airFriction=-0.00076; @@ -375,7 +375,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={800, 853, 884}; - ACE_barrelLengths[]={20, 24, 26}; + ACE_barrelLengths[]={0.508, 0.6096, 0.6604}; }; class B_762x54_Ball: B_762x51_Ball { airFriction=-0.001023; @@ -389,7 +389,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={700, 800, 820, 833}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class ACE_762x54_Ball_7N14 : B_762x51_Ball { airFriction=-0.001023; @@ -405,7 +405,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={700, 800, 820, 833}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class B_762x54_Tracer_Green; class ACE_762x54_Ball_7T2 : B_762x54_Tracer_Green { @@ -424,7 +424,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={680, 750, 798, 800}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class ACE_762x35_Ball : B_762x51_Ball { airFriction=-0.000821; @@ -440,7 +440,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={620, 655, 675}; - ACE_barrelLengths[]={9, 16, 20}; + ACE_barrelLengths[]={0.2286, 0.4064, 0.508}; }; class ACE_762x39_Ball : B_762x51_Ball { airFriction=-0.0015168; @@ -456,7 +456,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={650, 716, 750}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class ACE_762x39_Ball_57N231P : B_762x54_Tracer_Green { airFriction=-0.0015168; @@ -474,7 +474,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={650, 716, 750}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class B_9x21_Ball : BulletBase { airFriction=-0.00125; @@ -489,7 +489,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={440, 460, 480}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class ACE_9x18_Ball_57N181S : B_9x21_Ball { hit=5; @@ -504,7 +504,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={298, 330, 350}; - ACE_barrelLengths[]={3.8, 5, 9}; + ACE_barrelLengths[]={0.09652, 0.127, 0.2286}; }; class ACE_9x19_Ball : B_9x21_Ball { airFriction=-0.001234; @@ -519,7 +519,7 @@ class CfgAmmo { ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={340, 370, 400}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class ACE_10x25_Ball : B_9x21_Ball { airFriction=-0.00168; @@ -534,7 +534,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={360, 400, 430}; - ACE_barrelLengths[]={4, 4.61, 9}; + ACE_barrelLengths[]={0.1016, 0.117094, 0.2286}; }; class ACE_765x17_Ball: B_9x21_Ball { airFriction=-0.001213; @@ -549,7 +549,7 @@ class CfgAmmo { ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={282, 300, 320}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class ACE_303_Ball : ACE_762x51_Ball_M118LR { airFriction=-0.00083; @@ -564,7 +564,7 @@ class CfgAmmo { ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={748, 761, 765}; - ACE_barrelLengths[]={20, 24, 26}; + ACE_barrelLengths[]={0.508, 0.6096, 0.6604}; }; class B_93x64_Ball : BulletBase { airFriction=-0.00106; @@ -578,7 +578,7 @@ class CfgAmmo { ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={850, 870, 880}; - ACE_barrelLengths[]={20, 24.41, 26}; + ACE_barrelLengths[]={0.508, 0.620014, 0.6604}; }; class B_408_Ball : BulletBase { timeToLive=10; @@ -594,7 +594,7 @@ class CfgAmmo { ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={910}; - ACE_barrelLengths[]={29}; + ACE_barrelLengths[]={0.7366}; }; class ACE_106x83mm_Ball : B_408_Ball { timeToLive=10; @@ -607,7 +607,7 @@ class CfgAmmo { ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={960}; - ACE_barrelLengths[]={29}; + ACE_barrelLengths[]={0.7366}; }; class B_338_Ball : BulletBase { timeToLive=10; @@ -622,7 +622,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={880, 915, 925}; - ACE_barrelLengths[]={20, 26, 28}; + ACE_barrelLengths[]={0.508, 0.6604, 0.7112}; }; class B_338_NM_Ball : BulletBase { airFriction=-0.000537; @@ -636,7 +636,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={790, 807, 820}; - ACE_barrelLengths[]={20, 24, 26}; + ACE_barrelLengths[]={0.508, 0.6096, 0.6604}; }; class ACE_338_Ball : B_338_Ball { timeToLive=10; @@ -651,7 +651,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={800, 820, 826, 830}; - ACE_barrelLengths[]={20, 24, 26.5, 28}; + ACE_barrelLengths[]={0.508, 0.6096, 0.6731, 0.7112}; }; class ACE_338_Ball_API526 : B_338_Ball { timeToLive=10; @@ -667,7 +667,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={880, 915, 925}; - ACE_barrelLengths[]={20, 26, 28}; + ACE_barrelLengths[]={0.508, 0.6604, 0.7112}; }; class B_127x54_Ball : BulletBase { airFriction=-0.00014; @@ -681,7 +681,7 @@ class CfgAmmo { ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={300}; - ACE_barrelLengths[]={17.2}; + ACE_barrelLengths[]={0.43688}; }; class B_127x99_Ball : BulletBase { timeToLive=10; @@ -696,7 +696,7 @@ class CfgAmmo { ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={900}; - ACE_barrelLengths[]={29}; + ACE_barrelLengths[]={0.7366}; }; class ACE_127x99_API : BulletBase { timeToLive=10; @@ -713,7 +713,7 @@ class CfgAmmo { ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={900}; - ACE_barrelLengths[]={29}; + ACE_barrelLengths[]={0.7366}; }; class ACE_127x99_Ball_AMAX : B_127x99_Ball { timeToLive=10; @@ -729,7 +729,7 @@ class CfgAmmo { ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={860}; - ACE_barrelLengths[]={29}; + ACE_barrelLengths[]={0.7366}; }; class B_127x108_Ball : BulletBase { timeToLive=10; @@ -744,7 +744,7 @@ class CfgAmmo { ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={820}; - ACE_barrelLengths[]={28.7}; + ACE_barrelLengths[]={0.72898}; }; class B_45ACP_Ball : BulletBase { airFriction=-0.0007182; @@ -758,6 +758,6 @@ class CfgAmmo { ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={230, 250, 285}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; }; diff --git a/extras/CfgAmmoReference.hpp b/extras/CfgAmmoReference.hpp index 409109d25b..1d2d5b2700 100644 --- a/extras/CfgAmmoReference.hpp +++ b/extras/CfgAmmoReference.hpp @@ -14,7 +14,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={723, 764, 796, 825, 843, 866, 878, 892, 906, 915, 922, 900}; - ACE_barrelLengths[]={8.3, 9.4, 10.6, 11.8, 13.0, 14.2, 15.4, 16.5, 17.7, 18.9, 20.0, 24.0}; + ACE_barrelLengths[]={0.21082, 0.23876, 0.26924, 0.29972, 0.3302, 0.36068, 0.39116, 0.4191, 0.44958, 0.48006, 0.508, 0.6096}; }; class ACE_556x45_Ball_Mk262 : B_556x45_Ball { airFriction=-0.001125; @@ -31,7 +31,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={624, 816, 832, 838}; - ACE_barrelLengths[]={7.5, 14.5, 18, 20}; + ACE_barrelLengths[]={0.1905, 0.3683, 0.4572, 0.508}; }; class ACE_556x45_Ball_Mk318 : B_556x45_Ball { airFriction=-0.001120; @@ -48,7 +48,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={780, 886, 950}; - ACE_barrelLengths[]={10, 15.5, 20}; + ACE_barrelLengths[]={0.254, 0.3937, 0.508}; }; class B_556x45_Ball_Tracer_Red; class ACE_B_556x45_Ball_Tracer_Dim: B_556x45_Ball_Tracer_Red { @@ -69,7 +69,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={780, 880, 920}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class B_556x45_Ball_Tracer_Yellow; class ACE_545x39_Ball_7T3M : B_556x45_Ball_Tracer_Yellow { @@ -87,7 +87,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={785, 883, 925}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class B_65x39_Caseless : BulletBase { airFriction=-0.000785; @@ -101,7 +101,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={730, 760, 788, 800, 810, 830}; - ACE_barrelLengths[]={10, 16, 20, 24, 26, 30}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604, 0.762}; }; class B_65x39_Case_yellow; class ACE_65x39_Caseless_Tracer_Dim : B_65x39_Case_yellow { @@ -124,7 +124,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={730, 760, 790, 820, 830}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class B_762x51_Ball : BulletBase { airFriction=-0.001035; @@ -139,7 +139,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 800, 820, 833, 845}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class B_762x51_Tracer_Yellow; class ACE_B_762x51_Tracer_Dim: B_762x51_Tracer_Yellow { @@ -159,7 +159,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={750, 780, 790, 794}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class ACE_762x51_Ball_Mk319_Mod_0 : B_762x51_Ball { airFriction=-0.00103; @@ -175,7 +175,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={838, 892, 910}; - ACE_barrelLengths[]={13, 16, 20}; + ACE_barrelLengths[]={0.3302, 0.4064, 0.508}; }; class ACE_762x51_Ball_Subsonic : B_762x51_Ball { airFriction=-0.000535; @@ -191,7 +191,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={305, 325, 335, 340}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class ACE_762x67_Ball_Mk248_Mod_0 : B_762x51_Ball { airFriction=-0.000830; @@ -207,7 +207,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={865, 900, 924}; - ACE_barrelLengths[]={20, 24, 26}; + ACE_barrelLengths[]={0.508, 0.6096, 0.6604}; }; class ACE_762x67_Ball_Mk248_Mod_1 : B_762x51_Ball { airFriction=-0.000815; @@ -223,7 +223,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={847, 867, 877}; - ACE_barrelLengths[]={20, 24, 26}; + ACE_barrelLengths[]={0.508, 0.6096, 0.6604}; }; class ACE_762x67_Ball_Berger_Hybrid_OTM : B_762x51_Ball { airFriction=-0.00076; @@ -239,7 +239,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={800, 853, 884}; - ACE_barrelLengths[]={20, 24, 26}; + ACE_barrelLengths[]={0.508, 0.6096, 0.6604}; }; class B_762x54_Ball: B_762x51_Ball { airFriction=-0.001023; @@ -253,7 +253,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={700, 800, 820, 833}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class ACE_762x54_Ball_7N14 : B_762x51_Ball { airFriction=-0.001023; @@ -269,7 +269,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={700, 800, 820, 833}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class B_762x54_Tracer_Green; class ACE_762x54_Ball_7T2 : B_762x54_Tracer_Green { @@ -286,7 +286,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={680, 750, 798, 800}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class ACE_762x35_Ball : B_762x51_Ball { airFriction=-0.000821; @@ -302,7 +302,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={620, 655, 675}; - ACE_barrelLengths[]={9, 16, 20}; + ACE_barrelLengths[]={0.2286, 0.4064, 0.508}; }; class ACE_762x39_Ball : B_762x51_Ball { airFriction=-0.0015168; @@ -317,7 +317,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={650, 716, 750}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class ACE_762x39_Ball_57N231P : B_762x51_Tracer_Yellow { airFriction=-0.0015168; @@ -332,7 +332,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={650, 716, 750}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class B_9x21_Ball : BulletBase { airFriction=-0.00125; @@ -347,7 +347,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={440, 460, 480}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class ACE_9x18_Ball_57N181S : B_9x21_Ball { hit=5; @@ -362,7 +362,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={298, 330, 350}; - ACE_barrelLengths[]={3.8, 5, 9}; + ACE_barrelLengths[]={0.09652, 0.127, 0.2286}; }; class ACE_9x19_Ball : B_9x21_Ball { airFriction=-0.001234; @@ -377,7 +377,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={340, 370, 400}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class ACE_10x25_Ball : B_9x21_Ball { airFriction=-0.00168; @@ -392,7 +392,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={360, 400, 430}; - ACE_barrelLengths[]={4, 4.61, 9}; + ACE_barrelLengths[]={0.1016, 0.117094, 0.2286}; }; class ACE_765x17_Ball: B_9x21_Ball { airFriction=-0.001213; @@ -407,7 +407,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={282, 300, 320}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class ACE_303_Ball : ACE_762x51_Ball_M118LR { airFriction=-0.00083; @@ -421,7 +421,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={748, 761, 765}; - ACE_barrelLengths[]={20, 24, 26}; + ACE_barrelLengths[]={0.508, 0.6096, 0.6604}; }; class B_93x64_Ball : BulletBase { airFriction=-0.00106; @@ -436,7 +436,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={850, 870, 880}; - ACE_barrelLengths[]={20, 24.41, 26}; + ACE_barrelLengths[]={0.508, 0.620014, 0.6604}; }; class B_408_Ball : BulletBase { timeToLive=10; @@ -452,7 +452,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={910}; - ACE_barrelLengths[]={29}; + ACE_barrelLengths[]={0.7366}; }; class ACE_106x83mm_Ball : B_408_Ball { timeToLive=10; @@ -465,7 +465,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={960}; - ACE_barrelLengths[]={29}; + ACE_barrelLengths[]={0.7366}; }; class B_338_Ball : BulletBase { timeToLive=10; @@ -480,7 +480,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={880, 915, 925}; - ACE_barrelLengths[]={20, 26, 28}; + ACE_barrelLengths[]={0.508, 0.6604, 0.7112}; }; class B_338_NM_Ball : BulletBase { airFriction=-0.000537; @@ -494,7 +494,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={790, 807, 820}; - ACE_barrelLengths[]={20, 24, 26}; + ACE_barrelLengths[]={0.508, 0.6096, 0.6604}; }; class ACE_338_Ball : B_338_Ball { timeToLive=10; @@ -510,7 +510,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={800, 820, 826, 830}; - ACE_barrelLengths[]={20, 24, 26.5, 28}; + ACE_barrelLengths[]={0.508, 0.6096, 0.6731, 0.7112}; }; class ACE_338_Ball_API526 : B_338_Ball { timeToLive=10; @@ -526,7 +526,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={880, 915, 925}; - ACE_barrelLengths[]={20, 26, 28}; + ACE_barrelLengths[]={0.508, 0.6604, 0.7112}; }; class B_127x54_Ball : BulletBase { airFriction=-0.00014; @@ -540,7 +540,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={300}; - ACE_barrelLengths[]={17.2}; + ACE_barrelLengths[]={0.43688}; }; class B_127x99_Ball : BulletBase { timeToLive=10; @@ -555,7 +555,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={853}; - ACE_barrelLengths[]={29}; + ACE_barrelLengths[]={0.7366}; }; class ACE_127x99_Ball_AMAX : B_127x99_Ball { timeToLive=10; @@ -570,7 +570,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={860}; - ACE_barrelLengths[]={29}; + ACE_barrelLengths[]={0.7366}; }; class B_127x108_Ball : BulletBase { timeToLive=10; @@ -585,7 +585,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={820}; - ACE_barrelLengths[]={28.7}; + ACE_barrelLengths[]={0.72898}; }; class B_45ACP_Ball : BulletBase { airFriction=-0.0007182; @@ -599,7 +599,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={230, 250, 285}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class TMR_B_762x51_M118LR : B_762x51_Ball @@ -613,7 +613,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={750, 780, 790, 794}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class RH_50_AE_Ball: BulletBase @@ -627,7 +627,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={360, 398, 420}; - ACE_barrelLengths[]={4, 6, 9}; + ACE_barrelLengths[]={0.1016, 0.1524, 0.2286}; }; class RH_454_Casull: BulletBase { @@ -640,7 +640,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={450, 490, 500}; - ACE_barrelLengths[]={4, 7.5, 9}; + ACE_barrelLengths[]={0.1016, 0.1905, 0.2286}; }; class RH_32ACP: BulletBase { @@ -653,7 +653,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={282, 300, 320}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class RH_45ACP: BulletBase { @@ -666,7 +666,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={230, 250, 285}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class RH_B_40SW: BulletBase { @@ -679,7 +679,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={360, 380, 400}; - ACE_barrelLengths[]={4, 6, 9}; + ACE_barrelLengths[]={0.1016, 0.1524, 0.2286}; }; class RH_44mag_ball: BulletBase { @@ -692,7 +692,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={360, 390, 420}; - ACE_barrelLengths[]={4, 7.5, 9}; + ACE_barrelLengths[]={0.1016, 0.1905, 0.2286}; }; class RH_357mag_ball: BulletBase { @@ -705,7 +705,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={490, 510, 535}; - ACE_barrelLengths[]={4, 6, 9}; + ACE_barrelLengths[]={0.1016, 0.1524, 0.2286}; }; class RH_762x25: BulletBase { @@ -718,7 +718,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={360, 380, 400}; - ACE_barrelLengths[]={4, 6, 9}; + ACE_barrelLengths[]={0.1016, 0.1524, 0.2286}; }; class RH_9x18_Ball: BulletBase { @@ -731,7 +731,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={298, 330, 350}; - ACE_barrelLengths[]={3.8, 5, 9}; + ACE_barrelLengths[]={0.09652, 0.127, 0.2286}; }; class RH_B_9x19_Ball: BulletBase { @@ -744,7 +744,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={340, 370, 400}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class RH_B_22LR_SD: BulletBase { @@ -757,7 +757,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={330, 340, 360}; - ACE_barrelLengths[]={4, 6, 9}; + ACE_barrelLengths[]={0.1016, 0.1524, 0.2286}; }; class RH_57x28mm: BulletBase { @@ -770,7 +770,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={550, 625, 720}; - ACE_barrelLengths[]={4, 6, 10.35}; + ACE_barrelLengths[]={0.1016, 0.1524, 0.26289}; }; class RH_9x19_B_M822: BulletBase @@ -784,7 +784,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={340, 370, 400}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class RH_9x19_B_HP: BulletBase { @@ -797,7 +797,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={340, 370, 400}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class RH_9x19_B_HPSB: BulletBase { @@ -810,7 +810,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={295, 310, 330}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class RH_B_6x35: BulletBase { @@ -823,7 +823,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={730, 750, 760}; - ACE_barrelLengths[]={8, 10, 12}; + ACE_barrelLengths[]={0.2032, 0.254, 0.3048}; }; class RH_556x45_B_M855A1 : B_556x45_Ball { @@ -836,7 +836,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={723, 764, 796, 825, 843, 866, 878, 892, 906, 915, 922, 900}; - ACE_barrelLengths[]={8.3, 9.4, 10.6, 11.8, 13.0, 14.2, 15.4, 16.5, 17.7, 18.9, 20.0, 24.0}; + ACE_barrelLengths[]={0.21082, 0.23876, 0.26924, 0.29972, 0.3302, 0.36068, 0.39116, 0.4191, 0.44958, 0.48006, 0.508, 0.6096}; }; class RH_556x45_B_Mk262 : B_556x45_Ball { @@ -849,7 +849,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={624, 816, 832, 838}; - ACE_barrelLengths[]={7.5, 14.5, 18, 20}; + ACE_barrelLengths[]={0.1905, 0.3683, 0.4572, 0.508}; }; class RH_556x45_B_Mk318 : B_556x45_Ball { @@ -862,7 +862,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={780, 886, 950}; - ACE_barrelLengths[]={10, 15.5, 20}; + ACE_barrelLengths[]={0.254, 0.3937, 0.508}; }; class RH_68x43_B_FMJ: B_65x39_Caseless { @@ -875,7 +875,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={713, 785, 810, 850}; - ACE_barrelLengths[]={12, 16, 20, 24}; + ACE_barrelLengths[]={0.3048, 0.4064, 0.508, 0.6096}; }; class RH_68x43_B_Match: B_65x39_Caseless { @@ -888,7 +888,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 732, 750, 780}; - ACE_barrelLengths[]={12, 16, 20, 24}; + ACE_barrelLengths[]={0.3048, 0.4064, 0.508, 0.6096}; }; class RH_762x35_B_FMJ: B_65x39_Caseless { @@ -901,7 +901,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={559, 609, 625}; - ACE_barrelLengths[]={6, 16, 20}; + ACE_barrelLengths[]={0.1524, 0.4064, 0.508}; }; class RH_762x35_B_Match: B_65x39_Caseless { @@ -914,7 +914,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={590, 650, 665}; - ACE_barrelLengths[]={6, 16, 20}; + ACE_barrelLengths[]={0.1524, 0.4064, 0.508}; }; class RH_762x35_B_MSB: B_65x39_Caseless { @@ -927,7 +927,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={300, 320, 340}; - ACE_barrelLengths[]={9, 16, 20}; + ACE_barrelLengths[]={0.2286, 0.4064, 0.508}; }; class RH_762x51_B_M80A1 : B_762x51_Ball { @@ -940,7 +940,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 800, 820, 833, 845}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class RH_762x51_B_Mk316LR : B_762x51_Ball { @@ -953,7 +953,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={750, 780, 790, 794}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class RH_762x51_B_Mk319 : B_762x51_Ball { @@ -966,7 +966,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={838, 892, 920}; - ACE_barrelLengths[]={13, 16, 20}; + ACE_barrelLengths[]={0.3302, 0.4064, 0.508}; }; class RH_762x51_B_LFMJSB: B_762x51_Ball { @@ -979,7 +979,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={305, 325, 335, 340}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class HLC_556NATO_SOST: BulletBase @@ -993,7 +993,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={780, 886, 950}; - ACE_barrelLengths[]={10, 15.5, 20}; + ACE_barrelLengths[]={0.254, 0.3937, 0.508}; }; class HLC_556NATO_SPR: BulletBase { @@ -1006,7 +1006,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={624, 816, 832, 838}; - ACE_barrelLengths[]={7.5, 14.5, 18, 20}; + ACE_barrelLengths[]={0.1905, 0.3683, 0.4572, 0.508}; }; class HLC_556NATO_EPR: BulletBase { @@ -1019,7 +1019,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={723, 764, 796, 825, 843, 866, 878, 892, 906, 915, 922, 900}; - ACE_barrelLengths[]={8.3, 9.4, 10.6, 11.8, 13.0, 14.2, 15.4, 16.5, 17.7, 18.9, 20.0, 24.0}; + ACE_barrelLengths[]={0.21082, 0.23876, 0.26924, 0.29972, 0.3302, 0.36068, 0.39116, 0.4191, 0.44958, 0.48006, 0.508, 0.6096}; }; class HLC_300Blackout_Ball: BulletBase { @@ -1032,7 +1032,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={559, 609, 625}; - ACE_barrelLengths[]={6, 16, 20}; + ACE_barrelLengths[]={0.1524, 0.4064, 0.508}; }; class HLC_300Blackout_SMK: BulletBase { @@ -1045,7 +1045,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={300, 320, 340}; - ACE_barrelLengths[]={9, 16, 20}; + ACE_barrelLengths[]={0.2286, 0.4064, 0.508}; }; class HLC_762x51_BTSub: BulletBase { @@ -1058,7 +1058,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={305, 325, 335, 340}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class HLC_762x54_ball: BulletBase { @@ -1071,7 +1071,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={700, 800, 820, 833}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class HLC_762x54_tracer: BulletBase { @@ -1084,7 +1084,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={680, 750, 798, 800}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class HLC_303Brit_B: BulletBase { @@ -1097,7 +1097,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={748, 761, 765}; - ACE_barrelLengths[]={20, 24, 26}; + ACE_barrelLengths[]={0.508, 0.6096, 0.6604}; }; class HLC_792x57_Ball: BulletBase { @@ -1110,7 +1110,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={785, 800, 815}; - ACE_barrelLengths[]={20, 23.62, 26}; + ACE_barrelLengths[]={0.508, 0.599948, 0.6604}; }; class FH_545x39_Ball: BulletBase { @@ -1123,14 +1123,14 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={780, 880, 920}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class FH_545x39_7u1: FH_545x39_Ball { ACE_bulletMass=5.184; 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_muzzleVelocities[]={260, 303, 320}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class HLC_9x19_Ball: BulletBase { @@ -1143,7 +1143,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={340, 370, 400}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class HLC_9x19_GoldDot: HLC_9x19_Ball { @@ -1164,7 +1164,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={360, 400, 430}; - ACE_barrelLengths[]={4, 4.61, 9}; + ACE_barrelLengths[]={0.1016, 0.117094, 0.2286}; }; class HLC_9x19_M882_SMG: HLC_9x19_Ball { @@ -1177,7 +1177,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={340, 370, 400}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class M_mas_545x39_Ball_7N6M : BulletBase @@ -1191,7 +1191,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={780, 880, 920}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class M_mas_545x39_Ball_7T3M : BulletBase { @@ -1204,7 +1204,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={785, 883, 925}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class B_mas_556x45_Ball_Mk262 : B_556x45_Ball { @@ -1217,7 +1217,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={624, 816, 832, 838}; - ACE_barrelLengths[]={7.5, 14.5, 18, 20}; + ACE_barrelLengths[]={0.1905, 0.3683, 0.4572, 0.508}; }; class B_mas_9x18_Ball_57N181S : BulletBase { @@ -1230,7 +1230,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={298, 330, 350}; - ACE_barrelLengths[]={3.8, 5, 9}; + ACE_barrelLengths[]={0.09652, 0.127, 0.2286}; }; class B_mas_9x21p_Ball: BulletBase { @@ -1243,7 +1243,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={340, 370, 400}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class B_mas_9x21_Ball: BulletBase { @@ -1256,7 +1256,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={340, 370, 400}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class B_mas_9x21d_Ball: BulletBase { @@ -1269,7 +1269,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={210, 250, 285}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class B_mas_765x17_Ball: BulletBase { @@ -1282,7 +1282,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={282, 300, 320}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class B_mas_762x39_Ball: BulletBase { @@ -1295,7 +1295,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={650, 716, 750}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class B_mas_762x39_Ball_T: BulletBase { @@ -1308,7 +1308,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={650, 716, 750}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class B_mas_762x51_Ball_M118LR : B_762x51_Ball { @@ -1321,7 +1321,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={750, 780, 790, 794}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class B_mas_762x67_Ball_Mk248_Mod_0 : B_762x51_Ball { @@ -1334,7 +1334,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={865, 900, 924}; - ACE_barrelLengths[]={20, 24, 26}; + ACE_barrelLengths[]={0.508, 0.6096, 0.6604}; }; class B_mas_762x67_Ball_Mk248_Mod_1 : B_762x51_Ball { @@ -1347,7 +1347,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={820, 867, 900}; - ACE_barrelLengths[]={20, 24, 26}; + ACE_barrelLengths[]={0.508, 0.6096, 0.6604}; }; class B_mas_762x67_Ball_Berger_Hybrid_OTM : B_762x51_Ball { @@ -1360,7 +1360,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={800, 853, 884}; - ACE_barrelLengths[]={20, 24, 26}; + ACE_barrelLengths[]={0.508, 0.6096, 0.6604}; }; class B_mas_762x54_Ball : BulletBase { @@ -1373,7 +1373,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={700, 800, 820, 833}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class B_mas_762x54_Ball_T : BulletBase { @@ -1386,7 +1386,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={680, 750, 798, 800}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class BWA3_B_762x51_Ball_LR : BulletBase { @@ -1399,7 +1399,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={750, 780, 790, 794}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class BWA3_B_762x51_Ball_SD : BulletBase { @@ -1412,7 +1412,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={300, 340}; - ACE_barrelLengths[]={16, 24}; + ACE_barrelLengths[]={0.4064, 0.6096}; }; class BWA3_B_46x30_Ball : BulletBase @@ -1426,7 +1426,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={680, 720, 730, 740}; - ACE_barrelLengths[]={4, 7, 9, 12}; + ACE_barrelLengths[]={0.1016, 0.1778, 0.2286, 0.3048}; }; class Trixie_338_Ball : BulletBase @@ -1440,7 +1440,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={820, 826, 830}; - ACE_barrelLengths[]={24, 26.5, 28}; + ACE_barrelLengths[]={0.6096, 0.6731, 0.7112}; }; class Trixie_303_Ball : BulletBase { @@ -1453,7 +1453,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={748, 761, 765}; - ACE_barrelLengths[]={20, 24, 26}; + ACE_barrelLengths[]={0.508, 0.6096, 0.6604}; }; class rhs_ammo_556x45_Mk318_Ball : BulletBase @@ -1467,7 +1467,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={780, 886, 950}; - ACE_barrelLengths[]={10, 15.5, 20}; + ACE_barrelLengths[]={0.254, 0.3937, 0.508}; }; class rhs_ammo_556x45_Mk262_Ball : BulletBase { @@ -1480,7 +1480,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={624, 816, 832, 838}; - ACE_barrelLengths[]={7.5, 14.5, 18, 20}; + ACE_barrelLengths[]={0.1905, 0.3683, 0.4572, 0.508}; }; class rhsammo_762x51_Ball : BulletBase { @@ -1493,7 +1493,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 800, 820, 833, 845}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class rhs_B_545x39_Ball : BulletBase { @@ -1506,7 +1506,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={780, 880, 920}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class rhs_B_545x39_Ball_Tracer_Green : BulletBase { @@ -1519,7 +1519,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={785, 883, 925}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class rhs_ammo_762x51_M118_Special_Ball : BulletBase { @@ -1532,7 +1532,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={750, 780, 790, 794}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class rhs_B_762x54_Ball : BulletBase { @@ -1545,7 +1545,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={700, 800, 820, 833}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class rhs_B_762x54_Ball_Tracer_Green : BulletBase { @@ -1558,7 +1558,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={680, 750, 798, 800}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class rhs_B_762x39_Ball : BulletBase { @@ -1571,7 +1571,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={650, 716, 750}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class rhs_B_762x39_Tracer : BulletBase { @@ -1584,7 +1584,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={650, 716, 750}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class rhs_ammo_762x51_M80_Ball : BulletBase { @@ -1597,7 +1597,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 800, 820, 833, 845}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class rhsusf_B_300winmag : BulletBase { @@ -1610,7 +1610,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={847, 867, 877}; - ACE_barrelLengths[]={20, 24, 26}; + ACE_barrelLengths[]={0.508, 0.6096, 0.6604}; }; class R3F_9x19_Ball: BulletBase @@ -1624,7 +1624,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={340, 370, 400}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class R3F_556x45_Ball: BulletBase { @@ -1637,7 +1637,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={723, 764, 796, 825, 843, 866, 878, 892, 906, 915, 922, 900}; - ACE_barrelLengths[]={8.3, 9.4, 10.6, 11.8, 13.0, 14.2, 15.4, 16.5, 17.7, 18.9, 20.0, 24.0}; + ACE_barrelLengths[]={0.21082, 0.23876, 0.26924, 0.29972, 0.3302, 0.36068, 0.39116, 0.4191, 0.44958, 0.48006, 0.508, 0.6096}; }; class R3F_762x51_Ball: BulletBase { @@ -1650,7 +1650,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 800, 820, 833, 845}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class R3F_762x51_Ball2: BulletBase { @@ -1663,7 +1663,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={750, 780, 790, 794}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class R3F_127x99_Ball: BulletBase { @@ -1676,7 +1676,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={853}; - ACE_barrelLengths[]={29}; + ACE_barrelLengths[]={0.7366}; }; class R3F_127x99_Ball2: BulletBase { @@ -1689,7 +1689,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={853}; - ACE_barrelLengths[]={29}; + ACE_barrelLengths[]={0.7366}; }; class CUP_B_545x39_Ball: BulletBase @@ -1703,7 +1703,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={780, 880, 920}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class CUP_B_545x39_Ball_Tracer_Green: BulletBase { @@ -1716,7 +1716,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={785, 883, 925}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class CUP_B_545x39_Ball_Tracer_Red: BulletBase { @@ -1729,7 +1729,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={785, 883, 925}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class CUP_B_545x39_Ball_Tracer_White: BulletBase { @@ -1742,7 +1742,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={785, 883, 925}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class CUP_B_545x39_Ball_Tracer_Yellow: BulletBase { @@ -1755,7 +1755,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={785, 883, 925}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class CUP_B_762x39_Ball: BulletBase { @@ -1768,7 +1768,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={650, 716, 750}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class CUP_B_762x39_Ball_Tracer_Green: BulletBase { @@ -1781,7 +1781,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={650, 716, 750}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class B_762x39mm_KLT: BulletBase { @@ -1794,7 +1794,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={650, 716, 750}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class CUP_B_9x18_Ball: BulletBase { @@ -1807,7 +1807,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={298, 330, 350}; - ACE_barrelLengths[]={3.8, 5, 9}; + ACE_barrelLengths[]={0.09652, 0.127, 0.2286}; }; class CUP_B_9x18_Ball_Tracer_Green: BulletBase { @@ -1820,7 +1820,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={298, 330, 350}; - ACE_barrelLengths[]={3.8, 5, 9}; + ACE_barrelLengths[]={0.09652, 0.127, 0.2286}; }; class CUP_B_9x18_Ball_Tracer_Red: BulletBase { @@ -1833,7 +1833,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={298, 330, 350}; - ACE_barrelLengths[]={3.8, 5, 9}; + ACE_barrelLengths[]={0.09652, 0.127, 0.2286}; }; class CUP_B_9x18_Ball_Tracer_Yellow: BulletBase { @@ -1846,7 +1846,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={298, 330, 350}; - ACE_barrelLengths[]={3.8, 5, 9}; + ACE_barrelLengths[]={0.09652, 0.127, 0.2286}; }; class CUP_B_9x18_Ball_White_Tracer: BulletBase { @@ -1859,7 +1859,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={298, 330, 350}; - ACE_barrelLengths[]={3.8, 5, 9}; + ACE_barrelLengths[]={0.09652, 0.127, 0.2286}; }; class CUP_B_9x19_Ball: BulletBase { @@ -1872,7 +1872,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={340, 370, 400}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class CUP_B_762x51_noTracer: BulletBase { @@ -1885,7 +1885,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 800, 820, 833, 845}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class CUP_B_762x51_Red_Tracer_3RndBurst: BulletBase { @@ -1898,7 +1898,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 800, 820, 833, 845}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class CUP_B_762x51_White_Tracer_3RndBurst: BulletBase { @@ -1911,7 +1911,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 800, 820, 833, 845}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class CUP_B_303_Ball: BulletBase { @@ -1924,7 +1924,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={748, 761, 765}; - ACE_barrelLengths[]={20, 24, 26}; + ACE_barrelLengths[]={0.508, 0.6096, 0.6604}; }; class CUP_B_127x107_Ball_Green_Tracer: BulletBase { @@ -1937,7 +1937,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={820}; - ACE_barrelLengths[]={28.7}; + ACE_barrelLengths[]={0.72898}; }; class CUP_B_127x108_Ball_Green_Tracer: BulletBase { @@ -1950,7 +1950,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={820}; - ACE_barrelLengths[]={28.7}; + ACE_barrelLengths[]={0.72898}; }; class CUP_B_762x54_Ball_White_Tracer: BulletBase { @@ -1963,7 +1963,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={680, 750, 798, 800}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class CUP_B_762x54_Ball_Red_Tracer: BulletBase { @@ -1976,7 +1976,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={680, 750, 798, 800}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class CUP_B_762x54_Ball_Green_Tracer: BulletBase { @@ -1989,7 +1989,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={680, 750, 798, 800}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class CUP_B_762x54_Ball_Yellow_Tracer: BulletBase { @@ -2002,7 +2002,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={680, 750, 798, 800}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class CUP_B_9x39_SP5: BulletBase { @@ -2015,7 +2015,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={280, 300, 320}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class CUP_B_762x51_Tracer_Green: BulletBase { @@ -2028,7 +2028,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 800, 820, 833, 845}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class CUP_B_762x51_Tracer_Red: BulletBase { @@ -2041,7 +2041,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 800, 820, 833, 845}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class CUP_B_762x51_Tracer_Yellow: BulletBase { @@ -2054,7 +2054,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 800, 820, 833, 845}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class CUP_B_762x51_Tracer_White: BulletBase { @@ -2067,7 +2067,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 800, 820, 833, 845}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class B_127x107_Ball: BulletBase { @@ -2080,7 +2080,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={820}; - ACE_barrelLengths[]={28.7}; + ACE_barrelLengths[]={0.72898}; }; class CUP_B_9x18_SD: BulletBase { @@ -2093,7 +2093,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={298, 330, 340}; - ACE_barrelLengths[]={3.8, 5, 9}; + ACE_barrelLengths[]={0.09652, 0.127, 0.2286}; }; class CUP_B_765x17_Ball: BulletBase { @@ -2106,7 +2106,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={282, 300, 320}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class CUP_B_145x115_AP_Green_Tracer: BulletBase { @@ -2119,7 +2119,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={1000}; - ACE_barrelLengths[]={53}; + ACE_barrelLengths[]={1.3462}; }; class CUP_B_127x99_Ball_White_Tracer: BulletBase { @@ -2132,7 +2132,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={853}; - ACE_barrelLengths[]={29}; + ACE_barrelLengths[]={0.7366}; }; class CUP_B_86x70_Ball_noTracer: BulletBase { @@ -2145,7 +2145,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={820, 826, 830}; - ACE_barrelLengths[]={24, 26.5, 28}; + ACE_barrelLengths[]={0.6096, 0.6731, 0.7112}; }; class VTN_9x18_Ball_FMJ: B_9x21_Ball @@ -2159,7 +2159,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={298, 330, 350}; - ACE_barrelLengths[]={3.8, 5, 9}; + ACE_barrelLengths[]={0.09652, 0.127, 0.2286}; }; class VTN_9x18_Ball_SC: VTN_9x18_Ball_FMJ { @@ -2172,7 +2172,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={298, 330, 350}; - ACE_barrelLengths[]={3.8, 5, 9}; + ACE_barrelLengths[]={0.09652, 0.127, 0.2286}; }; class VTN_9x18_Ball_TRC: VTN_9x18_Ball_FMJ { @@ -2185,7 +2185,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={298, 330, 350}; - ACE_barrelLengths[]={3.8, 5, 9}; + ACE_barrelLengths[]={0.09652, 0.127, 0.2286}; }; class VTN_9x18_Ball_AP1: VTN_9x18_Ball_FMJ { @@ -2198,7 +2198,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={298, 330, 350}; - ACE_barrelLengths[]={3.8, 5, 9}; + ACE_barrelLengths[]={0.09652, 0.127, 0.2286}; }; class VTN_9x18_Ball_AP2: VTN_9x18_Ball_FMJ { @@ -2211,7 +2211,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={298, 330, 350}; - ACE_barrelLengths[]={3.8, 5, 9}; + ACE_barrelLengths[]={0.09652, 0.127, 0.2286}; }; class VTN_9x18_Ball_PRS: VTN_9x18_Ball_FMJ { @@ -2224,7 +2224,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={298, 330, 350}; - ACE_barrelLengths[]={3.8, 5, 9}; + ACE_barrelLengths[]={0.09652, 0.127, 0.2286}; }; class VTN_9x19_Ball_SC: VTN_9x18_Ball_FMJ { @@ -2237,7 +2237,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={340, 370, 400}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class VTN_9x19_Ball_TRC: VTN_9x19_Ball_SC { @@ -2250,7 +2250,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={340, 370, 400}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class VTN_9x19_Ball_AP: VTN_9x19_Ball_SC { @@ -2263,7 +2263,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={340, 370, 400}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class VTN_9x19_Ball_PRS: VTN_9x19_Ball_SC { @@ -2276,7 +2276,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={340, 370, 400}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class VTN_9x39_Ball_SC: B_9x21_Ball { @@ -2289,7 +2289,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={280, 300, 320}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class VTN_9x39_Ball_AP: VTN_9x39_Ball_SC { @@ -2302,7 +2302,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={280, 300, 320}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class VTN_545x39_Ball_SC: B_556x45_Ball { @@ -2315,7 +2315,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={780, 880, 920}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class VTN_545x39_Ball_TRC: VTN_545x39_Ball_SC { @@ -2328,7 +2328,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={785, 883, 925}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class VTN_545x39_Ball_AP: VTN_545x39_Ball_TRC { @@ -2341,7 +2341,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={780, 880, 920}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class VTN_545x39_Ball_AP2: VTN_545x39_Ball_AP { @@ -2354,7 +2354,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={780, 880, 920}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class VTN_545x39_Ball_SS: VTN_545x39_Ball_SC { @@ -2367,7 +2367,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={300, 320, 340}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class VTN_762x39_Ball_SC: B_762x51_Ball { @@ -2380,7 +2380,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={650, 716, 750}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class VTN_762x39_Ball_TRC: VTN_762x39_Ball_SC { @@ -2393,7 +2393,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={650, 716, 750}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class VTN_762x39_Ball_AP: VTN_762x39_Ball_TRC { @@ -2406,7 +2406,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={650, 716, 750}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class VTN_762x39_Ball_INC: VTN_762x39_Ball_AP { @@ -2419,7 +2419,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={650, 716, 750}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class VTN_762x39_Ball_API: VTN_762x39_Ball_INC { @@ -2432,7 +2432,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={650, 716, 750}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class VTN_762x39_Ball_SS: VTN_762x39_Ball_SC { @@ -2445,7 +2445,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={300, 320, 340}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class VTN_762x41_Ball_SS: B_762x51_Ball { @@ -2458,7 +2458,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={200, 210, 220}; - ACE_barrelLengths[]={4, 6, 8}; + ACE_barrelLengths[]={0.1016, 0.1524, 0.2032}; }; class VTN_762x54_Ball_SC: VTN_762x39_Ball_SC { @@ -2471,7 +2471,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={700, 800, 820, 833}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class VTN_762x54_Ball_TRC: VTN_762x54_Ball_SC { @@ -2484,7 +2484,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={680, 750, 798, 800}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class VTN_762x54_Ball_AP: VTN_762x54_Ball_TRC { @@ -2497,7 +2497,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={700, 800, 820, 833}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class VTN_762x54_Ball_INC: VTN_762x54_Ball_AP { @@ -2510,7 +2510,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={700, 800, 820, 833}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class VTN_762x54_Ball_API: VTN_762x54_Ball_INC { @@ -2523,7 +2523,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={700, 800, 820, 833}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class VTN_145x114_Ball_APT: B_127x108_Ball { @@ -2536,7 +2536,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={1000}; - ACE_barrelLengths[]={53}; + ACE_barrelLengths[]={1.3462}; }; class VTN_6mm_BB: B_65x39_Caseless { @@ -2549,7 +2549,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={100}; - ACE_barrelLengths[]={15}; + ACE_barrelLengths[]={0.381}; }; class VTN_9x19_Ball_FMJ: B_9x21_Ball { @@ -2562,7 +2562,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={340, 370, 400}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class VTN_556x45_Ball_FMJ: B_556x45_Ball { @@ -2575,7 +2575,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={723, 764, 796, 825, 843, 866, 878, 892, 906, 915, 922, 900}; - ACE_barrelLengths[]={8.3, 9.4, 10.6, 11.8, 13.0, 14.2, 15.4, 16.5, 17.7, 18.9, 20.0, 24.0}; + ACE_barrelLengths[]={0.21082, 0.23876, 0.26924, 0.29972, 0.3302, 0.36068, 0.39116, 0.4191, 0.44958, 0.48006, 0.508, 0.6096}; }; class VTN_556x45_Ball_TRC: VTN_556x45_Ball_FMJ { @@ -2588,7 +2588,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={723, 764, 796, 825, 843, 866, 878, 892, 906, 915, 922, 900}; - ACE_barrelLengths[]={8.3, 9.4, 10.6, 11.8, 13.0, 14.2, 15.4, 16.5, 17.7, 18.9, 20.0, 24.0}; + ACE_barrelLengths[]={0.21082, 0.23876, 0.26924, 0.29972, 0.3302, 0.36068, 0.39116, 0.4191, 0.44958, 0.48006, 0.508, 0.6096}; }; class VTN_556x45_Ball_TRCN: VTN_556x45_Ball_TRC { @@ -2601,7 +2601,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={723, 764, 796, 825, 843, 866, 878, 892, 906, 915, 922, 900}; - ACE_barrelLengths[]={8.3, 9.4, 10.6, 11.8, 13.0, 14.2, 15.4, 16.5, 17.7, 18.9, 20.0, 24.0}; + ACE_barrelLengths[]={0.21082, 0.23876, 0.26924, 0.29972, 0.3302, 0.36068, 0.39116, 0.4191, 0.44958, 0.48006, 0.508, 0.6096}; }; class VTN_556x45_Ball_SC: VTN_556x45_Ball_FMJ { @@ -2614,7 +2614,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={723, 764, 796, 825, 843, 866, 878, 892, 906, 915, 922, 900}; - ACE_barrelLengths[]={8.3, 9.4, 10.6, 11.8, 13.0, 14.2, 15.4, 16.5, 17.7, 18.9, 20.0, 24.0}; + ACE_barrelLengths[]={0.21082, 0.23876, 0.26924, 0.29972, 0.3302, 0.36068, 0.39116, 0.4191, 0.44958, 0.48006, 0.508, 0.6096}; }; class VTN_556x45_Ball_AP: VTN_556x45_Ball_TRC { @@ -2627,7 +2627,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={723, 764, 796, 825, 843, 866, 878, 892, 906, 915, 922, 900}; - ACE_barrelLengths[]={8.3, 9.4, 10.6, 11.8, 13.0, 14.2, 15.4, 16.5, 17.7, 18.9, 20.0, 24.0}; + ACE_barrelLengths[]={0.21082, 0.23876, 0.26924, 0.29972, 0.3302, 0.36068, 0.39116, 0.4191, 0.44958, 0.48006, 0.508, 0.6096}; }; class VTN_556x45_Ball_INC: VTN_556x45_Ball_AP { @@ -2640,7 +2640,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={723, 764, 796, 825, 843, 866, 878, 892, 906, 915, 922, 900}; - ACE_barrelLengths[]={8.3, 9.4, 10.6, 11.8, 13.0, 14.2, 15.4, 16.5, 17.7, 18.9, 20.0, 24.0}; + ACE_barrelLengths[]={0.21082, 0.23876, 0.26924, 0.29972, 0.3302, 0.36068, 0.39116, 0.4191, 0.44958, 0.48006, 0.508, 0.6096}; }; class VTN_556x45_Ball_LR: VTN_556x45_Ball_FMJ { @@ -2653,7 +2653,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={624, 816, 832, 838}; - ACE_barrelLengths[]={7.5, 14.5, 18, 20}; + ACE_barrelLengths[]={0.1905, 0.3683, 0.4572, 0.508}; }; class VTN_556x45_Ball_SS: B_556x45_Ball { @@ -2666,7 +2666,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={300, 320, 340}; - ACE_barrelLengths[]={10, 20.0, 24.0}; + ACE_barrelLengths[]={0.254, 0.508, 0.6096}; }; class VTN_762x51_Ball_SC: B_762x51_Ball { @@ -2679,7 +2679,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 800, 820, 833, 845}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class VTN_762x51_Ball_TRC: VTN_762x51_Ball_SC { @@ -2692,7 +2692,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 800, 820, 833, 845}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class VTN_762x51_Ball_TRCN: VTN_762x51_Ball_TRC { @@ -2705,7 +2705,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 800, 820, 833, 845}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class VTN_762x51_Ball_AP: VTN_762x51_Ball_TRC { @@ -2718,7 +2718,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 800, 820, 833, 845}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class VTN_762x51_Ball_LR: VTN_762x51_Ball_SC { @@ -2731,7 +2731,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={750, 780, 790, 794}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class VTN_1143x23_Ball_FMJ: B_408_Ball { @@ -2744,7 +2744,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={230, 250, 285}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class VTN_1143x23_Ball_HP: VTN_1143x23_Ball_FMJ { @@ -2757,7 +2757,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={230, 250, 285}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class VTN_1143x23_Ball_JHP: VTN_1143x23_Ball_FMJ { @@ -2770,7 +2770,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={230, 250, 285}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class VTN_762x39_Ball_FMJ: B_762x51_Ball { @@ -2783,7 +2783,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={650, 716, 750}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class VTN_45_Pellet: B_762x51_Ball { @@ -2796,6 +2796,6 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={100, 138, 150}; - ACE_barrelLengths[]={5, 10, 16}; + ACE_barrelLengths[]={0.127, 0.254, 0.4064}; }; }; \ No newline at end of file diff --git a/optionals/compat_cup/CfgAmmo.hpp b/optionals/compat_cup/CfgAmmo.hpp index 00151cddb8..a03d38bf03 100644 --- a/optionals/compat_cup/CfgAmmo.hpp +++ b/optionals/compat_cup/CfgAmmo.hpp @@ -14,7 +14,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={780, 880, 920}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class CUP_B_545x39_Ball_Tracer_Green: CUP_B_545x39_Ball { @@ -27,7 +27,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={785, 883, 925}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class CUP_B_545x39_Ball_Tracer_Red: BulletBase { @@ -40,7 +40,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={785, 883, 925}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class CUP_B_545x39_Ball_Tracer_White: BulletBase { @@ -53,7 +53,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={785, 883, 925}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class CUP_B_545x39_Ball_Tracer_Yellow: BulletBase { @@ -66,7 +66,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={785, 883, 925}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class CUP_B_762x39_Ball: BulletBase { @@ -79,7 +79,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={650, 716, 750}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class CUP_B_762x39_Ball_Tracer_Green: BulletBase { @@ -92,7 +92,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={650, 716, 750}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class CUP_B_9x18_Ball: BulletBase { @@ -105,7 +105,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={298, 330, 350}; - ACE_barrelLengths[]={3.8, 5, 9}; + ACE_barrelLengths[]={0.09652, 0.127, 0.2286}; }; class CUP_B_9x18_Ball_Tracer_Green: BulletBase { @@ -118,7 +118,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={298, 330, 350}; - ACE_barrelLengths[]={3.8, 5, 9}; + ACE_barrelLengths[]={0.09652, 0.127, 0.2286}; }; class CUP_B_9x18_Ball_Tracer_Red: BulletBase { @@ -131,7 +131,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={298, 330, 350}; - ACE_barrelLengths[]={3.8, 5, 9}; + ACE_barrelLengths[]={0.09652, 0.127, 0.2286}; }; class CUP_B_9x18_Ball_Tracer_Yellow: BulletBase { @@ -144,7 +144,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={298, 330, 350}; - ACE_barrelLengths[]={3.8, 5, 9}; + ACE_barrelLengths[]={0.09652, 0.127, 0.2286}; }; class CUP_B_9x18_Ball_White_Tracer: BulletBase { @@ -157,7 +157,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={298, 330, 350}; - ACE_barrelLengths[]={3.8, 5, 9}; + ACE_barrelLengths[]={0.09652, 0.127, 0.2286}; }; class CUP_B_9x19_Ball: BulletBase { @@ -170,7 +170,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={340, 370, 400}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class CUP_B_762x51_noTracer: B_762x51_Ball { @@ -183,7 +183,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 800, 820, 833, 845}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class CUP_B_303_Ball: BulletBase { @@ -196,7 +196,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={748, 761, 765}; - ACE_barrelLengths[]={20, 24, 26}; + ACE_barrelLengths[]={0.508, 0.6096, 0.6604}; }; class CUP_B_127x107_Ball_Green_Tracer: BulletBase { @@ -209,7 +209,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={820}; - ACE_barrelLengths[]={28.7}; + ACE_barrelLengths[]={0.72898}; }; class CUP_B_127x108_Ball_Green_Tracer: BulletBase { @@ -222,7 +222,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={820}; - ACE_barrelLengths[]={28.7}; + ACE_barrelLengths[]={0.72898}; }; class CUP_B_762x54_Ball_White_Tracer: BulletBase { @@ -235,7 +235,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={680, 750, 798, 800}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class CUP_B_762x54_Ball_Red_Tracer: BulletBase { @@ -248,7 +248,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={680, 750, 798, 800}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class CUP_B_762x54_Ball_Green_Tracer: BulletBase { @@ -261,7 +261,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={680, 750, 798, 800}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class CUP_B_762x54_Ball_Yellow_Tracer: BulletBase { @@ -274,7 +274,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={680, 750, 798, 800}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class CUP_B_9x39_SP5: BulletBase { @@ -287,7 +287,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={280, 300, 320}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class CUP_B_762x51_Tracer_Green: BulletBase { @@ -300,7 +300,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 800, 820, 833, 845}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class CUP_B_762x51_Tracer_Red: BulletBase { @@ -313,7 +313,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 800, 820, 833, 845}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class CUP_B_762x51_Tracer_Yellow: BulletBase { @@ -326,7 +326,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 800, 820, 833, 845}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class CUP_B_762x51_Tracer_White: BulletBase { @@ -339,7 +339,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 800, 820, 833, 845}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class B_127x107_Ball: BulletBase { @@ -352,7 +352,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={820}; - ACE_barrelLengths[]={28.7}; + ACE_barrelLengths[]={0.72898}; }; class CUP_B_9x18_SD: BulletBase { @@ -365,7 +365,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={298, 330, 340}; - ACE_barrelLengths[]={3.8, 5, 9}; + ACE_barrelLengths[]={0.09652, 0.127, 0.2286}; }; class CUP_B_765x17_Ball: BulletBase { @@ -378,7 +378,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={282, 300, 320}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class CUP_B_145x115_AP_Green_Tracer: BulletBase { @@ -391,7 +391,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={1000}; - ACE_barrelLengths[]={53}; + ACE_barrelLengths[]={1.3462}; }; class CUP_B_127x99_Ball_White_Tracer: B_127x99_Ball { @@ -404,7 +404,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={853}; - ACE_barrelLengths[]={29}; + ACE_barrelLengths[]={0.7366}; }; class CUP_B_86x70_Ball_noTracer: BulletBase { @@ -417,6 +417,6 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={820, 826, 830}; - ACE_barrelLengths[]={24, 26.5, 28}; + ACE_barrelLengths[]={0.6096, 0.6731, 0.7112}; }; }; \ No newline at end of file diff --git a/optionals/compat_hlcmods_core/CfgAmmo.hpp b/optionals/compat_hlcmods_core/CfgAmmo.hpp index 680afacfd6..fdc4e538b7 100644 --- a/optionals/compat_hlcmods_core/CfgAmmo.hpp +++ b/optionals/compat_hlcmods_core/CfgAmmo.hpp @@ -17,7 +17,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={723, 764, 796, 825, 843, 866, 878, 892, 906, 915, 922, 900}; - ACE_barrelLengths[]={8.3, 9.4, 10.6, 11.8, 13.0, 14.2, 15.4, 16.5, 17.7, 18.9, 20.0, 24.0}; + ACE_barrelLengths[]={0.21082, 0.23876, 0.26924, 0.29972, 0.3302, 0.36068, 0.39116, 0.4191, 0.44958, 0.48006, 0.508, 0.6096}; }; class HLC_556NATO_SOST: B_556x45_Ball { @@ -30,7 +30,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={780, 886, 950}; - ACE_barrelLengths[]={10, 15.5, 20}; + ACE_barrelLengths[]={0.254, 0.3937, 0.508}; }; class HLC_556NATO_SPR: B_556x45_Ball { @@ -43,7 +43,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={624, 816, 832, 838}; - ACE_barrelLengths[]={7.5, 14.5, 18, 20}; + ACE_barrelLengths[]={0.1905, 0.3683, 0.4572, 0.508}; }; class HLC_300Blackout_Ball: B_556x45_Ball { @@ -56,7 +56,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={559, 609, 625}; - ACE_barrelLengths[]={6, 16, 20}; + ACE_barrelLengths[]={0.1524, 0.4064, 0.508}; }; class HLC_300Blackout_SMK: HLC_300Blackout_Ball { @@ -69,7 +69,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={300, 320, 340}; - ACE_barrelLengths[]={9, 16, 20}; + ACE_barrelLengths[]={0.2286, 0.4064, 0.508}; }; class HLC_762x39_Ball: HLC_300Blackout_Ball { @@ -82,7 +82,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={650, 716, 750}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class HLC_762x39_Tracer: HLC_762x39_Ball { @@ -95,7 +95,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={650, 716, 750}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class HLC_762x51_MK316_20in: B_762x51_Ball { @@ -108,7 +108,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={750, 780, 790, 794}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class HLC_762x51_BTSub: B_762x51_Ball { @@ -121,7 +121,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={305, 325, 335, 340}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class HLC_762x54_ball: HLC_762x51_ball { @@ -134,7 +134,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={700, 800, 820, 833}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class HLC_762x54_tracer: HLC_762x51_tracer { @@ -147,7 +147,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={680, 750, 798, 800}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class HLC_303Brit_B: B_556x45_Ball { @@ -160,7 +160,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={748, 761, 765}; - ACE_barrelLengths[]={20, 24, 26}; + ACE_barrelLengths[]={0.508, 0.6096, 0.6604}; }; class HLC_792x57_Ball: HLC_303Brit_B { @@ -173,7 +173,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={785, 800, 815}; - ACE_barrelLengths[]={20, 23.62, 26}; + ACE_barrelLengths[]={0.508, 0.599948, 0.6604}; }; class HLC_542x42_ball: HLC_303Brit_B { @@ -192,14 +192,14 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={780, 880, 920}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class FH_545x39_7u1: FH_545x39_Ball { ACE_bulletMass=5.184; 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_muzzleVelocities[]={260, 303, 320}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class HLC_57x28mm_JHP: FH_545x39_Ball { @@ -212,7 +212,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={550, 625, 720}; - ACE_barrelLengths[]={4, 6, 10.35}; + ACE_barrelLengths[]={0.1016, 0.1524, 0.26289}; }; class HLC_9x19_Ball: B_556x45_Ball { @@ -225,7 +225,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={340, 370, 400}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class HLC_9x19_M882_SMG: B_556x45_Ball { @@ -238,7 +238,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={340, 370, 400}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class HLC_9x19_GoldDot: HLC_9x19_Ball { @@ -259,7 +259,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={360, 400, 430}; - ACE_barrelLengths[]={4, 4.61, 9}; + ACE_barrelLengths[]={0.1016, 0.117094, 0.2286}; }; class HLC_45ACP_Ball: B_556x45_Ball { @@ -272,7 +272,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={230, 250, 285}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class FH_44Mag: HLC_45ACP_Ball { @@ -285,7 +285,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={360, 390, 420}; - ACE_barrelLengths[]={4, 7.5, 9}; + ACE_barrelLengths[]={0.1016, 0.1905, 0.2286}; }; class FH_50BMG_SLAP: B_127x99_Ball { @@ -298,7 +298,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={1204}; - ACE_barrelLengths[]={29}; + ACE_barrelLengths[]={0.7366}; }; class FH_50BMG_Raufoss: B_127x99_Ball { @@ -311,6 +311,6 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={817}; - ACE_barrelLengths[]={29}; + ACE_barrelLengths[]={0.7366}; }; }; diff --git a/optionals/compat_rh_de/CfgAmmo.hpp b/optionals/compat_rh_de/CfgAmmo.hpp index 10547b04fd..cceef5ef4f 100644 --- a/optionals/compat_rh_de/CfgAmmo.hpp +++ b/optionals/compat_rh_de/CfgAmmo.hpp @@ -13,7 +13,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={360, 398, 420}; - ACE_barrelLengths[]={4, 6, 9}; + ACE_barrelLengths[]={0.1016, 0.1524, 0.2286}; }; class RH_454_Casull: BulletBase { @@ -26,7 +26,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={450, 490, 500}; - ACE_barrelLengths[]={4, 7.5, 9}; + ACE_barrelLengths[]={0.1016, 0.1905, 0.2286}; }; class RH_32ACP: BulletBase { @@ -39,7 +39,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={282, 300, 320}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class RH_45ACP: BulletBase { @@ -52,7 +52,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={230, 250, 285}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class RH_B_40SW: BulletBase { @@ -65,7 +65,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={360, 380, 400}; - ACE_barrelLengths[]={4, 6, 9}; + ACE_barrelLengths[]={0.1016, 0.1524, 0.2286}; }; class RH_44mag_ball: BulletBase { @@ -78,7 +78,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={360, 390, 420}; - ACE_barrelLengths[]={4, 7.5, 9}; + ACE_barrelLengths[]={0.1016, 0.1905, 0.2286}; }; class RH_357mag_ball: BulletBase { @@ -91,7 +91,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={490, 510, 535}; - ACE_barrelLengths[]={4, 6, 9}; + ACE_barrelLengths[]={0.1016, 0.1524, 0.2286}; }; class RH_762x25: BulletBase { @@ -104,7 +104,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={360, 380, 400}; - ACE_barrelLengths[]={4, 6, 9}; + ACE_barrelLengths[]={0.1016, 0.1524, 0.2286}; }; class RH_9x18_Ball: BulletBase { @@ -117,7 +117,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={298, 330, 350}; - ACE_barrelLengths[]={3.8, 5, 9}; + ACE_barrelLengths[]={0.09652, 0.127, 0.2286}; }; class RH_B_9x19_Ball: BulletBase { @@ -130,7 +130,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={340, 370, 400}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class RH_B_22LR_SD: BulletBase { @@ -143,7 +143,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={330, 340, 360}; - ACE_barrelLengths[]={4, 6, 9}; + ACE_barrelLengths[]={0.1016, 0.1524, 0.2286}; }; class RH_57x28mm: BulletBase { @@ -156,6 +156,6 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={550, 625, 720}; - ACE_barrelLengths[]={4, 6, 10.35}; + ACE_barrelLengths[]={0.1016, 0.1524, 0.26289}; }; }; \ No newline at end of file diff --git a/optionals/compat_rh_m4/CfgAmmo.hpp b/optionals/compat_rh_m4/CfgAmmo.hpp index 8f8a5f3cf2..3138de15f0 100644 --- a/optionals/compat_rh_m4/CfgAmmo.hpp +++ b/optionals/compat_rh_m4/CfgAmmo.hpp @@ -19,7 +19,7 @@ class CfgAmmo { ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={340, 370, 400}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class RH_9x19_B_HP: BulletBase { @@ -32,7 +32,7 @@ class CfgAmmo { ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={340, 370, 400}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class RH_9x19_B_HPSB: BulletBase { @@ -45,7 +45,7 @@ class CfgAmmo { ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={295, 310, 330}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class RH_556x45_B_M855A1: B_556x45_Ball { @@ -58,7 +58,7 @@ class CfgAmmo { ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={723, 764, 796, 825, 843, 866, 878, 892, 906, 915, 922, 900}; - ACE_barrelLengths[]={8.3, 9.4, 10.6, 11.8, 13.0, 14.2, 15.4, 16.5, 17.7, 18.9, 20.0, 24.0}; + ACE_barrelLengths[]={0.21082, 0.23876, 0.26924, 0.29972, 0.3302, 0.36068, 0.39116, 0.4191, 0.44958, 0.48006, 0.508, 0.6096}; }; class RH_556x45_B_Mk318: B_556x45_Ball { @@ -71,7 +71,7 @@ class CfgAmmo { ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={780, 886, 950}; - ACE_barrelLengths[]={10, 15.5, 20}; + ACE_barrelLengths[]={0.254, 0.3937, 0.508}; }; class RH_556x45_B_Mk262: B_556x45_Ball { @@ -84,7 +84,7 @@ class CfgAmmo { ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={624, 816, 832, 838}; - ACE_barrelLengths[]={7.5, 14.5, 18, 20}; + ACE_barrelLengths[]={0.1905, 0.3683, 0.4572, 0.508}; }; class RH_68x43_B_FMJ: B_65x39_Caseless { @@ -97,7 +97,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={713, 785, 810, 850}; - ACE_barrelLengths[]={12, 16, 20, 24}; + ACE_barrelLengths[]={0.3048, 0.4064, 0.508, 0.6096}; }; class RH_68x43_B_Match: B_65x39_Caseless { @@ -110,7 +110,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 732, 750, 780}; - ACE_barrelLengths[]={12, 16, 20, 24}; + ACE_barrelLengths[]={0.3048, 0.4064, 0.508, 0.6096}; }; class RH_762x35_B_FMJ: B_65x39_Caseless { @@ -123,7 +123,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={559, 609, 625}; - ACE_barrelLengths[]={6, 16, 20}; + ACE_barrelLengths[]={0.1524, 0.4064, 0.508}; }; class RH_762x35_B_Match: B_65x39_Caseless { @@ -136,7 +136,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={572, 676, 700}; - ACE_barrelLengths[]={6, 16, 20}; + ACE_barrelLengths[]={0.1524, 0.4064, 0.508}; }; class RH_762x35_B_MSB: B_65x39_Caseless { @@ -149,7 +149,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={300, 320, 340}; - ACE_barrelLengths[]={9, 16, 20}; + ACE_barrelLengths[]={0.2286, 0.4064, 0.508}; }; class RH_762x51_B_M80A1: B_762x51_Ball { @@ -162,7 +162,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 800, 820, 833, 845}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class RH_762x51_B_Mk316LR: B_762x51_Ball { @@ -175,7 +175,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={775, 790, 805, 810}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class RH_762x51_B_Mk319: B_762x51_Ball { @@ -188,7 +188,7 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={838, 892, 910}; - ACE_barrelLengths[]={13, 16, 20}; + ACE_barrelLengths[]={0.3302, 0.4064, 0.508}; }; class RH_762x51_B_LFMJSB: B_762x51_Ball { @@ -201,6 +201,6 @@ class CfgAmmo { ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={305, 325, 335, 340}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; }; diff --git a/optionals/compat_rh_pdw/CfgAmmo.hpp b/optionals/compat_rh_pdw/CfgAmmo.hpp index e5877127c3..dad1d093d4 100644 --- a/optionals/compat_rh_pdw/CfgAmmo.hpp +++ b/optionals/compat_rh_pdw/CfgAmmo.hpp @@ -11,5 +11,5 @@ class RH_B_6x35: BulletBase ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={730, 750, 760}; - ACE_barrelLengths[]={8, 10, 12}; + ACE_barrelLengths[]={0.2032, 0.254, 0.3048}; }; \ No newline at end of file diff --git a/optionals/compat_rhs_afrf3/CfgAmmo.hpp b/optionals/compat_rhs_afrf3/CfgAmmo.hpp index 914b2c7fef..486fc265f6 100644 --- a/optionals/compat_rhs_afrf3/CfgAmmo.hpp +++ b/optionals/compat_rhs_afrf3/CfgAmmo.hpp @@ -14,7 +14,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={780, 880, 920}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class rhs_B_545x39_Ball_Tracer_Green: rhs_B_545x39_Ball { @@ -27,7 +27,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=7; ACE_muzzleVelocities[]={785, 883, 925}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class B_762x51_Ball; class rhs_B_762x54_Ball: B_762x51_Ball @@ -41,7 +41,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={700, 800, 820, 833}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class rhs_B_762x54_Ball_Tracer_Green: B_762x51_Ball { @@ -54,7 +54,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={680, 750, 798, 800}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class rhs_B_762x54_7N1_Ball: rhs_B_762x54_Ball { @@ -67,7 +67,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={700, 800, 820, 833}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class rhs_B_762x39_Ball: B_762x51_Ball { @@ -80,7 +80,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={650, 716, 750}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class rhs_B_762x39_Tracer: rhs_B_762x39_Ball { @@ -93,7 +93,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={650, 716, 750}; - ACE_barrelLengths[]={10, 16.3, 20}; + ACE_barrelLengths[]={0.254, 0.41402, 0.508}; }; class B_9x21_Ball; class rhs_B_9x19_7N21: B_9x21_Ball @@ -107,7 +107,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={445, 460, 480}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; class rhs_B_9x18_57N181S: B_9x21_Ball { @@ -120,6 +120,6 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={298, 330, 350}; - ACE_barrelLengths[]={3.8, 5, 9}; + ACE_barrelLengths[]={0.09652, 0.127, 0.2286}; }; }; \ No newline at end of file diff --git a/optionals/compat_rhs_usf3/CfgAmmo.hpp b/optionals/compat_rhs_usf3/CfgAmmo.hpp index c6cb7c0097..58b50b68cf 100644 --- a/optionals/compat_rhs_usf3/CfgAmmo.hpp +++ b/optionals/compat_rhs_usf3/CfgAmmo.hpp @@ -13,7 +13,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={847, 867, 877}; - ACE_barrelLengths[]={20, 24, 26}; + ACE_barrelLengths[]={0.508, 0.6096, 0.6604}; }; class B_556x45_Ball; class rhs_ammo_556x45_Mk318_Ball: B_556x45_Ball @@ -27,7 +27,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={780, 886, 950}; - ACE_barrelLengths[]={10, 15.5, 20}; + ACE_barrelLengths[]={0.254, 0.3937, 0.508}; }; class rhs_ammo_556x45_Mk262_Ball: B_556x45_Ball { @@ -40,7 +40,7 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={624, 816, 832, 838}; - ACE_barrelLengths[]={7.5, 14.5, 18, 20}; + ACE_barrelLengths[]={0.1905, 0.3683, 0.4572, 0.508}; }; class rhs_ammo_762x51_M80_Ball: BulletBase { @@ -53,7 +53,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={700, 800, 820, 833, 845}; - ACE_barrelLengths[]={10, 16, 20, 24, 26}; + ACE_barrelLengths[]={0.254, 0.4064, 0.508, 0.6096, 0.6604}; }; class rhs_ammo_762x51_M118_Special_Ball: rhs_ammo_762x51_M80_Ball { @@ -66,7 +66,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=7; ACE_muzzleVelocities[]={750, 780, 790, 794}; - ACE_barrelLengths[]={16, 20, 24, 26}; + ACE_barrelLengths[]={0.4064, 0.508, 0.6096, 0.6604}; }; class rhs_ammo_762x51_M993_Ball: rhs_ammo_762x51_M80_Ball { @@ -79,7 +79,7 @@ class CfgAmmo ACE_standardAtmosphere="ICAO"; ACE_dragModel=1; ACE_muzzleVelocities[]={875, 910, 930}; - ACE_barrelLengths[]={13, 16, 20}; + ACE_barrelLengths[]={0.3302, 0.4064, 0.508}; }; class rhs_ammo_45ACP_MHP: BulletBase { @@ -92,6 +92,6 @@ class CfgAmmo ACE_standardAtmosphere="ASM"; ACE_dragModel=1; ACE_muzzleVelocities[]={230, 250, 285}; - ACE_barrelLengths[]={4, 5, 9}; + ACE_barrelLengths[]={0.1016, 0.127, 0.2286}; }; }; \ No newline at end of file