Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

Musical Menu Framework

[b]This mod does nothing on it's own. You only need it if another mod requires it.[/b] [b]B42.15 NOTICE[/b] Unfortunately, due to changes in B42.15, you now need Reflection Enabler. Reflection Enabler link: [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3682136459]https://steamcommunity.com/sharedfiles/filedetails/?id=3682136459[/url] I understand installing a Java mod to play custom music in the main menu is overkill, but, that's the way it is at present. When/if this changes, I'll update the mod to support a non-Java solution. I am aware of a possible workaround, however, it's less than ideal, and has issues. I have put forth a suggestion to TIS to expose what I need to make this mod work without a Java mod. [url=https%3A%2F%2Fdiscord.com%2Fchannels%2F136501320340209664%2F1476602902607954043%2F1486452525589598229]https://discord.com/channels/136501320340209664/1476602902607954043/1486452525589598229[/url] [b]What is it?![/b] 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. [b]It's rather simple to create a mod that uses Musical Menu Framework[/b] 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