DayZ
PvZmoD_Spawn_System
 此主题已被置顶,因此可能具有重要性
Liven  [开发者] 2019 年 8 月 6 日 下午 9:50
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.
最后由 Liven 编辑于; 2021 年 12 月 2 日 上午 12:44
< >
正在显示第 1 - 15 条,共 20 条留言
Mr. Groove 2021 年 3 月 4 日 下午 12:45 
Hi,

I dont want to spawn zombies around me. How can I stop that?
Liven  [开发者] 2021 年 3 月 4 日 下午 12:58 
引用自 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 2021 年 3 月 4 日 下午 1:12 
ok thanks, i noticed numpad 5 didnt work (at least not giving me a message
Liven  [开发者] 2021 年 3 月 4 日 下午 1:15 
引用自 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 2021 年 3 月 4 日 下午 1:19 
Maybe u could let us know with the "0": 1, , "1" , "2" etc means in the realtime tweak json :-)
Liven  [开发者] 2021 年 3 月 4 日 下午 1:22 
引用自 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 2021 年 3 月 4 日 下午 1:23 
right... thanks :-)
Mr. Groove 2021 年 3 月 4 日 下午 1:28 
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 2021 年 3 月 4 日 下午 1:30 
Okay I see now 31 till 40 give that option.. sorry xD
Mr. Groove 2021 年 3 月 4 日 下午 1:31 
wow you really considered everything welldone!
Liven  [开发者] 2021 年 3 月 4 日 下午 1:34 
Kopa is a static spawn (not a "3" dynamic spawn) so it should be still active.
Mr. Groove 2021 年 3 月 4 日 下午 1:37 
Yeah I know. So Kopa is either 37 and/or 39 ?
Mr. Groove 2021 年 3 月 4 日 下午 1:40 
or 35
Liven  [开发者] 2021 年 3 月 4 日 下午 1:46 
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.
最后由 Liven 编辑于; 2021 年 3 月 4 日 下午 1:48
Kath 2022 年 8 月 29 日 上午 7:22 
Is there a way to change the value of the fps from 56? If we want to lower it to say 45.
< >
正在显示第 1 - 15 条,共 20 条留言
每页显示数: 1530 50