Project Zomboid

Project Zomboid

Not enough ratings
Random Zombies - DnN - Plugin Template
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
371.635 KB
18 Nov, 2022 @ 12:19pm
13 Jan, 2023 @ 8:35am
2 Change Notes ( view )

Subscribe to download
Random Zombies - DnN - Plugin Template

Description
This is a template to show others how to write a plugin for Random Zombies - Day and Night

It simply triggers a special distribution each time it snow, rain or is foggy instead of having to choose just one type of weather.

Source Code

You can see and download the source code directly from here[github.com].
The plugins must be put in mod order before the main mod Random Zombies - Day and Night.
If using multiple plugins, consider that the latest just before the main mod will be the one that, if conflicting with others, will override the schedule and take precedence.
Please check the github for more instructions for developing one.

BUGS!? FEATURE REQUEST? NEED HELP?

Please reach out here[github.com]. I'll try and be as helpful as I can.

=====================

Workshop ID: 2890233989
Mod ID: RandomZombiesFullExamplePlugin
6 Comments
Crius  [author] 30 Apr, 2024 @ 12:52pm 
@BoredThor, the source code is available and there support for a plugin system with an example. Feel free to experiment with it.
BoredThor 30 Apr, 2024 @ 3:06am 
I would love to make the special distributions work with the mod The Darkness is Coming.
Crius  [author] 28 Aug, 2023 @ 6:18am 
@JustPurdy you should not install this by itself. It require the main mod Random Zombies - Day and Night. Also it's meant as an example of how to make a plugin, you are not supposed to just install this and expect it to work. No proper testing has been done for this.

If you do not understand how to use this, the best suggestion I can give you is to not install it.
J. Purdy 23 Aug, 2023 @ 5:02pm 
Is there anything I need to change with this mod enabled? I had your other mod working but now they don't sprint at night at all. Do I need to switch "Enable_ExampleMode = 2" to a 1?
Crius  [author] 13 Jan, 2023 @ 12:28pm 
@BC Budz all good. Can't assure it works as I didn't test it after the last change.

I had tested it prior to that and the change shouldn't really have been anything that breaks stuff but for sure it will have some placeholder text here and there (maybe some reference to `Example` in the options page to give you an idea). Nothing should be broken in the logic itself.

Let me know if something is badly broken and if you want to try your hand at fixing it, this is a very good small project to try and learn some basics of PZ modding :)
BC Budz 13 Jan, 2023 @ 11:40am 
Thanks for plugin! :spiffo::praisesun: