Project Zomboid

Project Zomboid

20,219 arvostelua
Mod Options (Build 41)
29
13
8
8
4
14
11
9
4
4
2
2
5
4
4
2
3
3
2
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
Päivitetty
31.729 KB
17.7.2020 klo 14.31
17.10.2022 klo 8.06
19 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Mod Options (Build 41)

Kuvaus
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
Suositut keskustelut Näytä kaikki (20)
44
6.5. klo 16.30
Can´t host a coop server with mods
QUANDALE DINGLE
20
22.10.2022 klo 17.35
"File doesn't exist on the client:"
Sennyツ
15
22.10.2022 klo 17.35
File doesn't exist on the client How to fix ?
Kitasan Black
805 kommenttia
Calango_Azul 4 tuntia sitten 
nice
dayeony278 14.7. klo 1.32 
bb
иди нахуй
Denzell 9.7. klo 16.28 
07
LaPaireDeBzez 4.7. klo 4.13 
One of da best mods
_Zevon 27.6. klo 10.11 
Thank you for this mod!
祸奇 23.6. klo 20.25 
这玩点是啥?
Costela 23.6. klo 17.34 
muito massa
bkgarner00 20.6. klo 23.14 
07
Maconhacombulacha 19.6. klo 3.51 
ajuda bastante mesmo na organização dos mods