Page 1 of 1

more dog sounds info

Posted: Wed Jan 05, 2005 11:58 pm
by Gold
I decided to post what i know bout the dog sounds in a hope that someone may figure a better way to do it ..so that it could work so that the client wouldnt need a sound fix for the dogs...anyways heres how i got the sounds to work for me when i join my own server...non dedicated...im sure the same would work for a dedicated server but with spearhead the client still needs a fix due to in the original spearhead ubersound file the lines are cancelled out like so.....
//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 "
To get it to work for me i just followed bdbodgers suggestion and made a tik file with all the dog sounds and placed it in a pk3 file in the following directory...models/sounds/dogsounds.tik..the dogsound tik when opened looks like this...
TIKI

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

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

//================================================================================
// DOG
//================================================================================
aliascache dog_bark1 sound/characters/dog_bark_1.wav soundparms 1.5 0.0 0.8 0.4 160 4000 voice loaded maps "m 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 "m t dm obj "
aliascache dog_bark3 sound/characters/dog_bark_3.wav soundparms 1.5 0.0 0.8 0.4 160 4000 voice loaded maps "m t dm obj "
aliascache dog_sniff sound/characters/dog_bark_4.wav soundparms 1.5 0.0 0.8 0.4 160 4000 voice loaded maps "m t dm obj "

aliascache dog_pain1 sound/characters/dog_growl_1.wav soundparms 1.5 0.0 0.8 0.4 500 4000 voice loaded maps "m t dm obj "
aliascache dog_pain2 sound/characters/dog_growl_2.wav soundparms 1.5 0.0 0.8 0.4 500 4000 voice loaded maps "m t dm obj "
aliascache dog_pain3 sound/characters/dog_growl_3.wav soundparms 1.5 0.0 0.8 0.4 500 4000 voice loaded maps "m t dm obj "
aliascache dog_pain4 sound/characters/dog_growl_4.wav soundparms 1.5 0.0 0.8 0.4 500 4000 voice loaded maps "m t dm obj "
aliascache dog_pain5 sound/characters/dog_growl_5.wav soundparms 1.5 0.0 0.8 0.4 500 4000 voice loaded maps "m t dm obj "

aliascache dog_death1 sound/characters/dog_growl_1.wav soundparms 1.5 0.0 0.8 0.4 500 4000 voice loaded maps "m t dm obj "
aliascache dog_death2 sound/characters/dog_growl_2.wav soundparms 1.5 0.0 0.8 0.4 500 4000 voice loaded maps "m t dm obj "
aliascache dog_death3 sound/characters/dog_growl_3.wav soundparms 1.5 0.0 0.8 0.4 500 4000 voice loaded maps "m t dm obj "
aliascache dog_death4 sound/characters/dog_growl_4.wav soundparms 1.5 0.0 0.8 0.4 500 4000 voice loaded maps "m t dm obj "
aliascache dog_death5 sound/characters/dog_growl_5.wav soundparms 1.5 0.0 0.8 0.4 500 4000 voice loaded maps "m t dm obj "

aliascache dog_bite1 sound/characters/dog_bite_1.wav soundparms 1.5 0.0 0.8 0.4 500 4000 voice loaded maps "m t dm obj "
aliascache dog_bite2 sound/characters/dog_bite_2.wav soundparms 1.5 0.0 0.8 0.4 500 4000 voice loaded maps "m t dm obj "
aliascache dog_bite3 sound/characters/dog_bite_3.wav soundparms 1.5 0.0 0.8 0.4 500 4000 voice loaded maps "m t dm obj "
aliascache dog_bite4 sound/characters/dog_bite_4.wav soundparms 1.5 0.0 0.8 0.4 500 4000 voice loaded maps "m t dm obj "

aliascache dog_collar1 sound/characters/dog_collar_1.wav soundparms 0.8 0.2 0.8 0.3 160 2000 auto loaded maps "m t dm obj "
aliascache dog_collar2 sound/characters/dog_collar_3.wav soundparms 0.8 0.2 0.8 0.3 160 2000 auto loaded maps "m t dm obj "
aliascache dog_collar3 sound/characters/dog_collar_4.wav soundparms 0.8 0.2 0.8 0.3 160 2000 auto loaded maps "m t dm obj "

aliascache dog_fs1 sound/characters/dog_footstep_1.wav soundparms 0.5 0.25 0.8 0.3 160 4000 auto loaded maps "m t dm obj "
aliascache dog_fs2 sound/characters/dog_footstep_2.wav soundparms 0.5 0.25 0.8 0.3 160 4000 auto loaded maps "m t dm obj "
aliascache dog_fs3 sound/characters/dog_footstep_3.wav soundparms 0.5 0.25 0.8 0.3 160 4000 auto loaded maps "m t dm obj "
aliascache dog_fs4 sound/characters/dog_footstep_4.wav soundparms 0.5 0.25 0.8 0.3 160 4000 auto loaded maps "m t dm obj "
aliascache dog_fs5 sound/characters/dog_footstep_5.wav soundparms 0.5 0.25 0.8 0.3 160 4000 auto loaded maps "m t dm obj "
aliascache dog_fs6 sound/characters/dog_footstep_6.wav soundparms 0.5 0.25 0.8 0.3 160 4000 auto loaded maps "m t dm obj "
aliascache dog_fs7 sound/characters/dog_footstep_7.wav soundparms 0.5 0.25 0.8 0.3 160 4000 auto loaded maps "m t dm obj "
aliascache dog_fs8 sound/characters/dog_footstep_8.wav soundparms 0.5 0.25 0.8 0.3 160 4000 auto loaded maps "m t dm obj "

aliascache dog_growl1 sound/characters/dog_growl_1.wav soundparms 1.0 0.2 0.8 0.3 320 2000 voice loaded maps "m t dm obj "
aliascache dog_growl2 sound/characters/dog_growl_2.wav soundparms 1.0 0.2 0.8 0.3 320 2000 voice loaded maps "m t dm obj "
aliascache dog_growl3 sound/characters/dog_growl_3.wav soundparms 1.0 0.2 0.8 0.3 320 2000 voice loaded maps "m t dm obj "
aliascache dog_growl4 sound/characters/dog_growl_4.wav soundparms 1.0 0.2 0.8 0.3 320 2000 voice loaded maps "m t dm obj "
aliascache dog_growl5 sound/characters/dog_growl_5.wav soundparms 1.0 0.2 0.8 0.3 320 2000 voice loaded maps "m t dm obj "

aliascache dog_pant1 sound/characters/dog_pant_1.wav soundparms 0.6 0.2 0.8 0.3 320 2000 voice loaded maps "m t dm obj "
aliascache dog_pant2 sound/characters/dog_pant_2.wav soundparms 0.6 0.2 0.8 0.3 320 2000 voice loaded maps "m t dm obj "
aliascache dog_pant3 sound/characters/dog_pant_3.wav soundparms 0.6 0.2 0.8 0.3 320 2000 voice loaded maps "m t dm obj "
aliascache dog_pant4 sound/characters/dog_pant_4.wav soundparms 0.6 0.2 0.8 0.3 320 2000 voice loaded maps "m t dm obj "
aliascache dog_pant5 sound/characters/dog_pant_5.wav soundparms 0.6 0.2 0.8 0.3 320 2000 voice loaded maps "m t dm obj "
aliascache dog_pant6 sound/characters/dog_bark_4.wav soundparms 0.6 0.2 0.8 0.3 320 2000 voice loaded maps "m t dm obj "
aliascache dog_pant7 sound/characters/dog_bark_5.wav soundparms 0.6 0.2 0.8 0.3 320 2000 voice loaded maps "m t dm obj "

}
}

animations
{
idle dummy3.skc
}


I was testing this on a non dedicated server at the time and joined my own game ...when the 1st dog spawned i noticed i still had no dog sounds thou...upon futher testin ..i was testin a single player map in mutiplayer at the time m6l1a i decided to make a cache for that paticular map like so......m6l1a_precache.scr and dropped it in the followin directory...............maps/m6l1a_precache.scr....i added the following line to the precache....looks like this
exec global/loadout_precache.scr maps/m6l1a.scr

cache models/sound/dogsounds.tik
cache models/animal/german_shepherd.tik

once added i rejoined my non dedicated server and wooohooo had dog sounds on the server....hope this helps someone....also as i was sayin earlier with spearhead the client still needs a fix due to in the original spearhead ubersound file the lines are cancelled out like so.....
//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 "

If anyone could ever figure out how to make the dogs work for the client as well as this works for the server without havin to download a dogfix file would be great but i havent had any success YET lol....but i do think its still possible thou thru some sort of scripting...i know this post some will read and say well i allready knew how to do that....but i didnt post this for the ppl who already knew ..but the ppl that dont know lol
<TWZ>Gold<<mohaa freak

Posted: Fri Jan 07, 2005 12:02 am
by Gold
Been doin more testin and it seems i can get all sounds workin serverside..serverside meanin no download required by the client to hear the sounds...this includes any map.. may it be single player or multiplayer....still havin problem thou with the dogs makin it so ya dont need a download fix...the above method works fine as far as ya joinin ya own server and hearin the dogs.dedicated or non-dedicated..its 100% crashfree also..but the client still requires a download fix..all other methods ive tryed with the dogs other than the above method seems to cause the server to crash ...the crash seems to occur when i try to put any dog sounds in the ubersound folder in any form...whether it be in the original ubersound or a altered script of any kind...maybe thats why the cancelled out those lines to begin with in the stock ubersound file for spearhead? lol ....but i keep diggin of course...just gettin all sounds serverside except for the dogs has me estatic lol...alot closer than before:)
<TWZ>Gold