How to add sound to the login interface?

Added by TomH about 5 years ago

Anyone knows how to add sound to the log-in interface?

I already have the sound file(s), but I can't find any guide on how to integrate it.

Thank you.


Replies (4)

RE: How to add sound to the login interface? - Added by kaetemi about 5 years ago

Put them in a sample_bank using sound build tools.
Make sure the sample_bank is added to the automatically loaded sample banks in the default mixer configuration sheet.
Then make your .sound bank using the georges editor, one of the sound sample applications in the source shows what the .sound files need to contain.
Build the sounds.packed_sheets using the sound build tools.

You'll then be able to play the .sound file from the interface xml.

RE: How to add sound to the login interface? - Added by TomH about 5 years ago

How do I add the .sound file to the interface xml.

What file should I look at?

Thank you.

RE: How to add sound to the login interface? - Added by kaetemi about 5 years ago

There's an action handler (AH) for playing back sound that you can call from the xml file on a button press.
There are some xml files in character creation that use this feature, have a look at those.

RE: How to add sound to the login interface? - Added by TomH about 5 years ago

Thank you Kaetemi.

Now all I need is to find the xml files for the character creation :P

(1-4/4)