Spearhead maps

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

Moderator: Moderators

Post Reply
Smithy
Corporal
Posts: 46
Joined: Fri Aug 18, 2006 8:54 pm
Location: United Kingdom

Spearhead maps

Post 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?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Hmm you could manually alias the sounds with a ScriptMaster but that would probably not be worth the effort.
Image
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post 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 .
Image
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post 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.
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post 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 .
Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Hmm I also thought that works client-side only :?
Image
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post 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.
Post Reply