Prop mounted machine gun: Difference between revisions
Jump to navigation
Jump to search
Bug:
Toggling the flashlight will cause toggle noise to repeat until you stop using the mounted gun. [todo tested in ?]
Risk of Confusion:
Entity name in-game is prop_minigun because this entity simply spawns L4D2 version of prop_minigun
(-changed to disambiguation) |
(-got confused and made it into disambig but this entity is better as one page) |
||
Line 1: | Line 1: | ||
{{ | {{CD|CPropMountedGun}} | ||
{{l4d series point|prop_mounted_machine_gun}} It is a usable .50 caliber mounted gun. | |||
{{bug|{{l4d}} Toggling the flashlight will cause toggle noise to repeat until you stop using the mounted gun.}} | |||
{{confusion|{{l4d2}} Entity name in-game is prop_minigun because this entity simply spawns [[prop_minigun/Left_4_Dead_2|L4D2 version of prop_minigun]]}} | |||
{{l4d}} Overheats after 20 seconds, needing 20 seconds to cool down.<br> | |||
{{l4d2}} Overheats after 15 seconds, needing 60 seconds to cool down. | |||
[[File:Heavy machine gun.png|thumb]] | |||
==Keyvalues== | |||
* {{ | {{KV|Max yaw|float|Max yaw the gun can be turned.}} | ||
* {{ | {{KV|Max pitch|float|Max pitch the gun can be depressed.}} | ||
{{KV|Min pitch|float|Min pitch the gun can be raised.}} | |||
==ConVars== | |||
The following Cvars are related to the machinegun, which can change how it functions.<br> | |||
These should not be modified because players are used to the default, but if an extra challenge like longer cooldown is required, it would be possible to do so. | |||
{{varcom|start}} | |||
{{varcom|mounted_gun_fire_think_interval (in {{l4d2}} has additional z_ prefix)|0.05|seconds|}} | |||
{{varcom|mounted_gun_cooldown_time|{{l4d}} 20 {{l4d2}} 60|seconds|Mounted gun cooldown time}} | |||
{{varcom|mounted_gun_mount_cooldown_time|0.5||}} | |||
{{varcom|mounted_gun_overheat_penalty_time|{{l4d}} 20 {{l4d2}} 60|seconds|}} | |||
{{varcom|mounted_gun_overheat_time|{{l4d}} 20 {{l4d2}} 15|seconds|Mounted gun overheat time}} | |||
{{varcom|mounted_gun_rate_of_fire|8||}} | |||
{{varcom|end}} | |||
Following cvars are {{l4d}} only | |||
{{varcom|start}} | |||
{{varcom|mounted_gun_damage|50||}} | |||
{{varcom|mounted_gun_distance|36.0||}} | |||
{{varcom|end}} | |||
==See also== | |||
*{{ent|prop_minigun}} | |||
*{{ent|prop_minigun_l4d1}} |
Revision as of 20:46, 10 November 2022
![]() |
---|
CPropMountedGun |
Template:L4d series point It is a usable .50 caliber mounted gun.




Overheats after 20 seconds, needing 20 seconds to cool down.
Overheats after 15 seconds, needing 60 seconds to cool down.
Keyvalues
ConVars
The following Cvars are related to the machinegun, which can change how it functions.
These should not be modified because players are used to the default, but if an extra challenge like longer cooldown is required, it would be possible to do so.
Cvar/Command | Parameters or default value | Descriptor | Effect |
---|---|---|---|
mounted_gun_damage | 50 | ||
mounted_gun_distance | 36.0 |