The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: Darico on January 07, 2007, 06:30:19 PM

Title: Save Points [Resolved]
Post by: Darico on January 07, 2007, 06:30:19 PM
I was wondering if anyone could help me out with a script for having save points in the game instead of being able to save anywhere. I hope you know what i mean. If someone could provide a script or just explain how to do it I would be very grateful!

Thanks in advance,
Darico
Title: Re: Save Points
Post by: Falcon on January 07, 2007, 07:10:11 PM
It can be done with events, look for the Disable Save Menu, or whatever, and make an event which uses Call Save Screen.

If you want the save command taken out of your Menu System, PM me and I can replace it with load or something :)
Title: Re: Save Points
Post by: Sthrattoff on January 07, 2007, 07:14:43 PM
OK!

If you wanna remove the "save" option on main menu, here's the trick :

Go to Scene_Menu, find :
@command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6])

Make it
@command_window = Window_Command.new(160, [s1, s2, s3, s4, s6])

Then find def update_command, there's a lot of when...
Erase this method :

when 4  # save
# If saving is forbidden
if $game_system.save_disabled
# Play buzzer SE
$game_system.se_play($data_system.buzzer_se)
return
end
# Play decision SE
$game_system.se_play($data_system.decision_se)
# Switch to save screen
$scene = Scene_Save.new


And change
when 5

To
when 4


And for the save point, you can use events, using "Call Save Menu"
Title: Re: Save Points
Post by: Falcon on January 07, 2007, 07:51:20 PM
That leaves a black spot open though, not very good looking :P
Title: Re: Save Points
Post by: Darico on January 07, 2007, 08:02:56 PM
Ok thanks for you help but -
When I use the call script, what do I put in?

EDIT: nvm, missread the post lol  :-X


QuoteIf you want the save command taken out of your Menu System, PM me and I can replace it with load or something
My CMS already has a load thing, although it dosnt seem to work in game ...
Title: Re: Save Points
Post by: :) on January 07, 2007, 08:05:14 PM
events will be just as easy, on each map put the event for disable where needed, and then make a event using an image, and have it enable saving on touch. and around it have it disable saving on touch.
Title: Re: Save Points
Post by: Falcon on January 07, 2007, 08:08:46 PM
Quote from: Darico on January 07, 2007, 08:02:56 PM
Ok thanks for you help but -
When I use the call script, what do I put in?

EDIT: nvm, missread the post lol  :-X


QuoteIf you want the save command taken out of your Menu System, PM me and I can replace it with load or something
My CMS already has a load thing, although it dosnt seem to work in game ...

PM me the script and I'll see if I can fix the problem, it doesn't sound very hard.
Title: Re: Save Points
Post by: Darico on January 07, 2007, 08:21:58 PM
Ok, problem resolved!^^
Title: Re: Save Points [Resolved]
Post by: Sthrattoff on January 08, 2007, 03:30:03 AM
Quote from: Darklord on January 07, 2007, 07:51:20 PM
That leaves a black spot open though, not very good looking :P
That's leave no gap...
sn = "" is just a variable, and Window_Command.new(160, [sn]) is only using variable listed on [sn].