Enigma 10 Report post Posted January 23, 2014 Or anyone else who can script in RMXP The normal way of loading save games is through the load game window. I need a script that can load a save file through a script call in an event. I.E I want to load file 2, @>Script: $scene = LoadFile_2.new or something like that. Share this post Link to post Share on other sites
Saltome 16 Report post Posted January 23, 2014 Well took me longer than it should have. Not the most effective solution but it's simple enough. Script: def load(id)$scene=Scene_Load.new$scene.on_decision("Save#{id}.rxdata")$scene = Scene_Map.newend Call: load(id) Share this post Link to post Share on other sites
Enigma 10 Report post Posted January 24, 2014 Thanks Moo..Saltome, but it has occurred to me that That I need a similar method to store save files also, where should I put the "def load (id)" Share this post Link to post Share on other sites
Saltome 16 Report post Posted January 24, 2014 ... What's with you and MoonMoon? Doesn't really matter where you put it, as long as it's above the "main" script. A good way of organizing your custom scripts is to place them underneath the default scripts and above main. Just right click in the list of scripts, in the script editor, to insert a new script. Name it something relevant and paste the code in the script window. def save(id)$scene=Scene_Save.new$scene.on_decision("Save#{id}.rxdata")$scene = Scene_Map.newend save(id) You can put both methods in the same script for convenience. Now there's a small bug you should be aware of, when you load a file saved with this method it automatically saves the game again. Share this post Link to post Share on other sites
Moonpearl 32 Report post Posted January 24, 2014 ... What's with you and MoonMoon? What? I swear I don't know this person! :p Seriously, though, Enigma, why would you want to load a saved game from an event? Share this post Link to post Share on other sites
Enigma 10 Report post Posted January 24, 2014 What? I swear I don't know this person! :P Seriously, though, Enigma, why would you want to load a saved game from an event? custom save and load menu rather than using the load window Share this post Link to post Share on other sites
Moonpearl 32 Report post Posted January 25, 2014 I have already scripted a custom save and load menu. You can either use it or draw inspiration from it. Share this post Link to post Share on other sites
Enigma 10 Report post Posted January 25, 2014 (edited) unfortunately, it uses windows. For this project I'm not using windows. Also for a seperate project, do you have an ACM that supports like parties of 20 ppl, possible changing the dimension and layout of character bars in the menu Edited January 25, 2014 by Enigma Share this post Link to post Share on other sites
Moonpearl 32 Report post Posted January 26, 2014 Also for a seperate project, do you have an ACM that supports like parties of 20 ppl, possible changing the dimension and layout of character bars in the menu I have only one ACMS. It does not support parties with more than 4 characters without a bit of tweaking, but that's a feature I might add to an hypothetical v3.00. Share this post Link to post Share on other sites