Prop physics paintable: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-added class hierarchy, cleanup)
No edit summary
Line 16: Line 16:
==See also==
==See also==
* {{ent|prop_physics}}
* {{ent|prop_physics}}
[[Category:Prop entities]]

Revision as of 08:13, 1 September 2024

C++ Class hierarchy
???
CPhysicsProp
CBreakableProp
CBaseProp
CBaseAnimating
CBaseEntity

prop_physics_paintable is a point entity available in Portal 2 Portal 2. A dynamic prop that can be painted.

Note.pngNote: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.

Keyvalues

Paint Power PaintPower (PaintPower) <choices>
The paint power of the pickup.
  • 0 : Bounce
  • 1 : Stick
  • 2 : Speed
  • 3 : Portal
  • 4 : None
Note.pngNote:Other Keyvalues / Inputs / Outputs are same as prop_physics.

See also