Project Zomboid

Project Zomboid

评价数不足
Random Zombies - DnN - Plugin Template
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
371.635 KB
2022 年 11 月 18 日 下午 12:19
2023 年 1 月 13 日 上午 8:35
2 项改动说明 ( 查看 )

订阅以下载
Random Zombies - DnN - Plugin Template

描述
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 条留言
Crius  [作者] 2024 年 4 月 30 日 下午 12:52 
@BoredThor, the source code is available and there support for a plugin system with an example. Feel free to experiment with it.
BoredThor 2024 年 4 月 30 日 上午 3:06 
I would love to make the special distributions work with the mod The Darkness is Coming.
Crius  [作者] 2023 年 8 月 28 日 上午 6:18 
@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 2023 年 8 月 23 日 下午 5:02 
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  [作者] 2023 年 1 月 13 日 下午 12:28 
@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 2023 年 1 月 13 日 上午 11:40 
Thanks for plugin! :spiffo::praisesun: