Half-Life Entity Tutorials
Update: May 27, 2000
Visit another env_* Entity Tutorial
env_sprite - by Tiger
Env_Sprite
Description
The env_sprite entity lets you place sprites in your level.
Key Value Action Description
targetname
string
name It's the name so that other entities can target it
framerate
integer
animation framerate If the sprite is animated this value controls how many frames per second the animation will run at. Default is 10.
model
string
model of the sprite this is the path and name of the sprite as it is in the pak file. The value here should always be sprites/spritename.spr. Note the forward slash (/). It will not function correctly if you use a normal backslash (\).
scale
integer
the size of the sprite you can adjust the size of the sprite by defining its scale here. Default is 1:1 scale. (Render Mode should be set to Additive if you want to change the scale)
spawnflags
1
Start On If the env_sprite has a name, it will need to be triggered to appear. If this flag is set, it will start visible. Triggering it will cause it to disappear.
2
Start On In the case of an animated sprite, the sprite will go through its animation only once when this flag is checked. Each time it is triggered, it will play once and wait to be triggered again.
For the Rendering Properties please check this tutorial.
Using Possibilities
If you need some realistic steam, just place a line of env_sprite entities in a line and you got it. How to make it is shown in this tutorial.