Paint sphere: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(added sticky gel)
Line 8: Line 8:
{{KV|Paint Type|choices|The type of paint.}}
{{KV|Paint Type|choices|The type of paint.}}
:* 0 : Bounce
:* 0 : Bounce
:* 1 : Sticky (Broken when the game came out, changed into mirroring gel when the first DLC came out. Blobs are missing a texture.)
:* 2 : Speed
:* 2 : Speed
:* 3 : Portal
:* 3 : Portal

Revision as of 09:28, 8 July 2012

Blue gel blobs being dispensed.

Stub

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

Template:Portal2 point It paints brush entities inside the sphere.

Keyvalues

Paint Type ([todo internal name (i)]) <choices>
The type of paint.
  • 0 : Bounce
  • 1 : Sticky (Broken when the game came out, changed into mirroring gel when the first DLC came out. Blobs are missing a texture.)
  • 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