This modification allows you to add to your mission a working stationary machine gun (object ID 195) from which you can shoot in first person mode.
What's new:
- Added reload system
- Added overheating system
- Added the ability to zoom in/out the crosshair
- Now, when exiting the shooting mode, the machine gun will be turned in that direction,
where did you aim the crosshair
- Added ammo system:
If there are ammo boxes near the machine gun (ID 207, 121, 119 or
2043), then the ammo in it will be infinite. If these objects are not nearby
it turns out that the machine gun will only have 500 rounds, having used up that, you
will have to look for new ones. In order to replenish ammunition, you need to find on
map objects ID 207, 121, 119 or 2043, approach them and press the E key.
Management:
T - use machine gun
R - reload
Mouse wheel (or Q and E) - zoom
E - take ammo
the normal version and the version without the ammo system - in this version, the machine gun will always have an infinite amount of ammo. Install the one you like best.
________________________________________________________________________
The script can be used not only in DYOM, but also in any of your other modifications. It is allowed to use it as you like, but with the indication of the author.