Project Zomboid

Project Zomboid

68 个评价
[v42] Mod Config Menu
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
86.217 KB
2024 年 12 月 18 日 上午 3:31
1 项改动说明 ( 查看 )

订阅以下载
[v42] Mod Config Menu

描述
The v42 port of MCM. Nothing changed about how to implement it, however you now need to ensure that MCM runs BEFORE any mods that use it, i.e. put it in the top of your load order. You can also specify "loadModAfter=ModConfigMenu" in mod.info, though it seems to be buggy for me.

The old version, as well as documentation, can be found here: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2815552312

Since v42 now has a Mod Options API built in, this mod is now considered deprecated. I will still keep the updated version of v42 around for any mods that have been using it since v41, but expect it to be basically "dead" in the future. You should make the switch eventually.

Workshop ID: 3386620985
Mod ID: ModConfigMenu
Mod ID: MCM_ExampleMod
8 条留言
ᴵˡˡᵘˢⁱᵛᵉ ᴹᵃⁿ 2 月 24 日 上午 11:26 
With this method : https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2852309899
he falls asleep with errors when putting on a flask of water on his belt and breaks the entire interface
Czaritsa 2 月 11 日 下午 1:11 
Thank you for all you've done!
Kenpa 2024 年 12 月 31 日 上午 10:45 
Thank you for the awesome mod you gave us. It was legendary work.
mezz  [作者] 2024 年 12 月 20 日 上午 2:02 
Yea, I am officially considering MCM deprecated now. I'll keep it up for the time being, but when it eventually breaks or the next major version comes around I'll just let it stay dead.
dhert 2024 年 12 月 18 日 下午 12:41 
I've created an example to document the new native ModOptions here: B42 Native ModOptions Example
dhert 2024 年 12 月 18 日 上午 11:00 
For now, I think so. At least until the B42 "growing pains" are over. Any modder who used this originally is going to have a much easier time to port their mod over initially, and can then switch at a later time.
mezz  [作者] 2024 年 12 月 18 日 上午 10:01 
Oh? I had no idea. Yea if there's an officially supported option available now, probably better to use that. Wondering if there's much sense in keeping this up now.
dhert 2024 年 12 月 18 日 上午 7:54 
While I appreciate everything you do and for getting this updated for B42, I just want it to be known that B42 has native support for Mod Options now. I would encourage modders to use the new native system so that their mod is compatible with future versions of the game moving forward.
Check: "lua/client/PZAPI/ModOptions.lua"