Save-Point
DerVVulfman's Game Data Sneak - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html)
+---- Thread: DerVVulfman's Game Data Sneak (/thread-4603.html)



DerVVulfman's Game Data Sneak - DerVVulfman - 04-02-2013

DerVVulfman's Game Data Sneak
Version: 1.0



Introduction
This is not an actual script that is used within a game, but a new method that can be used by scripters to 'sneak' new data classes into their games. This simple system can relieve scripters of the headaches of aliasing the save_game_data and load_game_data methods in the Scene_Load and Scene_Save classes  by merely attaching the data to the Game_System class  since the Game_System class itself is always stored in the save data files.



Script
The Game Data Sneak



Instructions
Scripters shouldn't find it too difficult.  There are instructions in the script.



Compatibility
Given the simplicity, this 'method' should work with all RPGMaker systems though some naming conventions may change from system to system. And because it doesn't require the aliasing or either the save_game_data or load_save_data methods, you shouldn't have any issues as what data loads first.



Credits and Thanks
Thanks to Kain Nobel who kinda gave me the idea by accident.



Author's Notes
Remember, this is a method to add new data classes to scripts without needing to alter the save and load methods.  Intended for scripter's usage only.



Terms and Conditions
Free for use, even in commercial scripts.  Due credit is all that's required.


RE: DerVVulfman's Game Data Sneak - Taylor - 04-03-2013

But surely scripters already attach to the likes of Game_System-- oh! Oh now I see how this works. I suppose this is for those that would prefer to make a whole new class for their functions?