MZ Dynamic Enemy Respawn

Just throwing a plugin idea into the wind. If someone makes it I'll buy it.

The concept is to have on-map enemies with Dynamic notetag be affected by plugin parameters after victory/defeat:

%chance to be removed
%chance to return
%chance to evolve
(remove/repeat/restart) - action to take when no more evolutions exist

It would need to come with a method to designate event evolution sequences as lists... so they dont need to be managed using event page switches and callouts.

‐-------------
This plugin would make it so that when you re-enter a map, some defeated enemies would be gone forever, some would return, and some would be replaced with alternate events. The evolved events could keep getting stronger... and if you want you could replace a defeated boss with a weak enemy that gives a special item. It makes a map feel more alive.
does the change perma exist?

as notetag (which are global) which is better using comments.
variable based ( switch A/Switch B ) as 50/50 change + % change to return.
if this is perma change per re-entering or map refresh.

map refresh refreshes mostly all events on that map.

but for evolve, do you mean event upgrade? or something else?
I have a working system evented now. How it works: On screen enemy events have a multipage flow so once defeated they have a 25% chance to be gone for ever from the game. If not gone forever, they have a 25% chance to respawn each map re-entry (the natural trigger). If they do respawn... they have a 50% chance to come back the same, 50% chance as a monster +1. (capped at monster +++) This requires making 4 versions of each troop though, which could certainly be more efficient. No work needed, unless you want to make a similar (but better?) system on your own.

The intent is to make it so when the player clears monsters from a map, the map becomes mostly cleared for a while, but over time... a good chunk of the monsters come back, some mutated into more powerful versions. My game lets you view the encounter name when you approach closely... so you can avoid the powerful ++ versions if you have the chance. This makes the area more alive and dynamic. The player may want to revisit old areas and look for new challenges.

As a side note: The low level versions of these encounter types give pathetic experience reward, as an anti-farming mechanism. Most EXP comes from quests and exploration. The super version (+++) encounters, I might go the other direction and have them give VERY good rewards.
I did have selfVariables which I can add selfSwitches on comment tag
to handle pages cleaner, instead of the ABCD which can be used too.

so it has 4 pages from what I can read, variable that could add "+1"
can check which enemy to throw in (which you can also control the event sprite).

1 default
2 chance on respawn
3 evolve (+1 strength)
4 perma death (removed without respawn).

based on those, each of the page can have a comment tag <respawn change: X)
X being a number or X% which can be optional as the effect would be same.

I think there is still eventing required, but probably less.
I think the enemy fight can also be drawn based on tag.

like enemy ID 1 (base)
id 2 ++
id 3 +++

id 4 (new)
id 5 ++
id 6 +++

which can have <frog: 1 0> (1 is variable ID, 0 is the value)
frog 1 1 makes variable 1, value 1 automatically (like a my switch group)
but more enemy groups.

so <frog> is the identifier here, so it could draw the enemy.

if you have frog 1, frog 2, frog 3, you can basicly call frog 1 always,
but the identifier grab frog 2 if the value is equal. so this makes adding
enemy easy.

no tag behave as normal this way, this only allow a bit simplicity (or laziness) ^^
I like that. Was thinking for greatest portability between systems since everybody has a different system that a plug in could automate the evolution chain sequence. And maybe even scale the stats and rewards, and that sort of thing.

It could also automate the naming convention. So if a person wanted to go just 123, they could. But they could also call it slime, advanced slime, super slime, devastating slime, whatever you want, it is a sequence of words.

The inspiration is to make it feel like a living ecosystem by pulling in mechanics from rogue games that can port well into other formats of gameplay.

You know how games have Asuper challenge. Somewhere near the end game to defeat, or in newgame+... you could also make another tier of evolution that gives no experience that can be escaped from or avoided. But is a super super version of the other of the others, just for challenge.
I don't own MZ fully, but using a hybrid, so I will test it in MV
and try in MZ and make patches if required.

I also think its possible to omit pages entirely to make it more data driven
by 1 page that controls everything.

its possible to make 2 pages tops, but I need some time to get it done though,
so I try to make the base work first, if it works, I send it you by DM to test it
in a native MZ version as I don't know if hybrid and native engine are different?

from there, I can try to extend it further, but it does require my base (mini version for MZ)
because it can parse my parameters for me automatic, so I don't have to think much
how to parse them correctly ^^

I let you know when I got something done so I try to built a foundation.
as thats where it starts once its working.
I don't own MZ fully, but using a hybrid,
What exactly do you mean by this? Either you own MZ or you don't.
What exactly do you mean by this? Either you own MZ or you don't.
I use a hybrid version (MV exe in MZ project) so it uses the RMMZ cores.
while I can't really make any maps like MZ or deploy in any way, but testing
still works.
I use a hybrid version (MV exe in MZ project) so it uses the RMMZ cores.
while I can't really make any maps like MZ or deploy in any way, but testing
still works.
So, you haven't purchased MZ in anyway? Man, that sounds a bit sketch.
So, you haven't purchased MZ in anyway? Man, that sounds a bit sketch.
its just for testing purpose, nothing else though, but at least I can find the
issue if something would crash ^^

it's not illegal though, as I do use that for my 2 plugins (animated icon/verhicles).
to make it work nicely.
Here is the event flow. In this version, mutation/evolution chance is 60% (easier to playtest), with a 40% chance creature respawns the same as before. Once it evolves it doesn't devolve. At max tier (event page 4) there are options. You can have it keep returning until permadeath (25% chance from page 5), or you could devolve it by setting all switches back off, or you could make it stay at that tier permanently and bypass page 5 from then on.

EvoEvent_merged.jpg
I wonder why A and B is on while B would run.
if B and C is on, B would run, so i t always skip 1 page.

however, the system I try to make require 1 page, 1 call, and its controlled
from there as the state remember itself for that event.

so its simplify by a lot of this kind of logic.
it's not illegal though
Why do you say that? The code files have the same restrictions as all the other assets included with RPG Maker MZ: you're only permitted to use them in other programs (e.g. RPG Maker MV) if you own the Maker they came from.
@ZimXero I sended you a demo layout of your routine into 1 event page logic.
that should do all of your 5 pages in 1.

test them out if you like and give feedback if it works as expected.
so I can try to add sprite change.

Original thread: https://forums.rpgmakerweb.com/threads/dynamic-enemy-respawn.183532/