How to add bonus content to menu after condition is met?

Hey guys! So I wanted to impliment a special feature that adds an option to the main menu of the game which would lead to lets say a bonus mission persay only if the player completes a specific task or a condition is met. Any ideas? 🙂

-JAD
Do you mean the title screen or the party menu in game? Either way will probably require a script.
The title menu screen
I've moved this thread to RGSS3 Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.
I've moved this thread to RGSS3 Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.
sorry  :headshake:

I noticed I posted in the wrong section literally right after I posted it lol
You can just report your post and ask a mod to move it if that's the case. Then we won't add the "I moved your thread" blurb 🙂
You can just report your post and ask a mod to move it if that's the case. Then we won't add the "I moved your thread" blurb 🙂
Ok thanks, I'll remember this for the future lmao. I have a feeling you've used the line on me more than anyone by this point lol!
You can use a Game System add on, then make a control flow statement on the menu. Are you using a specific menu or the default one?
You can use a Game System add on, then make a control flow statement on the menu. Are you using a specific menu or the default one?
The default menu.

And do you have any clue how to add this add on? 0.0
Yes, but I would like to ask what is this specific feature you wanted to make?
Ok so my game has multiple endings, one of the endings is the best possible ending to get. What I want to do is have it so that when the player gets this particular ending they will unlock a bonus option in the main menu. (So in addition to New Game, Continue and Quit) there will be a new option that says Bonus. This new option will then lead the player to a new little bonus level of the game as a reward persay.
module DataManager MAP_ID_FOR_BONUS_STAGE = 2 # bonus stage map start MAP_X = 10 # x coords of the bonus stage map you will be transferred in. MAP_Y = 10 # y coords of the bonus stage map you will be transferred in. class << self alias milena_create_game_objects create_game_objects #-------------------------------------------------------------------------- # * Create Game Objects #-------------------------------------------------------------------------- def create_game_objects milena_create_game_objects $game_plus = Game_NewGamePlus.new end end #-------------------------------------------------------------------------- # * Set Up New Game #-------------------------------------------------------------------------- def self.setup_new_game_plus create_game_objects $game_party.setup_starting_members $game_map.setup(MAP_ID_FOR_BONUS_STAGE) $game_player.moveto(MAP_X, MAP_Y) $game_player.refresh Graphics.frame_count = 0 end end# this is referenced by $game_plusclass Game_NewGamePlus attr_accessor :create_new_game #-------------------------------------------------------------------------- # * Object Initialization #-------------------------------------------------------------------------- def initialize @create_new_game = false endendclass Window_TitleCommand < Window_Command #-------------------------------------------------------------------------- # * Create Command List #-------------------------------------------------------------------------- def make_command_list add_command(Vocab::new_game, :new_game) add_command(Vocab::continue, :continue, continue_enabled) add_command("Bonus Stage", :new_game_plus, new_game_plus_enabled) add_command(Vocab::shutdown, :shutdown) end def new_game_plus_enabled return true if $game_plus.create_new_game return false if $game_plus.create_new_game end endclass Scene_Title < Scene_Base #-------------------------------------------------------------------------- # * Create Command Window #-------------------------------------------------------------------------- def create_command_window @command_window = Window_TitleCommand.new @command_window.set_handler🙂new_game, method🙂command_new_game)) @command_window.set_handler🙂continue, method🙂command_continue)) @command_window.set_handler🙂new_game_plus, method🙂command_plus)) @command_window.set_handler🙂shutdown, method🙂command_shutdown)) end def command_plus DataManager.setup_new_game_plus close_command_window fadeout_all $game_map.autoplay SceneManager.goto(Scene_Map) end endTo activate the new game plus:

Code:
$game_plus.create_new_game = true
module DataManager MAP_ID_FOR_BONUS_STAGE = 2 # bonus stage map start MAP_X = 10 # x coords of the bonus stage map you will be transferred in. MAP_Y = 10 # y coords of the bonus stage map you will be transferred in. class << self alias milena_create_game_objects create_game_objects #-------------------------------------------------------------------------- # * Create Game Objects #-------------------------------------------------------------------------- def create_game_objects milena_create_game_objects $game_plus = Game_NewGamePlus.new end end #-------------------------------------------------------------------------- # * Set Up New Game #-------------------------------------------------------------------------- def self.setup_new_game_plus create_game_objects $game_party.setup_starting_members $game_map.setup(MAP_ID_FOR_BONUS_STAGE) $game_player.moveto(MAP_X, MAP_Y) $game_player.refresh Graphics.frame_count = 0 end end# this is referenced by $game_plusclass Game_NewGamePlus attr_accessor :create_new_game #-------------------------------------------------------------------------- # * Object Initialization #-------------------------------------------------------------------------- def initialize @create_new_game = false endendclass Window_TitleCommand < Window_Command #-------------------------------------------------------------------------- # * Create Command List #-------------------------------------------------------------------------- def make_command_list add_command(Vocab::new_game, :new_game) add_command(Vocab::continue, :continue, continue_enabled) add_command("Bonus Stage", :new_game_plus, new_game_plus_enabled) add_command(Vocab::shutdown, :shutdown) end def new_game_plus_enabled return true if $game_plus.create_new_game return false if $game_plus.create_new_game end endclass Scene_Title < Scene_Base #-------------------------------------------------------------------------- # * Create Command Window #-------------------------------------------------------------------------- def create_command_window @command_window = Window_TitleCommand.new @command_window.set_handler🙂new_game, method🙂command_new_game)) @command_window.set_handler🙂continue, method🙂command_continue)) @command_window.set_handler🙂new_game_plus, method🙂command_plus)) @command_window.set_handler🙂shutdown, method🙂command_shutdown)) end def command_plus DataManager.setup_new_game_plus close_command_window fadeout_all $game_map.autoplay SceneManager.goto(Scene_Map) end end
Thank you!!! 🙂

Do you require some sort of credit or payment?
No, payment nor credit is not required. ^^

I learned that when I was talking with some scripter long ago as well.
No, payment nor credit is not required. ^^

I learned that when I was talking with some scripter long ago as well.
Ok 🙂 no problem and thank you again!

So do I delete the default data manager and replace it with this one? Or do I just paste this one underneath?

And how do I activate the bonus option? Is there a script call I have to do?
To activate the new game plus, do this on a script call.

$game_plus.create_new_game = trueAs for the script, place it below Materials above Main.
To activate the new game plus, do this on a script call.

$game_plus.create_new_game = trueAs for the script, place it below Materials above Main.
Anyone ever told you that you're the best? Well you are! 🙂

I insist on crediting you, what's your preferred alias? 🙂
Milena would be fine ^^
Milena would be fine ^^
Ok will do 🙂

Thanks again Milena 🙂
You know, you don't need to quote the last person who posted when you're replying to them. And if you DO quote, remove anything that's not directly relevant to your reply (like, there's definitely no need to quote that entire script Milena gave you).

Original thread: https://forums.rpgmakerweb.com/threads/how-to-add-bonus-content-to-menu-after-condition-is-met.37648/