Paint sphere: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Testing the new KV template)
(Updated with data from the official portal2.fgd)
Line 5: Line 5:
{{portal2 point|paint_sphere}}
{{portal2 point|paint_sphere}}


==Entity Description==
==Entity description==
A gel blob
Paint brush entities inside the sphere


==KeyValues==
==Keyvalues==
{{KV Targetname}}
{{KV Targetname}}
{{KV Origin}}
{{KV|Paint Type|choices|The type of paint.}}
{{KV|radius|integer}}
:* 0 : Bounce
{{KV|paint_type|choices}}
:* 2 : Speed
{{KV|alpha_percent|float}}
:* 3 : Portal
:* 4 : Erase
{{KV|Radius|float|Radius of paint sphere}}
{{KV|Alpha Percent|float|Alpha percent to control the density of paint, the value must be between 0 to 1}}


==Inputs==
==Inputs==
{{I Targetname}}
{{I Targetname}}
{{IO|Paint|Apply paint with specified paint type inside the paint sphere}}
==Outputs==
{{O Targetname}}

Revision as of 02:06, 11 May 2011

Stub

This article or section is a stub. You can help by expanding it.

Blue gel blobs being dispensed.

Template:Portal2 point

Entity description

Paint brush entities inside the sphere

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

Paint Type ([todo internal name (i)]) <choices>
The type of paint.
  • 0 : Bounce
  • 2 : Speed
  • 3 : Portal
  • 4 : Erase
Radius ([todo internal name (i)]) <float>
Radius of paint sphere
Alpha Percent ([todo internal name (i)]) <float>
Alpha percent to control the density of paint, the value must be between 0 to 1

Inputs

Paint
Apply paint with specified paint type inside the paint sphere

Outputs