Project Zomboid

Project Zomboid

17,568 次評價
Mod Options (Build 41)
22
12
4
14
6
6
10
4
2
7
3
5
4
4
2
3
3
2
   
獎勵
加入最愛
已加入最愛
移除最愛
檔案大小
發佈於
更新時間
31.729 KB
2020 年 7 月 17 日 下午 2:31
2022 年 10 月 17 日 上午 8:06
19 項更新註記 (檢視)

訂閱以下載
Mod Options (Build 41)

描述
ModOptions WIP (paused)!

Allows other mods to be customized.
Any mod author can add custom options to their mod.

Requirements
(!) THIS MOD IS COMPATIBLE ONLY WITH BETA BUILD 41+[theindiestone.com]

Steam Workshop Issues
1. Quit the game.
2. Unsubscribe. Wait ~1 minute.
3. Subscribe. Wait ~1 minute.
4. Make sure the mod version is 1.4.4

Minimal Code (for modders)
Put it in subfolder media/lua/client of your mod folder.
-- These are the default options. local OPTIONS = { box1 = true, box2 = false, } -- Connecting the options to the menu, so user can change them. if ModOptions and ModOptions.getInstance then ModOptions:getInstance(OPTIONS, "MyModID", "My Mod") end -- Check actual options at game loading. Events.OnGameStart.Add(function() print("checkbox1 = ", OPTIONS.box1) print("checkbox2 = ", OPTIONS.box2) end)
This mod should be enbaled.
But note that your mod will work without this mod!
So you do not have to create a hard dependence on this mod.

For more info, see Guide.

TODO:
- Options other than checkbox (done)
- Option like edit input.
- Option like change color.
- Possibility to add custom tab
- Possibility to tune by server admins only (using UI)
- Sandbox options. (done)

Workshop ID: 2169435993
Mod ID: modoptions
熱門討論 檢視全部(20)
41
2022 年 10 月 21 日 下午 2:29
Can´t host a coop server with mods
QUANDALE DINGLE
20
2022 年 10 月 22 日 下午 5:35
"File doesn't exist on the client:"
Sennyツ
15
2022 年 10 月 22 日 下午 5:35
File doesn't exist on the client How to fix ?
Hot Milf Siracusa
736 則留言
梨楚芳 11 月 17 日 下午 6:03 
b( ̄▽ ̄)d
Half 11 月 1 日 下午 1:02 
+
Nariouss 10 月 31 日 下午 9:41 
Isnt that the most downloaded mod ?
AndorinhaBlue 10 月 22 日 下午 2:33 
Eu não tenho costume de usar mods, mas ja fiz uma ou duas runs no mp. E esse mod é a base de tudo, vale a pena manter a inscrição
▽ Noobmadz 10 月 11 日 下午 6:33 
This mod have a problem with UI mods ("SpiffUI - Themes" for example). When you install a UI mod and use this mod, he's have a conflict with LUA archives. I don't know how to fix this problem, maybe need to fix for creator of this mod.
Math 10 月 8 日 上午 6:19 
perfect
JackOfBlades 10 月 2 日 下午 3:05 
I don't know if this has been addressed, But I cant Access the mod options on my private server and everything is a "Nightmare"
AzhalveK 9 月 30 日 上午 6:31 
I think an update would be welcome, as would the addition of an option to hide the menu from players on the servers.
็็็็็็็็็็ 9 月 17 日 下午 9:49 
perfect
S@R@N4@ 9 月 16 日 下午 2:03 
👍