DayZ
PvZmoD_Spawn_System
 This topic has been pinned, so it's probably important
Liven  [developer] 15 Jul, 2020 @ 6:20am
Night Zombies Configuration
Update the mod from v1.08.t5 to v1.08.u
If you install the mod for the first time, ignore this step and go directly to the “Activate the Night Zombies” section.

If you used the v1.08.t5 version (or earlier) of the mod, you have to copy the NightZombies.xml file include in the mod folder to :
\ YourServerProfileFolder \ PvZmoD_Spawn_System_ Profile \ ZombiesCategorie \

You can verify ingame if all is ok : press the numpad5 refresh key, you should not see error message (if the file is not present or at the wrong place an error message “File missing” will show up).

Activate the Night Zombies
By default the Night zombies feature is not activated. If you want to spawn different zombie types or quantities you have to activate the feature :

In the NightZombies.xml file, set the “Activate Night_Zombies” to 1.

Configure the Night Zombies Type
The principle of this feature is to replace the zombie that should spawn by another zombie type when it is night time.

In the NightZombies.xml you can see the list of all vanilla zombies (“type name” value) and the zombies that should replace each of these zombies (“Night Zombies” value) when it is night time.
You will note that by default these two values are always the same, it is normal because I didn't make special configuration for night time.
So if you want different zombies for night time you will have replace the “Night Zombie” values yourself.

Configure the Night Zombies Quantities
For each zombie type section you can see a “Night Ratio” value. This value allow to spawn more or less zombies at night time for each categories.

You can see a “Global_Ratio Night_Zombies” value in the “Global_Variables” section. This variable affect all zombies.

The final number of zombies is “Night Ratio” * “Global_Ratio Night_Zombies”.

If you use a decimal, for exemple 2.5 sometime 2 zombies will spawn, sometime 3 zombies.

Modify Night Schedules
The vanilla night schedules does not really correspond on what we can call night in real life. The vanilla system consider it is night as soon as the sun is behind the horizon even if the light is still intense.

A new feature allow you to change the time of the beginning and the end of the night. Remember that will only affect the night zombie system of this mod, it will not modify the vanilla time acceleration for example.

By default this option is deactivated. To use it you have to set the “OverRide_Vanilla_Night_Time” to 1 in the “Global_Variables” section of the NightZombies.xml file.
Then you can set the beginning and end time of the night in this same file (the “good” value depend on the season, so make your tests to find the values that fit your needs).

Note 1 : When you make tests you can set the Fast_Night_Time_Check to 1. The system will check the night every second, but when you finish the test I advise you to set back this value to 0 (night time check every 30 seconds) to save some server resources.

Note 2 : If you use my other mods PvZmoD Dark Horde or PvZmoD Customisable Zombies, each one have his night schedules system so I advise you to configure them with the same values.

Special Cases
If the zombie is not in the list :
If the “Spawn_Day_Zombie if_Zombie_is_not_in_the_list” in the “Global_Variables” is set to “true” the zombie will spawn as if it is day time.

If the “Spawn_Day_Zombie if_Zombie_is_not_in_the_list” in the “Global_Variables” is set to “false” no zombie will spawn if it is night time.
You can have the same result by setting the “Night Ratio” to “0.0” or the “Night Zombie” to “” (or if the “Night Zombie” class you choose does not exist)

If you have many sections with the same “type name” zombie type (day zombie) :
All these sections will be apply.
For example :

<type name="ZmbM_HermitSkinny_Black">
<Night Ratio ="2.0"/>
<Night Zombie ="ZmbF_CitizenBSkinny"/>
</type>
<type name="ZmbM_HermitSkinny_Black">
<Night Ratio ="3"/>
<Night Zombie ="ZmbF_SkaterYoung_Brown"/>
</type>

When it is night time, each time the spawn system should spawn one ZmbM_HermitSkinny_Black, it will spawn 2 ZmbF_CitizenBSkinny AND 3 ZmbF_SkaterYoung_Brown.

If you want to modify only global quantities at night time :
You can modify “Global_Ratio Night_Zombies” value in “Global_Variables” section and delete all the other zombies sections.
Just don't forget to keep “Spawn_Day_Zombie if_Zombie_is_not_in_the_list” value to “true”.
This will help you to save some server resources.

Class Names :
You can not use “base” classes. For example you can't use ZmbM_HermitSkinny_Base, you have to use ZmbM_HermitSkinny_Black, ZmbM_HermitSkinny_Beige...
Last edited by Liven; 15 Jul, 2020 @ 6:34am
< >
Showing 1-6 of 6 comments
sPo0keY 22 Nov, 2022 @ 10:37am 
can you add a light or something to the night zombies
Liven  [developer] 22 Nov, 2022 @ 1:59pm 
It is not planed because it can be lot ressource consuming.
Jam Sackman 12 Aug, 2023 @ 6:32am 
Is there any way to increase the vision or hearing of zombies at night *over* 1.0? I'd ideally like it so that at night almost all zombies can see / hear all the players. Thanks
Liven  [developer] 12 Aug, 2023 @ 12:34pm 
Originally posted by Falz:
Is there any way to increase the vision or hearing of zombies at night *over* 1.0? I'd ideally like it so that at night almost all zombies can see / hear all the players. Thanks

Sorry, no
jAudi5k 9 Oct, 2023 @ 12:52pm 
So if I want to spawn zombies from a different mod I just add their class name to replace the class name mentioned above or do I need to add it somewhere else also?
Liven  [developer] 9 Oct, 2023 @ 5:35pm 
This thread only concern the spawns at night if you want to spawn zombies from custom mod at day time too you have to add their class name in ZombiesCategories.c lists
< >
Showing 1-6 of 6 comments
Per page: 1530 50