Non-Combat Menu

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

    Tags:
  1. Deathtroth

    Deathtroth Villager Member

    Messages:
    21
    Likes Received:
    2
    First Language:
    English
  2. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    874
    Likes Received:
    701
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    #22
    Deathtroth likes this.
  3. Deathtroth

    Deathtroth Villager Member

    Messages:
    21
    Likes Received:
    2
    First Language:
    English
    0_0

    create_var_hud_window if $game_switches[XAIL::VAR_HUD::VAR_HUD_SWITCH]
    Works perfectly!!

    Nice! Thank youuuuu!1! you are good at this XD
    (I'll let ya know when it's finished or getting close, appreciate it mjshi!!!
     
    Last edited by a moderator: Jun 24, 2016
    #23
  4. Miramise

    Miramise Villager Member

    Messages:
    8
    Likes Received:
    1
    First Language:
    English
    Hello!  First, wonderful script and just what I was looking for.  Instructions for adding custom commands were easy to follow.  I just have a question I couldn't figure out on my own (I did try, hit an error).  Would it be possible to have some sort of separator between commands?  That is I would like a space/line/etc between the save/load commands and everything else. or even one I can insert wherever I might need.  My first thought was an empty commands and function, but it coughed up an error.  It's just for aesthetics, and I can live without.  Just thought I'd ask first.
     
    #24
  5. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    874
    Likes Received:
    701
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    No problem, I'll just add a "none" keyword that can work as a spacer, then.


    The script's pastebin has been updated to version 1.04.
     
    #25
  6. Miramise

    Miramise Villager Member

    Messages:
    8
    Likes Received:
    1
    First Language:
    English
    Works perfectly!  Thanks so much, I really appreciate it!
     
    #26
  7. Baumschinken

    Baumschinken Villager Member

    Messages:
    14
    Likes Received:
    1
    First Language:
    German
    Hi, I really like this non combat menu and I was wondering if there is a method to add a equip button to the simplified character stats screen? Adding commands to the menu screen itself works fine but adding buttons on other screens is too difficult for me and my minimalistic scripting knowledge:D
     
    Last edited by a moderator: Aug 16, 2016
    #27
  8. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    874
    Likes Received:
    701
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    No, there is no supported method currently for adding buttons to other screens. This script only changes the appearance of the menu.
     
    #28
  9. Baumschinken

    Baumschinken Villager Member

    Messages:
    14
    Likes Received:
    1
    First Language:
    German
    Not supported in your script or is it not possible to add buttons to other screens in general?
     
    #29
  10. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    874
    Likes Received:
    701
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    The former. (Of course it's possible, everything is possible with code. You should be asking if it's feasible, considering the complexity and/or time required.)


    The requested functionality is not currently supported in this script, and I feel that adding a button like that doesn't really have any widespread applications. It's not like there isn't an equip button, after all. If I added something like that to the script for you, it's likely that you're the only one who'd ever use it. Not only that, but coding a button onto the equip screen would require that I make a completely new window and a lot of other things that aren't exactly quick to do.


    I'm also fairly busy as classes just started, but if I do find the time I'll let you know.
     
    #30
  11. square357

    square357 Veteran Veteran

    Messages:
    22
    Likes Received:
    0
    First Language:
    english
    Anyone have actual .js file of this to download, any link would be really appreciated.


    Save the txt and renaming as .js is not working for me.
     
    #31
  12. bgillisp

    bgillisp Global Moderators Global Mod

    Messages:
    11,609
    Likes Received:
    11,599
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMVXA
    That's because this isn't a file for MV, its for ACE. ACE script files are not in .js format, and cannot be used in MV.
     
    Last edited by a moderator: Sep 23, 2016
    #32
  13. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    874
    Likes Received:
    701
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    Yeah, what bgillisp said.


    The MV version can be found here:
     
    #33
  14. square357

    square357 Veteran Veteran

    Messages:
    22
    Likes Received:
    0
    First Language:
    english
    ;_;
     
    #34
  15. bgillisp

    bgillisp Global Moderators Global Mod

    Messages:
    11,609
    Likes Received:
    11,599
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMVXA
    @square357: Check the post above yours though. The scripter wrote an MV version, so go to that thread to find it.
     
    Last edited by a moderator: Sep 23, 2016
    #35
  16. J_C

    J_C Veteran Veteran

    Messages:
    192
    Likes Received:
    45
    First Language:
    Hungarian
    Primarily Uses:
    N/A
    #36
  17. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    874
    Likes Received:
    701
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    @J_C Have you tried the method outlined in the first post? I took a quick look at Yanfly's script, and that follows the same general formula.


    With Yanfly System Options, replace "SCENE" with "System".



    edit: whoops, forgot to offer my congratulations.


    Congratulations, you did a code thing! ;D Isn't programming awesome?


    If you don't feel confident that you did the code thing correctly, you can check your work with the below:

    Code:
    
    # on the NonCombatMenu menu list
    ['System Options or whatever', :System],
    
    # Addon to the menu, inserted under it on the script list
    class Scene_End
      def command_System
        SceneManager.call(Scene_System)
      end
    end
     
    Last edited by a moderator: Nov 22, 2016
    #37
    J_C likes this.
  18. J_C

    J_C Veteran Veteran

    Messages:
    192
    Likes Received:
    45
    First Language:
    Hungarian
    Primarily Uses:
    N/A
    @mjshiThanks, I will try it out once I get home.
     
    #38
  19. Akatori

    Akatori Warper Member

    Messages:
    2
    Likes Received:
    0
    First Language:
    French
    Is there any way to change the commands names ?
     
    #39
  20. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    874
    Likes Received:
    701
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    @Akatori Yes--


    MENU = [
    #-----------------------------------------------------------------------------
    # **CONFIGURATION**
    #-----------------------------------------------------------------------------
    # What should the actual menu show?
    # Put a # in front of the ones you don't want to show, and you can reorder
    # this list to change the order in the menu.
    # **Don't remove the comma after each []!**
    #
    ['CHANGE ME', :item],
    ['CHANGE ME', :status],
    ['CHANGE ME', :save],
    ['CHANGE ME', :shutdown],


    Just change the first part of each line the menu list to what you want.
     
    #40

Share This Page