Prop minigun: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Reformat)
Line 1: Line 1:
{{DISPLAYTITLE:prop_minigun}}
{{l4d series point|prop_minigun}}
{{l4d series point|prop_minigun}}


Line 6: Line 5:


== Keyvalues ==
== Keyvalues ==
{{KV PropDynamicBase}}
{{KV|Max yaw|float|Max yaw the gun can be turned.}}
*{{KV Parentname}}
{{KV|Max pitch|float|Max pitch the gun can be depressed.}}
*{{KV Global}}
{{KV|Min pitch|float|Min pitch the gun can be raised.}}
*{{KV EnableDisable}}
{{KV prop_dynamic_base}}
*'''solid'''
{{KV EnableDisable}}
:<choices> Collisions.
:{| class=standard-table
! Literal value || Description
|-
| 0 || Not Solid
|-
| 2 || Use Bounding Box
|-
| 6 || Use VPhysics
|}


== Flags ==
== Flags ==
* {{fl PropDynamicBase}}
{{Fl prop_dynamic_base}}


== Inputs ==
== Inputs ==
* {{I Targetname}}
{{I prop_dynamic_base}}
{{I PropDynamicBase}}
{{I EnableDisable}}


== Outputs ==
== Outputs ==
* '''OnFireStart'''
{{IO|OnFireStart|Fired when the minigun has spun up and is starting firing.}}
: Fired when the minigun has spun up and is starting firing.
{{IO|OnFireStop|Fired when the minigun has stopped firing.}}
* '''OnFireStop'''
{{O prop_dynamic_base}}
: Fired when the minigun has stopped firing.
{{O PropDynamicBase}}


== See also ==
== See also ==
* [[prop_mounted_machine_gun]]
* [[prop_mounted_machine_gun]]
[[Category:Left 4 Dead Entities]]
[[Category:Left 4 Dead 2 Entities]]

Revision as of 15:19, 12 August 2011

Template:L4d series point

Entity description

A mounted gun players can +USE. The entity is available in both Left 4 Dead and Left 4 Dead 2.

Keyvalues

Max yaw ([todo internal name (i)]) <float>
Max yaw the gun can be turned.
Max pitch ([todo internal name (i)]) <float>
Max pitch the gun can be depressed.
Min pitch ([todo internal name (i)]) <float>
Min pitch the gun can be raised.

Template:KV prop dynamic base

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

Flags

Template:Fl prop dynamic base

Inputs

Template:I prop dynamic base EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.

Outputs

OnFireStart
Fired when the minigun has spun up and is starting firing.
OnFireStop
Fired when the minigun has stopped firing.

Template:O prop dynamic base

See also