Project Zomboid

Project Zomboid

17,923 értékelés
Mod Options (Build 41)
22
12
4
14
6
6
10
8
4
2
3
5
4
4
2
3
3
2
   
Díjazás
Kedvenc
Kedvenc
Törlés
Fájlméret:
Közzétéve:
Frissítve:
31.729 KB
2020. júl. 17., 14:31
2022. okt. 17., 8:06
19 változásjegyzék ( megnézés )

Feliratkozás a letöltéshez
Mod Options (Build 41)

Leírás
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
Népszerű témák Összes megnézése (20)
41
2022. okt. 21., 14:29
Can´t host a coop server with mods
QUANDALE DINGLE
20
2022. okt. 22., 17:35
"File doesn't exist on the client:"
Sennyツ
15
2022. okt. 22., 17:35
File doesn't exist on the client How to fix ?
Hot Milf Siracusa
747 megjegyzés
joy0412.moon dec. 21., 4:52 
RIP
Czaritsa dec. 21., 2:14 
Yes thank you Star for this awesome contribution. <3
HypnoToadTrance dec. 21., 0:35 
RIP 🙏
Mod has ascended to the place we all dream of - vanilla integration.
Cheers to you for all the work you put in on this over the years.
gamer3000as dec. 20., 14:30 
so this mod is useless now because is now in vainilla :D
star  [készítő] dec. 20., 6:13 
That's why this mod shouldn't be updated.
Ashleigh dec. 20., 2:58 
To mod developers! Build 42 has a native API that pretty much replaces this mod. See Dhert’s example on how to use it here: https://steamproxy.net/sharedfiles/filedetails/?id=3386860561
76561199522521683 dec. 19., 7:19 
cool
Ryan dec. 19., 5:39 
will this be updated?
JuaoZinh dec. 18., 6:50 
cool
CHARANG dec. 8., 2:21 
이거 왜 안됨?