Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> How can I reset Map Data?, New Game (+) style
KD648
post Jul 25 2012, 08:57 AM
Post #1


Level 13
Group Icon

Group: Revolutionary
Posts: 237
Type: Writer
RM Skill: Skilled




Does anyone here know how to reset map data? What I mean by that, specifically, is reverting all data like self-switches, opened treasure chests and the like so each map is as it was when the game began, while still leaving variables and switches untouched.. My game features a time travel component (a lot like Radient Historia from what I've heard) and includes the ability to go through some dungeons more than once. When travelling back in time the characters retain their classes, levels and items and all that, but the story goes back to an earlier point in time. I'm simply going to reset the world each time as you can only "time travel" once you've reached one of the multiple endings, so resetting the entire world seems quicker and easier than trying to determine which chests were opened when. However, many important quest items and situations are controlled by switches and variables, so I need to leave those untouched. I imagine this is a scripting solution, but if anyone knows ANY kind of answer I'd love you forever!

Thanks so much in advance!


__________________________
The Demo of "After" is complete! Learn more and play here!

Read the RRR Official Preview: http://www.rpgrevolution.com/forums/index....showtopic=52257
I support

Go to the top of the page
 
+Quote Post
   
 
Start new topic
Replies
Gamer91112
post Jul 26 2012, 05:09 AM
Post #2


Level 1
Group Icon

Group: Member
Posts: 8
Type: Developer
RM Skill: Skilled




QUOTE (KD648 @ Jul 25 2012, 09:57 AM) *
Does anyone here know how to reset map data? What I mean by that, specifically, is reverting all data like self-switches, opened treasure chests and the like so each map is as it was when the game began, while still leaving variables and switches untouched.. My game features a time travel component (a lot like Radient Historia from what I've heard) and includes the ability to go through some dungeons more than once. When travelling back in time the characters retain their classes, levels and items and all that, but the story goes back to an earlier point in time. I'm simply going to reset the world each time as you can only "time travel" once you've reached one of the multiple endings, so resetting the entire world seems quicker and easier than trying to determine which chests were opened when. However, many important quest items and situations are controlled by switches and variables, so I need to leave those untouched. I imagine this is a scripting solution, but if anyone knows ANY kind of answer I'd love you forever!

Thanks so much in advance!


What I would suggest if I were you, is to make a copy for each map in the game that you will reset through while you're in the game, then when you have to travel to like a past version of a dungeon for example, you make a copy named 'dungeon (past)' and then have your character will teleport to the "past" version of the same dungeon. Afterwards, you need to change the kinds of variables and switches that the new copy will affect, assuming you want to keep the old variables from the original copy. You might have to create copies for each variable and switch again if necessary. If you want to create less work for yourself, I recommend using a lot of self-switches because even when the player shifts from map (present) to map (past), the self-switches in the original map will stay the same, and the self-switches in the map copy will act as untouched the first time the player enters that map. I hope I helped you somewhat and if there's any other questions you would like to ask, feel free to do so. wink.gif


__________________________
Go to the top of the page
 
+Quote Post
   

Posts in this topic
- KD648   How can I reset Map Data?   Jul 25 2012, 08:57 AM
- - amerk   More or less, this. I'm not sure if such a scr...   Jul 26 2012, 03:37 PM
- - KD648   Sorry guys, I should have explained myself better....   Jul 27 2012, 01:27 PM
- - KD648   *bumpcuzI'mdesperate*   Aug 8 2012, 01:29 PM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 17th May 2013 - 09:10 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker