Skip to content

Commit

Permalink
dispersion_removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Laid3acK authored Feb 25, 2020
1 parent 60155f2 commit 8be0a8b
Showing 1 changed file with 13 additions and 209 deletions.
222 changes: 13 additions & 209 deletions addons/ballistics/CfgWeapons.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
class Mode_SemiAuto;
class Mode_Burst;
class Mode_FullAuto;

class CfgWeapons {
class LMG_RCWS;
class MGun;
Expand All @@ -13,62 +9,22 @@ class CfgWeapons {
class Rifle_Long_Base_F: Rifle_Base_F {};

// GM6 Lynx
class GM6_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(0.45);
};
};
class GM6_base_F: Rifle_Long_Base_F {};

// M200 Intervention
class LRR_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(0.50);
};
};
class LRR_base_F: Rifle_Long_Base_F {};

// MX
class arifle_MX_Base_F: Rifle_Base_F {
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(0.90);
};

class FullAuto: Mode_FullAuto {
dispersion = MOA_TO_RAD(0.90);
};
};
class arifle_MX_Base_F: Rifle_Base_F {};

// KH2002 Sama
class arifle_katiba_Base_F: Rifle_Base_F {
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(0.90);
};

class FullAuto: Mode_FullAuto {
dispersion = MOA_TO_RAD(0.90);
};
};
class arifle_katiba_Base_F: Rifle_Base_F {};

// 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);
};
};
class Tavor_base_F: Rifle_Base_F {};

// 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);
};
};
class mk20_base_F: Rifle_Base_F {};

// P90 (1.86)
class SMG_03_TR_BASE: Rifle_Base_F {
Expand All @@ -84,81 +40,28 @@ class CfgWeapons {
};

// Noreen "Bad News" ULR
class DMR_02_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(0.61);
};
};
class DMR_02_base_F: Rifle_Long_Base_F {};

// 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);
};
};
class DMR_01_base_F: Rifle_Long_Base_F {};

// 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);
};
};
class EBR_base_F: Rifle_Long_Base_F {};

// 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);
};
};
class DMR_03_base_F: Rifle_Long_Base_F {};

// ASP-1 Kir
class DMR_04_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(1.0);
};
};
class DMR_04_base_F: Rifle_Long_Base_F {};

// Cyrus
class DMR_05_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(0.67);
};

class FullAuto: Mode_FullAuto {
dispersion = MOA_TO_RAD(0.67);
};
};
class DMR_05_base_F: Rifle_Long_Base_F {};

// M14
class DMR_06_base_F: Rifle_Long_Base_F {
ACE_barrelLength = 558.8;
ACE_barrelTwist = 304.8;
initSpeed = -0.999395;
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(0.81);
};

class FullAuto: Mode_FullAuto {
dispersion = MOA_TO_RAD(0.81);
};
};

class DMR_06_hunter_base_F: DMR_06_base_F {
class Single: Single {
dispersion = MOA_TO_RAD(0.81);
};
};

// MX LSW
Expand All @@ -174,13 +77,6 @@ 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
Expand All @@ -195,13 +91,6 @@ class CfgWeapons {
initSpeed = -1.0;
ACE_barrelTwist = 228.6;
ACE_barrelLength = 457.2;
class Single: Single {
dispersion = MOA_TO_RAD(0.90);
};

class FullAuto: FullAuto {
dispersion = MOA_TO_RAD(0.90);
};
};

// HK416A5 11"
Expand All @@ -221,27 +110,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"
class arifle_SPAR_02_base_F: Rifle_Base_F {
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"
Expand All @@ -259,13 +134,6 @@ 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
Expand All @@ -290,19 +158,7 @@ class CfgWeapons {
};

// RFB SDAR
class SDAR_base_F: Rifle_Base_F {
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(3.0);
};

class Burst: Mode_Burst {
dispersion = MOA_TO_RAD(3.0);
};

class FullAuto: Mode_FullAuto {
dispersion = MOA_TO_RAD(3.0);
};
};
class SDAR_base_F: Rifle_Base_F {};

class Pistol;
class Pistol_Base_F: Pistol {};
Expand Down Expand Up @@ -408,13 +264,6 @@ 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
Expand All @@ -427,37 +276,20 @@ class CfgWeapons {
"ACE_20Rnd_65x47_Scenar_mag",
"ACE_20Rnd_65_Creedmor_mag"
};
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(1.01);
};
};

// QBZ-95-1 LSW
class arifle_CTARS_base_F: Rifle_Base_F {
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
class arifle_ARX_base_F: Rifle_Base_F {
initSpeed = -0.984262;
ACE_barrelTwist = 228.6;
ACE_barrelLength = 463.0;
class Single: Mode_SemiAuto {
dispersion = MOA_TO_RAD(0.90);
};

class FullAuto: Mode_FullAuto {
dispersion = MOA_TO_RAD(0.90);
};
};

// KH2002 Sama
Expand All @@ -482,13 +314,6 @@ 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
Expand Down Expand Up @@ -537,13 +362,6 @@ 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
Expand Down Expand Up @@ -618,13 +436,6 @@ 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
Expand Down Expand Up @@ -682,13 +493,6 @@ 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
Expand Down

0 comments on commit 8be0a8b

Please sign in to comment.