Divinity: Original Sin 2

Divinity: Original Sin 2

Party AI Control
32 Comments
DeMOiX 27 Nov, 2024 @ 2:50am 
@Fenekku Kitsune this mod has nothing to do with AI behaviors. It just sets AI on party members as it how it is. However, this mod allows you to set a certain archetype for each companion. That means you can modify AI archetypes but it requires modding understanding and how AI values work in general. I have modified AI for much better behaviour for each archetype that makes much more sense and is way much more aggressive and not forgiving. Because Larian did not make AI super good on purpose, to prevent 8 year olds from crying when they can't complete Chapter1. I never released it to the public but shared my work with Divinity Farandole mod author, who probably has incorporated new AI behaviour into his mod. You may want to check it out.
Fenekku Kitsune 26 Nov, 2024 @ 4:16am 
Oh also the AI has weird priorities. Had Red Prince use Fortify on Sebille, who was not only completely untouched, but also the only party member NOT on fire.
Fenekku Kitsune 26 Nov, 2024 @ 3:36am 
The AI doesn't seem to care about relationships. Just got into a fight in Fort Joy, and Fane - instead of attacking the only hostile - instead walked over and attacked one of the nearby merchants, immediately making them and a lot of the camp hostile.
Obim Sol 18 Sep, 2024 @ 11:35am 
No option to enable AI when right clicking a character. Have both required mods.
Winter 17 Jun, 2024 @ 2:04pm 
same
shardinhand 14 Nov, 2023 @ 10:15pm 
great idea! but its not showing in any menues i know to cheak i have both needed mods in but idk what to do
Dangel Deviliono 14 Sep, 2023 @ 12:42am 
Oh yeah, I can do it on player by right-click to enable AI
but using a controller and press X not showing any option beside Ping
DeMOiX 11 Sep, 2023 @ 5:20am 
@ngovandang1997 yes, every character of your choice
Dangel Deviliono 11 Sep, 2023 @ 4:38am 
Is it able to make even player become AI in battle?
DeMOiX 1 Sep, 2023 @ 5:14am 
I want to ask what AI archetype is set on companions? Full list: https://docs.larian.game/CombatAi_Archetypes_And_Modifiers and maybe you could update the mod by allowing to set AI different archetypes for each companion character? There are similar Party AI mods but all of them do the same, I have tested them all and from my experience party companions are set as *base* archetype, which isn't really good. For example, if you develop one of your companions as a ranger and get all ranger skills he/she won't act like a ranger type, instead he just uses all skills but without the advantage of some skills. For example enemy ranger AI uses tactical moves such as using tactical retreat skill and jumping on hill and using height opportunity for more damage output, while your companion AI doesn't do such things because I presume it is set as *base* archetype which is basic with no additional strategies. Would you be able to implant what archetypes to give to each companion?
Living rat like baked bread 20 Aug, 2023 @ 2:49am 
Fane cast Ignition when he standing on a poison pool with out fail will always make me chuckle. :FFIX_Bomb:
Boodussy 19 Aug, 2023 @ 5:55pm 
beast was doing some wild stuff with this installed. He was attacking lohse for no reason and shooting the ground with the pistols from weapons expansion instead of the enemy. Dunno, maybe my load order?
BloodTwin 8 Aug, 2023 @ 9:35pm 
friend please make one for baldur 3 i beg you
Jebus, Son Of Gode 8 Aug, 2023 @ 12:12am 
Great for relaxed play through, couple things I've noticed so far that could use some tuning.
-AI does not use any consumables at all. I've got plenty of potions and such but they've never used any.
-Cannot use res scrolls, probably not able to fix this? AI probably wouldn't KNOW how to properly use these anyways unless instructed.
-I've seen some VERY dumb plays and then I've seen the complete opposite a turn later. Maybe just them getting priorities
-The AI does not care if there is fire on the ground and will walk right through it, HP be damned.
sass 5 Aug, 2023 @ 12:44am 
Huh, this is cool.
I've never done a solo 4 party member playthrough before because I don't want to have to juggle four different characters in combat. I've always wanted AI control, even if they're really dumb.

Actually, especially if they're really dumb. I've seen the AI make some decisions before that I can only describe as galaxy brained.
BlyZeraz 21 Jul, 2023 @ 11:31am 
Not sure why there is a difference, but with what I've tested the AI for this is significantly worse than when using similar purpose mods like True Companions which seems like the best. This has a benefit of being able to set your own character on auto as well if you wanted to try your hand at making a full AI team able to win though.
Epyon (AnimeToxic) 19 Jul, 2023 @ 12:24pm 
is this for gm de :)?
mAhla 6 Jul, 2023 @ 7:02am 
For some reason my red prince will not drink healing potion when he has like 5hp left. Can I do something to fix it?
Mrvecz 2 Jul, 2023 @ 5:06am 
Is it possible for the AI to stop wasting action points on bless ? Pretty much the moment you unlock Bless, the AI will use it and waste souce points and action points in situations where they should be spending AP for attacking.
Vuyfield 28 Jun, 2023 @ 8:38am 
Very nice mod!!!!!!!!!
Joseph Belmont 28 Jun, 2023 @ 8:36am 
Great addition!
HellxCatx 28 Jun, 2023 @ 8:35am 
Finally, thank you!
蓬莱冰棒玉枝 9 Jun, 2023 @ 7:21pm 
It has been fixed.Thanks.
已修复
蓬莱冰棒玉枝 3 Jun, 2023 @ 8:41am 
nice mod . thanks.
蓬莱冰棒玉枝 3 Jun, 2023 @ 8:40am 
When the "AI control" of a character is opened, he cannot interact with backpack items normally(For example, learning skills, eating human flesh, etc.). Of course, "AI control" can be temporarily closed when you need to interact with backpack items

--The above is from Google Translation


当一个人物的“AI控制”开启时,他不能正常的与背包物品交互(例如学习技能,吃人肉等),当然,可以在需要与背包物品交互时暂时关闭“AI控制”
RzR⁧⁧Telhalm 14 May, 2023 @ 10:46am 
@EXCELSIOR How do you mean "offline"?

As for the Resurrection Scroll that's probably another issue of "CanNotUse" but more-so because it's selecting the target, then selecting the location to revive. Which wouldn't really work with AI unless you did some massive bigbrain moves. [I'm not too versed in the ways of coding so someone with actual knowledge would be better equipped to answer]
EXCELSIOR 14 May, 2023 @ 4:42am 
@RzRTelhalm

Also, you can't use this mod while starting the game offline because then you can't enable/disable the AI's. Another thing is AI doesn't seem to use Resurrection Scroll or I'm doing something wrong?
sneaky|vodka 12 May, 2023 @ 1:31pm 
This is probably a very wrong place to ask this, but I'm just cheating for the sake of visibility - does anyone know how to fix the issue where the context menu from right click is shifted down and to the right when using scaled UI (the change in the config file to make all UI smaller), here is an example of this issue: https://i.imgur.com/IPX1c6P.jpeg
RzR⁧⁧Telhalm 9 May, 2023 @ 3:31pm 
@EXCELSIOR Preference.
And I just did a test but it doesn't seem like the AI will summon the incarnate *at all*. They will spam totem though.
I even unmemorised Totem and they still didn't use it. Might be the "CanNotUse" flag that LL was talking about before.

"I didn't include anything like overwriting skills to alter the AIFlags, so they'll probably be ignored, as that otherwise could create some possible issues with what skills should or should not be used by the AI.

For instance, Sucker Punch has the CanNotUse flag, which seems odd, since it's just damage and a knock down. It probably has that in case it gets automatically added to NPCs that have a single melee "weapon" equipped, even though they don't have the skill_attack_offhand_01_cast animation."

But if I recall correctly there's some issues when it comes to AI trying to summon the incarnate. I'll post that here if I can find the conversation about it again.
EXCELSIOR 9 May, 2023 @ 5:27am 
Is this better than Dominance DE or True Companions? Will this mod let Summoners Summon Incarnate?
RzR⁧⁧Telhalm 7 May, 2023 @ 10:36pm 
"though I don't think I've seen one that uses the UI directly. This one also does some shenanigans to try and prevent consumable spam."
Quoted from LaughingLeader via Discord.

Unsure about the AI using "any spell" though.
Z405 7 May, 2023 @ 8:26pm 
In what way is this mod different from "True Companions" combined with another mod called "AI can use any spell (+ Incarnate tweak)" ?