Best Ubersound Workaround?

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
Gen Cobra
Major General
Posts: 739
Joined: Tue Jan 28, 2003 4:26 pm

Best Ubersound Workaround?

Post by Gen Cobra »

I want my map to have the sound for explosions. I really don't care if it's just one good .wav file. I managed to change the ubersound file so i have a tank explosion .wav but the loading sucks and I'm afraid this is gonna cut into player happiness.

I checked posts, read tuts and have found no easy way to do this. Can anyone write me or show me how to write a simple sound mod for the tank explosion fx? Something I can pack with the map. A tiki maybe?

Also how can I get the ambient affects of planes flying overhead and a battle in the sky? (not talking about plane sounds for the planes themselves, I got that down)
Image
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

sounds.tik

Post by bdbodger »

here is an example of what you can do with a tiki file . Make a sounds.tik and put it in a pak in a models directory. first open notepad or other text editor and put something like this :

TIKI

setup
{
path models/fx/dummy
skelmodel dummy3.skd
}

init
{
server
{
classname ScriptModel
rendereffects +dontdraw
notsolid
}
client
{
settiki none


aliascache dog_bark1 sound/characters/dog_bark_1.wav soundparms 1.5 0.0 0.8 0.4 160 4000 voice loaded maps "t dm obj "
aliascache dog_bark2 sound/characters/dog_bark_2.wav soundparms 1.5 0.0 0.8 0.4 160 4000 voice loaded maps "t dm obj "


}
}

animations
{
idle dummy3.skc
}

this means any map starting with the letter t will have these sounds so add you own letter or map name or put map in a directory starting with t
since the directory make up the first part of the name like this

aliascache dog_bark1 sound/characters/dog_bark_1.wav soundparms 1.5 0.0 0.8 0.4 160 4000 voice loaded maps "t s dm obj "

now any map starting with the letter s will have these sounds too . don't forget to precache the tik or it won't work good for a few sounds anyway . I also make up a ubersounds2.scr and exec ubersounds2.scr in my script this adds time to the loading but works .
Post Reply