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

Func machinegun (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Line 1: Line 1:
{{this is a|point|<!--sprite=1-->|name=func_machinegun|engine=gldsrc|game=Paranoia}} (Static machinegun). It creates a stationary machine gun.
{{this is a|point entity|<!--sprite=1-->|name=func_machinegun|engine=GoldSrc|game=Paranoia}} (Static machinegun). It creates a stationary machine gun.
{{ModernImportant|Unlike the same {{ent|func_tank_(GoldSrc)|alt=func_tank}}, it is not a brush, but the point of which the model requires.}}
{{ModernImportant|Unlike the same {{ent|func_tank_(GoldSrc)|alt=func_tank}}, it is not a brush, but the point of which the model requires.}}



Revision as of 20:28, 17 May 2024

func_machinegun is a point entity available in Paranoia Paranoia. (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