Basic Options Menu

Discussion in 'RGSS3 Scripts (RMVX Ace)' started by Vlue, Sep 27, 2013.

    Tags:
  1. Swafer

    Swafer Gremlin Veteran

    Messages:
    32
    Likes Received:
    2
    Location:
    Canada
    First Language:
    English
    Primarily Uses:
    RMVXA
    Is it possible to have the script work on the title screen as well?
     
    #61
  2. Swafer

    Swafer Gremlin Veteran

    Messages:
    32
    Likes Received:
    2
    Location:
    Canada
    First Language:
    English
    Primarily Uses:
    RMVXA
    I'm also curious of it works on the Non-combat script as well.
     
    #62
  3. Roninator2

    Roninator2 Gamer Veteran

    Messages:
    1,741
    Likes Received:
    381
    Location:
    Canada
    First Language:
    English
    Primarily Uses:
    RMVXA
    Usually best to put it in and test. If it doesn't and you want it to, ask for some help.
     
    #63
  4. mylafter

    mylafter Veteran Veteran

    Messages:
    179
    Likes Received:
    85
    First Language:
    English
    Primarily Uses:
    N/A
    Here's an fixed version of the second parts of the script that Nefertari made.
    All the smiley's were suppose to be backwards.
    Am I still the only one whose music does not update on command? It changes once the player leaves the map but not in the actual options menu. Is there a way to fix this?

    1st part, replace line 62 with:
    Code:
    class Scene_Options < Scene_MenuBase
      attr_reader :last_scene
      def start
        super
        @last_scene = SceneManager.instance_variable_get(:@stack).pop.class
        $game_options.memorize_options
    2nd part, around lines 258-260 replace it with:
    Code:
    Sound.play_cursor
        #$game_map.autoplay if $game_map && $game_map.map_id > 0
        $data_system.title_bgm.play if last_scene == Scene_Title
        $game_map.autoplay if last_scene == Scene_Menu
    3rd part actually has more bugs than it does fixes, but if you still want it.
    Depending on how to configured the script so far, around the lines 298-305, look and replace with:
    (the 'return_scene' needs to be commented out and below them add: 'SceneManager.call(last_scene)')
    Code:
    when 0
          $game_options.save_options
          $game_options.clear_memorize
          #return_scene
          SceneManager.call(last_scene)
        when 1
          $game_options.copy_memorize
          $game_options.clear_memorize
          #return_scene
          SceneManager.call(last_scene)
    Like I said, the 3rd part actually creates more bugs.
    For now, it still seems the bgm only changes AFTER the player enters a new map. Can someone fix that?
     
    #64
  5. Roninator2

    Roninator2 Gamer Veteran

    Messages:
    1,741
    Likes Received:
    381
    Location:
    Canada
    First Language:
    English
    Primarily Uses:
    RMVXA
    Maybe add in a
    Code:
    $game_map.need_refresh = true
     
    #65
  6. mylafter

    mylafter Veteran Veteran

    Messages:
    179
    Likes Received:
    85
    First Language:
    English
    Primarily Uses:
    N/A
    Where exactly do you put it?
     
    Last edited: Aug 28, 2019
    #66

Share This Page