The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX => Topic started by: epson777341 on May 20, 2012, 04:29:32 PM

Title: [VX]Keeping data between games.
Post by: epson777341 on May 20, 2012, 04:29:32 PM
I would like to make a series of games, each a sequel and have data from each game moved from one to the other. Specifically an actor's Level, Stats and Equipment as well as the party's inventory.

Is this possible? Or do I need certain scripts?
Title: Re: [VX]Keeping data between games.
Post by: Lethrface on May 20, 2012, 05:10:19 PM
I imagine so as long as nothing drastic changes like scripts.  My suggestion is to just copy the project file and remove maps as needed and start over like that.  Sometimes when you add or remove scripts, it will make the saves you currently have inaccessible.
Title: Re: [VX]Keeping data between games.
Post by: epson777341 on May 23, 2012, 03:07:32 AM
I meant like armour and weapons that are equipped to the actors.
Title: Re: [VX]Keeping data between games.
Post by: Fall From Eden on May 23, 2012, 03:11:49 AM
Yes, this is absolutely possible. Just make sure that your databases in both games line up exactly.

There are other some other questions that come with this, though. How you would want to read in the previous save files? If the player started a new game with no previous saves, how would that be handled?

In other words, how would the save files from the previous game be accessed, and what would happen if the player didn't have any?
Title: Re: [VX]Keeping data between games.
Post by: Lethrface on May 23, 2012, 03:37:59 AM
I meant like armour and weapons that are equipped to the actors.

Regardless, make sure your scripts are also the same or make sure that your scripts dont interfere with your saves because there are some scripts that may make or break your cross compatibility.  In fact, as an example, I recently deleted a script that I did need in my game that I am working on and all of my saves were incompatible with that game for whatever reason.  Just make sure you test everything thoroughly.
Title: Re: [VX]Keeping data between games.
Post by: Fall From Eden on May 23, 2012, 03:42:49 AM
I meant like armour and weapons that are equipped to the actors.

Regardless, make sure your scripts are also the same or make sure that your scripts dont interfere with your saves because there are some scripts that may make or break your cross compatibility.  In fact, as an example, I recently deleted a script that I did need in my game that I am working on and all of my saves were incompatible with that game for whatever reason.  Just make sure you test everything thoroughly.

This is also incredibly true. Scripts often make changes to what information is stored in a saved game which could very easily cause the game to crash with Ruby exceptions if there are items in the saved game's data that do not exist or have changed substantially between games.

Be very careful doing this.
Title: Re: [VX]Keeping data between games.
Post by: epson777341 on May 23, 2012, 05:34:42 PM
Alright thanks. It's worth trying at least.