DayZ
PvZmoD_Spawn_System
 This topic has been pinned, so it's probably important
Liven  [developer] Jun 17, 2019 @ 3:48am
Installation Instructions
Common Steps :
The mod have to be load server And client side.
  • Subscribe to the mod in the workshop.
  • Copy the @PvZmoD_Spawn_System folder from your !Workshop client folder to your server root folder.
  • Copy the Liven.bikey file to the server keys folder.
  • Add "-mod=@PvZmoD_Spawn_System" in your .bat server launching file
("-mod=@PvZmoD_Spawn_System;@OtherMod" if you have other mods to load).
Note that this mod has to be loaded server and client side.

Profile files :
This files will allow you to customise the mod as you want.
  • Copy the PvZmoD_Spawn_System_Profile(*) folder to your server profile folder
    (copy the folder itself not just its content - find the profile folder path in your .bat server launching file - sometime it is named "profile" sometime "config" sometime something else depending on your provider)
  • In this new folder open Admins.txt add the idsteam64 of people that are allow to refresh realtime modifications (find this id in steam player profil http link)

(*) If you use Livonia (or other) map, you have to copy "PvZmoD_Spawn_System_Profile_Livonia" folder in your server profile folder and rename it to "PvZmoD_Spawn_System_Profile"

Set Your Server Custom Link in the PvZ information panel:
Not mandatory but highly recommended if you want your players easily access to your discord (or other website you choose)
Follow the tutorial here
(if already done because you use another PvZmoD, you don't need to do it again)

Activate the Night Zombies
(Not mandatory)
By default the Night zombies feature is not activated.
If you want to spawn different zombie types or quantities at night time read this thread to activate the feature.

Modify Zombies dead body cleanup time :
(Not mandatory, but can help to save some server resources)
  • Open mpmissions/Your.Map/db/ globals.xml
  • (These modifications will have to be redone if a DayZ update modify this file)
  • Modify or Add this line :
<var name="CleanupLifetimeDeadInfected" type="0" value="150"/>

Disable vanilla spawn system:
(Not mandatory, but remember that vanilla spawn system use server resources if enable)
  • Open mpmissions/Your.Map/db/ globals.xml
  • (These modifications will have to be redone if a DayZ update modify this file)
  • Modify this line to set the value to 0 :
<var name="ZombieMaxCount" type="0" value="0"/>
If you want to use PvZ and Vanilla spawn system together or if you run a high populated server, I highly recommend read this post :
Make PvZ and vanilla spawn systems work together

Disable vanilla loot on zombies :
(Not mandatory, but it is easier to balance loot without vanilla layer)
  • Delete zombies sections in cfgspawnabletypes.xml in mpmissions / Your.Map /
  • (This operation will have to be redone if a DayZ update modify this file)

Primary Tweaks :
The installation is done. Just tweak the basic values to fit your server needs.

In your profile folder:
  • Open RealTimeTweaks.json file
  • Look at the values of these lines :
  • "1" Maximum zombie Number (important for server performances*)
  • "3" Dynamic spawn Ratio (increase make game more difficult**)
  • "4" Static spawn Ratio (increase make game more difficult**)

* You should begin low then increase to monitor server performances.
Let me know how many players / zombies you reach.

** 0 to deactivate spawn
50 is good for vanilla zeds
100 for my other mod PvZmoD Tweaked Zombies
Maybe more for walking dead mods
Find your own settings

For the other values in this file, you can find help in RealTimeTweaks-Help.txt

When you think your are OK, you can press numpad5 ingame (or restart server).
You will see a message ingame, if not, verify your admin.txt and if something seems not working properly, use this tool[jsonlint.com] to verify your .json file.


IMPORTANT (for future updates) :
This mod is Fully Customisable. Tweaking means taking precautions to not redo things.

When futur updates of the mod will occures, always take a look to the patch notes because changements can occur in profile files that imply to copy again the files in your profile folder. I'll try to group these changes to not have to update too often and most of these updates should not be mandatory (as long as it is just tweaks).

If you modify the profile files I recommend to you to add a comment in the code (something like //PersonnalModifications for exemple), so if this file have to be updated, you can easily redo your modifications on the new file before crush yours.

Don't add comments in the .json file (but you can in .txt and .c files).

Last thing, if profile folder need to be update, do not replace the Admin.txt or you will need to add the idsteam64 in it again.

Bonus advice :
I Created a “News” thread that I recommend you to subscribe to because I will share on it some informations that can be useful. It is for you the best way to don't be surprise by updates that need some file adjustments for example.
Last edited by Liven; Apr 5, 2022 @ 3:57am
< >
Showing 1-15 of 137 comments
Zadyk Jul 4, 2019 @ 11:42am 
Hi, Actually everyting works, but there are no Zombies on my server ( i'm pretty new to modding ). I've set :

"
@echo off
cls
set watch=DayZ Server
title %watch% Watchdog
cd "D:\Program Files (x86)\Steam\steamapps\common\DayZServer"
:watchdog
echo (%time%) %watch% started.
start "Zadyk" /wait "DayZServer_x64.exe" -config=serverDZ.cfg -profiles=WarZProject "-mod=@CF;Community-Online-Tools;PvZmoD_Spawn_System;" -port=2302 -dologs -adminlog -netlog -freezecheck
echo (%time%) %watch% closed or crashed, restarting.
goto watchdog

"

Then I put the @PvZmoD_Spawn_System in a Mod folder in the root of my /DayzServer


I did copy the .bikey in Key


I've past content of the "PvZmoD_Spawn_System_Profile" folder in /MyserverDirectory


My XML in Mission : looks like this.



<var name="ZombieMaxCount" type="0" value="0"/>

"
but nothing happens my server is realy Empty of zombies.


Do you have some ideas Please x)
Liven  [developer] Jul 4, 2019 @ 11:53am 
What I can note about your configuration:

"-mod=@CF;Community-Online-Tools;PvZmoD_Spawn_System;"
need to be
"-mod=@CF;@Community-Online-Tools;@PvZmoD_Spawn_System;"
(I suppose CoT does not work too, or you have change its folder name)

-profiles=WarZProject
this is the path of your server profile folder.
The default "-profiles=c:\Users\Yourname\Documents\DayZ Other Profiles\Server\" (with the ")
Verify that your WarZProject folder exist (in your server folder) and if there is log files in it.
It is in this folder you have to copy the PvZmoD_Spawn_System_Profile folder
Last edited by Liven; Jul 4, 2019 @ 11:54am
Zadyk Jul 4, 2019 @ 12:06pm 
@liven Thank you for your support, actually I changed this part :

start "Zadyk" /wait "DayZServer_x64.exe" -config=serverDZ.cfg -profiles=WarZProject "-mod=@CF;@Community-Online-Tools;@PvZmoD_Spawn_System;" -port=2302 -dologs -adminlog -netlog -freezecheck

Actually : For the Folder copy I Did this :

D:\Jeux\steamapps\common\DayZServer\WarZProject\Loot - ( one of the folders in thePvZmoD_Spawn_System_Profile\Loot )


But Maybe I'm wrong and it should look like this :

D:\Jeux\steamapps\common\DayZServer\WarZProject\PvZmoD_Spawn_System_Profile\Loot
Liven  [developer] Jul 4, 2019 @ 12:10pm 
it should be that
D:\Jeux\steamapps\common\DayZServer\WarZProject\PvZmoD_Spawn_System_Profile\...

I modified the install instruction to be more clear
Last edited by Liven; Jul 4, 2019 @ 12:13pm
Zadyk Jul 4, 2019 @ 12:35pm 
I'm sorry I've done everything. But actually It's not working ( No ZEDS at all ) x) dono where to start I have only 3 mods Ans COT Doesn't work too x)
Liven  [developer] Jul 4, 2019 @ 12:37pm 
do you have log files in your WarZProject folder?
(script_2019-07-04_19-19-19.log for exemple)
Last edited by Liven; Jul 4, 2019 @ 12:38pm
Liven  [developer] Jul 4, 2019 @ 12:41pm 
If you press numpad5 ingame, is a message poping (with active message in game menu of course)
Zadyk Jul 4, 2019 @ 12:56pm 
It was my log x) I needed 2.MO ... can't send it here or in past bin ( no there's no message when i press NUM5 Key ( I'm on Azerty Keyboard )
Liven  [developer] Jul 4, 2019 @ 12:58pm 
French speaking?
Liven  [developer] Jul 4, 2019 @ 2:33pm 
pbl solved on mp
global server mods configuration needed some ajustements
Xcite Jul 15, 2019 @ 6:55am 
If you have a walled off base, will the dynamic spawner place zombies inside?
Liven  [developer] Jul 15, 2019 @ 8:44am 
To prevent that, put a fire barrel in you base it will generate a "zombie safe zone" around it (150m)
GamerDed Sep 15, 2019 @ 9:19am 
hi, is firebarrel feature still works or maybe it's required some configuration? I just created it and ignite fire, but zombies still spawn around me and can go inside 150m perimeter
Liven  [developer] Sep 15, 2019 @ 10:07am 
The only cases BarrelHole should not be active is when player hold it in his hand or when the BarrelHole is in a vehicle (it is active even it is not ignite).

The value that manage BarrelHole radius is "16" value in the json file.

The 150m perimeter does not despawn zombies, it just prevents them to spawn inside.
If zombies spawn outside they can go inside the safe zone (especially hunters if you play with my tweaked zombies)
Last edited by Liven; Sep 15, 2019 @ 10:12am
< >
Showing 1-15 of 137 comments
Per page: 1530 50