Prop physics paintable

From Valve Developer Community
Jump to navigation Jump to search

Template:Portal2 point

Entity description

A dynamic prop that can be painted.

Keyvalues

Render in Fast Reflections ([todo internal name (i)]) <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.
Disable ShadowDepth ([todo internal name (i)]) <choices>
Used to disable rendering into shadow depth (for flashlight) for this entity.
Projected Texture Cache ([todo internal name (i)]) <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.
Disable flashlight ([todo internal name (i)]) <choices>
Used to disable flashlight (env_projectedtexture) lighting and shadows on this entity.
AI AddOn addon ([todo internal name (i)]) <string>
If specified this object will use this addon behavior when installed in a composite AI
Allow Portal Funneling allowfunnel ([todo internal name (i)]) <choices>
Whether or not this object should auto-funnel into a portal.
Paint Power PaintPower ([todo internal name (i)]) <choices>
The paint power of the pickup.
  • 0 : Bounce
  • 1 : Stick
  • 2 : Speed
  • 3 : Portal
  • 4 : None

RenderFields:


Render Mode (rendermode) <byte choices>
Set a non-standard rendering mode on this entity.
Render Modes
  • 0: Normal
  • 1: Color
  • 2: Texture
  • 3: Glow
  • 4: Solid/Alphatest Obsolete
  • 5: Additive
  • 6: Removed, does nothing Obsolete
  • 7: Additive Fractional Frame
  • 8: Alpha Add
  • 9: World Space Glow
  • 10: Don't Render
Render FX (renderfx) <byte choices>
Various somewhat legacy alpha effects. See render effects.
Render Amount / Transparency (renderamt) <byte>
Transparency amount, requires a Render Mode other than Normal. 0 is invisible, 255 is fully visible.
Render Color (R G B) (rendercolor) <color255>
Color tint.
Note.pngNote:Page left for viewable history, content moved to prop_physics

Flags

Note.pngNote:Page left for viewable history, content moved to prop_physics

Inputs

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

RenderFields:

Alpha <integer 0–255>
Sets the entity's transparency to a number from 0 (invisible) to 255 (fully visible). Requires the entity to have its rendermode set to a number other than 0.
Color <color255RedirectInput/color32>
Sets an RGB color for the entity.
Note.pngNote:Page left for viewable history, content moved to prop_physics

Outputs

Note.pngNote:Page left for viewable history, content moved to prop_physics

See also

External links