Prop physics paintable: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Classifying as model entity)
 
(8 intermediate revisions by 7 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}}


==Flags==
{{OtherKIO|prop_physics}}
{{Fl BasePropPhysics}}


==Inputs==
==See also==
{{IO|DisableDrawInFastReflection|Turns off rendering of this entity in reflections when using $reflectonlymarkedentities in water material.}}
* {{ent|prop_physics}}
{{IO|EnableDrawInFastReflection|Turn on rendering of this entity in reflections when using $reflectonlymarkedentities in water material.}}
{{IO|DisableDraw|Add the EF_NODRAW flag to this entity. Some entities manage this on their own so be aware you can override that value.}}
{{IO|EnableDraw|Remove the EF_NODRAW flag to this entity. Some entities manage this on their own so be aware you can override that value.}}
{{IO|DisableReceivingFlashlight|This object will not recieve light or shadows from projected textures (flashlights).}}
{{IO|EnableReceivingFlashlight|This object may recieve light or shadows from projected textures (flashlights).}}
{{I RenderFields}}
{{I BasePropPhysics}}


==Outputs==
[[Category:Prop entities|physics paintable]]
{{O BasePropPhysics}}
 
==See also==
==External links==

Latest revision as of 04: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