DayZ
PvZmoD_Spawn_System
 This topic has been pinned, so it's probably important
Liven  [developer] 6 Aug, 2019 @ 9:50pm
Make PvZ and Vanilla spawn systems work together
Here are the different possibilities :

PvZ spawn system alone (default configuration) :
  • Value “01” in json set to 300 (or the maximum of zombies you want).
  • Value “02” in json set to 0.
  • Value “ZombieMaxCount” in globals.xml set to 0.
The vanilla spawn system will never be activated. If fps go under minimum (“56” value in json) no zombie will spawn anymore.
This configuration is the default one and fit to low populated servers that have no fps problem and which want to only use PvZ spawn system.


PvZ AND Vanilla spawn systems together :
  • Value “01” in json set to 300 (or the max zombies you want).
  • Value “02” in json set to 0
  • Value “ZombieMaxCount” in globals.xml set to 500 (or the max zombies you want).
Be careful, running the two systems can be resource intensive!


The Vanilla spawn system alone :
  • Value “01” in json set to 0
  • Value “02” in json set to 0
  • Value “ZombieMaxCount” in globals.xml set to 500 (or the max zombies you want).
The PvZ spawn system will be skip (and should consume very very low resources) but you keep the PvZ loot configuration on zombies.


PvZ THEN Vanilla spawn systems when fps are low :
  • Value “01” in json set to 300 (or the max zombies you want).
  • Value “02” in json set to 1
  • Value “ZombieMaxCount” in globals.xml set to 500 (or the max zombies you want).
This configuration fits to high populated servers because when fps are too low the PvZ spawn system stops spawning zombies.

With this feature activated, when fps are higher than "56" value, all zombies spawn with other system than PvZmoD (vanilla or airdrop from other mods...) are instantly deleted.
And when fps are under the “56” value, the PvZ spawn system is deactivated and the vanilla system is activated. To reactivate de PvZ spawn system (and deactivate the vanilla one) the fps have to reach the double of “56” value.

Be aware that this feature consumes more resources on PvZ spawn system (to delete vanilla zeds each time they try to spawn) so use it only if you need it (if your fps never go under “56” value you don't need it).

!!!
Fire barrels will not generate zombies safe zone for zombies spawned with vanilla system
!!!

Last thing, don't be surprise if static vanilla zeds (smin/smax) do not immediately spawn when spawn switch to vanilla, the zones have to be repopulated first. And I recommend to use only the dynamic value in the zombie_territories.xml (dmin/dmax) it is less resource consuming when the spawn system come back to PvZ system.
Last edited by Liven; 2 Dec, 2021 @ 12:44am
< >
Showing 1-15 of 20 comments
Mr. Groove 4 Mar, 2021 @ 12:45pm 
Hi,

I dont want to spawn zombies around me. How can I stop that?
Liven  [developer] 4 Mar, 2021 @ 12:58pm 
Originally posted by Mr. Groove:
Hi,

I dont want to spawn zombies around me. How can I stop that?

If you want to stop dynamic spawn, set the "3" value to 0 in the json (and press numpad5 ingame to validate the modification)
Mr. Groove 4 Mar, 2021 @ 1:12pm 
ok thanks, i noticed numpad 5 didnt work (at least not giving me a message
Liven  [developer] 4 Mar, 2021 @ 1:15pm 
Originally posted by Mr. Groove:
ok thanks, i noticed numpad 5 didnt work (at least not giving me a message

verify that the server message are activated in you game options and that numpad5 is set in your shorcut options (and that there is no conflicts)
Mr. Groove 4 Mar, 2021 @ 1:19pm 
Maybe u could let us know with the "0": 1, , "1" , "2" etc means in the realtime tweak json :-)
Liven  [developer] 4 Mar, 2021 @ 1:22pm 
Originally posted by Mr. Groove:
Maybe u could let us know with the "0": 1, , "1" , "2" etc means in the realtime tweak json :-)


I can't add comm' in the json but you can find a description of each value in the Help.txt in the same folder.
Mr. Groove 4 Mar, 2021 @ 1:23pm 
right... thanks :-)
Mr. Groove 4 Mar, 2021 @ 1:28pm 
The zombies that are in the cells of that castle that is very awesome! How can I make them not spawn outside the castle (location KOPA on Livonia map.
Mr. Groove 4 Mar, 2021 @ 1:30pm 
Okay I see now 31 till 40 give that option.. sorry xD
Mr. Groove 4 Mar, 2021 @ 1:31pm 
wow you really considered everything welldone!
Liven  [developer] 4 Mar, 2021 @ 1:34pm 
Kopa is a static spawn (not a "3" dynamic spawn) so it should be still active.
Mr. Groove 4 Mar, 2021 @ 1:37pm 
Yeah I know. So Kopa is either 37 and/or 39 ?
Mr. Groove 4 Mar, 2021 @ 1:40pm 
or 35
Liven  [developer] 4 Mar, 2021 @ 1:46pm 
Kopa spawn is set in StaticSpawnDatas.c (data_HordeStatic108 - 109 and 110) You can try to lower the radius to make them not spawn outside the castle.

and the "39" in the json should apply a ratio (%) to the quantities.
Last edited by Liven; 4 Mar, 2021 @ 1:48pm
Kath 29 Aug, 2022 @ 7:22am 
Is there a way to change the value of the fps from 56? If we want to lower it to say 45.
< >
Showing 1-15 of 20 comments
Per page: 1530 50