Project Zomboid

Project Zomboid

3,574 평점
MoodleFramework
3
4
3
2
2
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
파일 크기
게시일
업데이트일
60.603 KB
2022년 9월 5일 오후 4시 22분
2024년 2월 7일 오후 12시 18분
변경 사항 11개 ( 보기 )

다운로드 위해 구독하기
MoodleFramework

Tchernobill님의 2 모음집
PZ Build 41
아이템 26개
Modder Tools
아이템 5개
설명
Makes it easy to add moodles for modders.


How to create a new moodle
If you wanna create a Moodle * then follow the next steps, replacing * by your moodle name.

1/ Moodle Texture
Add Moodle *.png under media\ui.
Should be 30 by 30 pixels png with alpha enabled.

2/ Texture
Add the following text under media\lua\shared\Translate\EN
Moodles_EN { Moodles_*_Good_lvl1 = "text_1", Moodles_*_Good_desc_lvl1 = "text_desc_1", Moodles_*_Good_lvl2 = "text_2", Moodles_*_Good_desc_lvl2 = "text_desc_2", Moodles_*_Good_lvl3 = "text_3", Moodles_*_Good_desc_lvl3 = "text_desc_3", Moodles_*_Good_lvl4 = "text_4", Moodles_*_Good_desc_lvl4 = "text_desc_4", Moodles_*_Bad_lvl1 = "text_1", Moodles_*_Bad_desc_lvl1 = "text_desc_1", Moodles_*_Bad_lvl2 = "text_2", Moodles_*_Bad_desc_lvl2 = "text_desc_2", Moodles_*_Bad_lvl3 = "text_3", Moodles_*_Bad_desc_lvl3 = "text_desc_3", Moodles_*_Bad_lvl4 = "text_4", Moodles_*_Bad_desc_lvl4 = "text_desc_4", }
You can implement only a subset of this as long as you call only the implemented part.

3/ Moodle object creation
Add these lines in your mod:
require "MF_ISMoodle" MF.createMoodle(*);

4/ Moodle value updates
Access your moodle from your code with
require "MF_ISMoodle" MF.getMoodle(*,playerNum):setValue(myNewMoodleValue)--float
0.0 <= myNewMoodleValue <=1.0
Missing playerNum will make the mod incompatible with SplitScreen.

For tuning options see dedicated discussion


Limitations
  • Not tested with multiplayer. (it is expected to work)
  • Not tested with splitscreen. (it is expected to work since last version)
  • Oscillations are not based on vanilla value and the behaviour may depend on performances.


Credits where it is due


Known mods using this
Have a look at how they use this mod.


Ask for permission[theindiestone.com]
This mod can only be added to and extended with the express permission from the original creator. Having received permission, credit must be given to the original creator, both within the files of the mod and wherever the mod roams online.

If no permission is received you may not alter the mod.

You wanna support? A nice word is always welcome. Constructive feedback too. Else you can
[ko-fi.com] or use donate on paypal[www.paypal.com].

Workshop ID: 2859296947
Mod ID: MoodleFramework
인기 토론 모두 보기(1)
3
2024년 9월 7일 오전 11시 59분
고정됨: Moodle Framework For Modders
Tchernobill
댓글 138
PCR 2024년 9월 28일 오전 6시 54분 
why i need this for mod "hide in cars"? :V
TechSpartan 2024년 8월 13일 오후 7시 10분 
Hello Tchernobill,

I hope you're doing well! I'm currently putting together a modpack for a Project Zomboid server called "Infected Chronicles," which is focused on creating a unique and immersive experience for our community through rp! (if anyone is interested reach out to me via messages). Your mod would be a perfect fit for the atmosphere we're aiming to build. I'd like to ask for your permission to include it in our modpack. Of course, full credit will be given to you, and I'll be sure to follow any guidelines you have. Thank you for considering my request!

Best regards,
Techspartan
Sealer Moon 2024년 7월 16일 오전 8시 49분 
Is there a way to reload the moodle UI while in-game?
I don't know if it's this or one of my other 110 mods but something causes moodles to just sometimes vanish until I re-host the server.
Anach 2024년 7월 15일 오후 9시 05분 
With all these great Moodle additions, I think we need the moodles to overflow into a secondary column(s), if they reach a certain (configurable) number of Moodles on screen.
Naniwara 2024년 5월 28일 오전 10시 51분 
the pregnancy mod got unlisted, which is curious.
Tchernobill  [작성자] 2024년 5월 13일 오전 10시 58분 
@Remanner From my POV this looks a lot like someone is fishing for externalizing their mod problems.
Remanner 2024년 5월 13일 오전 4시 02분 
This mod conflicts with That DAMN Library and a bunch of it's cars (wich work fine on its own), problem related to car upgrades. Breaks roofrack storage: can't open, spam in log when you walk around or driwing car with roofrack storage
ERROR: General , 1715596533514> LuaManager.getFunctionObject> no such function "DG70.ContainerAccess.Roofrack"
Throws a bunch of errors when the game loads new cars, my guess the errors are related to optional upgrades, but can't say for sure because of lack of knowledge, spent several hours just to figure out what i said above

Other than that, mod works just fine with Medicine Moodles, even when TDL desperately cries in log, thumbs up
Tchernobill  [작성자] 2024년 2월 7일 오후 12시 20분 
with version 1.10, this framework is now split screen compatible.
Client mods need to update their use of this mod to deliver the split screen compatibility to users.
Tchernobill  [작성자] 2024년 2월 4일 오후 12시 47분 
@Eden1914 fair enough, I clarified.
Eden1914 2024년 2월 4일 오전 11시 14분 
Because I seen you said it wasn't tested. Also because have mods dependant on this framework, and I want to enjoy this game with my wife. Figured if you may fix it some day or something