Info paint sprayer: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Updated with data from the official portal2.fgd) |
||
Line 4: | Line 4: | ||
==Entity description== | ==Entity description== | ||
An entity that sprays paint. | |||
==Keyvalues== | ==Keyvalues== | ||
Line 10: | Line 10: | ||
{{KV Parentname}} | {{KV Parentname}} | ||
{{KV Angles}} | {{KV Angles}} | ||
{{KV| | {{KV|Max number of blobs|integer|Max number of blobs that sprayer can spawn in the world (1-250).}} | ||
{{KV| | {{KV|Start Active?|boolean}} | ||
{{KV| | {{KV|Silent?|boolean|If this flag is true, blobs will only paint (no render, effect, or sound)}} | ||
{{KV| | {{KV|DrawOnly?|boolean|If this flag is true, blobs will only render (no paint, effect, or sound)}} | ||
{{KV| | {{KV|Paint Type|choices|The type of paint sprayed.}} | ||
:* 0 : Bounce | |||
:* 2 : Speed | |||
:* 3 : Portal | |||
{{KV| | :* 4 : Erase | ||
{{KV| | {{KV|Render Mode|choices|The mode to render blobs.}} | ||
{{KV| | :* 0 : Blobulator | ||
{{KV|Min | :* 1 : Fast Sphere | ||
{{KV|Max | {{KV|Ambient Sound|choices|The sound to play when paint is flowing.}} | ||
{{KV| | :* 0 : None (silent) | ||
{{KV| | :* 1 : Drip | ||
:* 2 : Medium Flow | |||
:* 3 : Heavy Flow | |||
{{KV|Blobs per second|float|The number of paint blobs sprayed per second.}} | |||
{{KV|Min blob speed|float|The minimum speed of the sprayed blobs.}} | |||
{{KV|Max blob speed|float|The maximum speed of the sprayed blobs.}} | |||
{{KV| | {{KV|Blob spread radius|float|The starting radius of the spread of the blobs.}} | ||
{{KV| | {{KV|Blob spread angle|float|The spread of the blobs along its direction vector (in degrees).}} | ||
{{KV| | {{KV|Blob streak percentage|float|The percentage of blobs that will streak (0 - 100).}} | ||
{{KV| | {{KV|Blob min streak time|float|The minimum time that the blobs will streak for.}} | ||
{{KV|Blob max streak time|float|The maximum time that the blobs will streak for.}} | |||
{{KV| | {{KV|Blob min streak speed dampen|float|The minimum speed dampening while streaking.}} | ||
{{KV|Blob max streak speed dampen|float|The maximum speed dampening while streaking.}} | |||
==Inputs== | ==Inputs== | ||
{{I Targetname}} | {{I Targetname}} | ||
{{I Parentname}} | {{I Parentname}} | ||
{{ | {{IO|Start|Tell the paint sprayer to start spraying.}} | ||
{{IO| | {{IO|Stop|Tell the paint sprayer to stop spraying.}} | ||
{{IO| | {{IO|ChangePaintType|Change the type of paint being sprayed.|param=integer}} | ||
==Outputs== | ==Outputs== |
Revision as of 01:15, 11 May 2011

This article or section needs a screenshot to help visually convey the subject.
You can upload screenshots at Special:Upload. For help, see Help:Images.
You can upload screenshots at Special:Upload. For help, see Help:Images.
Entity description
An entity that sprays paint.
Keyvalues
- 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
Parentname:
- Parent (parentname) <targetname>
- Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
- 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.
- Max number of blobs ([todo internal name (i)]) <integer>
- Max number of blobs that sprayer can spawn in the world (1-250).
- Silent? ([todo internal name (i)]) <boolean>
- If this flag is true, blobs will only paint (no render, effect, or sound)
- DrawOnly? ([todo internal name (i)]) <boolean>
- If this flag is true, blobs will only render (no paint, effect, or sound)
- Paint Type ([todo internal name (i)]) <choices>
- The type of paint sprayed.
- 0 : Bounce
- 2 : Speed
- 3 : Portal
- 4 : Erase
- Render Mode ([todo internal name (i)]) <choices>
- The mode to render blobs.
- 0 : Blobulator
- 1 : Fast Sphere
- Ambient Sound ([todo internal name (i)]) <choices>
- The sound to play when paint is flowing.
- 0 : None (silent)
- 1 : Drip
- 2 : Medium Flow
- 3 : Heavy Flow
- Blob spread radius ([todo internal name (i)]) <float>
- The starting radius of the spread of the blobs.
- Blob spread angle ([todo internal name (i)]) <float>
- The spread of the blobs along its direction vector (in degrees).
- Blob streak percentage ([todo internal name (i)]) <float>
- The percentage of blobs that will streak (0 - 100).
- Blob min streak time ([todo internal name (i)]) <float>
- The minimum time that the blobs will streak for.
- Blob max streak time ([todo internal name (i)]) <float>
- The maximum time that the blobs will streak for.
- Blob min streak speed dampen ([todo internal name (i)]) <float>
- The minimum speed dampening while streaking.
- Blob max streak speed dampen ([todo internal name (i)]) <float>
- The maximum speed dampening while streaking.
Inputs
Parentname:
- SetParent <string >
- Move with this entity. See Entity Hierarchy (parenting).
- SetParentAttachment <string >
- Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
- SetParentAttachmentMaintainOffset <string >
- As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
- ClearParent
- Removes this entity from the the movement hierarchy, leaving it free to move independently.
- Start
- Tell the paint sprayer to start spraying.
- Stop
- Tell the paint sprayer to stop spraying.
- ChangePaintType <integer >
- Change the type of paint being sprayed.