-
Notifications
You must be signed in to change notification settings - Fork 739
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
3 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"}; | ||
}; |