Prop paint bomb: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with '{{portal2 point|prop_paint_bomb}} ==Entity description== Paint bomb that explodes on impact. ==Keyvalues== {{KV Targetname}} {{KV Angles}} {{KV|Paint Type|choices|The type of p…')
 
m (Re-arranged some fields)
Line 5: Line 5:


==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV Angles}}
{{KV|Paint Type|choices|The type of paint to explode.}}
{{KV|Paint Type|choices|The type of paint to explode.}}
:* 0 : Bounce
:* 0 : Bounce
Line 17: Line 15:
{{KV|Allow Portal Funneling|boolean|Whether or not this object should auto-funnel into a portal.}}
{{KV|Allow Portal Funneling|boolean|Whether or not this object should auto-funnel into a portal.}}
{{KV|Play Spawn Sound|boolean|Whether or not this bomb should play a sound on spawn.}}
{{KV|Play Spawn Sound|boolean|Whether or not this bomb should play a sound on spawn.}}
{{KV Targetname}}
{{KV Angles}}


==Inputs==
==Inputs==
Line 22: Line 22:


==Outputs==
==Outputs==
{{O Targetname}}
{{IO|OnFizzled|Fired when a paint bomb is fizzled.}}
{{IO|OnFizzled|Fired when a paint bomb is fizzled.}}
{{IO|OnExploded|Fired when a paint bomb explodes.}}
{{IO|OnExploded|Fired when a paint bomb explodes.}}
{{O Targetname}}

Revision as of 01:45, 13 May 2011

Template:Portal2 point

Entity description

Paint bomb that explodes on impact.

Keyvalues

Paint Type ([todo internal name (i)]) <choices>
The type of paint to explode.
  • 0 : Bounce
  • 2 : Speed
  • 3 : Portal
  • 4 : Erase
Bomb Type ([todo internal name (i)]) <choices>
The type of explosion.
  • 0 : Dry Bomb
  • 1 : Wet Bomb
Allow Portal Funneling ([todo internal name (i)]) <boolean>
Whether or not this object should auto-funnel into a portal.
Play Spawn Sound ([todo internal name (i)]) <boolean>
Whether or not this bomb should play a sound on spawn.
Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

Inputs

Outputs

OnFizzled
Fired when a paint bomb is fizzled.
OnExploded
Fired when a paint bomb explodes.