Adding new sound effects

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
GottaLove88s
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3151
Joined: Fri Apr 06, 2012 6:18 pm
Location: Palau

Adding new sound effects

Post by GottaLove88s »

How can I add new sound effects?

The \SOUNDS folder appears to hold all of your .WAV files
SFX0, SFX1, SFX2, SFX3, SFX4.TXT seem to be where the WAV files get linked up to their ID numbers
And then it looks like they get called in an AddVizFunctionCall("PlaySFX", effectX, effectY, ID ) relating to each ID

So, if I want to add a new sound, I guess I have to add a .WAV file to the \SOUNDS folder (do they have to be .WAV or can they be .MP3?)
Then I have to add a new ID to one of the SFXn.TXT files.
Should I create a new eg. SFX5.TXT file, or copy over one of the existing eg. SFX4.TXT files and add my new IDs to it?
Which ID numbers are available to use without harming your existing sounds?

Thanks guys...
SCENARIO LINKS
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
AndrewGardner
Slitherine
Slitherine
Posts: 535
Joined: Tue Nov 13, 2012 6:24 pm

Re: Adding new sound effects

Post by AndrewGardner »

It looks like custom campaign sound effects won't currently work on iPad. We will look into fixing this for a future update. Sorry.
Last edited by AndrewGardner on Fri Apr 12, 2013 11:58 pm, edited 1 time in total.
jcb989
Colonel - Fallschirmjäger
Colonel - Fallschirmjäger
Posts: 1423
Joined: Fri Nov 05, 2010 12:02 am
Location: Bradenton, Florida

Re: Adding new sound effects

Post by jcb989 »

I hope that is why my music track is also not playing for iPad, and not my poor skills as a scenario editor lol
pipfromslitherine
Site Admin
Site Admin
Posts: 9886
Joined: Wed Mar 23, 2005 10:35 pm

Re: Adding new sound effects

Post by pipfromslitherine »

Yes - the per-campaign music and sfx suffer from the dreaded iPad case sensitivity. Will be fixed in the next update (which won't be very long)

Cheers

Pip
Post Reply

Return to “Battle Academy : Modders Corner ”