MV Trying to make a seamless tactical combat system

I'm using the tactical battle system plug in made by

arleq1n.​

I've noticed that it was probably made for a Fire Emblem style type of game but I am trying to modify it. My goal is to make a seamless system in which the player can explore the map and tactical turn based combat can be initiated. What I noticed in this particular system is that you have to place an event with a note tag saying where the character will be in combat such as <player: 1>. So after combat the player won't remain on the tile they are on. I'm looking through the code and trying to see if I can change things around to make a "seamless," combat system where the player can encounter enemies on maps and then combat can begin and then after there is no one near them that is aggressive the combat ends.

I think my main issue is the fact that for combat to occur you must place down events. I'll probably have to write a different plugin or modify this one to make it so combat is something the can initiate and then end seamlessly. I'll have to also change enemies so they can sense player's that are nearby. If anyone has tips they'd be much appreciated. I'll update everyone as I figure this out. I know a tactical combat system is something people have struggled with in this engine. I'm looking forward to figuring this out.

To make a little more sense I am trying to make a system in which enemies can sense players and then have tactical combat begin. After all enemies in the combat are defeated the combat will end. When combat ends it will be seamless and return to normal "exploration mode." I'll have probably have to look at making an initiative system but for now I'll just have it be player's get the first turn. So for now my number one priority is first making it so combat is seamless. So when combat begins and ends the player remains on the tile they are on.

A couple things I've learned just from messing around. The trigger for the combat event must be parallel. I'm thinking I might have to change some things like I thought. I'll need to make it so enemies become "aggroed." Then the combat begins. I might be able to learn from some action rpg plug ins.
First thing you should know is that the problem with tactical battlesystems is not the engine itself (that is mostly just work for an experienced coder) but the enemy AI for controlling what the enemy does in the battle.

You can either go for a very basic AI (which usually makes the enemy dumb enough that the battles quickly cease to be a challenge ones the player learn how the AI works), or you need a very specific AI that is bound to specific enemies and maps (meaning that it can't be transferred to a different game and needs to be programmed for each unit on each game independently).

The very few existing tactical games usually went the second route because no one interested in a tactical game would play it with a boring enemy AI, and as a result even the existing battlesystems are missing the code for the enemy. Or at least I've never seen a tactical system published here that includes that part.


Second, before you decide to use a parallel process to check if combat could happen, you should define when exactly the combat should be triggered - what conditions to check for.
Depending on how complex those conditions are it might be better to let a plugin handle that, because a parallel process with too many commands and branches will cause lag that might make the game unplayable.

Original thread: https://forums.rpgmakerweb.com/threads/trying-to-make-a-seamless-tactical-combat-system.165435/