Paint sphere: Difference between revisions
Jump to navigation
Jump to search
Note:Gel needs to have Paint in Map set to True in worldspawn before applying on surfaces. Maps that do not use gel can save significant resources by avoiding gel code.
m (Testing the new KV template) |
m (→Keyvalues) |
||
(10 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
[[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}} | ||
{{this is a|point entity|game=Portal 2|name=paint_sphere}} It paints brush entities inside the sphere. | |||
{{paintinmap}} | |||
== | ==Keyvalues== | ||
{{KV Targetname}} | {{KV Targetname}} | ||
{{KV | {{KV|Paint Type|intn=paint_type|choices|The type of paint.}} | ||
{{KV|radius| | :* 0 : Bounce | ||
{{KV| | :* 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 | |||
{{KV|Radius|intn=radius|float|Radius of paint sphere}} | |||
{{KV|Alpha Percent|intn=alpha_percent|float|Alpha percent to control the density of paint, the value must be between 0 to 1}} | |||
==Inputs== | ==Inputs== | ||
{{I | {{I|Paint|Apply paint with specified paint type inside the paint sphere}} |
Latest revision as of 15:11, 1 September 2025
paint_sphere
is a point entity available in Portal 2. It paints 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
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Paint Type (paint_type) <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 (radius) <float>
- Radius of paint sphere
- Alpha Percent (alpha_percent) <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