Project Zomboid

Project Zomboid

255 个评价
Musical Menu Framework
2
2
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
64.138 KB
2024 年 3 月 4 日 上午 8:05
7 月 4 日 上午 4:50
4 项改动说明 ( 查看 )

订阅以下载
Musical Menu Framework

描述
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