Project Zomboid

Project Zomboid

20,746 평점
Mod Options (Build 41)
29
13
8
8
4
14
11
9
4
4
2
2
5
4
4
4
2
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 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
2025년 5월 6일 오후 4시 30분
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 ?
Kitasan Black
댓글 836
kampfpanzer 2025년 9월 17일 오전 7시 14분 
а
No one 2025년 9월 14일 오후 4시 24분 
a
Akira 2025년 9월 13일 오전 1시 06분 
a
tilarium 2025년 9월 10일 오후 1시 48분 
tilarium Apr 27 @ 5:45pm
tilarium Apr 19 @ 7:05am
tilarium Mar 25 @ 5:37pm
Never. B42 has mod options baked into it
Никогда. В B42 встроены опции модов
TheGamerVoid 2025년 9월 10일 오후 12시 20분 
build 42
Corono of Ntikirra 2025년 9월 2일 오후 8시 42분 
I'm having an issue wherein when I enable this mod, all UI from the menu disappears. Not sure what would be causing this, but I know it's specifically this mod.
有参 2025년 8월 15일 오전 2시 41분 
666
tilarium 2025년 8월 11일 오후 1시 13분 
Someone(s) is(are) going around reporting mods. So far I've seen it here on PZ, Stellaris, HoI4 and Crusader Kings III
WormGang 2025년 8월 11일 오전 11시 56분 
Why the fuck is everything getting DMCA’d
tilarium 2025년 8월 11일 오전 9시 50분 
@Well Butter my Biscuit why do I get the feeling you’re the one reporting all the mods? Grow up