Project Zomboid

Project Zomboid

19,590 人が評価
Mod Options (Build 41)
28
13
8
8
4
14
11
9
4
2
3
5
4
4
2
3
3
2
   
アワード
お気に入り
お気に入り
お気に入りから削除
ファイルサイズ
投稿日
更新日
31.729 KB
2020年7月17日 14時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 BUILD 41
(!) For Build 42 see here.

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)
44
5月6日 16時30分
Can´t host a coop server with mods
QUANDALE DINGLE
20
2022年10月22日 17時35分
"File doesn't exist on the client:"
Sennyツ
15
2022年10月22日 17時35分
File doesn't exist on the client How to fix ?
Miyabi
792 件のコメント
PMEJ Jangers 5月10日 17時59分 
'
PlayerTarfy 5月10日 16時34分 
e
Rokem 4月28日 20時06分 
o7
tilarium 4月27日 14時45分 
tilarium Apr 19 @ 7:05am
tilarium Mar 25 @ 5:37pm
Never. B42 has mod options baked into it
Никогда. В B42 встроены опции модов
ABALDUY 4月27日 10時54分 
когда на 42 билд
tilarium 4月19日 4時05分 
tilarium Mar 25 @ 5:37pm
Never. B42 has mod options baked into it
포카 4月18日 21時42分 
still work in B42?
VG777y 4月8日 22時26分 
útil
Sabs 4月6日 5時32分 
gut
Logar 4月5日 12時19分 
Excelente
!