sound Q
Moderator: Moderators
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
sound Q
Ok log says
ERROR: Entity::LoopSound: sound/amb/amb_fireplace.wav needs an alias in ubersound.scr or uberdialog.scr - Please fix.
But there is one in ubersound that reads as such.
//================================================================================
//POSITIONAL AMBIENCES
//================================================================================
aliascache cricket sound/amb/Amb_Cricket.wav soundparms 0.28 0.0 1.0 0.0 100 900 auto loaded maps "dm moh obj train"
aliascache fireplace sound/amb/Amb_FirePlace.wav soundparms 1.3 0.0 1.0 0.0 150 1000 auto loaded maps "m4l3 m6l2a m5l1a dm moh obj train"
alias radio_loop sound/mechanics/Me.......blah blah bs bs bs
it says obj loaded maps.
it lies! grrrrrrrrr
ERROR: Entity::LoopSound: sound/amb/amb_fireplace.wav needs an alias in ubersound.scr or uberdialog.scr - Please fix.
But there is one in ubersound that reads as such.
//================================================================================
//POSITIONAL AMBIENCES
//================================================================================
aliascache cricket sound/amb/Amb_Cricket.wav soundparms 0.28 0.0 1.0 0.0 100 900 auto loaded maps "dm moh obj train"
aliascache fireplace sound/amb/Amb_FirePlace.wav soundparms 1.3 0.0 1.0 0.0 150 1000 auto loaded maps "m4l3 m6l2a m5l1a dm moh obj train"
alias radio_loop sound/mechanics/Me.......blah blah bs bs bs
it says obj loaded maps.
it lies! grrrrrrrrr
In your script I take it you typed:
Instead, type:
And you'll be fine 8)
Code: Select all
$something loopsound "sound/amb/amb_fireplace.wav"
Code: Select all
$something loopsound fireplace
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
This should work. Check the log to see if you have any errors.
Check your scipt to make sure the command is being ran atthe right time and is being ran. Just put a println in the script just before or something.
Ubersound is a bit wierd, make sure there aren't other pk3 files overriding ubersound.
Check your scipt to make sure the command is being ran atthe right time and is being ran. Just put a println in the script just before or something.
Ubersound is a bit wierd, make sure there aren't other pk3 files overriding ubersound.
[VS-UK]Capt.Parts[BnHQ]
here is a line from ubersound.scr
maybe the auto channel is being used . Maybe play one at a time on that channel or use a tiki and put the sound on a different channel// Sound channel priorities:
//0 - auto - This is considered the lowest audio channel priority. It always plays if possible (hardware audio channel available) and they don't override previously played sounds. If no channels are available, the sound will just not play.
-
panTera
- Brigadier General
- Posts: 573
- Joined: Wed Jan 29, 2003 11:46 pm
- Location: The Netherlands
- Contact:
as you already said, you'd better use and precache the tiki. If it's still not working even after you've precached then check the location of your sound-thread in the script.
When I had put my thread after 'level waittil spawn' and started the game with my own shortcut (+set cheats 1 +set g_gametype 4 +set pleaseletmelive 1, etc..blahblah) it gave me the same error. Only after I picked a team and joined the game the sounds were loaded (doh). I had then put the thread after 'level waittil prespawn' and it seemed to work fine (in most of the cases, 'cause I still get that error now and then...)
Ubersound is weird indeed, it worked for their game but they didn't really think ahead of us mappers when precaching all those aliases and then stuff it all in one file.
When I had put my thread after 'level waittil spawn' and started the game with my own shortcut (+set cheats 1 +set g_gametype 4 +set pleaseletmelive 1, etc..blahblah) it gave me the same error. Only after I picked a team and joined the game the sounds were loaded (doh). I had then put the thread after 'level waittil prespawn' and it seemed to work fine (in most of the cases, 'cause I still get that error now and then...)
Ubersound is weird indeed, it worked for their game but they didn't really think ahead of us mappers when precaching all those aliases and then stuff it all in one file.
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
Yeah I used a script model and selected fx/dummy.tik as my model. Still no workie. I also cashed in my custom.tik the folowng.
aliascache cricket sound/amb/Amb_Cricket.wav soundparms 0.28 0.0 1.0 0.0 100 900 auto loaded maps "obj"
aliascache fire_large sound/amb/Amb_FireLoop_02.wav soundparms 1.0 0.0 1.0 0.0 400 6000 auto loaded maps "obj"
aliascache cricket sound/amb/Amb_Cricket.wav soundparms 0.28 0.0 1.0 0.0 100 900 auto loaded maps "obj"
aliascache fire_large sound/amb/Amb_FireLoop_02.wav soundparms 1.0 0.0 1.0 0.0 400 6000 auto loaded maps "obj"
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
Jv told me to do it. And it seams to work, like all the weathersounds are in my level now, since I added these lines to my custom.tik file.
alias rain_roof sound/amb/Amb_RainRoof_02.wav soundparms 1.0 0.0 1.0 0.0 160 320 local streamed maps "obj"
alias rain_window sound/amb/Amb_RainWindow_01.wav soundparms 1.0 0.0 1.0 0.0 160 320 local streamed maps "obj"
alias rain_puddle sound/amb/Amb_RainPuddle_01.wav soundparms 1.0 0.0 1.0 0.0 3000 6000 local streamed maps "obj"
alias rain_plant sound/amb/Amb_RainPlant_01.wav soundparms 1.0 0.0 1.0 0.0 3000 6000 local streamed maps "obj"
alias wind_weak sound/amb/wind_weak.wav soundparms 1.0 0.0 1.0 0.0 3000 6000 local streamed maps "obj"
alias wind_strong sound/amb/wind_strong.wav soundparms 1.0 0.0 1.0 0.0 3000 6000 local streamed maps "obj"
alias rain_roof sound/amb/Amb_RainRoof_02.wav soundparms 1.0 0.0 1.0 0.0 160 320 local streamed maps "obj"
alias rain_window sound/amb/Amb_RainWindow_01.wav soundparms 1.0 0.0 1.0 0.0 160 320 local streamed maps "obj"
alias rain_puddle sound/amb/Amb_RainPuddle_01.wav soundparms 1.0 0.0 1.0 0.0 3000 6000 local streamed maps "obj"
alias rain_plant sound/amb/Amb_RainPlant_01.wav soundparms 1.0 0.0 1.0 0.0 3000 6000 local streamed maps "obj"
alias wind_weak sound/amb/wind_weak.wav soundparms 1.0 0.0 1.0 0.0 3000 6000 local streamed maps "obj"
alias wind_strong sound/amb/wind_strong.wav soundparms 1.0 0.0 1.0 0.0 3000 6000 local streamed maps "obj"

