Paint sphere: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Updated with data from the official portal2.fgd)
m (Re-arranged some fields)
Line 1: Line 1:
{{stub}}
[[File:Sp colo tbeam paint0241.jpg|thumb|right|300px|Blue gel blobs being dispensed.]]  
[[File:Sp colo tbeam paint0241.jpg|thumb|right|300px|Blue gel blobs being dispensed.]]  


{{stub}}
{{portal2 point|paint_sphere}}
{{portal2 point|paint_sphere}}


Line 9: Line 9:


==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV|Paint Type|choices|The type of paint.}}
{{KV|Paint Type|choices|The type of paint.}}
:* 0 : Bounce
:* 0 : Bounce
Line 17: Line 16:
{{KV|Radius|float|Radius of paint sphere}}
{{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}}
{{KV|Alpha Percent|float|Alpha percent to control the density of paint, the value must be between 0 to 1}}
{{KV Targetname}}


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


==Outputs==
==Outputs==
{{O Targetname}}
{{O Targetname}}

Revision as of 01:28, 13 May 2011

Blue gel blobs being dispensed.

Stub

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

Template:Portal2 point

Entity description

Paint brush entities inside the sphere

Keyvalues

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
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

Inputs

Paint
Apply paint with specified paint type inside the paint sphere


Outputs