This article's documentation is for the "GoldSrc" engine. Click here for more information.

func_machinegun

From Valve Developer Community
Revision as of 11:26, 2 March 2024 by NOUG4AT (talk | contribs)
Jump to navigation Jump to search

func_machinegun is a point available in Paranoia Paranoia.

Warning.pngWarning:
  • The {{{engine}}} parameter is inconsistent with the name defined by the {{gldsrc}} template. This can most likely be fixed by setting the value of the {{{engine}}} parameter to GoldSrc.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

(Static machinegun). It creates a stationary machine gun.

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


Keyvalues

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