Prop physics paintable: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Initial creation)
 
m (Classifying as model entity)
 
(10 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{portal2 point|prop_physics_paintable}}
{{CD|???|base=CPhysicsProp}}
{{this is a|model entity|name=prop_physics_paintable|game=Portal 2}} A dynamic prop that can be painted.


==Entity description==
{{paintinmap}}
A dynamic prop that can be painted.


==Keyvalues==
==Keyvalues==
{{KV|Render in Fast Reflections|choices|If enabled, causes this entity/prop to to render in fast water reflections (i.e. when a water material specifies $reflectonlymarkedentities) and in the world impostor pass.}}
{{KV|Paint Power PaintPower|intn=PaintPower|choices|The paint power of the pickup.}}
{{KV|Disable ShadowDepth|choices|Used to disable rendering into shadow depth (for flashlight) for this entity.}}
:* 0 : Bounce
{{KV|Projected Texture Cache|choices|Used to hint projected texture system whether it is sufficient to cache shadow volume of this entity or to force render it every frame instead.}}
:* 1 : Stick
{{KV|Disable flashlight|choices|Used to disable flashlight (env_projectedtexture) lighting and shadows on this entity.}}
:* 2 : Speed
{{KV|AI AddOn addon|string|If specified this object will use this addon behavior when installed in a composite AI}}
:* 3 : Portal
{{KV|Allow Portal Funneling allowfunnel|choices|Whether or not this object should auto-funnel into a portal.}}
:* 4 : None
{{KV|Paint Power PaintPower|choices|The paint power of the pickup.}}
{{KV RenderFields}}
{{KV BasePropPhysics}}


==Inputs==
{{OtherKIO|prop_physics}}
{{I Targetname}}


==Outputs==
==See also==
{{O Targetname}}
* {{ent|prop_physics}}


==See also==
[[Category:Prop entities|physics paintable]]
==External links==

Latest revision as of 03:34, 19 May 2025

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

prop_physics_paintable is a model 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