Project Zomboid

Project Zomboid

5,234 betyg
Moodle Framework B41
5
6
4
3
3
2
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Filstorlek
Lades upp
Uppdaterades
111.139 KB
5 sep, 2022 @ 16:22
21 jan @ 16:17
15 ändringsnotiser ( visa )

Abonnera för att ladda ner
Moodle Framework B41

I 2 samlingar av Tchernobill
PZ Build 41
27 artiklar
Modder Tools
5 artiklar
Beskrivning
Makes it easy to add moodles for modders.


Moodle Framework Configuration
If you want colors to be easier to distinguish, you can set to white the reference color for moodles.
This applies to both vanilla and modded moodles.
You can also deactivate various displays to enhance mod compatibility.
Modded Backgrounds with small extensions right or down are now handled too.


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.

Workshop ID: 2859296947
Mod ID: MoodleFramework
Populära diskussioner Visa alla (1)
7
28 jul @ 6:22
KLISTRAD: Moodle Framework For Modders
Tchernobill
177 kommentarer
floppawarrior 29 nov @ 16:44 
@Danyo look up Moodle Framework and you'll find one without the B41 caption
Danyo 29 nov @ 13:46 
Ok. Everyone talking about a B42 version of this. Where is it? Why isn't it linked in the description or comments or anywhere in the lists? I went through all your mods and there is no B42 version. Am I blind?
Takaki Kasekari 9 nov @ 23:46 
I've been using Moodle Framework but wish when I click on Build 42 category I can see only Build 42 mods. Like this mod but why its marked B42 when you have another for B42?
A 21 aug @ 10:56 
I encountered a bug just now, Here is what happened "I was camping near the source water, no zomboids around and no dead bodies. Then sudden an awful smell moodle just pop out. I drive away from the lake (no zomboids / dead bodies). I tried to disable the mod and the awful smell is gone."
Tchernobill  [skapare] 16 jun @ 14:12 
@theplanettree you should use B42 version instead of this one if you play B42
theplanettree 16 jun @ 11:55 
You should change name to b41/b42 , almost skipped this
darkArt 22 apr @ 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 @ 15:11 
Turkish language does not work in b42.6 version
ROZZIE O.O 24 mar @ 9:37 
Epic
bballzki01 28 feb @ 10:39 
my game is also doing that. did you guys ever figure it out