Skip to content

Simple but useful AI scripts

RayCatRayCat Member Posts: 21
edited May 27 in BGII:EE Mods
I grew up with BG, I am used to playing with custom default AI.
So these scripts could be called custom default 2.0
https://github.com/arosenow/SimpleBG_AI

In 2024 I figured I'd love if my team would act smart(er),
- Attack those very close in melee, use a bow if they're kiting, or that's your preferred weapon
- don't use spells unless I tell them to
- always using skills outside combat and occasionally during.
- never break stealth

My main addition with the AI is if you assign them to the whole team they'll attack those either very close or in bow range and they'll call for help, with those who are skilled responding. This means archers will at last advance ranks to shoot at enemies, not just idling by in the background. Plus if you gave them a bow they'll shoot back as long as nobody approaches them.

Possible annoyances: To make archers automatically advance, but not all the way to the enemy, the script has to be directly told to attack whilst they're walking, even if they have an active action, they may take a shot at an enemy rather than walk where you told them to if someone calls for help and you commanded them to walk after they detected it. I tried to reduce this by breaking their help AI if they're casting a spell or were told to stop walking etc, sadly I don't know a way to distinguish if they are walking because you told them to, or the AI did

Post edited by RayCat on

Comments

Sign In or Register to comment.