Project Zomboid

Project Zomboid

21,247 értékelés
Mod Options (Build 41)
29
13
8
8
4
14
11
11
4
4
2
2
5
5
4
4
2
3
2
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 (21)
3
okt. 28., 22:24
File does not exist on the server
Chris Redfield
44
máj. 6., 16:30
Can´t host a coop server with mods
QUANDALE DINGLE
20
2022. okt. 22., 17:35
"File doesn't exist on the client:"
Sennyツ
849 megjegyzés
LargestIronEverConcieved nov. 9., 17:48 
I've been using ChatGPT to ♥♥♥♥♥♥ this mod and it's still a hassle. You need to figure this mess out man
Pleonausmo nov. 2., 10:45 
good one
Frankuraku okt. 31., 23:10 
This ♥♥♥♥ isn't appearing on my options menu, even a random thread on this bug and a reddit post are left unanswered, I spent 30 minutes fixing it and nothing works. All I wanted to do was configure the texture optimization and other mods.
pandaman okt. 22., 16:38 
:steamthumbsup:
brrs亥 okt. 14., 8:22 
a
Skeleton Jackツ okt. 11., 20:30 
this mod was working on my dedicated server intill i did a fresh install of the server and it only wants to work in the menu and i cant seem to get it to work ingame
マティアス okt. 10., 14:59 
nice
FAShan okt. 8., 23:36 
:steamhappy:
mqr1200 okt. 7., 17:16 
mod seems to be broken FYI
dokka okt. 7., 14:26 
nice