Non-Combat Menu

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
963
Reaction score
794
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
2,570
Reaction score
542
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

Veteran
Veteran
Joined
Jul 25, 2018
Messages
46
Reaction score
5
First Language
English
Primarily Uses
N/A
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
963
Reaction score
794
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

Veteran
Veteran
Joined
Jul 25, 2018
Messages
46
Reaction score
5
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
Yep
6.3.19.5.PNG


6.3.19.5.1..PNG
 

mjshi

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

Swafer

Veteran
Veteran
Joined
Jul 25, 2018
Messages
46
Reaction score
5
First Language
English
Primarily Uses
N/A
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

I’m a creep... I’m a weirdo...
Veteran
Joined
Dec 30, 2012
Messages
195
Reaction score
174
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
2,570
Reaction score
542
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

I’m a creep... I’m a weirdo...
Veteran
Joined
Dec 30, 2012
Messages
195
Reaction score
174
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

Veteran
Veteran
Joined
Dec 22, 2014
Messages
359
Reaction score
111
First Language
English
Primarily Uses
RMVXA
Last edited:

mjshi

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

I’m a creep... I’m a weirdo...
Veteran
Joined
Dec 30, 2012
Messages
195
Reaction score
174
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
963
Reaction score
794
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

I’m a creep... I’m a weirdo...
Veteran
Joined
Dec 30, 2012
Messages
195
Reaction score
174
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
963
Reaction score
794
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

And we're live now!
Yosh! :LZScheeze: Made a video with some cool tips and tricks for MV & MZ.
As you watch, I'm curious to know how many tips you already knew. :LZSyum:


Lol. Just got an Apple support scam... is that a thing now? Well, I trolled them good. I played "H.O.L.I.D.A.Y." by The Wiggles and then told them that the supposed victim wasn't at the call center anymore. He was confused so I let it slip that I knew the scam. He hung up on me.
Tired of scammers? Just troll them. They'll run for the hills.
I'm going to schedule my shuttle to the train station today... after I vote. It's not a pleasant thing to do, since I hate politics. So much negative talk. I can see why it's not allowed here. But about the shuttle. My county has a service called PalmTran, and it's really convenient. They pick you up at your home and drop you off where you need to be. Just give them a date and time.
Titlescreen idle movie player, play some videos if the player sits on the titlescreen too long! [free plugin]

Forum statistics

Threads
104,513
Messages
1,006,848
Members
136,012
Latest member
felipemills
Top