Musical Menu Framework

If you liked this item, please rate it up on Steam Workshop page.

Author: Ryuku

Last revision: 4 Mar at 15:05 UTC

File size: 32.07 KB

On Steam Workshop

Description:

This mod does nothing on it’s own. You only need it if another mod requires it.

This is a simple framework that enables modders to add as much music to the main menu as they like, and they will play at random.

It’s rather simple to create a mod that uses Musical Menu Framework

1. In mod.info, set: require=MusicalMenuFramework
2. Place your sounds in media/sound. Give them unique names.
Example: YourModId_Artist_Title.extension

3. Create a lua file in media/lua/client. Give it a unique name: YourModId_MenuMusic.lua
Example code:

require("RYUKU_MMF.lua") MMF_AddMusic("YourModId_Artist_Title", "YourModId")

And that’s it!

Workshop ID: 3173081439
Mod ID: MusicalMenuFramework