Name:
Steam Description:
This tutorial shows in easy steps how to create realistic looking
steam
Update: January 23,
2000 Download the tutorial here
as *.zip file
First make one env_sprite entity and give
it the following keys at the entity inspector:
The key model sprites/xsmoke1.spr (important: you have
to make a slashand not a backslash!!) is the
texture of the steam, the key rendermode 5 is additive
and the key spawnflags 1 says that the steam is turned on at
the beginning.
Then copy the first env_spirit entity in order to make a line of 6
or more out of it, and place it where the steam should be. In the
example I have copied it 6 times.
Now you have to give every entity some special keys:
NR.
KEYS & VALUES
Picture
Entity Inspector
#1
framerate = 10
renderamt = 80
scale = 0.4
#2
framerate = 14
renderamt = 70
scale = 0.45
#3
framerate = 18
renderamt = 60
scale = 0.6
#4
framerate = 22
renderamt = 50
scale = 0.75
#5
framerate = 26
renderamt = 40
scale = 0.9
6
framerate = 30
renderamt = 30
scale = 1.1
#7
framerate = 34
renderamt = 20
scale = 1.3
As you can see is every env_sprite
entity a sphere, so the first ones in the line have to overlap a bit.
The key renderamt shows the transparency of the sphere and
the key scale it's radius.
How
to make the sound
Now after
you have finished your steam it's time to add some sound and make
the steams cause damage. To do this make an ambient_generic
entity and give it this keys:
The key health (1-10) show the loudness of the sound, the
key message show the path of the *.wav file and
the key spawnflags (2-4) shows the sound radius.
How
to make it to cause damage
And now add one or more trigger_hurt
entities and gave them the following keys:
The key damagetype = 8 shows that the damagetype is burn
and the key dmg shows the damage value.