Project Zomboid

Project Zomboid

2,053 평점
Simple UI library
2
3
2
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
파일 크기
게시일
업데이트일
50.375 KB
2022년 2월 20일 오후 1시 59분
2022년 3월 5일 오후 12시 31분
업데이트 노트 4개 (보기)

다운로드 위해 구독하기
Simple UI library

설명
Simple UI Library
Want to make a simple menu for your mod to :
- Ask the player to choose between two things?
- Ask the player a nickname, age, height, weight, etc ?
- Display a map ?
- Display player-related information from your mod such as amount of money, time on server, etc ?
- Warn players the start of an event ?
- Make a job board systeme ?
- And more ?

This mod is for you !

If you did something with this mod, pls comment it.



Hello world (for modders)
Make a window that display "Hello world":
local UI = NewUI(); UI:addText("", "Hello world", "Small", "Center") UI:saveLayout()

TODO
- Make rich text scrollable
- Add slider element
- Make the window scrollable

Find all informations and examples here:
https://github.com/MrBounty/PZ-UI_API

Mod that use it
The Only Cure:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2703664356
Pager mod: (best exemple to look at)
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2773785202
Example mod with example UI:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2760157169

I will not answer questions asked in the comments! If you have any questions, make a discussion here, an issue on github or a message on discord (modding channel of the official the indie stone discord or a pm).
I prefer here or github because like that people can use it back later if they have the same question.

I do not authorize the use of my CODE (copy paste) for modpacks. If you want it, ask it pls. But you can you use the mod for your mod or server if everyone is sub the this mod thx ! (Mod is different from code)

Workshop ID: 2760035814
Mod ID: UIAPI
인기 토론 모두 보기(3)
8
2023년 5월 12일 오후 2시 50분
고정됨: Ideas and suggestions
MrBounty
8
2023년 6월 18일 오전 4시 11분
고정됨: Bugs and errors
MrBounty
1
2023년 3월 14일 오전 7시 40분
Modpack
LineTinzer
댓글 19
я бомбил донбас!!! 2025년 4월 23일 오후 2시 18분 
how to open the menu???????????????????!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
IsaTsuki 2025년 3월 24일 오전 10시 34분 
Good
Lucasif 2025년 2월 15일 오후 7시 40분 
Any chance this is scheduled to be updated to B42?
esteban88 2025년 1월 12일 오후 12시 57분 
pls updating mod for b42 you mod is great
munlungo 2024년 9월 22일 오전 11시 50분 
tg pd
toomanynights 2024년 3월 8일 오후 12시 29분 
Just released a mod that I doubt I'd ever manage without your library: To-Do List.
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3175536048
Thank you!

Also I left a few issues in your GitHub, take a look please when you got time:
https://github.com/MrBounty/PZ-UI_API/issues
𝓭𝓮𝔁𝓽𝓮𝓻 2024년 1월 26일 오전 11시 46분 
how to open the menu
etomarat 2023년 6월 27일 오전 5시 57분 
Hi! Thanks for you work! I used this lib in my project
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2994732935

But I have a request. Please update the project on github. There's a typo in the "setitems" method. In the steam version, everything is ok. But during development I used the github version, so my mod didn't work in steam :)
Trombonaught 2023년 5월 5일 오후 5시 34분 
404_coffee.exe 2023년 3월 28일 오전 5시 59분 
thank you for making this mod