DayZ
PvZmoD_Spawn_System
Dynamic switch
Hello, great author. In order to better simulate the world of zombies at night, I want to use this module to generate dynamic zombies only at night, and only activate the static generation system during the day. To put it simply, the dynamic generation is turned off during the day, and SpawnZombie starts when (isNight == true). Is there a specific implementation method?
< >
Showing 1-3 of 3 comments
Liven  [developer] 2 Dec, 2021 @ 3:47am 
The only way to spawn different zombies at night time with my mod is to use the NightZombies.xml included in the mod to replace zombie types by other types when it is night time.

There is no specific implementation method for your exact needs, maybe it is possible but to be honest I do not have time to dig this question these days.
Thank you for taking the time out of your busy schedule to reply me. I tried this before:

PvzMissionServerLogic.c :
void SpawnZombie (string zToSpawn, int isDynamic, .......)
{
......
}

changed to => void SpawnZombie (string zToSpawn, int isDynamic, .......)
{
if (isNight)
{
......
}
}

It seemed to work, but then it didn't work at all. Even the static generation system didn't work, just the vanilla system.

I don't know much about Dayz Tool. In the above process, I decompressed the PBO, changed the file, deleted the original PBO, and then integrated the modified file into a new PBO, which was not possible, and I was confused by this problem.
Liven  [developer] 2 Dec, 2021 @ 5:02am 
If you need information about modding on dayz I recommand you to look at this guy tutos:
https://www.youtube.com/watch?v=HCBckFJPrMk&list=PLm6NfdQ3NmL9OBmbN-tl99F70bvzm6u7M&ab_channel=Spurgurgle
< >
Showing 1-3 of 3 comments
Per page: 1530 50