Handling fights entirely out of the combat engine?

I've been googling and scanning the forums for my entire weekend with no luck, about to head to work so I figured I'd ask and see if anyone had any ideas.

NOTE: I understand there aren't really any plugins that will do what I want, I want to see if folks thing it's do-able before I really dive in to start tinkering with things. I know this likely isn't in scope of RPG Maker, but the other "maker" style programs feel even less capable in my opinion.

I've managed to come up with a relatively stable "d20" mechanic, and I can emulate weapon attacks with it inside of the standard RPGMaker MZ combat engine. I'm wondering if it's feasible to do the following:
  • Trigger attacks (likely as skills?) from the map scene - This is probably doable with a ton of events and variables to track actors on the map for their stats and active HP, but
I realize the biggest hurdle to cross would be the AI of such a system, but after digging around I think I might be able to come up with some basic conditionals for a standard 1v1 fight

I think what I'm after already exists as a plugin, but I've scrolled through so many I'm not sure if I imagined it or not. Having one set of menu commands and then If (combat===true) having it swap to a different set of menu commands straight on the map - is this a thing that can be done, either with scripting (preferrably) or should I stick to eventing?

Thanks for any input, if it's possible and you'd like to point me in the direction of some reading materials, I'd be eternally grateful!
There are plugins for ABS, SRPGs, and Roguelikes that all use the map scene for battles. I'm guessing you want one of those?
There are plugins for ABS, SRPGs, and Roguelikes that all use the map scene for battles. I'm guessing you want one of those?
I'm mostly wanting confirmation what I'm looking to do is possible, I guess. I'm working at coding my own plugins for things (digging through tutorials and look at how pre-existing plugins handle stuff) but I don't want to spend the next couple of months trying to do something the engine just won't/can't do, if that makes sense
What you describe just sounds like the battle system used in Chrono Trigger where when you're in enemy range, the actors get in position and select attacks directly on the map. ChronoEngine has a Chrono Trigger system clone. I don't know how well it works in MZ though as it was made for MV.
What you describe just sounds like the battle system used in Chrono Trigger where when you're in enemy range, the actors get in position and select attacks directly on the map. ChronoEngine has a Chrono Trigger system clone. I don't know how well it works in MZ though as it was made for MV.
I hate using existing systems as references, because it always makes the scope sound bigger than I intend, but I'm trying to emulate the way BG3 handles combat - you're out and about in the open world, no big deal, and then you attack a random person and it swaps to turn based mode right there on the map. When all enemies have been defeated or the party moves beyond the radius of aggression, combat ends and the turn based limitations are lifted.

EDIT: I want combat to be handled in the overworld, but turn-based, using the overworld as the battle map

I'm pretty sure I could eventually event most of what I'm thinking to do, setting combat state and alotting a movement system so that actors can only go X tiles on their turns when combat is "on". I would likely need to script a menu that can be called on the overworld that prompts available actions (available attacks/spells, move, take) for items/actors on the overworld and leave the interact key for conversations.

I would like for as much gameplay as possible to be seamless, jumping in and out of the battle scene would take away from some of that.

If I could just speak things into existence and you asked me how I wanted it to work, I would say:

  • Every character on the overworld has an "aggression" variable. Actions the player takes can increase/decrease that variable.
  • If the variable gets too high and the player is within X tiles, combat initiates, initiative order is called, and the "turn based tactical" system plays out right there on the map - move, attack, end turn.
  • If other enemies are within X tiles of the aggressive enemy, their aggression variable increases each turn and they may join the initiative order if it gets high enough.
  • If the player escapes combat or all enemies over X aggression are slain, the turn based system ends.

I think that everything I'm wanting is kind of predicated on a turn based system running in the background somehow to allow for the "drop in drop out" combat, but that brings me back to the "seamless gameplay" aspect of making the non-combat gameplay not feel staggered with turns.

I'm also pretty sure what I want would be better accomplished outside of RPG Maker MZ, but I spent the money and I'm learning JS so I'm trying to work with what I've got.
you attack a random person and it swaps to turn based mode right there on the map. When all enemies have been defeated or the party moves beyond the radius of aggression, combat ends and the turn based limitations are lifted.
You can do this in ChronoEngine by just toggling between ABS mode on the map and turning on Chrono Mode for battles. There are people here who got ChronoEngine ABS working in MZ, few use the Chrono mode so I don't know if that works in MZ or not. I guess you could also just go pure ABS mode and freeze player movement during battle and only allow scripted move routes for attacks and skills
I'm mostly wanting confirmation what I'm looking to do is possible
The answer to that is always always going to be YES

There are a few plugins that implement tactics battle system within RPG Maker. Seems like what you're trying to do is very similar minus the movement part and with infinite attack range

Original thread: https://forums.rpgmakerweb.com/threads/handling-fights-entirely-out-of-the-combat-engine.163909/