Project Zomboid

Project Zomboid

Moodle Framework B41
171 comentarii
darkArt 22 apr. la 0:22 
If I subscribe to this and the new b42 only version of this mod it only shows me one moodle framework mod on the mod list.
Mrlaz 1 apr. la 15:11 
Turkish language does not work in b42.6 version
ROZZIE 24 mart. la 9:37 
Epic
bballzki01 28 febr. la 10:39 
my game is also doing that. did you guys ever figure it out
PepperCat 21 ian. la 11:08 
My mod is B41/B42 so I'm using the original one.

Code for one of my moodles:

local moodle = MF.getMoodle("dtemcaffeine", player:getPlayerNum())
if moodle ~= nil then
if player:getModData().DTEMcaffeineOnBody > 0 and player:HasTrait("AddictedToCaffeine") then
moodle:setValue(0.6);
moodle:setBackground(moodle:getGoodBadNeutral(), moodle:getLevel(), getTexture("media/ui/dtemcaffeine.png"))
--print("Moodle 1 positive")
elseif player:getModData().DTEMtimeSinceLastCaffeine > 1440 and player:HasTrait("AddictedToCaffeine") then
moodle:setValue(0.4);
moodle:setBackground(moodle:getGoodBadNeutral(), moodle:getLevel(), getTexture("media/ui/dtemcaffeine.png"))
--print("Moodle 1 negative")
else
moodle:setValue(0.5);
--print("No Moodle")
end
end

I still can't see the red/green background circle in the moodle. It just displays the icon
Tchernobill  [autor] 21 ian. la 11:02 
@PepperCat For B42, yes. You probably modified the related mod options.
Aside, if your mod is not hybrid B41/42, I suggest you link to B42 version of this. (not both)
PepperCat 21 ian. la 9:35 
Hello!
Question. I had my Moodles working all good but now, my image is being displayed but the green/red circle behind the Moodle icon is not displayed anymore, do I need to add an additional line of code for that? Did something related to that changed in the latest update?
Tchernobill  [autor] 30 dec. 2024 la 15:11 
While this version works for both B41 and B42,
I uploaded a B42 only version with higher update frequency here . It already includes minors updates and is likely to include more in the future.
vsnegupal 29 dec. 2024 la 1:02 
Greetings. Can you please give me permission to include this mod in my modpack for the server? There will be a link to this mod in the description, and I will always be in touch, if you change your mind. You can post your approval/disapproval here or in private messages.
thesimphany 28 dec. 2024 la 16:13 
Please consider to keep a build 41 Version for those of us That will be remaining on Build 41 And the servers and files we have used for Years
UnCheat 27 dec. 2024 la 15:36 
@Tchernobill
Here is a screenshot with the ProteinsMoodle
I don't think that overwriting the MF.ISMoodle.render by 3-rd patrty mods is the best solution to fix that
UnCheat 27 dec. 2024 la 15:16 
@Tchernobill Please consider adding support for uneven textures backgrounds
For example neonMoodleIndicatorVertical vertical version is 128x138 px size or other mods where background is wider
So the aspect ratio scaling is needed to respect that.
To get the propper width you can use:
finalWidth = round(texture:getWidth() * moodleSize / texture:getHeight(), 0)

And you can calculate ratio only when:
texture:getWidth() ~= texture:getHeight()
Kacpix 21 dec. 2024 la 2:14 
will it break one of my moodle mod (plain moodles, b41)?
Tchernobill  [autor] 18 dec. 2024 la 23:39 
@PepperCat & Enthuziazt :steamhappy:
@Additive yes. you can check mods tags for that
Enthuziazt 18 dec. 2024 la 16:02 
Tchernobill, from the bottom of my heart, you a goated modder my guy
AddictiveOutlier 18 dec. 2024 la 12:59 
Is it compatible with both builds?
PepperCat 18 dec. 2024 la 12:17 
Solved. It was just a 8 layer error :)
PepperCat 18 dec. 2024 la 11:59 
Omg... I took an old version of the mod where I was using Aiteron API for Moodles instead of MoodleFramework, I'm stupid. Let me try lol
Tchernobill  [autor] 18 dec. 2024 la 11:42 
@pepperCat. Yes.
There is supposed to be nothing done on your side for resize. If you got the moodle, you're supposed to get the resize.
I guess you are not manipulating MF.scale. (it is not supposed to be manipulated from outside MoodleFramework)
PepperCat 18 dec. 2024 la 11:15 
Hmmm I'm not getting my Moodles resized. Is your Protein Moodle being resized? I may have something wrong.
Tchernobill  [autor] 18 dec. 2024 la 11:02 
@PepperCat Vanilla (B42) moodles resize is handled.
PepperCat 18 dec. 2024 la 7:24 
Hey there! how are you? Did you do something for Moodle rezise now that's an option? I want to start working on Dynamic Traits update, but not really sure if I need to do something with your dependency for them to be resizable
Raven 17 dec. 2024 la 15:35 
problems solved, issue was the other mod that updated (equipment ui) because it updated too many times too fast for steam to handle
Tchernobill  [autor] 17 dec. 2024 la 15:21 
@Sylon I am human, my bui.. birth certificate can prove it ! I am 100% hum.. kzzzt.. krrrrrr..pshhhhhh.. .. .. ERROR detected start reboot.. .. an and there is no way I am not.
Sylon 17 dec. 2024 la 15:11 
Are you even human? How did you update it so fast!? THANKS
Tchernobill  [autor] 17 dec. 2024 la 14:29 
@Raven I suggest you go on discord mod support channel and give there as much detail as you can. https://discord.gg/theindiestone
Raven 17 dec. 2024 la 14:26 
I didn't get a server crash but I can't join my locally hosted server because it needs to download mods (mods that I already have because I'm literally hosting it) and it was just bugging out steam as it tried to download nothing
Tchernobill  [autor] 17 dec. 2024 la 14:22 
@огуречйк it should be fully compatible B41, can you provide me the errors ?
огуречйк 17 dec. 2024 la 14:16 
Hello, is there any way to access the old mod version? Can't continue the game with the current one, it crashes our server.
Tchernobill  [autor] 17 dec. 2024 la 14:13 
@Raven Yes, it is compatible with both B41 and B42.
Raven 17 dec. 2024 la 14:05 
does this mod still work with b41? afraid to start up my server rn because someone said this mod's update duped a vehicle on another server
Jem 7 nov. 2024 la 14:57 
@Tchernobil Hello, can I use the mod in my mod pack?
Ery 30 oct. 2024 la 14:26 
@PCR because hide in cars utilizes a moodle to let you know that you are indeed hidden
PCR 28 sept. 2024 la 6:54 
why i need this for mod "hide in cars"? :V
Dreamy_Abyss 13 aug. 2024 la 19: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 16 iul. 2024 la 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 15 iul. 2024 la 21: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 28 mai 2024 la 10:51 
the pregnancy mod got unlisted, which is curious.
Tchernobill  [autor] 13 mai 2024 la 10:58 
@Remanner From my POV this looks a lot like someone is fishing for externalizing their mod problems.
Remanner 13 mai 2024 la 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  [autor] 7 febr. 2024 la 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  [autor] 4 febr. 2024 la 12:47 
@Eden1914 fair enough, I clarified.
Eden1914 4 febr. 2024 la 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
Tchernobill  [autor] 28 ian. 2024 la 9:05 
@Eden1914 Why would you use in splitscreen a mod that is not compatible with splitscreen ?
Eden1914 28 ian. 2024 la 9:00 
>version 1.8

>remove ghost moodles bug. (unexpected empty space between moodles)

I know I already commented about splitscreen incompatibility, but I'd like to add that the ghost moodles exist for player 2, so that bug still exists. Also, if both players have the same trait with a moodle that uses this framework, then the moodle for the trait will duplicate on player 2's screen, as it shows moodles for player 1 and player 2 on just player 2's screen. This makes it hard to tell who's moodle could be who's when only one is showing in the moment.
Eden1914 24 ian. 2024 la 19:51 
mods using this framework break on splitscreen, the moodle for player one stacks over and sometimes covers player two's moodles
Tchernobill  [autor] 19 ian. 2024 la 17:57 
@Ratamus as described in the interface, temporary off moodle default value is 0.5. you probably do not want to suspend/disable.
Ratamus 19 ian. 2024 la 17:54 
Great mod, having an issue using this in my mod with two other mods that use your framework hopefully you can help me find the issue.

Improved Sneak and True Crawl both use your moodle framework that have moodles visible all the time.

My mod creates a moodle that tracks an effect over a duration, when it ends I set the value to 0 and suspend/disable the moodle, it dissapears but it leaves a gap between the two other moodles where it used to be. Im assuming its still in place just hidden but not sure how I go about completely removing it or pushing it to the bottom of the moodle list
Slider-Man 16 ian. 2024 la 15:42 
Just quick update, culprit has been found

Autotsar Tuning Atelier - Chevalier Samara [TUNING 2.0]

Server crashes saying no script for the car, not sure what the fix is as i redownloaded mod but still instant crashes World dictionary error with no script for above mod, so ya. Mystery solved.
Slider-Man 16 ian. 2024 la 12:44 
Ya its related to vehicles and even vanilla vehicles its just weird your mod brings the tires back when removed which i legit dont get but ill stop flooding the comments now that i got it narrowed down, appreciate it, take care.