Menu 'Save' command change to 'Journal' and hidden until triggered by event

The Fox Eyed Man

Villager
Member
Joined
Sep 2, 2016
Messages
5
Reaction score
4
First Language
English
Primarily Uses
(I apologise if I've posted this in completely the wrong place!) 


I was wondering whether anyone could help me with making the save command in the in game menu hidden until a certain event (that event being the MC being given a journal), and when it does show up it should say 'Journal' instead of 'save'. I currently have the Yanfly Ace Menu Engine script (and Yanfly Save Engine) installed but I don't have enough scripting experience to really know what I am doing (I've tried making custom commands in the Ace Menu Engine script configuration section, but I don't know how those would fit in with the save command).
 
Last edited by a moderator:

Diretooth

Lv. 23 Werewolf
Veteran
Joined
Mar 10, 2013
Messages
1,213
Reaction score
438
First Language
English
Primarily Uses
RMMV
In the Database, under Terms, there should be 'Save' to the right. Change that to Journal.
In the Event Editor, tab three under System Settings, click 'Change Save Access' and set to Off. When that point in the game is reached, in the event were you get the journal, do Change Save Access again, and set it to Off. No scripting experience required.
 

The Fox Eyed Man

Villager
Member
Joined
Sep 2, 2016
Messages
5
Reaction score
4
First Language
English
Primarily Uses
@Diretooth 


Ah shoot I should have mentioned that I'm also using Yanfly Save Options (I've edited the question to say so now). I had already changed the database to swap it from save to journal (which works), but the enable/disable save commands during events don't seem to do anything (and would the enable/disable commands really 'hide' the option, or just grey it out?).


(By the way, thanks for the reply I appreciate the help  :) )
 

Diretooth

Lv. 23 Werewolf
Veteran
Joined
Mar 10, 2013
Messages
1,213
Reaction score
438
First Language
English
Primarily Uses
RMMV
It will merely gray out the option, not remove it. Looking over both scripts, I don't see any way to really remove the save option from the menu, but I don't see why it wouldn't allow you to disable it in the menu.
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,136
Reaction score
806
First Language
Hungarian
Primarily Uses
RMVXA
Yanfly's Save System script will only read the default "Save Disabled" feature inside the save screen for the "Save" button, not in the main menu.


Since you use Yanfly's Menu Engine, and the save command is a regular command, here is what you will need to do in that script:


1. Search for the COMMANDS setting.


2. In that setting, there should be a :save symbol entered. Change that to :save1 .


3. Now, a little below this setting, there is another named CUSTOM_COMMANDS. Head over there.


4. In that setting, you should add this line:


:save1 => ["Journal", 0, 0, :command_save],


The zeros you see there are switch IDs. If you leave them on 0, the command will always be enabled and shown.


If you set them to something higher than 1, than when you turn ON that switch, than it will be enabled/shown.


The first 0 is the enable switch, the second 0 is the show switch.


Save and test, it should work.
 

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

Latest Threads

Latest Profile Posts

After 3 and half months of my first long term game being playtested it is now in a more polished state. Now I proudly re-present Path of the Martyrs!
I am feeling better about my update schedule, I feel like I am actually getting consistent work done even if it isn’t big updates.
It's a joy to work on a well-made map. I am not regretting this commission in the least!
I'm currently being attacked by the RPG Maker Hydra: fixing one problem only to have two more rise to take its place.
Hey you! Yeah YOU! Whatcha doin' not backing up your projects? You a masochist or sumthin'? GO BACK UP YOUR PROJECTS! Sheeesh... Didn't think I'd hafta spell it out for yas.

Forum statistics

Threads
94,296
Messages
919,750
Members
124,043
Latest member
mintypatronus
Top