No sound on this map.
Moderator: Moderators
-
Krane
- Lieutenant General
- Posts: 782
- Joined: Sat May 31, 2003 4:18 pm
- Location: California, USA
- Contact:
No sound on this map.
I've made my first room w/ the help of the tutorial. Everything was fine. So I decided to start another one, larger. Everything is working fine but the sounds. There's no sound at all (weapons, footsteps, etc...)! WHY?
sound
The sounds are loaded by a script called ubersound (found in pak0.pk3). But it loads them only by the name of the map or the type of game it is. Your map name is not on the list for each sound. Here is an example of a sound alias found in ubersound:
aliascache snd_step_metal1 sound/characters/fs_metal_01.wav soundparms 0.4 0.3 0.9 0.2 200 2500 auto loaded maps "m1l1 m1l2a m1l2b m1l3c m2l1 m2l2a m2l2b m2l2c m2l3 m3l1a m3l1b m3l2 m3l3 m4l0 m4l2 m4l3 m5l1a m5l1b m6l1c m6l2a m6l2b m6l3a m6l3b m6l3c m6l3d m6l3e dm moh obj train"
As you can see, the sound name is "snd_step_metal1" and it loads "fs_metal_01.wav" for all the singleplayer maps, and multiplayer game types (dm moh obj train). It was done this way to keep the game from loading every sound for every map.
So, if your bsp file was in the maps/dm folder, or the maps/obj folder, that sound would work. If your bsp is in the singleplayer folder (in just the maps folder) the sound will not work without an ubersound workaround.
Hope that helps.
aliascache snd_step_metal1 sound/characters/fs_metal_01.wav soundparms 0.4 0.3 0.9 0.2 200 2500 auto loaded maps "m1l1 m1l2a m1l2b m1l3c m2l1 m2l2a m2l2b m2l2c m2l3 m3l1a m3l1b m3l2 m3l3 m4l0 m4l2 m4l3 m5l1a m5l1b m6l1c m6l2a m6l2b m6l3a m6l3b m6l3c m6l3d m6l3e dm moh obj train"
As you can see, the sound name is "snd_step_metal1" and it loads "fs_metal_01.wav" for all the singleplayer maps, and multiplayer game types (dm moh obj train). It was done this way to keep the game from loading every sound for every map.
So, if your bsp file was in the maps/dm folder, or the maps/obj folder, that sound would work. If your bsp is in the singleplayer folder (in just the maps folder) the sound will not work without an ubersound workaround.
Hope that helps.
Last edited by tltrude on Tue Jun 03, 2003 12:05 pm, edited 2 times in total.
the number doesn't matter, just the letters: Read again what tltrude wrote. all sounds can be found in ubersound.scr, and each one has a list of maps (i.e. letters with which the map names start) for which these sounds were thought. the 'name' of a map starts just after mohaa/main/maps/, so mohaa/main/maps/dm/anything starts with dm, or mohaa/main/maps/anything starts with a or an or any ...
as most sounds (not all) are atleast thought for use in DM and OBJ levels, these 'letters' are very often found in those map list in the ubersound.scr, so it's a good idea to put your map in one of these directories. For sounds where this still doesn't work, you'll have to write your own precache script to make them load on startup.
as most sounds (not all) are atleast thought for use in DM and OBJ levels, these 'letters' are very often found in those map list in the ubersound.scr, so it's a good idea to put your map in one of these directories. For sounds where this still doesn't work, you'll have to write your own precache script to make them load on startup.

