paint_sphere
Jump to navigation
Jump to search
Code classes:
CPaintSphere
CBaseEntity
(all ents)
paint_sphere
is a point entity present in Portal 2. It places gel in a sphere around itself.
Note: To use gel, the map needs to have Paint in Map set to True in worldspawn
. Maps that do not use gel can save significant resources by avoiding touching gel textures and code.
Keyvalues[edit | edit source]
- Paint Type
(paint_type)
<choices>
- Which kind of gel to place.
- 0: Bounce
- 1:
StickReflect - 2: Speed
- 3: Portal
- 4: Erase
- Radius
(radius)
<float>
- Area around the entity to apply gel to.
- Alpha Percent
(alpha_percent)
<float>
- Controls how densely the gel is applied. Gel needs to have an alpha above 0.70 to be usable.
Inputs[edit | edit source]
- Paint
- Applies paint.