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 (→Inputs:  Substituted IO templates)  | 
				No edit summary  | 
				||
| Line 3: | Line 3: | ||
{{stub}}  | {{stub}}  | ||
{{this is a|point entity|game=Portal 2|name=paint_sphere}}    | {{this is a|point entity|game=Portal 2|name=paint_sphere}}  It paints brush entities inside the sphere.  | ||
It paints brush entities inside the sphere.  | |||
{{paintinmap}}  | {{paintinmap}}  | ||
==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 19: | Line 17: | ||
{{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}}  | ||
==Inputs==  | ==Inputs==  | ||
{{I|Paint|Apply paint with specified paint type inside the paint sphere}}  | {{I|Paint|Apply paint with specified paint type inside the paint sphere}}  | ||
Revision as of 01:14, 6 June 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. 
parentnameortarget).
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
 - 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
 
 
- 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