Func machinegun (GoldSrc)

From Valve Developer Community
Revision as of 05:07, 21 August 2023 by NOUG4AT (talk | contribs)
Jump to navigation Jump to search

Template:Entity (Static machinegun). It creates a stationary machine gun.

Icon-Important.pngImportant:Unlike the same func_tank, it is not a brush, but the essence of which the model requires.


Keyvalues

Model (model) ([todo internal name (i)]) <model path>
Path to the model. The machine gun is not made from brushes, but from a model.
Rate of Fire (firerate) ([todo internal name (i)]) <integer>
The number of shots per minute.
Damage (damage) ([todo internal name (i)]) <integer>
Basis height (baseheight) ([todo internal name (i)]) <integer>
Height of the machine gun origin point (i.e. the main controller point in the model)
Viewport forward dist (distfwd) ([todo internal name (i)]) <integer>
Shifting the player's view back relative to the barrel.
Viewport up dist (distup) ([todo internal name (i)]) <integer>
Shifting the player's view up relative to the barrel.
Ammo (ammo) ([todo internal name (i)]) <choices>
The number of rounds (maximum 999)
Value Description
-1 Infinite