Info paint sprayer

From Valve Developer Community
Revision as of 01:15, 11 May 2011 by Barracuda (talk | contribs) (Updated with data from the official portal2.fgd)
Jump to navigation Jump to search

Template:Portal2 point

Nuvola apps ksnapshot.png
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.

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 or target).
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).
Start Active? ([todo internal name (i)]) <boolean>
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
Blobs per second ([todo internal name (i)]) <float>
The number of paint blobs sprayed per second.
Min blob speed ([todo internal name (i)]) <float>
The minimum speed of the sprayed blobs.
Max blob speed ([todo internal name (i)]) <float>
The maximum speed of the sprayed blobs.
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 <stringRedirectInput/string>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <stringRedirectInput/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 <stringRedirectInput/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 <integerRedirectInput/integer>
Change the type of paint being sprayed.

Outputs

See also