Func machinegun (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{entity|trigger_mp3|<!--sprite=1-->|type=point|engine=gldsrc|game=Paranoia}} (Static machinegun). It creates a stationary machine gun. {{ModernImporant|Unlike the same func...")
 
No edit summary
Line 1: Line 1:
{{entity|trigger_mp3|<!--sprite=1-->|type=point|engine=gldsrc|game=Paranoia}} (Static machinegun). It creates a stationary machine gun.
{{entity|Func_machinegun|<!--sprite=1-->|type=point|engine=gldsrc|game=Paranoia}} (Static machinegun). It creates a stationary machine gun.
{{ModernImporant|Unlike the same [[func_tank]], it is not a brush, but the essence of which the model requires.}}
{{ModernImporant|Unlike the same [[func_tank]], it is not a brush, but the essence of which the model requires.}}



Revision as of 11:49, 31 July 2023

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


Keyvalues

  • Model (model) <studio>
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, and if -1, then infinite)
-1: "Infinite"