ACE3/addons/compat_sog/CfgWeapons/weapons.hpp
Assanali Mukhanov 537487522f
Compat SOG - Add barrel swap for MGs and belt linking for drum magazines (#9439)
* Add barrel swap support to SOG MGs

* Set SOG MG drum mags as belts, allow belt linking

* Remove tracer mag configs

Since they inherit from the "normal" magazines, these config entries, indeed, seem pointless.

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

* Remove barrel swap from RPD and M1918

---------

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-28 15:20:46 -04:00

40 lines
902 B
C++

class vn_rifle;
class vn_m63a_lmg: vn_rifle {
EGVAR(overheating,closedBolt) = 0;
EGVAR(overheating,allowSwapBarrel) = 1;
};
class vn_lmg: vn_rifle {
EGVAR(overheating,closedBolt) = 0;
};
class vn_pk: vn_lmg {
EGVAR(overheating,allowSwapBarrel) = 1;
};
class vn_m60: vn_lmg {
EGVAR(overheating,allowSwapBarrel) = 1;
};
class vn_mg42: vn_lmg {
EGVAR(overheating,allowSwapBarrel) = 1;
};
class vn_l4: vn_lmg {
EGVAR(overheating,allowSwapBarrel) = 1;
};
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"};
};