Func machinegun (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
Important:Unlike the same func_tank, it is not a brush, but the essence of which the model requires.
No edit summary |
m (→Keyvalues) |
||
Line 4: | Line 4: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Model | {{KV|Model|intn=model|studio|Path to the model. The machine gun is not made from brushes, but from a model.}} | ||
{{KV|Rate of Fire | {{KV|Rate of Fire|intn=firerate|integer|The number of shots per minute.}} | ||
{{KV|Damage | {{KV|Damage|intn=damage|integer}} | ||
{{KV|Basis height | {{KV|Basis height|intn=baseheight|integer|Height of the machine gun origin point (i.e. the main controller point in the model)}} | ||
{{KV|Viewport forward dist | {{KV|Viewport forward dist|intn=distfwd|integer|Shifting the player's view back relative to the barrel.}} | ||
{{KV|Viewport up dist | {{KV|Viewport up dist|intn=distup|integer|Shifting the player's view up relative to the barrel.}} | ||
{{KV|Ammo | {{KV|Ammo|intn=ammo|choices|The number of rounds (maximum 999)}} | ||
:{| class=standard-table | :{| class=standard-table | ||
!| Value || Description | !| Value || Description |
Revision as of 06:23, 21 August 2023
Template:Entity (Static machinegun). It creates a stationary machine gun.

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