Adding a layer to the In-Game menu

I'm trying to learn Ruby. I've got some basics down. To add something to the in-game menu, I would go in the Window_MenuCommand script and there is a section for adding more layers. 

#-------------------------------------------------------------------------- # * For Adding Original Commands #-------------------------------------------------------------------------- def add_original_commands endWhere would I add something? I want to add a skill window, that shows all skills of every player, and shows their levelage. Not in the Character stuff. 

I did see this in the script.

#-------------------------------------------------------------------------- # * Create Command List #-------------------------------------------------------------------------- def make_command_list add_main_commands add_formation_command add_original_commands add_save_command add_game_end_command add_skills_command endI added the skills part. Where would I script the function of the skills? I'm putting this here, because it's specifically RMVXA, I think. I'm pretty sure the different versions have different scripts. I'm not asking someone to write the script, I'm asking on where would I add stuff/how? Not do it, but show me that I have to do this to get started. Sorry if this is in the wrong forum/confusing.
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
After adding the 'add_skills_command' you might want to put this code below 'make_command_list'

def add_skills_command  add_command("Whatever text you want", :skills)endThen, in the Scene_Menu find the 'create_command_window', and at the end add

@command_window.set_handler🙂skills, method🙂command_skills))And then define your method

Code:
def command_skills  # This code will happen when you click on the "Whatever text you want" optionend
@KockaAdmiralac_FINALLY, I tried that, but the define function, I can most-likely figure out how to do it, from the original skills function, but, if I tweak the original Skills window, can I do what I want to do? Show the leveage of skills? I also want to add a book icon, I could just do that by inserting a .png right?

.png insertion

#-------------------------------------------------------------------------- # * Get Window Width #-------------------------------------------------------------------------- def window_width Graphics.width - 160 end #-------------------------------------------------------------------------- # * Get Window Height #-------------------------------------------------------------------------- def window_height Graphics.height endWould I just replace these with a .png? Which folder in Graphics would I put it in?

Or, would I make the book, a background?

#-------------------------------------------------------------------------- # * Draw Background for Item #-------------------------------------------------------------------------- def draw_item_background(index) if index == @pending_index contents.fill_rect(item_rect(index), pending_color) end endReplace something in here with the png?

All I know is that, my friend wants the skills part to resemble WoW or RuneScape.

Side note: To show the levelage of skills, would I just show a variable of a certain skill? Like a certain text, and then (---/500)?

Just up a variable for each skill, and a common event, when a Variable is upped, to show the player that the skill has leveled up.

Sorry for bouncing around, it's all related to the skills.

EDIT: Here is the book image that I'm talking about, if that helps. 

I'm going to re-size it for the game later.

Spoiler
books_texture3028.jpg
No part of the code provided above has nothing to do with what are you trying to achieve.

I'm not sure what you ment by "levelage", but here is what to do with .png

Put the .png in the Pictures folder

At the end of the start method add the code

@background_sprite.bitmap = Cache.picture("Book") # <=== Edit this, but DON'T ADD THE .png AT THE END OF FILENAME!@help_window.opacity = 0@command_window.opacity = 0@status_window.opacity = 0@item_window.opacity = 0@background_sprite.color.set(0, 0, 0, 0)That should work
I tried that, and messaged you that the opacity in the second line of your code is causing a script error. Second of all, could I show the levelage in there? My friend defined exactly what he wants. He wants a style of the skill trees in WoW or Skyrim. Not 3D, just something like that, and then all the skills unlocked, with the Level number, and experience number. Then when you click on it, you see the description. How would I do this? This is turning into a script request, but not really, since I want to learn how to do it.
Well, for the opacity... is the error something about nil:nilClass?

If so, try to comment out the error line. You comment out things by adding # at the line beginning

If the line below is causing the problem, consider sending the whole start method

And, for the levelage...

I still don't understand do you want just a small edit to the skills scene so it shows the depth of the current skill in the tree, or you want to show the whole tree, with all skills, and also being selectable?

If you want the whole tree, then I think there are scripts that do that.

I think the best would be to show us with picture, if you can.
I was soing two things, first of all, I commented the help opacity and item opacity, and it worked. So that problem is solved. The other problem is with the Skill Tree, Whole tree.

In the words of my friend, "Ok, so either at the top or bottom, will be tabs, that has the name of each skill."

"When they click on one of the tabs, it will show up a window like that link you sent me."

"But there will be a difference in each one. "

"So like, One-handed weapons, it will be split between dual-weilder and warrior. So, duel weilder will give perks for having two weapons in the hand, and warrior will give perks for having a weapon and a shield equiped."

"But in the middle, there will be a list of perks that doesn't involve either one, so like "Increases attacks dealt with a sword by 10%" or something like that"

"There will be things like that for almost each skill."

"Like, some will have just two columns, and some will have 3, maybe 4(Most likely will be the Magic Skill)"

"And, the Perks will take effect once the player has purchased the perk. And the way they do that, is after each skill levels up by 1(after reaching lvl 5 in the skill), they gain 1 Perk Point. The further down the skill tree, the more points it will cost."

"This way, it makes the player be capable of choosing what they want to be, but also, only allowing them to do certain things that they choose from the skill tree."

"At the bottom tho, but above the tabs, will display the description of the skill tree, and the amount of Perk Points(Which, will be able to be used from every skill tree)"

"At the top of the thing, will display the description of the perk, and the perk cost."

That's all, I believe, if he says more, I'll update this.

 

 

 

 

 

 

 

 

 

 
http://forums.rpgmakerweb.com/index.php?/topic/25423-lune-unlimited-skill-tree/

I know that it may not fit in the description, but I think this is the nearest that you might have been looking for.

And if you really need it to fit in the description, I think you should make a request...
Thank you so much! I'm SO going to use that! My friend is picky and is making a completely custom game, so scripts are out of the question, but you've helped me a lot!
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/adding-a-layer-to-the-in-game-menu.43845/