prop_minigun

From Valve Developer Community
Jump to: navigation, search
class hierarchy
CPropMinigun
CBaseMountedWeapon
CDynamicProp
CBreakableProp
CBaseProp
CBaseAnimating
CBaseEntity

prop_minigun is a point entity available in the Left 4 Dead series Left 4 Dead series. It is a usable mounted minigun that is normally used in the rescue point finale to support the survivors.

Icon-Important.pngImportant:Don't use this entity in Left 4 Dead 2 Left 4 Dead 2 as it spawns prop_mounted_machine_gun. To spawn Left 4 Dead Left 4 Dead style minigun use prop_minigun_l4d1.
Note.pngNote:Louis spawned from info_l4d1_survivor_spawn won't use this entity
prop_minigun in L4D1

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

Cvar/CommandParameters or default valueDescriptorEffect
z_minigun_atomize0minigun should atomize zombies
z_minigun_cooldown_time3Minigun cooldown time
z_minigun_damage_rate48000Minigun damage rate, in health/minute
z_minigun_debug0
z_minigun_fire_anim0survivors use a separate anim when firing miniguns
z_minigun_fire_anim_speed1cycle rate for main sequence when firing miniguns
z_minigun_fire_think_interval0.2
z_minigun_firing_speed15
z_minigun_overheat_time20Minigun overheat time
z_minigun_particles11=attachment, 2=control points (like smoker_tongue drip)
z_minigun_rate_of_fire1500Minigun rate of fire, in bullets/minute
z_minigun_spin_down_speed4
z_minigun_spin_up_speed15
z_minigun_spread7Minigun spray in degrees from forward
z_minigun_stand_distance36

See also