Prop physics paintable: Difference between revisions
Jump to navigation
Jump to search
Note: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.
Note:Page left for viewable history, content moved to prop_physics
Note:Page left for viewable history, content moved to prop_physics
Note:Page left for viewable history, content moved to prop_physics
Note:Page left for viewable history, content moved to prop_physics
m (→Keyvalues) |
({{paintinmap}}) |
||
Line 3: | Line 3: | ||
==Entity description== | ==Entity description== | ||
A dynamic prop that can be painted. | A dynamic prop that can be painted. | ||
{{paintinmap}} | |||
==Keyvalues== | ==Keyvalues== |
Revision as of 22:59, 28 August 2018
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
- 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.

Flags

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 than0
.
- Color <color255 >
- Sets an RGB color for the entity.

Outputs
