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
(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
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{entity|trigger_mp3|<!--sprite=1-->|type=point|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.
{{ModernImporant|Unlike the same [[func_tank]], it is not a brush, but the essence 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.}}
 
{{func point ent}}


==Keyvalues==
==Keyvalues==
* Model (model) <studio>
{{KV|Model|intn=model|studio|Path to the model. The machine gun is not made from brushes, but from a model.}}
::Path to the model. The machine gun is not made from brushes, but from a model.
{{KV|Rate of Fire|intn=firerate|integer|The number of shots per minute.}}
 
{{KV|Damage|intn=damage|integer}}
* Rate of Fire (firerate) <integer>
{{KV|Basis height|intn=baseheight|integer|Height of the machine gun origin point (i.e. the main controller point in the model)}}
::The number of shots per minute.
{{KV|Viewport forward dist|intn=distfwd|integer|Shifting the player's view back relative to the barrel.}}
 
{{KV|Viewport up dist|intn=distup|integer|Shifting the player's view up relative to the barrel.}}
* Damage (damage) <integer>
{{KV|Ammo|intn=ammo|choices|The number of rounds (maximum 999)}}
 
:{| class=standard-table
* Basis height (baseheight) <integer>
!| Value || Description
:: Height of the machine gun origin point (i.e. the main controller point in the model)
|-
 
| -1 ||  Infinite
* 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"


[[Category:GoldSrc]]
[[Category:GoldSrc]]
[[Category:Paranoia Entities]]

Latest revision as of 08:21, 3 March 2025

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.
Warning.pngRisk of Confusion:This is a point entity despite the name starting with func_ (which is usually used for brush entities).

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