Prop paint bomb: Difference between revisions
Jump to navigation
Jump to search
Note:Gel needs to have Paint in Map set to True in worldspawn before applying on surfaces. Maps that do not use gel can save significant resources by avoiding gel code.
Bug:Paint bombs that do not have a
Note:Paint bombs use the futbol model (
({{paintinmap}}) |
(Remove entity description header and add additional notes) |
||
Line 1: | Line 1: | ||
{{portal2 point|prop_paint_bomb}} | {{portal2 point|prop_paint_bomb}} It is a paint bomb that explodes on impact. | ||
It is a paint bomb that explodes on impact. | |||
{{paintinmap}} | {{paintinmap}} | ||
{{bug|Paint bombs that do not have a <code>model</code> keyvalue set will display a warning message in the console each time they spawn. This [[Non-FGD features#Keyvalues|can be set]] to any valid model (such as <code>error.mdl</code>, which would already be loaded), and is not actually rendered or used in any way.}} | |||
{{note|Paint bombs use the [[prop_glass_futbol|futbol]] model (<code>props/futbol.mdl</code>) for their collisions. Standalone mods that use paint bombs must include this model in order for them to work correctly. The materials are not needed.}} | |||
==Keyvalues== | ==Keyvalues== |
Revision as of 19:05, 4 April 2020
Template:Portal2 point It is a paint bomb that explodes on impact.


model
keyvalue set will display a warning message in the console each time they spawn. This can be set to any valid model (such as error.mdl
, which would already be loaded), and is not actually rendered or used in any way. [todo tested in ?]
props/futbol.mdl
) for their collisions. Standalone mods that use paint bombs must include this model in order for them to work correctly. The materials are not needed.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.
- Allow SilentDissolve input ([todo internal name (i)]) <boolean>
- Allow the SilentDissolve input to dissolve this bomb.
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
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
- Dissolve
- Dissolves the paint bomb.
- SilentDissolve
- Kills the paint bomb and fires its OnFizzled output.
- EnablePortalFunnel
- Enable portal funneling behavior.
- DisablePortalFunnel
- Disable portal funneling behavior.
Outputs
- OnFizzled
- Fired when a paint bomb is fizzled.
- OnExploded
- Fired when a paint bomb explodes.