ACE3/optionals/realisticdispersion/CfgWeapons.hpp
BrettMayson a40b0d48f2
HEMTT v10 Compatibility (#9105)
* HEMTT v10 Compatibility

* Update addons/field_rations/CfgUIGrids.hpp

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

* fix PabstMirror review

* optionals

* End empty macro definitions with semi-colon (HEMTT v0.10)

* Adapt to HEMTT v0.10.0-a14

* Revert End empty macro definitions with semi-colon

* Disable old HEMTT build step in CI

* Add missing include and fix macro usage and include casings

* End empty macro definitions with semi-colon (HEMTT v0.10)

* Update addons/disarming/functions/fnc_showItemsInListbox.sqf

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

* cleanup test code

* arty - keep style same as before

* fix fire screams

* Update script_component.hpp

* Keep old hemtt/workflow/sqfc

* Update arma.yml

* Update arma.yml

* Update CfgUIGrids.hpp

---------

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
Co-authored-by: jonpas <jonpas33@gmail.com>
2023-02-01 23:28:55 -06:00

296 lines
6.9 KiB
C++

class Mode_SemiAuto;
class Mode_Burst;
class Mode_FullAuto;
class CfgWeapons {
class Rifle_Base_F;
class Rifle_Long_Base_F: Rifle_Base_F {};
// GM6 Lynx
class GM6_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = QUOTE(MOA_TO_RAD(0.45));
};
};
// M200 Intervention
class LRR_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = QUOTE(MOA_TO_RAD(0.50));
};
};
// MX
class arifle_MX_Base_F: Rifle_Base_F {
class Single: Mode_SemiAuto {
dispersion = QUOTE(MOA_TO_RAD(0.90));
};
class FullAuto: Mode_FullAuto {
dispersion = QUOTE(MOA_TO_RAD(0.90));
};
};
// KH2002 Sama
class arifle_katiba_Base_F: Rifle_Base_F {
class Single: Mode_SemiAuto {
dispersion = QUOTE(MOA_TO_RAD(0.90));
};
class FullAuto: Mode_FullAuto {
dispersion = QUOTE(MOA_TO_RAD(0.90));
};
};
// CTAR-21
class Tavor_base_F: Rifle_Base_F {
class Single: Mode_SemiAuto {
dispersion = QUOTE(MOA_TO_RAD(1.12));
};
class FullAuto: Mode_FullAuto {
dispersion = QUOTE(MOA_TO_RAD(1.12));
};
};
// F2000
class mk20_base_F: Rifle_Base_F {
class Single: Mode_SemiAuto {
dispersion = QUOTE(MOA_TO_RAD(1.12));
};
class FullAuto: Mode_FullAuto {
dispersion = QUOTE(MOA_TO_RAD(1.12));
};
};
// Noreen "Bad News" ULR
class DMR_02_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = QUOTE(MOA_TO_RAD(0.61));
};
};
// VS-121
class DMR_01_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = QUOTE(MOA_TO_RAD(0.81));
};
class FullAuto: Mode_FullAuto {
dispersion = QUOTE(MOA_TO_RAD(0.81));
};
};
// Mk14 Mod 1 EBR
class EBR_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = QUOTE(MOA_TO_RAD(0.81));
};
class FullAuto: Mode_FullAuto {
dispersion = QUOTE(MOA_TO_RAD(0.81));
};
};
// SIG 556
class DMR_03_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = QUOTE(MOA_TO_RAD(0.81));
};
class FullAuto: Mode_FullAuto {
dispersion = QUOTE(MOA_TO_RAD(0.81));
};
};
// ASP-1 Kir
class DMR_04_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = QUOTE(MOA_TO_RAD(1.0));
};
};
// Cyrus
class DMR_05_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = QUOTE(MOA_TO_RAD(0.67));
};
class FullAuto: Mode_FullAuto {
dispersion = QUOTE(MOA_TO_RAD(0.67));
};
};
// M14
class DMR_06_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = QUOTE(MOA_TO_RAD(0.81));
};
class FullAuto: Mode_FullAuto {
dispersion = QUOTE(MOA_TO_RAD(0.81));
};
};
class DMR_06_hunter_base_F: DMR_06_base_F {
class Single: Single {
dispersion = QUOTE(MOA_TO_RAD(0.81));
};
};
// MX LSW
class arifle_MX_SW_F: arifle_MX_Base_F {
class Single: Mode_SemiAuto {
dispersion = QUOTE(MOA_TO_RAD(0.90));
};
class FullAuto: Mode_FullAuto {
dispersion = QUOTE(MOA_TO_RAD(0.90));
};
};
// MXM
class arifle_MXM_F: arifle_MX_Base_F {
class Single: Single {
dispersion = QUOTE(MOA_TO_RAD(0.90));
};
class FullAuto: FullAuto {
dispersion = QUOTE(MOA_TO_RAD(0.90));
};
};
// HK416A5 11"
class arifle_SPAR_01_base_F: Rifle_Base_F {
class Single: Mode_SemiAuto {
dispersion = QUOTE(MOA_TO_RAD(1.12));
};
class FullAuto: Mode_FullAuto {
dispersion = QUOTE(MOA_TO_RAD(1.12));
};
};
// HK416A5 14.5"
class arifle_SPAR_02_base_F: Rifle_Base_F {
class Single: Mode_SemiAuto {
dispersion = QUOTE(MOA_TO_RAD(1.12));
};
class FullAuto: Mode_FullAuto {
dispersion = QUOTE(MOA_TO_RAD(1.12));
};
};
// HK417A2 20"
class arifle_SPAR_03_base_F: Rifle_Base_F {
class Single: Mode_SemiAuto {
dispersion = QUOTE(MOA_TO_RAD(0.81));
};
class FullAuto: Mode_FullAuto {
dispersion = QUOTE(MOA_TO_RAD(0.81));
};
};
// RFB SDAR
class SDAR_base_F: Rifle_Base_F {
class Single: Mode_SemiAuto {
dispersion = QUOTE(MOA_TO_RAD(3.0));
};
class Burst: Mode_Burst {
dispersion = QUOTE(MOA_TO_RAD(3.0));
};
class FullAuto: Mode_FullAuto {
dispersion = QUOTE(MOA_TO_RAD(3.0));
};
};
// QBZ-95-1
class arifle_CTAR_base_F: Rifle_Base_F {
class Single: Mode_SemiAuto {
dispersion = QUOTE(MOA_TO_RAD(1.12));
};
class FullAuto: Mode_FullAuto {
dispersion = QUOTE(MOA_TO_RAD(1.12));
};
};
// QBU-88
class DMR_07_base_F: Rifle_Long_Base_F {
class Single: Mode_SemiAuto {
dispersion = QUOTE(MOA_TO_RAD(1.01));
};
};
// QBZ-95-1 LSW
class arifle_CTARS_base_F: Rifle_Base_F {
class Single: Mode_SemiAuto {
dispersion = QUOTE(MOA_TO_RAD(1.12));
};
class FullAuto: Mode_FullAuto {
dispersion = QUOTE(MOA_TO_RAD(1.12));
};
};
// Type 115
class arifle_ARX_base_F: Rifle_Base_F {
class Single: Mode_SemiAuto {
dispersion = QUOTE(MOA_TO_RAD(0.90));
};
class FullAuto: Mode_FullAuto {
dispersion = QUOTE(MOA_TO_RAD(0.90));
};
};
// KH2002C Sama
class arifle_Katiba_C_F: arifle_katiba_Base_F {
class Single: Single {
dispersion = QUOTE(MOA_TO_RAD(0.90));
};
class FullAuto: FullAuto {
dispersion = QUOTE(MOA_TO_RAD(0.90));
};
};
// MXC
class arifle_MXC_F: arifle_MX_Base_F {
class Single: Single {
dispersion = QUOTE(MOA_TO_RAD(0.90));
};
class FullAuto: FullAuto {
dispersion = QUOTE(MOA_TO_RAD(0.90));
};
};
// TAR-21
class arifle_TRG21_F: Tavor_base_F {
class Single: Single {
dispersion = QUOTE(MOA_TO_RAD(1.12));
};
class FullAuto: FullAuto {
dispersion = QUOTE(MOA_TO_RAD(1.12));
};
};
// F2000 Tactical
class arifle_Mk20C_F: mk20_base_F {
class Single: Single {
dispersion = QUOTE(MOA_TO_RAD(1.12));
};
class FullAuto: FullAuto {
dispersion = QUOTE(MOA_TO_RAD(1.12));
};
};
};