RenderFields
is an internal entity and should not be used on its own.
BASE
RenderFields
KeyValues
Render Mode <choices> = Normal (0)
Used to set a non-standard rendering mode on this entity. See also 'FX Amount' and 'FX Color'.* Color & Texture = srca+dest(1-a)* Glow = srca + dest, fixed on screen for sprites Solid = Performs alphatest transparency* Additive = srca + dest Additive FF = blend between sprite nimation frames* Alpha Add = src + dest*(1-a)* World Space Glow = src*a + dest
Possible Values:
Name | Value |
Normal | 0 |
Color | 1 |
Texture | 2 |
Glow | 3 |
Solid | 4 |
Additive | 5 |
Additive Fractional Frame | 7 |
Additive Alpha | 8 |
World Space Glow | 9 |
Don't Render | 10 |
FX Color (R G B) <color255> = 255 255 255
A color to mix with the model/sprite.
FX Alpha (0 - 255) <integer> = 255
Transparency amount, requires a Render Mode other than Normal. 0 is invisible, 255 is fully visible.
Render FX <choices> = Normal (0)
Various somewhat legacy alpha effects. Material Proxies are more modern.
Possible Values:
Name | Value |
Normal | 0 |
Slow Pulse | 1 |
Fast Pulse | 2 |
Slow Wide Pulse | 3 |
Fast Wide Pulse | 4 |
Slow Strobe | 9 |
Fast Strobe | 10 |
Faster Strobe | 11 |
Slow Flicker | 12 |
Fast Flicker | 13 |
Slow Fade Away | 5 |
Fast Fade Away | 6 |
Slow Become Solid | 7 |
Fast Become Solid | 8 |
Constant Glow | 14 |
Fade Out | 15 |
Fade In | 16 |
Pulse Fast Wider | 17 |
Glow Shell | 18 |
Disable Receiving Shadows <boolean> = No
No description provided.
View ID nodraw <choices> = Draw normally (0)
This keyvalue can control whether an entity should only draw on things like monitors or mirrors, or the opposite. The code for this is { m_iViewHideFlags & (1 << CurrentViewID()) } and supports any combination of view IDs.
Possible Values:
Name | Value |
Draw normally | 0 |
Hide in main view (player's eyes) | 193 |
Hide in cameras | 36 |
Hide in mirrors/water | 24 |
Hide in cameras and mirrors/water | 60 |
Hide in 3D skybox | 2 |
Hide projected texture shadows | 128 |
Inputs
Alpha <integer>
Set the entity's alpha (0 - 255).
Color <color255>
Set the entity's color (R G B).
SetRenderMode <integer>
Sets this entity's render mode.
SetRenderFX <integer>
Sets this entity's render FX.
SetViewHideFlags <integer>
Sets this entity's view ID nodraw flags (takes raw flag combination).
AddEffects <integer>
Adds an entity effect.
RemoveEffects <integer>
Removes an entity effect.
EnableDraw <void>
Draws an entity if it is not drawn. Equivalent to RemoveEffects > 32.
DisableDraw <void>
Undraws an entity if it is drawn. Equivalent to AddEffects > 32.
AddEFlags <integer>
Adds an entity flag. NOTE: Entity flags are not the spawn flags you see in Hammer. Use AddSpawnFlags to add spawnflags.
RemoveEFlags <integer>
Removes an entity flag. NOTE: Entity flags are not the spawn flags you see in Hammer. Use RemoveSpawnFlags to remove spawnflags.
SetCollisionGroup <integer>
Sets this entity's collision group.