Remembering switches after shutdown

centaur66

Villager
Member
Joined
Apr 18, 2019
Messages
27
Reaction score
2
First Language
english
Primarily Uses
RMXP
Hi everyone,

In my game I want there to be no chance to reset and change your choices. Is there a way to have your game remember switches permanently, even after a shutdown or a reset?

Thanks in advance.
 

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,421
Reaction score
596
First Language
Italian
Primarily Uses
RMVXA
Switches are saved in the save file, which means that they stay the same when you launch the game again. If you want something that shares those switches for each save file, then the linked script might do the trick for you.
 

Bex

Veteran
Veteran
Joined
Aug 2, 2013
Messages
1,492
Reaction score
408
First Language
German
Primarily Uses
RMMV
That sounds very strange. And you would need to deinstall and reinstall your Game in order to play it again from beginning.

But maybe an Idea, as soon a Safe File exists, the New Game button gets inaccessible.
with only one Safefileslot and maybe auto safe within the game, you could get close to what you want.

But Player Cheaters could get around it by locating the safe folder and manualy copy pasting there safe files somewhere else, in case they need to replace the existing one.
But maybe if your Game requires internet connection for safe files,
 

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,421
Reaction score
596
First Language
Italian
Primarily Uses
RMVXA
Because I want the switch to stay consistent even when you choose ‘new game’
There are various scripts to do that. You should check the master script list, I am 100% sure you will be able to find one.

EDIT: the linked script should do exactly that, as I mentioned in my previous post.
 
Last edited:

_Shadow_

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
4,078
Reaction score
2,654
First Language
Greek
Primarily Uses
RMMZ
Listen @centaur66. What you ask for is called persistent data.
Normally, during Saved games, Switch status are saved on the save file in order to be restored. When you start a NEW game everything gets initialized to default values. Meaning that all Switches are set OFF.
Persistent data means that after Initialization, you want a switch to remain on the ON state if it is.
Techniques seen on Unddertale and Doki Doki literature club.
The script @Ebanyle recommended, gives you the power to do this.
Don't get confused, go for it.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,062
Members
137,575
Latest member
akekaphol101
Top