Page 1 of 1

Spearhead maps

Posted: Sun Jul 01, 2007 6:05 pm
by Smithy
Since I've started using the Spearhead SDK some sounds don't work when I test my map.

I've setup a disguise mission, but when the AI ask for papers their lips move but there isn't any sound. Same goes for my cardgame guys, they don't have any sound.

Anyone know why this is?

EDIT: Well, I copied my MOHAA Ubersound folder into my MOHAAS main folder (still have the MOHAAS one too) and that seemed to fix it.

Is there another way to dealing with this?

Posted: Tue Jul 03, 2007 1:39 pm
by jv_map
Hmm you could manually alias the sounds with a ScriptMaster but that would probably not be worth the effort.

Posted: Tue Jul 03, 2007 1:51 pm
by bdbodger
You can put a custom file into the ubersound directoy in SH it does not have to be called ubersound in fact if your ubersound file gets too big you will have to do it that way . It will be client side though ether way .

Posted: Tue Jul 03, 2007 5:32 pm
by ViPER
with Spearhead ubersound scripting works serverside, as long as the client has the sound. Also, its important that you don't call it ubersound - give it a unique name and only include in it the new sounds.

When i make a map pak I delelte any custom ubersound files that adopt the original ubersound file data.

Posted: Wed Jul 04, 2007 6:33 am
by bdbodger
Viper wrote:with Spearhead ubersound scripting works serverside, as long as the client has the sound. Also, its important that you don't call it ubersound - give it a unique name and only include in it the new sounds.

When i make a map pak I delelte any custom ubersound files that adopt the original ubersound file data.
By Spearhead scirpting do you mean a file in the ubersound directory ? I don't do Spearhead much I am not tatally sure what works serverside .

Posted: Wed Jul 04, 2007 9:18 am
by jv_map
Hmm I also thought that works client-side only :?

Posted: Wed Jul 04, 2007 9:37 am
by ViPER
I use sounds on my spearhead server that are otherwise not cached in multiplayer maps. I do so with a custom Ubersound file on the server.

In Spearhead the alias scriptmaster does not work from the map script(though it does not cause errors either) It will only work from the ubersound folder. You have to be careful not to add to many sounds or you will experience frequent crash events.