Script Request - Variables Specific Save File
#1
Here's what I'm humbly and most modestly asking for.

I'd like a version of the save/load scenes (and the subsequent windows) that only saves ten of the variables of a game... This would then, when brought up, only adjust the variables of a current game while it's being played.

I'd like to do this for an overall game completion... non-dependant on different save files. Basically, say I have something where a percentage of game completion or a specific quest unlocks a character that I want to be able to access. This save file (after everything else is loaded) would be loaded and changes the variables, letting the game know whether or not the specific character is unlockable.

If it can't be done I understand. If so, I'd like it under a different name like completion.rxdata
[Image: AVvXsEga1vIr5Rx3FkoFbGo1OoMJAqgq6TeqcbpF...L3AWg=s752]

BLOG: JayVinci.blogspot.com
FORUM COMING SOON
Currently working on:
Ambitions: RPG Developer Bakin
Heart of Vox: RPG Developer Bakin
Reply }
#2
You want to save some data, and then load that same data into ALL saved games overwriting the ten or so variables with the data. Sort of like a new game plus sort of thing, correct?

This isn't so hard to do. in Scene_Save you'd define another file, in addition to the selected save file. Then you'd copy your ten variables into an object (probably an array) and then Marshal.dump(characters_unlocked, another_file)

in Scene_Load, you'd load everything as normal but then read the array from your completion.rxdata using Marshal.load(another_file) and overwrite the variables with the saved data (ex: $game_variables[1] = characters_unlocked[1] )
Reply }
#3
"Hey, Mech. I'm a spriter, not a scripter. I don't have a clue how to write something like that."

Please, if someone can create this script, it'd be very helpful in getting something to work for my game.
[Image: AVvXsEga1vIr5Rx3FkoFbGo1OoMJAqgq6TeqcbpF...L3AWg=s752]

BLOG: JayVinci.blogspot.com
FORUM COMING SOON
Currently working on:
Ambitions: RPG Developer Bakin
Heart of Vox: RPG Developer Bakin
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Plugin or Script help with Item menu, SKill menu, and Equip menu JayRay 2 60 Yesterday, 03:09 AM
Last Post: JayRay
   Script compatibility help Lord Vectra 3 4,586 07-25-2021, 11:42 PM
Last Post: DerVVulfman
   Adding face script on Cogwheel's RTAB Battle Status rekkatsu 15 15,749 08-25-2020, 03:09 AM
Last Post: DerVVulfman
   Map name as save file name Whisper 9 10,142 05-01-2020, 05:35 PM
Last Post: Whisper
   "Wait" in the script Whisper 13 16,086 04-28-2020, 04:06 PM
Last Post: Whisper
   Skill Cooldown script Fenriswolf 11 16,427 12-10-2019, 11:10 AM
Last Post: Fenriswolf
   Help iwth script (RGSS Player crash) Whisper 3 8,528 06-17-2017, 05:03 PM
Last Post: Whisper
   Help modifying a script Keeroh 7 10,208 06-11-2017, 04:43 PM
Last Post: DerVVulfman
Question  Mog Menu script: help me stop the crazy picture movement during transitions Zachariad 4 9,848 05-31-2017, 05:10 AM
Last Post: Zachariad
   Actor names in Quest Script jreagan406 5 8,636 03-07-2017, 08:06 AM
Last Post: JayRay



Users browsing this thread: 1 Guest(s)