Save Music

Caedmon

Veteran
Veteran
Joined
Aug 9, 2012
Messages
248
Reaction score
16
First Language
English
Primarily Uses
Is there a way to change from the simple Save sound to adding a short piece of music.  I would to when the player saves their game for there to be a short piece of maybe 5 seconds, but during this 5 seconds the player isn't allowed to move.  After they save I want the character at the save event to talk again.  Thoughts?
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
You would need to modify the methods of the save scene so that it will not allow you to move until the music is finished, and also so that after you save it will automatically exit from the save scene.
 

Caedmon

Veteran
Veteran
Joined
Aug 9, 2012
Messages
248
Reaction score
16
First Language
English
Primarily Uses
Is there a script or anything that exists right now to do this?  It doesn't seem complicated for a script, but I would be lost myself :)  Sounds like a simple patch.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
I haven't encountered a script for that as of now.. 
 

Caedmon

Veteran
Veteran
Joined
Aug 9, 2012
Messages
248
Reaction score
16
First Language
English
Primarily Uses
Are you sure this couldn't be evented?  I'm thinking maybe if I called the save menu could I place a Conditonal Branch on hitting let's say the C Button to save their game that then an event of playing music, waiting and then talking would occur.  I am not sure if a conditional branch would be picked up though during a save menu.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Once you're on the save menu, the event will temporarily stop playing since the event is technically not there on the save scene. Also, there's no event command (without using the Script call command) to force a save.
 

Caedmon

Veteran
Veteran
Joined
Aug 9, 2012
Messages
248
Reaction score
16
First Language
English
Primarily Uses
Hmmm you just gave me an idea.  what about an Auto Save event instead of the normal Save game?
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
As I said, there's no event command for forcing a save.. You would still need to use script calls if you want to do that. There are autosave scripts out there, if you wanna go that path, check them out. :)
 
Last edited by a moderator:

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
Speaking as a player, if this is every time I save, (and your OP is a little unclear on whether it is or not) I think I might get quite irritated being forced to sit there for several seconds listening to same few bars yet again.  To what purpose?
 

Caedmon

Veteran
Veteran
Joined
Aug 9, 2012
Messages
248
Reaction score
16
First Language
English
Primarily Uses
For ambiance :)  I promise it won't be annoying.  You don't constantly in my game, but only after battles.  I am using Gubid's TBS so by the end of battle you will be ready for a short break during the save scene :)
 

PencilCase27

So, I can write anything I want here... right?
Veteran
Joined
Jun 5, 2014
Messages
33
Reaction score
13
First Language
German
Primarily Uses
If you wish for only minimal scripting usage, one could write a snippet that turns on a game switch everytime the player saves. Then you could event a branch that plays your music effect when the switch is on and turns the switch off.

Edit: for example:

Code:
class Scene_Save < Scene_File  alias pc27_on_save_success on_save_success  def on_save_success    pc27_on_save_success     $game_switches[1] = true  endend
 
Last edited by a moderator:

EternalShadow

Veteran
Veteran
Joined
Sep 16, 2012
Messages
5,781
Reaction score
1,041
First Language
English
Primarily Uses
If you have only saving in events, a quick thing you can do is:


- Save the game?


- Yes


- No


- If yes,


- Open Save Menu


[Player Saves]


- Fade in loading image


- Play music


- Fade out loading image


- If no,


- Quit


Of course, this depends on your game and whether you have autosaves, etc.
 

Caedmon

Veteran
Veteran
Joined
Aug 9, 2012
Messages
248
Reaction score
16
First Language
English
Primarily Uses
Pencil Case I love the suggestion.  I have some edits to mkae to my events to get it flowing better, but you put me on the right track.  thanks to all who gave advice.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
but since when the save success happens, you're still on the save scene, the event still won't pursue and he would still need to exit the scene for the event to continue processing...
 
Last edited by a moderator:

PencilCase27

So, I can write anything I want here... right?
Veteran
Joined
Jun 5, 2014
Messages
33
Reaction score
13
First Language
German
Primarily Uses
but since when the save success happens, you're still on the save scene, the event still won't pursue and he would still need to exit the scene for the event to continue processing...
def on_save_success Sound.play_save return_scene endThe original on_save_success method also quits the save scene.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
I see... It's weird, last time I tried saving, it doesn't quit. :)
 

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

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
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.

Forum statistics

Threads
105,868
Messages
1,017,085
Members
137,583
Latest member
write2dgray
Top