Jump to content

Photo

Enemies not spawning on certain screens?


  • Please log in to reply
7 replies to this topic

#1 MarinaraSauce

MarinaraSauce

    Magus

  • Members
  • Real Name:Grant
  • Gender:Male
  • Location:New York

Posted 26 June 2020 - 09:56 PM

I'm working on a dungeon, and on some screens the enemies simply don't spawn. I've tried it with the same set of enemies on different screens right next to each other, and the enemies will spawn on one screen but not on the other. Any idea what could cause this?



#2 Moosh

Moosh

    Tiny Little Questmaker

  • Members
  • Gender:Male

Posted 26 June 2020 - 10:10 PM

I'm working on a dungeon, and on some screens the enemies simply don't spawn. I've tried it with the same set of enemies on different screens right next to each other, and the enemies will spawn on one screen but not on the other. Any idea what could cause this?

What version of ZC is this, 2.53 or 2.55? And is this on a fresh save or an existing one? I've had similar problems in the past where I placed enemies on a screen, killed them, and then later changed which enemies they were, so it could have something to do with boss flags or the sort.



#3 MarinaraSauce

MarinaraSauce

    Magus

  • Members
  • Real Name:Grant
  • Gender:Male
  • Location:New York

Posted 26 June 2020 - 10:53 PM

2.55, and on a fresh save

#4 venrob

venrob

    Scripter / Dev

  • ZC Developers
  • Real Name:Rob
  • Gender:Male

Posted 27 June 2020 - 12:05 PM

What enemies? What screens does it not work on? Can you provide a test quest?

What version of 2.55? Specific alpha number is important.



#5 MarinaraSauce

MarinaraSauce

    Magus

  • Members
  • Real Name:Grant
  • Gender:Male
  • Location:New York

Posted 27 June 2020 - 01:53 PM

Okay, I thought I had a fresh save since the file had a 0 next to it and it spawned in the first room with no items, but deleting that save and creating it again seems to have solved the issue. Odd that it would work like that even when none of the rooms were set to not respawn.



#6 venrob

venrob

    Scripter / Dev

  • ZC Developers
  • Real Name:Rob
  • Gender:Male

Posted 27 June 2020 - 11:42 PM

Enemies have a 'temp no return' property when you kill them; which is from Z1. If you kill some enemies but not all, then the dead enemies will not return.


  • ShadowTiger and Mani Kanina like this

#7 Mani Kanina

Mani Kanina

    Rabbits!

  • Members
  • Gender:Female

Posted 28 June 2020 - 10:49 AM

It's also somewhat common game behaviour (and generally considered good design) that enemies don't respawn when killed unless enough time, distance, or similar has happened. This is in order to avoid frustration for players that can more commonly be seen in a fair few older games (enemies respawning if you so much as go one pixel off where they spawn, forcing you to fight them again).



#8 ZoriaRPG

ZoriaRPG

    The Timelord

  • ZC Developers
  • Gender:Unspecified
  • Location:Prydon Academy

Posted 29 June 2020 - 03:36 PM

It's also somewhat common game behaviour (and generally considered good design) that enemies don't respawn when killed unless enough time, distance, or similar has happened. This is in order to avoid frustration for players that can more commonly be seen in a fair few older games (enemies respawning if you so much as go one pixel off where they spawn, forcing you to fight them again).

 

Quoting this, but in general, responding to the entire thread:

 

As an expert on Ninja Ryukenden, this can indeed be irritating. Some older games spawned enemies based on scanline and screen position of the player in a level. Some literally spawn on timers, which is the worst, although that can work, such as in Gauntlet.

 

A few very poorly esigned games have invisible boundaries for their enemy lists, an only keep track of a minimal number of elements, so enemies can morph, vanish, or appear out of no-where when you cross that boundary. You need only look at Makaimura, coded by the paid for hire=fire bins fire department at Micronics, to see this phenomenon.

 

In Z1, enemies respawn after you visit ten different screens. In ZC, some enemies, notably those with tribble or split properties, always respawn. Enemies will also respawn when you enter or exit a cellar or a passageway on a dungeon DMap, or otherwise leave and return to the dungeon. Warping in general, from one DMap to another, will cause this to occur..




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users