Actor Command Sub-Menu Plugin Request

Kagemaru

Veteran
Veteran
Joined
Dec 11, 2017
Messages
36
Reaction score
3
First Language
French
Primarily Uses
RMMV
I would like to request a plugin that would add a sub menu to certain commands in battle.

Let's say actor 1 can use 3 types of weapons and 5 types of magic. Each weapon has at least 10 skills and each type of magic has 15 spells. That means the actor would have 8 different skill types plus the attack, guard and skill commands. In total, that's 11 commands! Of course, we can take the easy route and just create two commands: Skills and Magic, but think about the huge number of skills that would appear on the screen! If we select the skill command, there would be at least 30 weapon skills and if we select the magic command, 75 spells! That would be waaaay too much, right? That's why I'm requesting this plugin.

In short, I want a plugin that would divide skill types into two categories: Primary skill types and secondary skill types. The primary skill types would be something like "magic" and "skills". They would appear on the same window as the attack, guard and item commands. Secondary skill types would be something like "Fire magic" or "axe skills". These commands would appear in a new window only after we selected a primary command. After we selected a secondary command, skills corresponding to the skill type would appear. If we select magic -> fire magic, then only fire spells would show up but If we choose magic -> ice magic instead, only ice spells would show up. If we choose skills -> dual gun skills, only dual gun skills would show up.

I made a quick picture to show you guys what I have in mind in case some of the things above weren't clear:


I hope someone can help me with this. Have a good day/night! :D
 

Ruiran

Veteran
Veteran
Joined
Nov 4, 2013
Messages
78
Reaction score
30
First Language
English
Primarily Uses
Here you go :
This version still needs some optimization though, there are instructions on how to get it to work in the plugin help. But I'll repeat the info, you will need to edit the plugin js file for now to add all skill types you are including, secondary commands are done through metadata tags (example in help) and you need to add a valid metadata to all skills for now to have them appear.
 

Kagemaru

Veteran
Veteran
Joined
Dec 11, 2017
Messages
36
Reaction score
3
First Language
French
Primarily Uses
RMMV
THANK YOU SO MUCH RUIRAN!!!

Alrighty, I'll edit the plugin and I'll let you know if I find something that doesn't work.

Once again, thank you very much! :D


EDIT: So far, the plugin is working fine but there's one little thing I forgot to mention: Not all skill types should have a submenu. Some actors can have only one type of weapon or one type of magic, another actor could have one type of weapon and several types of magic (or the other way around) and other actors could have several types of weapons AND magic. When I tested the plugin earlier, the plugin worked perfectly when I used my mage character but when I used my paladin, which has only one type of skill and one type of magic, an empty sub window appeared.

EDIT2: I tested the plugin again in a new project but the sub window is still there. Also, when I select a slot in the empty sub window and then choose the "attack" command, the game will freeze right after I selected a target.
 
Last edited:

Ruiran

Veteran
Veteran
Joined
Nov 4, 2013
Messages
78
Reaction score
30
First Language
English
Primarily Uses
Excuse me I did not see the edits I will be changing these things soon.

edit :
Here you go :

edit : edit : I have changed the plugin so now, only the relevant menu options appear(now magic won't appear if you have no magical skills available).
 
Last edited:

Kagemaru

Veteran
Veteran
Joined
Dec 11, 2017
Messages
36
Reaction score
3
First Language
French
Primarily Uses
RMMV
That's alright. I should've bumbed the thread earlier. Anyway, thanks for the updated plugin. I'll test it later tomorrow, as soon as I get back from work. I can't wait to try it out! :D

Edit: Nevermind what I wrote above. I have things to do after work tomorrow and I'm gonna be really busy the days after that too, so I decided that I'm gonna test it tonight. Here's the problems I found so far:

1. Compatibility problem with Yanfly's Battle Engine Core plugin. it overrides the "Start actor command" function. When Start actor command is set to "true", it's supposed to skip the Fight/Escape commands window but when your plugin is on, it's like the Start actor command function is set to false. This problem also happened with the first version of your plugin but I thought that the Battle Engine Core plugin was turned off, so I didn't mention it.

2. When I choose a primary command and then I go back and choose escape and the escape fails, the game freezes. The same thing happens with the guard command.

That's all for now.

Edit2: I edited problem #2.
 
Last edited:

Ruiran

Veteran
Veteran
Joined
Nov 4, 2013
Messages
78
Reaction score
30
First Language
English
Primarily Uses
The second issue has been fixed, it was tied to a window not being disabled when canceling selection and never causing a turn update to happen :
I can't seem to reproduce the first issue after updating, I have the Battle Engine Core plugin under my plugin if that helps. IF you still have issues, please tell me how to reproduce them so I can fix them.
 

Kagemaru

Veteran
Veteran
Joined
Dec 11, 2017
Messages
36
Reaction score
3
First Language
French
Primarily Uses
RMMV
Thanks Ruiran! The two problems are fixed now. Placing your plugin above Yanfly's did the trick! Unfortunately, I can't test my game tonight because I have to get up early tomorrow but as soon as I get back (though that might be only at the beginning of next month. :( ), I'll keep searching for more bugs.
 

Kagemaru

Veteran
Veteran
Joined
Dec 11, 2017
Messages
36
Reaction score
3
First Language
French
Primarily Uses
RMMV
I'm back! happy new year everyone! :D I hope you guys and girls had wonderful holidays.

Ruiran, I tested your plugin a bit yesterday and alot more today and I couldn't find any more bugs.

For plugin compatibility, if anyone want to know:
It works well with Yanfly's plugins (At least, with the ones I'm using), as long as you put this plugin above Yanfly's Battle Engine plugin.
Ruiran's plugin works very well with Tsukihime's Actor Battle Command plugin too.

Thanks alot for this plugin Ruiran! I'll make sure to put your name in my game's credit section. :D
 
Last edited:

Kagemaru

Veteran
Veteran
Joined
Dec 11, 2017
Messages
36
Reaction score
3
First Language
French
Primarily Uses
RMMV
I apologize for writing something after almost two months but I thought it would be better to write here instead of making a new topic for just one post.

Anyway, Ruiran, I think I found another bug in your plugin. When I choose the "skill" command with my gunner who only has gun skills, an empty subwindow appears. I had this problem a while ago and if I remember correctly, you did fix it. So it might be because of the new 1.6 update or simply something I did wrong. I'm pretty sure it's not the 2nd option though.
 

Ruiran

Veteran
Veteran
Joined
Nov 4, 2013
Messages
78
Reaction score
30
First Language
English
Primarily Uses
Can you give me a list of plugins you are using and the exact settup you have for this character ? Ill see if I can replicate it and fix it ^^
 

Kagemaru

Veteran
Veteran
Joined
Dec 11, 2017
Messages
36
Reaction score
3
First Language
French
Primarily Uses
RMMV
Oh boy.... My plugin list is pretty long. XD Can I send you a copy of my game project in a private message instead? I type pretty slowly, so it would take a while to write every plugin here.
 

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

Latest Threads

Latest Profile Posts

Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:

Forum statistics

Threads
105,854
Messages
1,017,004
Members
137,562
Latest member
tamedeathman
Top