Adding custom commands to skill menu

tiffycat13

Villager
Member
Joined
Mar 14, 2016
Messages
19
Reaction score
0
First Language
english
Primarily Uses
Im using Yanfly's Skill Menu and Class system scripts. Since im only using the sub class aspect of the class system I thought it would make more sense to have under the skill menu. Im not a scripter but I can understand some basics. I tried to add how tp mode was added it but I wont show up. Can anyone help me out with this


.2016-05-06.png2016-05-06 (1).png
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
823
First Language
Hungarian
Primarily Uses
RMVXA
In the Skill Menu script, add :class in the COMMANDS settings.


When you added that there, you must add this line in the CUSTOM_SKILL_COMMANDS settings:


:class => ["Class", 0, 0, :call_class_scene],


Adjust the settings of the command button how you want in the array, just don't change the :class key and :call_class_scene setting.


And finally, you must insert this little method in the same script, into the Scene_Class class (found at the bottom of the script):


def call_class_scene
SceneManager.call(Scene_Class)
end


This will add a command button on the skill menu which will take you to the class menu when selected. 


If you want the class list to show up directly in the skill menu and want to select the classes from there, that requires more coding work.
 

tiffycat13

Villager
Member
Joined
Mar 14, 2016
Messages
19
Reaction score
0
First Language
english
Primarily Uses
Thanks!! the command shows up and works. It just shows the list of special or magic skills list, I tried to adjust somethings under the Class System but just crashed my game.


Is it as simple as changing the word personal to skill(which I tried) or is it something super complicated. 


2016-05-07.png2016-05-07 (1).png
 

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,549
Members
137,837
Latest member
Dabi
Top