Pillars of Eternity II: Deadfire

Pillars of Eternity II: Deadfire

View Stats:
AI Behaviors for Beginners
AI behaviorsare pretty difficult especially when youre just starting and trying to figure out the abilities by themselves. So, to start open the behavior window. Each character will have 1 if single class or 2 if multiclass behaviors listed. Hit the "X" next to them so both slots are empty. Now go to the bottom and set each character on agressive.

This is a good starting point. Your characters will attack with whatever they are holding and NOT use any special abilities. Feel free to use you abilities during combat and the characters will immediately resume attacking when the ability lauches.

Next once youre happy with the above its time to do some AI behavior for buffs. Buffs in rpg games are boring, you click a bunch of stuff before even starting to really fight so lets let the AI handle that.

Fo Eder open the Behaviors tab by clicking on it and make a custom behavior by clicking on the "+". For this example assume he is some part fighter and has discipline strike. On the right side of the screen there will be a tab with "always true" leave it alone and hit the tab next to it and select disciplined strike. Almost done, above this tab is a small box with timer in it set it to 15 or 18 (the duration of discipline strike). Save and now select you custom behavior in the drop down on the first page.

Now when combat starts Eder will activate discipline strike and then start auto attacking with his equipped weapons. The timer is important or Eder will just spam the ability until he runs out of resources.

You can do this with each team members buffs that you use for 90% of combats. Quick strike for monks, bless for priests ect.
< >
Showing 1-4 of 4 comments
Sombrero May 21, 2018 @ 11:53am 
You can do a far better script by leaving no time and set a no condition with the inspiration in question (Which is inspired if my memory is correct).

That way no matter his modified duration he will apply the buff only when needed and not waste resource.
Beer Squirrel May 21, 2018 @ 12:37pm 
"Discplined Strikes/Barrage" is a Instant Cast with No Recovery time. Because of this I prefer to use the setup of:

Conditional:

Enemies in Melee Range > 0 ---> Disciplined Barrage (16s CD) ---> Target Priotity (Self)

This way Eder won't use the buff until hes actually in melee range and ready to start attacking things so the duration isn't wasted at all.



XOTI PRIEST BUFF-BOT


Conditionals:

Enemies in Melee Range > 0 || Buff #1 || Self or Ally || Target Priority (Greatest # of Allies)
and (+)
Allies in Melee Range > 0 || Buff #2

Set the cooldown of the action set to the duration of the longest buff and Xoti will play buffbot at the start of every engagement, will always buff at least herself and one ally, and won't do so until targets are in fighting range so there's no wasted duration!
The same setup can be used for her healing spells also. I prefer to leave my Xoti's healing Action Sets on the top of the Queue so theyre given priority
Last edited by Beer Squirrel; May 21, 2018 @ 12:42pm
Do what sombrero said
Always true
Has perception inspiration (tick box)

Self

So that if he doesn't have an inspiration to add to his perception (accuracy), he'll activate it

Only thing I'd like is a condition to wait a few seconds before combat, as I have xoti auto cast the accuracy buff at start of combat
Sombrero May 22, 2018 @ 1:11am 
Theres so many conditions missing. For your Xoti problem you can add a condityion of enemy being at 90 or even 75% of health so she won't be able to cast it right away. Or to be in melee range if she happens to be melee.

Conditions that are missing are also immune to each type of damage, lower defense is [insert damage type], target is casting a spell, target is attacking.

The list can go on and on. There's so many spells that can't be used in AI properly because the best condition by default is "Always true" and that's just dumb.
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: May 21, 2018 @ 9:56am
Posts: 4