KI for Actors - is it possible?

Hello guys


I want to make a game, where you can recruit monsters after the battle, so they join the party.


However, while they are actors of the hero party, they can not be controlled during fight and act like they usually would. (Compare with Tales of Symphonia 2 Monster System)


Is there any way to restrict battle controll for certain party members? I head of something called "auto-battlers" but I can't find something in the master plugin list.


Regards,


Goldschuss
In the database:


tab actor, select an actor, edit traits, tab other in traits, select auto battle.


not sure how the auto battle AI behaves though.
Keep in mind that the autobattle trait will evaluate damage formulas of the skills the actor has learned in order to rate their power. If you use the damage formula for anything else but calculating damage this might cause unwanted side effects.


Apart from that, the "Auto Battle" trait should be the easiest solution here.


The default AI is quite basic and will rate skills solely by the damage/healing it will presumably do in relation to the targets HP.


In case you wish to change how the AI behaves, you would need to change the scoring function with a plugin.


You can find this function in the file rpg_objects.js, line 1523-1589 (or alternatively line 1555-1565 if you only want to change the score for a single skill/target combination hit). You can copy it into a new plugin and modify it as you desire.


If you are not firm with writing plugins you can always ask for help of course, but it is probably difficult to suggest how to the different factors of a skill should be rated in your game specificly.
Thank you, this has helped a lot.


It's alright, thanks to a lot of other plug-Ins (cooldowns, limited uses etc..) the npc will not be able to spam the same skills all the time.


However, some sort of improved KI must be possible, I know there's the Battle Ai Core by Yanfly, which modifies only enemies though.
If the enemy-KI is modifiable, then the one for actors must be as well.

Original thread: https://forums.rpgmakerweb.com/threads/ki-for-actors-is-it-possible.60803/