Non-Combat Menu

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
918
Reaction score
733
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?
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
1,854
Reaction score
408
First Language
English
Primarily Uses
RMVXA
['Items', :item],
['Status', :status],
#['Options', :options]
['Save', :save],
['Load', :load],
['Exit', :shutdown],
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:

Swafer

Gremlin
Veteran
Joined
Jul 25, 2018
Messages
39
Reaction score
4
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.
 

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
918
Reaction score
733
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
 

Swafer

Gremlin
Veteran
Joined
Jul 25, 2018
Messages
39
Reaction score
4
First Language
English
Primarily Uses
RMVXA
@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
Yep
6.3.19.5.PNG


6.3.19.5.1..PNG
 

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
918
Reaction score
733
First Language
English
Primarily Uses
N/A
@Swafer
command_Options should be command_options. They should match case.
 

Swafer

Gremlin
Veteran
Joined
Jul 25, 2018
Messages
39
Reaction score
4
First Language
English
Primarily Uses
RMVXA
It worked! finally!
 

Odinson44

Warper
Member
Joined
Jul 15, 2018
Messages
1
Reaction score
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.
 

mylafter

Veteran
Veteran
Joined
Dec 30, 2012
Messages
179
Reaction score
95
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?
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
1,854
Reaction score
408
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
 

mylafter

Veteran
Veteran
Joined
Dec 30, 2012
Messages
179
Reaction score
95
First Language
English
Primarily Uses
N/A
@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
Works perfectly. Thank you so much!
 

ZirconStorms

VX & VX Ace Scripts
Veteran
Joined
Dec 22, 2014
Messages
345
Reaction score
111
First Language
English
Primarily Uses
RMVXA
Last edited:

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
918
Reaction score
733
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.
 

mylafter

Veteran
Veteran
Joined
Dec 30, 2012
Messages
179
Reaction score
95
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.
 

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
918
Reaction score
733
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
 

mylafter

Veteran
Veteran
Joined
Dec 30, 2012
Messages
179
Reaction score
95
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
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. :)
 

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
918
Reaction score
733
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:
 

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

Latest Threads

Latest Posts

Latest Profile Posts

This little brat (my nephew) just invent a new way of enjoying his orange juice by pouring it inside of used perfume bottle and sprayed it to his mouth...
Jamaica? No, Aunty. I said, I'm on RPG Maker :*/
Lunar New Year is over :( but it's time to get back to work!
I keep giving myself deadlines because I'm so excited to finish something but I notice areas where I'm rushing the story and that's what's gonna weaken my overall project, gotta stop that

Forum statistics

Threads
93,693
Messages
914,672
Members
123,289
Latest member
mintminstrel
Top