Resurrection question

So I have been thinking about doing a resurrection idea in my game. Similar to how Dragon Quest games does it for fallen allies, one would usually have to go to the nearest chapel, talk with the priest, and request a resurrection for their fallen comrade. In return, depending on the level of that comrade, is how much is owed. Is there a way to create a background check per character to track their level, then calculate how much gold is required? Or would that feature be too dynamic and would require scripting?

Another side question that is related to this topic, how does one turn the fallen character into something like a moving coffin? Or just taken out of the followers team? Or is that feature not in the game by default? (What I mean is if the character HP is zero, after the battle, they don't show on the gather followers or do show, but as a coffin moving around with you.)

I've moved this thread to MV Support. Thank you.


MV Resources is for Resources that you've made to share.

Not sure about the first one, but the coffin could probably be done by doing a check after every battle, and if the actor has the KO state applied to them, change their sprite to a coffin via the change actor graphic command.
If i'm not wrong this is what you're looking for

http://yed.yami.moe/yed-hospital-core/
So I have been thinking about doing a resurrection idea in my game. Similar to how Dragon Quest games does it for fallen allies, one would usually have to go to the nearest chapel, talk with the priest, and request a resurrection for their fallen comrade. In return, depending on the level of that comrade, is how much is owed. Is there a way to create a background check per character to track their level, then calculate how much gold is required? Or would that feature be too dynamic and would require scripting?

Choose an ally to resurrect, presumably do a Conditional Branch check for the Death State, then set a variable equal to that ally character's level and multiply it by whatever amount to determine how much Gold is owed. You can also place variables into a message box using \V[12] replacing 12 with the Variable ID.

Keep in mind that Dragon Quest used some very archaic game design mechanics as the RPG genre was still quite new when most of these mechanics were designed. We've come a long way in player-friendly design since the days where we made the player traipse out of a dungeon and retrace all their steps because one of their characters got downed in battle.

Another side question that is related to this topic, how does one turn the fallen character into something like a moving coffin? Or just taken out of the followers team? Or is that feature not in the game by default? (What I mean is if the character HP is zero, after the battle, they don't show on the gather followers or do show, but as a coffin moving around with you.)

You can run Parallel Processes that check every few frames whether characters are alive or dead, and change their Actor Sprite accordingly. That will allow you to do the "coffins". That's probably the best way to do it without scripting. Eventually, you will want to use scripting to do these checks only when they are needed (e.g. after battle, after returning from the menu, after visiting the Priest) so as to save a bit of processing power and improve the game's technical performance, but for now those Parallel Processes will do.

Once again, just because you can use a mechanic from a game you liked doesn't mean you should use that mechanic. This will work fine for a throwback game with very little plot where none of your allies speak or have personalities of their own. It will look really stupid in narrative-driven game with multiple cutscenes where your characters are jumping between rooftops, meeting royalty, or talking about boys, and they are coffins!
There is a way to do so with variables too. You store your character level on a variable, then charge the variable value * any value you want.

You would show to the player the value of the variable when asking if you want to resurrect or not. I can't help much more because I don't own MV, so I don't know the commands for this.

🤣 I posted together with @Wavelength . He explains exactly what I was talking about.
@Wavelength honestly, I never thought about that. Being all narrative like. Because my story is like that... that case, a death system such as this may not be a good idea.

Switching up, how about a regen system like in FF10 where after every battle, if a party member has fallen during that battle, they come back with just 1 hp? That would make much more sense.

Also, thank you for your responses!!!
Switching up, how about a regen system like in FF10 where after every battle, if a party member has fallen during that battle, they come back with just 1 hp? That would make much more sense.

I use this system on my game. All you need to do is remove the Death Status on a Common Parallel event. 😉
@Wavelength honestly, I never thought about that. Being all narrative like. Because my story is like that... that case, a death system such as this may not be a good idea.

Switching up, how about a regen system like in FF10 where after every battle, if a party member has fallen during that battle, they come back with just 1 hp? That would make much more sense.

Yeah, that would be much better. Characters will never be dead outside of battle, which makes more sense for a game like yours. (A lot of games do leave them 'KO'ed' with 0 HP, but that's a lot different than turning them into a coffin and requiring a Priest to resurrect them! lol)

The most processing-efficient way to do this would be to set a Switch ON in Turn 0 of each battle, and have a Parallel Process that requires that switch, removes Death from all characters, and then turns that same Switch OFF.
@Wavelength Are we talking in battle events or just through common event?

Edit: I approached it on the common event side and battle event. Tested, and it works like a charm. Only thing I did was check to see if actor is part of the party, then did a second check to see if that actor is knocked out an if so, remove knockout and turn off the switch so it can be played on turn 0 in the battle event to activate that exact switch again.
Erm, guys ? If you want to remove Death in the end of the battle, shouldn't you just ... "Remove at Battle End" in Removal Conditions of the state ?
I mean, I'm not against a lot of commonevent and all (I pretty much like event) but it seem easier this way. And it work XD

Edit: You want to remove the death state at the end of the battle right ?
Playing the Devil's Advocate not the movie, although it is a great movie. go watch it. of the dead-until-raised-by-a-priest-in-a-church, this reminds me of good, old OD&D where characters would be killed easily if not cautious enough.

This mechanic would work with a large roster of swappable characters, so when the character dies, either you switch for another one still alive, retreat to the church either to raise him back to life or bury him (to open his slot for another character to fill).

Thinking about OD&D, a persistent world where a TPK happens, one could restart the game with another party, and with enough variables and switches, later find the corpses (and loot!) of the previous party.

Original thread: https://forums.rpgmakerweb.com/threads/resurrection-question.82451/