• Welcome to Freedom Reborn Archive.
 

custom sound tracks?

Started by manboy, July 08, 2008, 12:22:37 AM

Previous topic - Next topic

manboy

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!

Carravaggio

I too would be interested in hearing about this.

GogglesPizanno

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.