MV Save variables after death

Hello! Looking for a plugin/script that allows certain variables or switches carry on to a save even after death. So, like New Game Plus plugin by Yanfly or Galv, but instead of giving players a choice of starting a completely new save file, it would carry on an chosen older save file on game continuation after death. Less complex way of saying it is: passing a variable from one save to another.
I know it may be incredibly convoluted (and quite specific), but still would appreciate any help! Thanks in advance

edit: sorry if I posted in a wrong thread, I'm a newbie. just say if i need to delete it and post somewhere else 😛
you can press the report button and ask a moderator to move it to plugin requests.


There are some plugins that do similar things, but I don't believe I've seen one to your exact specifications yet.

you already know of the NewGamePlus variants.

another option is to use a plugin for persistent variables. That would make variables or switches persistent over all saves however.
you could trick that ba checking and changing the variables again on the first game loaded after that. that would then make the selection by choosing which game to load instead of explicit.
But that would still be rather complex to do.

Your exact specification has the problem that you'll need to load and modify two different savefiles, and both need to continue to work as regular saves. The engine simply was never built to handle two saves at the same time, so it would require an entirely different second load screen and second loading function to handle that.
Doable, but not quickly or easily
I happened to see this, so no need for a report this time~

I've moved this thread to Plugin Requests (from MV Support). Thank you.

I'm not sure I understand the question. A game over doesn't lead to a save file being erased, unless you have a plugin for that. You would just be booted back to the title screen and forced to reload your most recent save.

What are the variables or switches you need for exactly?
you can press the report button and ask a moderator to move it to plugin requests.


There are some plugins that do similar things, but I don't believe I've seen one to your exact specifications yet.

you already know of the NewGamePlus variants.

another option is to use a plugin for persistent variables. That would make variables or switches persistent over all saves however.
you could trick that ba checking and changing the variables again on the first game loaded after that. that would then make the selection by choosing which game to load instead of explicit.
But that would still be rather complex to do.

Your exact specification has the problem that you'll need to load and modify two different savefiles, and both need to continue to work as regular saves. The engine simply was never built to handle two saves at the same time, so it would require an entirely different second load screen and second loading function to handle that.
Doable, but not quickly or easily
thank you for such a detailed answer! I'll take a look Persistent Saves

Yes, I understand that the engine was not designed to have save files with completely different content at the same time. But this is not quite what I need. I think I expressed what I meant too vaguely

It is not important that the original save remains "different" from the other. All saves need to become different after the value changes. Even in the same save after loading, the switch will already be pressed, although in terms of gameplay it should be pressed only later. So it will be pressed for all the future games, them being new games or continuation of older saves/future saves where this event hadn't been triggered. Like some specific values could become "persistent" while others stay how they work normally.
I'm not sure I understand the question. A game over doesn't lead to a save file being erased, unless you have a plugin for that. You would just be booted back to the title screen and forced to reload your most recent save.

What are the variables or switches you need for exactly?
Yeah the way I put it was kinda too convoluted. Chronologically speaking, I need an event player can see only once before all his future sessions will be lacking of it. Even if he decides to start a new game or continue a save
I need an event player can see only once before all his future sessions will be lacking of it.
that is much easier than what I originally thought from your description.

simply use a persistent switch plugin, and have the switch be used to switch said event to an empty page as soon as it is ON.
nothing more complex needed.
once a variable is changed or switches, it saves automatically.
Olivia_MetaControl can just do that.

if you want them to be saved, you need a small change to the code
which I did before so it only save changes when you save the game.

and its carry over to the slots you save during the game.
new game reset them, unless you set it to a global scope.

Original thread: https://forums.rpgmakerweb.com/threads/save-variables-after-death.178857/