Project Zomboid

Project Zomboid

19,790 valoraciones
Mod Options (Build 41)
28
13
8
8
4
14
11
9
4
2
2
3
5
4
4
2
3
3
2
   
Premiar
Favoritos
Favorito
Quitar
Tamaño
Publicado el
Actualizado el
31.729 KB
17 JUL 2020 a las 14:31
17 OCT 2022 a las 8:06
19 notas sobre cambios ( ver )

Suscríbete para descargar
Mod Options (Build 41)

Descripción
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
Discusiones populares Ver todo (20)
44
6 MAY a las 16:30
Can´t host a coop server with mods
QUANDALE DINGLE
20
22 OCT 2022 a las 17:35
"File doesn't exist on the client:"
Sennyツ
15
22 OCT 2022 a las 17:35
File doesn't exist on the client How to fix ?
Lupa
793 comentarios
J0RD0N 26 MAY a las 9:28 
I am running a dedicated server how do i change options on there when i dont have a ui
PMEJ Jangers 10 MAY a las 17:59 
'
PlayerTarfy 10 MAY a las 16:34 
e
Rokem 28 ABR a las 20:06 
o7
tilarium 27 ABR a las 14:45 
tilarium Apr 19 @ 7:05am
tilarium Mar 25 @ 5:37pm
Never. B42 has mod options baked into it
Никогда. В B42 встроены опции модов
ABALDUY 27 ABR a las 10:54 
когда на 42 билд
tilarium 19 ABR a las 4:05 
tilarium Mar 25 @ 5:37pm
Never. B42 has mod options baked into it
포카 18 ABR a las 21:42 
still work in B42?
VG777y 8 ABR a las 22:26 
útil
Sabs 6 ABR a las 5:32 
gut