diff --git a/optionals/compat_sog/CfgWeapons.hpp b/optionals/compat_sog/CfgWeapons.hpp index 5302ad6d175..55fe9edc92e 100644 --- a/optionals/compat_sog/CfgWeapons.hpp +++ b/optionals/compat_sog/CfgWeapons.hpp @@ -4,4 +4,5 @@ class CfgWeapons { #include "CfgWeapons\launchers.hpp" #include "CfgWeapons\pistols.hpp" #include "CfgWeapons\uniforms.hpp" + #include "CfgWeapons\weapons.hpp" }; diff --git a/optionals/compat_sog/CfgWeapons/pistols.hpp b/optionals/compat_sog/CfgWeapons/pistols.hpp index e56cbbb04e0..25eef4c56c1 100644 --- a/optionals/compat_sog/CfgWeapons/pistols.hpp +++ b/optionals/compat_sog/CfgWeapons/pistols.hpp @@ -1,5 +1,17 @@ #define MX991_FLASHLIGHT_SIZE 1.75 +class vn_pistol; +class vn_m79_p: vn_pistol { + EGVAR(overheating,jamTypesAllowed)[] = {"Fire", "Dud"}; +}; +class vn_mk22; +class vn_m10: vn_mk22 { + EGVAR(overheating,jamTypesAllowed)[] = {"Fire", "Dud"}; +}; +class vn_m1895: vn_mk22 { + EGVAR(overheating,jamTypesAllowed)[] = {"Fire", "Dud"}; +}; + class vn_pm; class vn_fkb1_pm: vn_pm { ACE_Flashlight_Colour = "white"; diff --git a/optionals/compat_sog/CfgWeapons/weapons.hpp b/optionals/compat_sog/CfgWeapons/weapons.hpp new file mode 100644 index 00000000000..8a88b96f7f0 --- /dev/null +++ b/optionals/compat_sog/CfgWeapons/weapons.hpp @@ -0,0 +1,25 @@ + +class vn_rifle; +class vn_lmg: vn_rifle { + EGVAR(overheating,closedBolt) = 0; +}; +class vn_m63a_lmg: vn_rifle { + EGVAR(overheating,closedBolt) = 0; +}; +class vn_smg: vn_rifle { + EGVAR(overheating,closedBolt) = 0; +}; +class vn_vz61: vn_smg { + EGVAR(overheating,closedBolt) = 1; +}; + +class vn_mk1_udg: vn_smg { + EGVAR(overheating,jamTypesAllowed)[] = {"Fire", "Dud"}; +}; +class vn_m79: vn_rifle { + EGVAR(overheating,jamTypesAllowed)[] = {"Fire", "Dud"}; +}; +class vn_shotgun; +class vn_izh54: vn_shotgun { + EGVAR(overheating,jamTypesAllowed)[] = {"Fire", "Dud"}; +};