Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: reddevil on February 01, 2008, 07:23:06 pm

Title: [RESOLVED] zombie respawns
Post by: reddevil on February 01, 2008, 07:23:06 pm
ok I'm trying to get zombies to keep respawning. so i teyed it using switches heres what i did and you guys can maybe help me finish it

first zombie event:  event page1 condition switch 0001:zombie1 on

                           event page2 condition switch 0001:zombie1 on
                                             control switches: [0001:zombie1] = off
                                             control switches: [0001:zombie2] = on

second zombie event:  event page1 condition switch 0001:zombie2 on

                           event page2 condition switch 0002:zombie2 on
                                             control switches: [0001:zombie1] = on
                                             control switches: [0001:zombie2] = off

event: set to auto run
                          control switches: [0001:zombie1] = on
                          erase event


ok so the first zombie will show up when you start and the second one will appear when the first dies but then the first will not come back I'm guessing this is because the event disappears . so how can i make it stay?

GAME INFO: im usiingrpg maker xp and have blizz-abs.   thanks
Title: Re: zombie respawns
Post by: Sally on February 01, 2008, 07:45:29 pm
do u mean like... in battle or...?
Title: Re: zombie respawns
Post by: reddevil on February 01, 2008, 07:52:07 pm
yes im using them for battle so that the zombies will keep spawning and attacking you.
Title: Re: zombie respawns
Post by: Blizzard on February 01, 2008, 08:18:40 pm
Quote from: reddevil on February 01, 2008, 07:23:06 pm
GAME INFO: im usiingrpg maker xp and have blizz-abs.
Title: Re: zombie respawns
Post by: Phasedscar on March 08, 2008, 10:12:04 am
Blizz-ABS already has an auto-respawn feature, however it respawns everything (except critters).  For this to work you need to have ABSEAL-Autokill on, which it is by default.

After that you can have some very specific things you want to do.

For general respawn on all zombies:


If you want them to despawn after a certain mob dies (I dunno, like a Vampire or something) make a new event for the Vampire. 



If you want them to never respawn after the boss dies...


This should allow your zombies to despawn after a boss dies, or never respawn, or just continuously respawn.  I hope this has been helpful in what you need.

I haven't proof tested this since I wrote it, but I've done it before so I'm fairly certain it will work.
Title: Re: zombie respawns
Post by: Blizzard on March 08, 2008, 10:21:12 am
I actually added the "Respawn Point" feature in Blizz-ABS already. xD But the "despawn" feature is a nice idea. Something like i.e. all other monsters die if you kill the leader.
Title: Re: zombie respawns
Post by: Phasedscar on March 08, 2008, 10:24:16 am
LOL yes I know.  I mean so that you can have those zombies spawn in VERY specific, and different areas.

I love the spawn point feature, but sometimes it's pretty predictable.  I only thought of it in case you want specific mobs to spawn in maybe 8 different locations instead of one, but they all be preset locations.

Edit:  I'm full of all sorts of good ideas, like cast timers and bars (for different cast times).  Spell cooldowns so you can only use certain abilities oh so often, and individual cast animations so that you can have "physical" spells.  I.E. something like a "Power Slash" or "Dash" or some such thing.

Also have damage pop up after spell animations are completed  :-X
Title: Re: zombie respawns
Post by: Blizzard on March 08, 2008, 10:27:36 am
A mob will always choose a random Respawn Point of the ones where he can respawn. xD

EDIT: Don't forget that you can still move your Respawn Points around, since they ARE normal events. :)
Title: Re: zombie respawns
Post by: Phasedscar on March 08, 2008, 10:32:24 am
Quote from: BlizzHard on March 08, 2008, 10:27:36 am
A mob will always choose a random Respawn Point of the ones where he can respawn. xD


lol Do'h!

I didn't remember reading that in the manual for 1.95 so I was thinking it was only one spawn point.

I'll edit my post and remove that part of it.

Thanks for the proof check.
Title: Re: zombie respawns
Post by: Blizzard on March 09, 2008, 11:44:54 am
Quote3.1.6. Create a Respawn Point

Respawn Points are a special feature in Blizz-ABS that allows the respawn of enemies at one specific point. To create such a Respawn Point you have to use the same method of adding commands in the name like you use for enemies. Instead of "\e[ID]" use "\r[ID1, ID2, ID3, ...]". The various IDs are enemy IDs from enemy types who will respawn at this point. Separate the IDS with commas. As soon as an enemy is killed, he will respawn at one Respawn Point of the map where his ID is included in this setting. The waiting time for respawning in this case is 5 seconds, you can change it by adding "\t[TIME]" where TIME is the number of seconds which it takes between death and respawn. Keep in mind that this feature is independent from the basic respawning feature and that it overrides the basic respawning system for the specific enemies. Respawn Points are normal events that are simply marked which means that they completely act like normal events. As critters don't respawn, they can't use Respawn Points either. Lifeless objects don't respawn either.


:)
Title: Re: zombie respawns
Post by: Phasedscar on March 13, 2008, 11:29:45 am
Go Go Reading Comprihension..  lol  ;D
Title: Re: zombie respawns
Post by: Calintz on March 13, 2008, 02:58:12 pm
Haha...
You guys figure this out then?
Title: Re: zombie respawns
Post by: Phasedscar on March 13, 2008, 07:00:00 pm
Yeah, I just missed the whole part in the new manual for the respawn points.

Not that my events way of doing it wouldn't work  ::)