Non-Combat Menu

Discussion in 'RGSS3 Scripts (RMVX Ace)' started by mjshi, Sep 13, 2015.

    Tags:
  1. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    910
    Likes Received:
    721
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    Did you put
    Code:
    class Scene_End
      def command_Options
       SceneManager.call(Scene_Options)
      end
    end
    in a separate script under NonCombat Menu and under Vlue's options menu?
     
    #61
  2. Roninator2

    Roninator2 Gamer Veteran

    Messages:
    1,732
    Likes Received:
    381
    Location:
    Canada
    First Language:
    English
    Primarily Uses:
    RMVXA
    So that not right.
    First you put a # in front. This stops the line from being processed,
    second you are missing a , at the end.

    You need to use code tags when pasting code in the forums. So it looks like this
    Code:
    ['Status', :status],
    ['Options', :options],
    ['Save', :save],
    ['Load', :load],
    ['Exit', :shutdown],
    
    Its the button next to the save icon
    upload_2019-6-3_21-20-22.png
    It also needs to match case.
    In my code the O is lower case
    Code:
    class Scene_End
      def command_options
       SceneManager.call(Scene_Options)
      end
    end
     
    Last edited: Jun 4, 2019
    #62
    Swafer and mjshi like this.
  3. Swafer

    Swafer Gremlin Veteran

    Messages:
    32
    Likes Received:
    2
    Location:
    Canada
    First Language:
    English
    Primarily Uses:
    RMVXA
    So i tried your method. It started to work fine but as soon as I hit the escape key. This pop up
    6.3.19.4.PNG

    Also the # was there because I had trouble figuring it out before and instead of removing it, i just add it there in case i got an answer.
     
    #63
  4. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    910
    Likes Received:
    721
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    @Swafer Did you put this in a separate script below Non-Combat Menu?
    Code:
    class Scene_End
      def command_options
       SceneManager.call(Scene_Options)
      end
    end
     
    #64
  5. Swafer

    Swafer Gremlin Veteran

    Messages:
    32
    Likes Received:
    2
    Location:
    Canada
    First Language:
    English
    Primarily Uses:
    RMVXA
    Yep
    6.3.19.5.PNG


    6.3.19.5.1..PNG
     
    #65
  6. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    910
    Likes Received:
    721
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    @Swafer
    command_Options should be command_options. They should match case.
     
    #66
  7. Swafer

    Swafer Gremlin Veteran

    Messages:
    32
    Likes Received:
    2
    Location:
    Canada
    First Language:
    English
    Primarily Uses:
    RMVXA
    It worked! finally!
     
    #67
  8. Odinson44

    Odinson44 Warper Member

    Messages:
    1
    Likes Received:
    2
    First Language:
    English
    Primarily Uses:
    RMMV
    Hey mjshi just tried out your noncombat menu plugin and love it thanks so much for all the hard work! Quick question though how do I go about getting rid of the HP and MP bars? The attachment regarding that update wouldn't pull up for me.
     
    #68
  9. tale

    tale Volunteer Veteran

    Messages:
    446
    Likes Received:
    721
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    Last edited: Jun 28, 2019
    #69
    Odinson44 likes this.
  10. mylafter

    mylafter Veteran Veteran

    Messages:
    178
    Likes Received:
    83
    First Language:
    English
    Primarily Uses:
    N/A
    Hi mjshi! my menu only uses the Save, Load, and Shutdown options but I need the 'Gold' to be displayed as well. It seems the gold can only be viewed in 'items' but again, i'm not using that feature. Is there a way to have the amount of gold displayed in the menu without having to access the items?
     
    #70
    ZirconStorms likes this.
  11. Roninator2

    Roninator2 Gamer Veteran

    Messages:
    1,732
    Likes Received:
    381
    Location:
    Canada
    First Language:
    English
    Primarily Uses:
    RMVXA
    @mylafter
    Code:
    class Scene_End
     
      alias r2_start_menu_923bf start
      def start
        r2_start_menu_923bf
        create_gold_window if NonCombatMenu::SHOW_GOLD_WINDOW
      end
     
      def create_gold_window
        @gold_window = Window_Gold.new
        # Makes the gold window (if aligned right) be under any new windows
        @gold_window.viewport = @viewport
        @gold_window.x = Graphics.width - NonCombatMenu::GOLD_WINDOW_WIDTH if NonCombatMenu::GOLD_WINDOW_ALIGN_RIGHT
      end
    
    end
     
    #71
    mjshi likes this.
  12. mylafter

    mylafter Veteran Veteran

    Messages:
    178
    Likes Received:
    83
    First Language:
    English
    Primarily Uses:
    N/A
    Works perfectly. Thank you so much!
     
    #72
  13. ZirconStorms

    ZirconStorms VX & VX Ace Scripts Veteran

    Messages:
    332
    Likes Received:
    107
    First Language:
    English
    Primarily Uses:
    RMVXA
    Last edited: Aug 11, 2019
    #73
    mjshi likes this.
  14. Roninator2

    Roninator2 Gamer Veteran

    Messages:
    1,732
    Likes Received:
    381
    Location:
    Canada
    First Language:
    English
    Primarily Uses:
    RMVXA
    well done. I just threw together the basics. You made it much better.
     
    #74
    ZirconStorms likes this.
  15. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    910
    Likes Received:
    721
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    @Roninator2 @ZirconStorms Wow, guys, well done! Seriously, never thought other people would take the time to write addons for this little script I wrote so long ago. Thanks and I'm definitely linking these 2 in the main post.
     
    #75
    ZirconStorms likes this.
  16. tale

    tale Volunteer Veteran

    Messages:
    446
    Likes Received:
    721
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    #76
  17. mylafter

    mylafter Veteran Veteran

    Messages:
    178
    Likes Received:
    83
    First Language:
    English
    Primarily Uses:
    N/A
    Sorry for the bother but I was wondering if there were a way to combine this 'options' script for this menu script.
     
    #77
  18. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    910
    Likes Received:
    721
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    @mylafter There's a tutorial on how to do this in the first post, but here you go:

    Add to the menu list:
    Code:
    ['Volume Config', :VolConfig],
    Then add a general compatibility script under the Non Combat Menu script:
    Code:
    class Scene_End
      def command_VolConfig
       SceneManager.call(Scene_VolConfig)
      end
    end
    
     
    #78
  19. mylafter

    mylafter Veteran Veteran

    Messages:
    178
    Likes Received:
    83
    First Language:
    English
    Primarily Uses:
    N/A
    Thanks! At first I kept getting a:
    line:3 NameError occurred
    uninitialized constant Scene_End::Scene_VolConfig

    But I found out you have to do this for it to work:
    Code:
    class Scene_End
      def command_VolConfig
       #SceneManager.call(Scene_VolConfig)
       SceneManager.call(HZM_VXA::AudioVol::Scene_VolConfig)
      end
    end
    It works perfectly. Thanks for the reply, and so quickly too. :)
     
    #79
    mjshi likes this.
  20. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    910
    Likes Received:
    721
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    @mylafter Ah, sorry! I forgot that they did their script wrapped up in a thing, so there's the need for the "HZM_VXA::AudioVol::" bit. Good on you for figuring that out! c:
     
    #80

Share This Page