To all modders: HOW TO FIX ZOMBIE MODE NOT ENDING

  • If you have old mods that is wave-based zombies (contains zombie_spawn_mode), the mod would be broken.
    The game would not end if everyone gets knocked out. THANK YOU, DEVELOPERS.

  • But we are saved now, because I have found the FIX (with a process usually known as Trial & Error)

Spoiler

(You will go mad when you finally found out the fix after 5 total hours of trying every single thing)
Anyways, the fix can be found below!

The FIX is as follows, which goes into your entities.blk!
(Hint: entities.blk is a plain text file you place/create in your mod folder)

Code
// Paste the following into your entities.blk
zombie_spawn_mode{
  _override:b=yes
  zombie_mode_sessionWaitTime:r=0.0 // Set the defeat timeout to 0.0 seconds
  zombie_mode_sessionEndTime:r=-1.0 // Re-add "zombie_mode_sessionEndTime" back to zombie_spawn_mode, which was previously removed by the developers to disable game end function
}
File
  • Alternatively, you can download the file here.
  • IMPORTANT: Change the file extension from “.txt” to “.blk” after download!
    entities.txt (413 Bytes)