prop_minigun

From Valve Developer Community
Jump to: navigation, search
English (en)Translate (Translate)
edit
Class hierarchy
CPropMinigun
CBaseMountedWeapon
CDynamicProp
CBreakableProp
CBaseProp
CBaseAnimating
CBaseEntity

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

Icon-Important.pngImportant:In Left 4 Dead 2 Left 4 Dead 2 this entity is prop_minigun_l4d1
L4d1 minigun.png

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