Prop mounted machine gun: Difference between revisions
Jump to navigation
Jump to search
Risk of Confusion:
Entity classname in-game is prop_minigun because this entity simply spawns L4D2 version of prop_minigun
Important:Using this entity is required if you want Louis spawned from Info l4d1 survivor spawn to use mounted gun
1416006136 (talk | contribs) (add {{lang}}) |
m (swapped template for modern counterpart. Also slightly modified CVAR table to look nicer.) |
||
Line 1: | Line 1: | ||
{{lang|Prop mounted machine gun}} | {{lang|Prop mounted machine gun}} | ||
{{CD|CPropMountedGun}} | {{CD|CPropMountedGun}} | ||
{{ | {{Entity|prop_mounted_machine_gun|Type=e0|series=l4d}} It is a usable .50 caliber mounted gun. | ||
{{ | {{ModernBug|{{l4d}} Toggling the flashlight will cause toggle noise to repeat until you stop using the mounted gun.}} | ||
{{ | {{ModernConfusion|{{l4d2}} Entity classname in-game is prop_minigun because this entity simply spawns [[prop_minigun/Left_4_Dead_2|L4D2 version of prop_minigun]]}} | ||
{{ | {{ModernImportant|Using this entity is required if you want Louis spawned from [[Info l4d1 survivor spawn]] to use mounted gun}} | ||
{{l4d}} Overheats after 20 seconds, needing 20 seconds to cool down.<br> | {{l4d|4}} Overheats after 20 seconds, needing 20 seconds to cool down.<br> | ||
{{l4d2}} Overheats after 15 seconds, needing 60 seconds to cool down. | {{l4d2|4}} Overheats after 15 seconds, needing 60 seconds to cool down. | ||
[[File:Heavy machine gun.png|thumb]] | [[File:Heavy machine gun.png|thumb]] | ||
Line 23: | Line 23: | ||
{{varcom|start}} | {{varcom|start}} | ||
{{varcom|mounted_gun_fire_think_interval (in {{l4d2}} has additional z_ prefix)|0.05|seconds|}} | {{varcom|mounted_gun_fire_think_interval (in {{l4d2|4}} has additional z_ prefix)|0.05|seconds|}} | ||
{{varcom|mounted_gun_cooldown_time|{{l4d}} 20 {{l4d2}} 60|seconds|Mounted gun cooldown time}} | {{varcom|mounted_gun_cooldown_time|{{l4d|4}} 20<br>{{l4d2|4}} 60|seconds|Mounted gun cooldown time}} | ||
{{varcom|mounted_gun_mount_cooldown_time|0.5||}} | {{varcom|mounted_gun_mount_cooldown_time|0.5||}} | ||
{{varcom|mounted_gun_overheat_penalty_time|{{l4d}} 20 {{l4d2}} 60|seconds|}} | {{varcom|mounted_gun_overheat_penalty_time|{{l4d|4}} 20<br>{{l4d2|4}} 60|seconds|}} | ||
{{varcom|mounted_gun_overheat_time|{{l4d}} 20 {{l4d2}} 15|seconds|Mounted gun overheat time}} | {{varcom|mounted_gun_overheat_time|{{l4d|4}} 20<br>{{l4d2|4}} 15|seconds|Mounted gun overheat time}} | ||
{{varcom|mounted_gun_rate_of_fire|8||}} | {{varcom|mounted_gun_rate_of_fire|8||}} | ||
{{varcom|end}} | {{varcom|end}} | ||
Following cvars are {{l4d}} only | Following cvars are {{l4d|4}} only | ||
{{varcom|start}} | {{varcom|start}} | ||
{{varcom|mounted_gun_damage|50||}} | {{varcom|mounted_gun_damage|50||}} |
Revision as of 03:45, 17 April 2023
![]() |
---|
CPropMountedGun |
Template:Entity It is a usable .50 caliber mounted gun. Template:ModernBug



Left 4 Dead Overheats after 20 seconds, needing 20 seconds to cool down.
Left 4 Dead 2 Overheats after 15 seconds, needing 60 seconds to cool down.
Keyvalues
- Max yaw (MaxYaw) <float>
- Max yaw the gun can be turned.
- Max pitch (MaxPitch) <float>
- Max pitch the gun can be depressed.
- Min pitch (MinPitch) <float>
- Min pitch the gun can be raised.
Outputs
- OnFireStart
- Fired when the minigun has spun up and is starting firing.
- OnFireStop
- Fired when the minigun has stopped firing.
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_fire_think_interval (in ![]() |
0.05 | seconds | |
mounted_gun_cooldown_time | ![]() ![]() |
seconds | Mounted gun cooldown time |
mounted_gun_mount_cooldown_time | 0.5 | ||
mounted_gun_overheat_penalty_time | ![]() ![]() |
seconds | |
mounted_gun_overheat_time | ![]() ![]() |
seconds | Mounted gun overheat time |
mounted_gun_rate_of_fire | 8 |
Following cvars are Left 4 Dead only
Cvar/Command | Parameters or default value | Descriptor | Effect |
---|---|---|---|
mounted_gun_damage | 50 | ||
mounted_gun_distance | 36.0 |