"Custom" sounds in Spearhead?

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
logie
Private
Posts: 1
Joined: Wed Jul 09, 2003 11:27 pm

"Custom" sounds in Spearhead?

Post by logie »

OK, I've been trying to add sounds to a few doors now for a while and having no luck. First, I tried using the aliases listed in ubersounds.scr, but I found that Spearhead overrides the ubersounds file from MOHAA but doesn't include enough of the old sounds for my liking. So instead I am trying to create custom sounds out of the wav files that ship with MOHAA.

I've got my _precache.scr file in place, and it's loading a .tik file which defines the aliases that I'm using. However, I see errors on the console when I test the doors in the game. None of my "custom" sounds work, and when the game tries to load the sound, I get an error similar to this:

PlaySound::[MySoundAlias] needs to have an alias in ubersound.scr or uberdialog.scr please fix.

The tutorials on this site just say something about loading more .tik files to define the proper sound aliases. Unfortunately, I don't think that's the problem since I don't see any errors when the game tries to load the _precache.scr file.

Any suggestions?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Sorry about the late reply :oops:

For Spearhead there is an easier solution. Just make a file called my either mymapname.scr, dm_mymapname.scr or obj_mymapname.scr in the main/ubersound folder. You can just paste any necessary sound aliases into this file and it'll work 8-). No .tik work-around needed :)

Oh and welcome to .map :D
Image
Post Reply