Battle Menu Commands

 

I've been messing around with Yanfly's Auto Passive Plugin and I came up with the idea to add passives in order to use the Actor or Class traits as less often as possible. This way players will always have an idea of what passive traits they have, and it allows me to add more as the character levels up.
 



 

 

This is just a start, but as you can see, the player will be able to know immediately which weapons they can and cannot equip. This particular character will actually gain access to bows and axes at a particular level. I also plan to add things such as, Evasion +10% and/or Passive Health Regen.
 

 



 

I added to every Actor both traits: Seal Passive and Add Skill Passive. 

I want the player to be able to go to the Passive menu in order to look at their skill when they wish, but I don't want them to be able to activate the skill itself (Not that it would do anything anyways).



The way I currently have it set up, they cannot use any of those skills in battle. However, the command "Passive" still shows up in battle. I just want to know if anyone knows of a way to get this command to disappear in battle, BUT remain the same in the main menu, that I just may not be thinking of? Or is it just not possible? Thanks in advance.

Passives menu.png

Passives menu in battle.png

Passives menu in battle sealed.png
This has nothing to do with game mechanics design.  I would move it to the correct forum, but you don't even state what engine it's for, or provide a link to the original script you're modifying.

Is this for Ace or MV?

And are you showing off a script/plugin in development, or are you asking for assistance?
The way I currently have it set up, they cannot use any of those skills in battle. However, the command "Passive" still shows up in battle. I just want to know if anyone knows of a way to get this command to disappear in battle, BUT remain the same in the main menu, that I just may not be thinking of? Or is it just not possible? Thanks in advance.
*Edit*: I'm assuming your using Rpg Maker MV? (as that what's listed as your primary)

**Caveat** I understand what you're trying to do, but I've only started dabbling with Javascript last week so I probably won't be much help. 

Inside rpg_windows.js, starting on line 2046 you'll find this;

Window_SkillType.prototype.makeCommandList = function() { if (this._actor) { var skillTypes = this._actor.addedSkillTypes(); skillTypes.sort(function(a, { return a - b; }); skillTypes.forEach(function(stypeId) { var name = $dataSystem.skillTypes[stypeId]; this.addCommand(name, 'skill', true, stypeId); }, this); }};I may be wrong, but I think you want to do something with this here. Don't modify any of the original Rpg Maker javascript files themselves. I'm trying to find where in the code they define the two default skills types; 'Magic', and 'Special'. If I could find those I'd have a better understanding on how to proceed. 

I imagine it's possible somehow to create a script to modify a particular skill type not to show up. Although whether it's as simple as turning a 'true', to a 'false', or more complicated I can't say.

And then of course if you want to modify any of the pre-existing '$dataX' files you need to sort of like, "import" the data manager into your script. It's not hard exactly, just a little more involved. 

Sorry I couldn't be of more help
http://forums.rpgmakerweb.com/index.php?/topic/46510-bobstahs-battle-commands-customization-v194-optional-icons-are-here/
This has nothing to do with game mechanics design.  I would move it to the correct forum, but you don't even state what engine it's for, or provide a link to the original script you're modifying.

Is this for Ace or MV?

And are you showing off a script/plugin in development, or are you asking for assistance?
Sorry I'm new to the forums entirely. I thought I had put it under MV. Lol I can't even put a picture up; let alone post properly, I suppose lol.
Omg thank you! I think this exactly what I'm looking for! I'll have to check it out in more detail later.
@Daemien, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.

If you want to reply to more than one person and want to refer directly to what they said, use the MultiQuote button, bottom right of the post and it will automatically allow you to do just that.
I'm going to guess that you were just after help with something and now can continue on your way, so I'll move this to Javascript/Plugin Support. If you actually wanted to show what you're doing as your plugin progresses, just report your post and ask for it to be moved to Plugins in Development.
@Daemien, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.

If you want to reply to more than one person and want to refer directly to what they said, use the MultiQuote button, bottom right of the post and it will automatically allow you to do just that.
Oh...ok!

Original thread: https://forums.rpgmakerweb.com/threads/battle-menu-commands.49516/