I would like to know if there is any pluggin that allows me to add a new option in the first battle menu. In this case it would be to add an option of spells that are not related to the characters of the party
MV Help with pluggin to add a new option
Javascript/Plugin SupportFrom that brief description, it sounds like it could potentially be a lot of work.
Where are these spells coming from? RPG Maker's engine is constructed around spells being learned by actors. If they're not related to the actors in the party, how are they listed?
Do they have costs (MP/TP) to being used? You would need to code a new window to show that.
If it's just, say, executing a common event, it wouldn't be as complicated to take a plugin that adds battle commands for events and change which window they're printed on. But then you'd need to make sure your event has code at the end to start the battle round and go to the appropriate scene.
More specific details are needed to give you useful advice.
Where are these spells coming from? RPG Maker's engine is constructed around spells being learned by actors. If they're not related to the actors in the party, how are they listed?
Do they have costs (MP/TP) to being used? You would need to code a new window to show that.
If it's just, say, executing a common event, it wouldn't be as complicated to take a plugin that adds battle commands for events and change which window they're printed on. But then you'd need to make sure your event has code at the end to start the battle round and go to the appropriate scene.
More specific details are needed to give you useful advice.
mmm
Use spells already made from the database. These have no cost of any kind and have the classic damage formulas... or even if you can put CDs on them
Okay, so again, that's not as simple as just listing an item in a window, it's going to take code modifications.
The engine is designed around skills functioning inside of the turn structure of battle and with certain points of reference. "the classic damage formula" references stats from the attacking actor (
a ) and you're asking to activate it from a screen where there is no selected actor.It's not impossible, but I suggest it would be much easier to have them selected normally instead. You can make these skills their own skill type so they're in a separate category in the actor's battle commands, and you can use a plugin like Yanfly's Instant Cast to make it not take up the actor's turn (along with Yanfly's Skill Cooldowns so you can't do more than one per round).
That sounds great, and I can imagine it.Thank you very much
Original thread: https://forums.rpgmakerweb.com/threads/help-with-pluggin-to-add-a-new-option.156593/