How do i change game over ME?

● ARCHIVED · READ-ONLY
Started by ScoopJohn 10 posts View original ↗
  1. Does anyone know how i can change the game over ME by a event?
  2. Using pure events, nope you cannot... you'd need to modify the GameOver scene to allow you to change the ME for it
  3. Just tested it. You can use a script call:

    $data_system.gameover_me.name = "filename"

    replace filename with the name of the ME in the folder. For example "Inn"

    edit: You can also change the pitch and volume of the ME with the following:

    $data_system.gameover_me.pitch = ##

    $data_system.gameover_me.volume = ##
  4. wait, what happens if we save the game then quit, then open the game again and load our saved file? Does the changes stay?


    AFAIK, $data_system is loaded from the database when the game is opened and isn't part of the save file, so I do think it won't stay after I quit the game. Also, that means that the change will stay as long as I don't quit the game, so if I change it now then return to title and start a new game, it will still use the edited ME.


    can't run tests at the moment, so I'm just asking. :)
  5. You may delete the default ME from system tag in the database and in the event, when you lose play your ME and then call gameover. For the normal battles, you can do the same, you'll have to select continue even if lose. If victory do nothing, if lose play the one you call default ME and then call gameover. A little boring unless you want to modify it by the script.
  6. Engr. Adiktuzmiko said:
    wait, what happens if we save the game then quit, then open the game again and load our saved file? Does the changes stay?

    AFAIK, $data_system is loaded from the database when the game is opened and isn't part of the save file, so I do think it won't stay after I quit the game. Also, that means that the change will stay as long as I don't quit the game, so if I change it now then return to title and start a new game, it will still use the edited ME.

    can't run tests at the moment, so I'm just asking. :)
    I tried this way, but it didn't work when i saved and loaded the game.
  7. Why would you want to change it by an event?

    class Scene_Gameover < Scene_Base def play_gameover_music RPG::BGM.stop RPG::BGS.stop $game_system.gameover_me.play endendclass Game_System def gameover_me @gameover_me || $data_system.gameover_me end def set_gameover_me(name, volume=100, pitch=100) @gameover_me = RPG::ME.new(name, volume, pitch) endendcall it using $game_system.set_gameover_me("me_name", 80, 100)

    where 80 is volume and 100 is pitch. Both are optional - only the name (without the extension) is necessary.
  8. I know this is an ancient thread, but how does this work for MZ? I managed to figure out how to fix data undefined error, but how do I fix name undefined?
  9. Teostratos said:
    I know this is an ancient thread, but how does this work for MZ? I managed to figure out how to fix data undefined error, but how do I fix name undefined?
    You need to check the forum thread category. This is for VX Ace.
    MZ will use completely different commands

    Make a post in MZ support for the same request.