mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
SOG Compat - Jam types and Open bolts (#8563)
* SOG Compat - Jam types and Open bolts - Machineguns and SMGs fire from open bolts - Fire and Dud Jam types for Grenade Launchers, Revolvers and Shotguns * Update CfgWeapons.hpp * Update pistols.hpp * Update weapons.hpp
This commit is contained in:
parent
8cdf0b2c68
commit
2252eab2f3
@ -4,4 +4,5 @@ class CfgWeapons {
|
||||
#include "CfgWeapons\launchers.hpp"
|
||||
#include "CfgWeapons\pistols.hpp"
|
||||
#include "CfgWeapons\uniforms.hpp"
|
||||
#include "CfgWeapons\weapons.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";
|
||||
|
25
optionals/compat_sog/CfgWeapons/weapons.hpp
Normal file
25
optionals/compat_sog/CfgWeapons/weapons.hpp
Normal file
@ -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"};
|
||||
};
|
Loading…
Reference in New Issue
Block a user