Chaos Project

RPG Maker => RPG Maker Scripts => Script Requests => Topic started by: cyclope on September 09, 2010, 08:07:49 pm

Title: Save without using scene_save
Post by: cyclope on September 09, 2010, 08:07:49 pm
What i want is exactly what this topic name says, save without using Scene_Save. I (not the player) want to be able to choose in wich save file I want the game to be saved when I am doing and event.. I am ussing blizz-aabs, Mouse controller, C'coa UMS and Item Storage by g_g.
Title: Re: Save without using scene_save
Post by: gerrtunk on September 09, 2010, 08:49:39 pm
Quote from: cyclope on September 09, 2010, 08:07:49 pm
What i want is exactly what this topic name says, save without using Scene_Save. I (not the player) want to be able to choose in wich save file I want the game to be saved when I am doing and event.. I am ussing blizz-aabs, Mouse controller, C'coa UMS and Item Storage by g_g.


Maybe in a few days i will post a save script that is in development andd let you this and a lot of other things
Title: Re: Save without using scene_save
Post by: cyclope on September 09, 2010, 09:11:02 pm
Ty, ill we waiting for it.
Title: Re: Save without using scene_save
Post by: gerrtunk on September 13, 2010, 09:10:53 pm
Quote from: cyclope on September 09, 2010, 09:11:02 pm
Ty, ill we waiting for it.

I think it will take some more time. Anyway, what you want to do is too easy to script if you know about the save system:

Call this script:

s = Scene_Save.new                         
n = s.make_filename(X)
f = File.open(n, "wb")
s.write_save_data(f)
f.close

Where X is the save slot number -1. Ex: if you want to save in the slot 2 use:

s = Scene_Save.new                         
n = s.make_filename(1)
f = File.open(n, "wb")
s.write_save_data(f)
f.close