Musical Menu Framework
О материале
«Musical Menu Framework» — материал мастерской Project Zomboid. Карты, транспорт, оружие и моды для выживания. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
This mod does nothing on it's own. You only need it if another mod requires it.
B42.15 NOTICE
Unfortunately, due to changes in B42.15, you now need Reflection Enabler. Reflection Enabler link: https://steamcommunity.com/sharedfiles/filedetails/?id=3682136459
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. https://discord.com/channels/136501320340209664/1476602902607954043/1486452525589598229
What is 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
-
In mod.info, set: require=MusicalMenuFramework
-
Place your sounds in media/sound. Give them unique names. Example: YourModId_Artist_Title.extension
-
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
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.