Freedom Reborn Archive

Freedom Force Forums => Sounds / Voices => Topic started by: manboy on July 08, 2008, 12:22:37 AM

Title: custom sound tracks?
Post by: manboy on July 08, 2008, 12:22:37 AM
How do i get custom sound tracks to play randomly in rumble room?

I done a search and wiki didnt have a tutorial on soundtracks.

I made a folder in my sounds folder but i dont know how to get  :ffvstr: to play it.

Thanks in advance!
Title: Re: custom sound tracks?
Post by: Carravaggio on July 08, 2008, 12:42:13 AM
I too would be interested in hearing about this.
Title: Re: custom sound tracks?
Post by: GogglesPizanno on July 09, 2008, 04:34:11 PM
I'm at work so I don't have the actual filenames or script code, but in theory, you would have to add your music tracks to the sounds folder, then create the appropriate entries for them on the sound tab in FFEdit (just copy an existing music track entry and change name/path).

Then you would need to add a line of python code to either the rumble room mission file (in the mission folder, 'danger.py' I think) or else in the actual game mode code itself (off the top of my head I don't remember exactly where these scripts are) telling it to "play" a particular sound.

Something like:
PlayMusic(soundname)

The actual command should be in the scripting docs.