i use in my map a steam emitter (formerly animate/adam-pipe-steam.tik), which even has a loopsound command to play a steam sound.
This sound does work only in certain sp maps, so I added to my script:
Code: Select all
local.master=spawn ScriptMaster
local.master aliascache steamloop sound/mechanics/Mec_SteamLoop_01.wav soundparms 1.0 0.3 1.0 0.0 320 2200 item loaded maps "obj dm clone"
Code: Select all
$cloneblow_m_1 anim start
// ...
// and
// ...
$cloneblow_m_1 anim stop
Code: Select all
TIKI
setup
{
scale 1.0
path models/fx/dummy
skelmodel dummy3.skd
}
init
{
server
{
classname animate
notsolid
rendereffects +dontdraw
}
client
{
cache vsssource.spr
originemitter steam
(
spawnrate 5.00
model vsssource.spr
alpha 0.80
color 0.90 0.85 0.70
scale 0.25
life 1.00
scalerate 8.00
velocity 60.00
randvelaxis range 10 -10 range 10 -10 range 10 -10
accel 0.00 0.00 90.00
fade
)
}
}
animations
{
idle dummy3.skc
start dummy3.skc
{
client
{
enter emitteron steam
enter loopsound steamloop
}
}
stop dummy3.skc
{
client
{
enter emitteroff steam
enter stoploopsound steamloop
}
}
}
/*QUAKED animate_fx_adam-pipe-steam(0.0 0.5 0.5) (-8 -8 -8) (8 8 8)
Senn's Sexy Pipe Steam
*/
So, what is this and what can I do?

