This is a point entity available in all Source games.
Creates a sprite in the world. Sprites always face the player, unless they are restricted to rotating on certain axes as specified in the VTF compile parameters. This entity should be treated as an "override" for certain sprite effects, as more specific controls already exist for fire, steam, or light glows.
The only render modes that render sprite transparency are Glow, Additive, Additive Fractional Frame and World Space Glow.
- Template:Kv targetname
- Template:Kv parentname
- Template:Kv renderfields
- Template:Kv dxlevelchoice
- Template:Kv hdrcolorscale
- <float> Rate at which the sprite should animate, if at all.
- <sprite> Material of the sprite to be drawn.
.vmtfile extension. While the sprite preview can find the sprite, the extension needs to be typed in by hand for the engine to be able to find the sprite in-game.
- <float> Scale multiplier of the sprite.
0.25, while sprite scale in-game is preset to
1. To correct the preview scale, set this keyvalue (to any value).
- <float> Size of the glow to be rendered for visibility testing. Must be larger than the distance from the sprite center to empty space. So if this glow is inside geometry (like a light bulb), set this value to be bigger than the bulb's radius. Any time a sphere of this radius would be visible (poking through any nearby geometry), the glow will be rendered.
- 1 : Start on
- 2 : Play Once
- Set the scale.
- Hide the sprite. Won't be drawn until the 'ShowSprite' input is received.
- Show the sprite.
- Toggle the sprite between hidden and shown.
- Change red coloration
- Change green coloration
- Change blue coloration