Ballistics - Dispersion overhaul (#5819)

* Ballistics - Dispersion overhaul
* Updated rifle dispersion according to the data from @dagger

* Updated AUTHORS.txt
This commit is contained in:
ulteq 2017-11-29 20:18:52 +01:00 committed by PabstMirror
parent 5f062caaea
commit 2163e712e5
2 changed files with 228 additions and 111 deletions

View File

@ -112,6 +112,7 @@ PaxJaromeMalues <seemax1991@gmail.com>
Phyma <sethramstrom@gmail.com>
pokertour
Professor <lukas.trneny@wo.cz>
QuickDagger
rakowozz
ramius86 <pasini86@hotmail.com>
Raspu86

View File

@ -15,48 +15,98 @@ class CfgWeapons {
// GM6 Lynx
class GM6_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(1.0);
dispersion = MOA_TO_RAD(0.45);
};
};
// M200 Intervention
class LRR_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(0.7);
dispersion = MOA_TO_RAD(0.50);
};
};
// QBU-88
class DMR_07_base_F: Rifle_Long_Base_F {
initSpeed = -0.99998;
ACE_barrelTwist = 228.6;
ACE_barrelLength = 640.0;
magazines[] = {
"20Rnd_650x39_Cased_Mag_F",
"ACE_20Rnd_65x47_Scenar_mag",
"ACE_20Rnd_65_Creedmor_mag"
};
};
// M14
class DMR_06_base_F: Rifle_Long_Base_F {
// MX
class arifle_MX_Base_F: Rifle_Base_F {
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(1.0);
dispersion = MOA_TO_RAD(0.90);
};
class FullAuto: Mode_FullAuto {
dispersion = MOA_TO_RAD(1.0);
dispersion = MOA_TO_RAD(0.90);
};
};
// Cyrus
class DMR_05_base_F: Rifle_Long_Base_F {
// KH2002 Sama
class arifle_katiba_Base_F: Rifle_Base_F {
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(1.0);
dispersion = MOA_TO_RAD(0.90);
};
class FullAuto: Mode_FullAuto {
dispersion = MOA_TO_RAD(1.0);
dispersion = MOA_TO_RAD(0.90);
};
};
// CTAR-21
class Tavor_base_F: Rifle_Base_F {
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(1.12);
};
class FullAuto: Mode_FullAuto {
dispersion = MOA_TO_RAD(1.12);
};
};
// F2000
class mk20_base_F: Rifle_Base_F {
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(1.12);
};
class FullAuto: Mode_FullAuto {
dispersion = MOA_TO_RAD(1.12);
};
};
// Noreen "Bad News" ULR
class DMR_02_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(0.61);
};
};
// VS-121
class DMR_01_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(0.81);
};
class FullAuto: Mode_FullAuto {
dispersion = MOA_TO_RAD(0.81);
};
};
// Mk14 Mod 1 EBR
class EBR_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(0.81);
};
class FullAuto: Mode_FullAuto {
dispersion = MOA_TO_RAD(0.81);
};
};
// SIG 556
class DMR_03_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(0.81);
};
class FullAuto: Mode_FullAuto {
dispersion = MOA_TO_RAD(0.81);
};
};
@ -67,48 +117,28 @@ class CfgWeapons {
};
};
// SIG 556
class DMR_03_base_F: Rifle_Long_Base_F {
// Cyrus
class DMR_05_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(1.1);
dispersion = MOA_TO_RAD(0.67);
};
class FullAuto: Mode_FullAuto {
dispersion = MOA_TO_RAD(1.1);
dispersion = MOA_TO_RAD(0.67);
};
};
// Noreen "Bad News" ULR
class DMR_02_base_F: Rifle_Long_Base_F {
// M14
class DMR_06_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(0.9);
};
};
// VS-121
class DMR_01_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(1.375);
};
};
// Mk14 Mod 1 EBR
class EBR_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(1.0);
dispersion = MOA_TO_RAD(0.81);
};
class FullAuto: Mode_FullAuto {
dispersion = MOA_TO_RAD(1.0);
dispersion = MOA_TO_RAD(0.81);
};
};
// MX
class arifle_MX_Base_F: Rifle_Base_F {
class Single: Mode_SemiAuto {};
class FullAuto: Mode_FullAuto {};
};
// MX LSW
class arifle_MX_SW_F: arifle_MX_Base_F {
magazines[] = {
@ -122,6 +152,13 @@ class CfgWeapons {
initSpeed = -0.981912;
ACE_barrelTwist = 228.6;
ACE_barrelLength = 406.4;
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(0.90);
};
class FullAuto: Mode_FullAuto {
dispersion = MOA_TO_RAD(0.90);
};
};
// MXM
@ -137,11 +174,11 @@ class CfgWeapons {
ACE_barrelTwist = 228.6;
ACE_barrelLength = 457.2;
class Single: Single {
dispersion = MOA_TO_RAD(1.5);
dispersion = MOA_TO_RAD(0.90);
};
class FullAuto: FullAuto {
dispersion = MOA_TO_RAD(1.5);
dispersion = MOA_TO_RAD(0.90);
};
};
@ -162,6 +199,13 @@ class CfgWeapons {
initSpeed = -0.869636;
ACE_barrelTwist = 177.8;
ACE_barrelLength = 264.0;
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(1.12);
};
class FullAuto: Mode_FullAuto {
dispersion = MOA_TO_RAD(1.12);
};
};
// HK416A5 14.5"
@ -169,6 +213,13 @@ class CfgWeapons {
initSpeed = -0.999864;
ACE_barrelTwist = 177.8;
ACE_barrelLength = 368.0;
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(1.12);
};
class FullAuto: Mode_FullAuto {
dispersion = MOA_TO_RAD(1.12);
};
};
// HK417A2 20"
@ -186,6 +237,13 @@ class CfgWeapons {
initSpeed = -0.991536;
ACE_barrelTwist = 279.4;
ACE_barrelLength = 508.0;
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(0.81);
};
class FullAuto: Mode_FullAuto {
dispersion = MOA_TO_RAD(0.81);
};
};
// Stoner 99 LMG
@ -309,6 +367,28 @@ class CfgWeapons {
initSpeed = -0.978947;
ACE_barrelTwist = 244.0;
ACE_barrelLength = 463.0;
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(1.12);
};
class FullAuto: Mode_FullAuto {
dispersion = MOA_TO_RAD(1.12);
};
};
// QBU-88
class DMR_07_base_F: Rifle_Long_Base_F {
initSpeed = -0.99998;
ACE_barrelTwist = 228.6;
ACE_barrelLength = 640.0;
magazines[] = {
"20Rnd_650x39_Cased_Mag_F",
"ACE_20Rnd_65x47_Scenar_mag",
"ACE_20Rnd_65_Creedmor_mag"
};
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(1.01);
};
};
// QBZ-95-1 LSW
@ -316,6 +396,13 @@ class CfgWeapons {
initSpeed = -1.0;
ACE_barrelTwist = 244.0;
ACE_barrelLength = 600.0;
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(1.12);
};
class FullAuto: Mode_FullAuto {
dispersion = MOA_TO_RAD(1.12);
};
};
// Type 115
@ -323,9 +410,14 @@ class CfgWeapons {
initSpeed = -0.984262;
ACE_barrelTwist = 228.6;
ACE_barrelLength = 463.0;
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(0.90);
};
class arifle_katiba_Base_F: Rifle_Base_F {};
class FullAuto: Mode_FullAuto {
dispersion = MOA_TO_RAD(0.90);
};
};
// KH2002 Sama
class arifle_Katiba_F: arifle_katiba_Base_F {
@ -349,6 +441,13 @@ class CfgWeapons {
initSpeed = -0.961294;
ACE_barrelTwist = 203.2;
ACE_barrelLength = 393.7;
class Single: Single {
dispersion = MOA_TO_RAD(0.90);
};
class FullAuto: FullAuto {
dispersion = MOA_TO_RAD(0.90);
};
};
// KH2002 Sama KGL
@ -397,6 +496,13 @@ class CfgWeapons {
initSpeed = -0.946382;
ACE_barrelTwist = 203.2;
ACE_barrelLength = 266.7;
class Single: Single {
dispersion = MOA_TO_RAD(0.90);
};
class FullAuto: FullAuto {
dispersion = MOA_TO_RAD(0.90);
};
};
// RFB SDAR
@ -435,8 +541,6 @@ class CfgWeapons {
ACE_barrelLength = 115.0;
};
class Tavor_base_F: Rifle_Base_F {};
// CTAR-21
class arifle_TRG20_F: Tavor_base_F {
magazines[] = {
@ -473,6 +577,13 @@ class CfgWeapons {
initSpeed = -1.0;
ACE_barrelTwist = 177.8;
ACE_barrelLength = 459.74;
class Single: Single {
dispersion = MOA_TO_RAD(1.12);
};
class FullAuto: FullAuto {
dispersion = MOA_TO_RAD(1.12);
};
};
// TAR-21 EGLM
@ -494,8 +605,6 @@ class CfgWeapons {
ACE_barrelLength = 459.74;
};
class mk20_base_F: Rifle_Base_F {};
// F2000
class arifle_Mk20_F: mk20_base_F {
magazines[] = {
@ -532,6 +641,13 @@ class CfgWeapons {
initSpeed = -0.974297;
ACE_barrelTwist = 177.8;
ACE_barrelLength = 406.4;
class Single: Single {
dispersion = MOA_TO_RAD(1.12);
};
class FullAuto: FullAuto {
dispersion = MOA_TO_RAD(1.12);
};
};
// F2000 EGLM