Extra in-game Menu choices.

Started by Lobstrosity, June 02, 2010, 03:25:43 am

Previous topic - Next topic

Lobstrosity

Does anyone know how to make extra options for the in-game menu? Like a bestiary, config, ect. I have seen people use this kind of thing in their projects, but to be honest I have no idea how they do it.

For example: The in-game menu starts off with your items, save, equip, ect. How can I add something to it? And is it possible to take away the save option entirely?

If a script like this already exists, please post a link, or if you can do it without a script, please post how.
(The options I want the in-game menu to have are: Inventory, Equipment, Status, Journal, Options, Extras and Quit.)

Thanks!
Don't come any closer. I'm armed... with SCIENCE!

Silentknight72

June 02, 2010, 03:59:26 am #1 Last Edit: June 02, 2010, 04:42:53 am by Silentknight72
idk on how to script but erase line 24 in Scene_Menu to disable the save
Sigs: ShowHide






Valdred

What new options do you want, and what scenes do you want them to lead to. I can make that for you.

Lobstrosity

Thanks Valdred! I hope this isn't too complicated for you, but I'll explain it as clearly as I can.
Anyway, when you press whatever the menu key is, I want a menu screen to appear like this:

(Player's Name)    (Player's Level)  (Player's HP)  (EXP needed for that player to level)                                                            (Menu)
(Player's Sprite)   (Player's Class)  (Player's MP)  (Player's ability points [ABP])                                                                      (Abilities)       
                        (Player's Status Debuff, if they have one)                                                                                              (Equipment)
(All of the above, but for player 2)                                                                                                                                 (Class)
                                                                                                                                                                              (Formation)
                                                                                                                                                                               (Journal)
(All of the above, but for player 3)                                                                                                                                 (Options)                                       
                                                                                                                                                                             (Quicksave)
                                                                                                                                                                               (Quit)
(All of the above, but for player 4)                     
                                                                                                                                                                       (Location Name)

(Time, How long you have been playing)
(Steps, How many steps you have taken)
(Gold, How much gold you have obtained)

I will give you a quick example:

Player 1               Level 5            HP - 100/100                  EXP to level - 5000                                                           MENU:
(Insert Sprite)      Warrior            MP - 50/50                      ABP - 10                                                                        Abilities     
                         (Poison Status)                                                                                                                         Equipment
Player 2               Level 6            HP - 110/110                  EXP to level - 5540                                                         Class                                                                             
(Insert Sprite)      Mage               MP - 50/50                      ABP - 10                                                                      Formation                                                                                                                       
                          (Blind status)                                                                                                                           Journal                   
For Players 3 & 4 I think you get the idea!                                                                                                              Options                                     
                                                                                                                                                                      Quicksave
                                                                                                                                                                      Quit
               
                                                                                                                                                                     LOCATION: Riyu

Time - 00 : 15
Steps - 514
Gold - 1005


Please make this if it isn't too complicated! Also, use an arrow as the cursor. (Which is only used on the options to the left: Inventory, Abilities, ect) I will also make something to show how to set out the separate pages for inventory, abilities, ect. The option 'Formation,' when confirmed, moves the cursor to your characters so you can swap them around. (eg. Have player 1 at the front, then switch so player 2 is at the front instead) For the 'Quicksave' Option, I want something to appear to the right of Time, Steps and Gold, asking you if you would like to save and quit. (Just have a yes and no option) And finally, if you choose the 'Quit' option, I want the same thing to happen as the 'Quicksave' option, but instead ask if you would like to: "Resume," "Go to Title" and "Quit the Game."

Thanks for helping out, I really hope you can pull this off!  :haha:









Don't come any closer. I'm armed... with SCIENCE!

Valdred

June 02, 2010, 11:35:47 am #4 Last Edit: June 02, 2010, 11:46:46 am by Valdred
OK working on it. Pm me if it goes a long time and you don't hear anything. I often forgot such things.


EDIT: Do you want battler or charset?

AresWarrior

don't erase anything. go to Scene_Menu and where it says like "s1 =" and all those, just add another s. so like this:

if you had 3 options in your menu, and you want to add a 4th option, then:

    s1 = $data_system.words.item
    s2 = $data_system.words.skill
    s3 = $data_system.words.equip
    s4 = 'FOURTH OPTION TEXT'

then underneath that there is a part that says "@command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6, s7])"

so if you had 4 options, then it would only go up to 4. so like this:

@command_window = Window_Command.new(160, [s1, s2, s3, s4])

then scroll down to "case @command_window.index". underneath that it displays what each option does if you press C button on it. just add a new "when #" and under that type in what scene it goes to.

Lobstrosity

June 02, 2010, 05:38:55 pm #6 Last Edit: July 05, 2010, 04:36:08 am by Lobstrosity
Okay, for the menu I went charsets not battler thanks!

EDIT: From the menu I actually want Facesets if you can get them.
Don't come any closer. I'm armed... with SCIENCE!