Divinity: Original Sin 2

Divinity: Original Sin 2

AI can use any spell (+ Incarnate tweak)
97 Comments
Sombrero  [author] 13 Jan @ 10:13am 
I wish they would consider it but I doubt they will. It's quite likely that their next game will be DoS3 at this point.
Ravnall 13 Jan @ 9:39am 
Reading your old messages here and found that you reverted Vampirism back to normal function. So it's actually working as intended. Thanks!

I hope we will get divinity 3 someday soon :)

I have already completed this game with most of my friends so playing it again with the AI feels like the next best thing. Honestly the bots play better than the average human player.
Sombrero  [author] 12 Jan @ 10:56pm 
Normally this version of the mod was fixing this issue to avoid them stealing from each other infinitely yeah I don't know why you have the problem I'm sorry. I haven't been back to the mod in forever I made this many years ago now.
Ravnall 12 Jan @ 10:42pm 
Hi, I was using the mod among 4 mods I'm currently using. This one being the last in the load order. Do you know if this mod is supposed to change Source Vampirism, the ai will sometimes steal from each other, I know the mod description says the spell was changed but it seems to function as in vanilla. The Incarnate infusion tweak is definitely present as per the description. Thanks.
Sombrero  [author] 20 Oct, 2024 @ 8:28am 
I'm very happy to read thanks for the feedback!
Lucifer69 20 Oct, 2024 @ 7:08am 
This and True Companions has been a must have ever since I found them years ago. Sometimes the AI makes some rather clever plays that I don't see in vanilla.

It's even helped me develop and entirely different line of builds to play on that (inner demon, reactive shot, and flaming tongues then teleport/ nether swap the enemy into instant death for example). It's the mod that keeps on giving.
Sombrero  [author] 29 Jul, 2023 @ 3:47am 
Yes the base AI is meant to prioritize survival almost at any cost. That's because the AI was built only/mostly for enemies and enemies very rarely have healing items, consumables or healing skills so it makes sense for them to prioritize it that much but for your team it's super weird.

My recommendation is to have one AI focusing almost exclusively on support/healing and every other AI having 0 or very few healing skills so they can do their role properly. Basically hyper specializing each AI party member is the best way to go imho.
BlyZeraz 21 Jul, 2023 @ 11:47am 
Deleted my last comment cause it was a bit inaccurate. With some more testing I found the AI was incompatible with the permanent summon mod and that was for some reason causing it to use neither incarnate nor totems. That said even with permanent summons off, having an AI play Summoner seems like a bad choice. It doesn't focus on actually summoning incarnates or totems even when able to. And incarnates will walk right through surfaces to the point of killing themselves consistently.

Some warfare skills like battlestomp and any self augment polymorph skill still will not be used but aside from those the AI mode seems able to play lots of builds just fine, including various custom classes (again excluding anything using summons) Though there are some weird habits to how it prioritizes between buffing, debuffing, healing, or attacking.
Sombrero  [author] 10 May, 2023 @ 1:59am 
It seems you are doing things right. Honestly I sort of gave up on DoS2 mods because it's so damn buggy. I'm sorry I have no idea why it won't work for you, even for myself sometimes mods are deactivated for no reason it's really obnoxious.
EXCELSIOR 9 May, 2023 @ 5:34am 
My summoner still won’t summon Incarnate, Im using True Companions & AI can use any spell (+ Incarnate tweak). I followed the steps above which is TC is above this mod by still wont summon Incarnate, I even removed all the skills and left only the summoning skills or Im dumb and didn’t understand what this mod is really suppose to do.
Sombrero  [author] 27 Mar, 2023 @ 1:08am 
The AI favours healing over damage almost everytime. I think the devs have done it that way because they very rarely give healing spells to enemies so when they do they want them to prioritize them to actually use them.

As a result the AI of this mod, since it uses the same base AI, tends to always heal as a priority.

My recommendation is to put all the healing on the same character that specializes in healing/support while the rest of the team deals damage otherwise you end up with scenarios where all of your AI companions just heal and never attack.
Nazeth 24 Mar, 2023 @ 1:54pm 
I noticed, that in combination with true companion my character don't really want to use bull horns as STR melee character focused around warfare. They also prefer to use mosquito swarm even if my character is at full strength and much powerfull skills are ready to use.
Malachorian 23 Jan, 2023 @ 12:44pm 
@Sombrero, thx for answer. But i checked it's not issue of your mod, but Summoning Tweaks'. Sorry to bother.
Sombrero  [author] 23 Jan, 2023 @ 6:47am 
That's because both mods alter the same files, they are not meant to be compatible. Don't use both at the same time.
Malachorian 22 Jan, 2023 @ 10:26am 
@Sombrero, hello. I have issues with your mod and i dont know how to fix it. When i use mod named Summoning Tweaks (another mod) with your mod i cannot use "Copy infusions" from my incarnate to "Apply infusions". This tweak helps create incarnate with all stored infusions to save time.
Sombrero  [author] 11 Jan, 2023 @ 6:54am 
I'm not entirely sure, it might it's worth trying but since I'm using the charmed state it depends on whether the charmed allies also scale in "AI" with difficulty which is not a given.
alteredHero 11 Jan, 2023 @ 6:40am 
fair enough, i did notice they are using source spells and health potions its just rather rare when they do. the AI doesn't appear to be intelligent. I wonder if that would change depending on the difficulty since the AI gets a buff as well.
Sombrero  [author] 10 Jan, 2023 @ 12:40am 
Nothing has changed on the mod and it re-uses the in-game charm effect so I can't really tweak anything I'm afraid.

It would require tweaking the base AI that is used for the charm state and I don't have the skillset or time to do that in all honesty sorry.
alteredHero 9 Jan, 2023 @ 3:05pm 
i don't know if you still have support for this, but I have run into an issue where it appears that my AIs will not use their source spells, nor use potions or resurrection scrolls. i figure the scrolls is because they can't see that an ally is able to be revived and therefore do not recognize it. the other stuff is what perplexes me.
Qes 29 Oct, 2021 @ 10:03am 
Ah, that makes sense. And yes it's a mod summon.
I figured it flagged things oddly - but, as that hasnt been updated and yours was, I shot it here on the off chance It was something fixable.

No worries, thanks for the prompt reply!
Sombrero  [author] 29 Oct, 2021 @ 8:23am 
Are you talking about mod summons here ?

If that's the case it's probably how the skills in the mods have been flagged I can't do anything about that honestly.
Also I don't control anything about how the AI works I just transform existing units into AI controlled characters basically.
Qes 29 Oct, 2021 @ 8:06am 
There seems to be an issue with my Summons using debuffs as buffs on allies.
They seem to think they're helping.
(At least for the Consellationist's "Ophiuchus The Dark Serpent Bearer" using its life drain and terror vision abilities on allies)
Sombrero  [author] 22 Jun, 2021 @ 4:50am 
You don't buy them they are special crafts. Combine any summoning skill book with any element skill book (of the element you want obviously), both books have to be for non source spells.

And then boom you get a combined skillbook. Combined skillbooks with summoning are pretty much all infusions of their respective element.
SEVNCE 22 Jun, 2021 @ 4:39am 
Where do I buy the Element infusions?
chimpoforevah 26 Jul, 2020 @ 11:54pm 
DeMOIX reported below that the AI doesn't use Battle Stomp... well in my game with this mod, the AI does, in fact, use Battle Stomp on Classic difficulty. Great mod, works wonders for summoning incarnates.
BarbieGirl 16 Dec, 2019 @ 3:52pm 
@Sombrero thanks for replying!
Sombrero  [author] 16 Dec, 2019 @ 4:48am 
I don't have the game installed at the moment. I can look into it in the future but I had to make changes to the incarnate or no AI could use it again which was problematic.
BarbieGirl 15 Dec, 2019 @ 7:03am 
@Sombrero I don't suppose you could do another version that doesn't change how the incarnates work could you?
BarbieGirl 2 Nov, 2019 @ 12:30pm 
I see I am playing Classic. I didn't know there were two different flavors of the AI. So I suppose I will just play without this for this playthrough.
DeMOiX 2 Nov, 2019 @ 9:48am 
@爱我就爆爆我 I'm not sure what do you mean by changing the way but if you ask if AI companions can summon avatars (incarnates) without this mod then the answer is no. By default AI to summon incarnates is disabled by developers for some reason and only way to make it is to enable this mod.

Regarding the difficulty - the game cannot become more and more difficult, you either choose difficulty in settings or before you start new game which is story, easy, normal and tactician modes.

Story, easy and normal game difficulty use normal A.I. level
Tactician game difficulty use smart A.I. level.

So for the best results and the showcase play on tactician difficulty. Also beware, either you companions AI and enemy AI use the same brains so both enemies and your companions will be smart in tactician difficulty
Chen 2 Nov, 2019 @ 7:08am 
Hello! What I want to ask is, can AI summon avatars without changing the way? And when the game becomes more and more difficult, will AI mod become smarter in using skills?
DeMOiX 2 Nov, 2019 @ 4:43am 
@BarbieGirl And if you currently playing on Tactician Mode and your companions AI not using all skills what you are expecting that means because of the smart AI, AI calculate the best damage output to the enemy not in single turn but for several rounds ahead and plans and predicts enemy moves as well, sometimes they go defensive and vice versa and because of that simply some skills are useless in specific combat situation and AI won't use it because there are better choices to do something.

But I have found 1 bug regarding this mod which AI doesn't use specific skill no more is Battle Stomp. Without this mod AI use it, would be great if @Sombrero can look into it!
DeMOiX 2 Nov, 2019 @ 4:43am 
@BarbieGirl In my observations AI use most of their learned skills. If some of them are not being used that means either you play on easy difficulty (Try to play Tactician Mode difficulty and if you don't like enemy buff's you can also apply this mod on top of that https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1766699891 ). Difficulty of the game applies either to enemy AI and your companions AI on the same level. Only Tactician Mode has Smart A.I. that means if you play on any other difficulty level you companions won't use the best possible combo's of the current spells and skills.
BarbieGirl 1 Nov, 2019 @ 7:36am 
Once I added this mod the companions that are AI controlled stopped using most of their spells and only cast very few. None of them seem to use any of their damaging spells. They only use bless and a few others. I'm going to remove it in my next session and replay the same battle and see if there is any difference.
Hutsh 1 Nov, 2019 @ 12:19am 
got an issue : bloated corpse never use explode abilities, any idea please ?
DeMOiX 12 Oct, 2019 @ 10:21am 
爱我就爆爆我, I have never noticed this. If tactical the skill is useful in the specific situation, AI will use it regardless how many skill it does have
Chen 12 Oct, 2019 @ 4:07am 
@DeMOiX Hello, I would like to ask, is it sometimes too many skills, will lead to MOD can not use all the skills?
DeMOiX 11 Oct, 2019 @ 10:39am 
FYI, AI able to use polymorph skills, for example, battle against Alexander, his troops using spread wings. Also, I noticed that battle stomp skill never has being used, neither companions neither enemy using it. But without mod I see enemy AI using it
Sombrero  [author] 11 Oct, 2019 @ 10:08am 
I think the issue with polymorph skills is that the AI isn't programmed at all to use them whatsoever. But I'm not entirely sure about the explanation.
Chen 8 Oct, 2019 @ 9:43am 
@ DeMOiX ,thank you !
DeMOiX 8 Oct, 2019 @ 4:06am 
Sombrero, did you notice ever of AI (your companions specifically) using polymorph skills? I.e. spread wings, spider legs, etc.? I never see my companions using for example bull horns even if I give the only this skill to my companion. It's because of bug with the game engine itself? (Sorry if it was asked before)
DeMOiX 8 Oct, 2019 @ 2:41am 
Chen 7 Oct, 2019 @ 8:50am 
Thank you very much for mod. I've used other writers'models before. Your mod and AI control can basically use all spells! I like it very much! Looking forward to updating, thank you! (Hopefully AI can also control summoning creatures)
Sombrero  [author] 4 Oct, 2019 @ 1:32pm 
It's really weird that they are no longer controlled by the AI. I'll try to check but normally the flag is raised and goes beyond death or any other status, meaning that it should still be active when brought back to life. But maybe a recent update broke my mod or something, that sadly could be possible.

As for the list I don't have it right now there's not that many spells to be honest something like 8 or 9 maybe. Most of them are crafted spells that have slightly unique effects.
BarbieGirl 4 Oct, 2019 @ 9:53am 
I've read through this list and was wondering when companions are controlled by the AI which spells won't they use if I don't have this mod? I want to add this mod but I don't like the part that removes the incarnates getting elements from what they are standing on when called. I'm just not sure which spells they won't use. Also with your other mod I keep running into the situation where if someone is killed during battle and brought back they no longer are controlled by the AI during that battle.
ℕ𝕀𝕋 27 Sep, 2019 @ 9:01am 
I understand, don't worry about it. Just wanted to let you know.
Let all four of 'em be controlled by True Companion today, and during the battle with Black Ring on Bloodmoon island they ran into situation when all enemies lied dead but inner hostility between teammates didnt drop. So they kept fighting each other, broke one Idol of Rebirth (out of two they have) and killed Beast twice. Upon his second death, they finally quit their quarrel, huh. It was somewhat entertaining to watch.
Sombrero  [author] 27 Sep, 2019 @ 8:41am 
I had no idea about the charm interaction though I'm not surprised now that you mention it because the only way (as far as I'm aware) to make the companions AI controlled is by using a charm effect so having a double charm situation could create some weird allegiance situation unfortunately.
For source vampirism the problem comes from how the AI works, it is most likely possible to make a script to re-write the AI regarding source vampirism but it's beyond my skills and honestly I'm tired of the glitchy editor. All the great modders out there just use the text files directly to make mods instead of the editor and I'm not comfortable enough to do that so I go the tedious way and it takes forever for little result. Sadly.
ℕ𝕀𝕋 26 Sep, 2019 @ 4:50am 
Hello there, great mod, very much appreciated. I walked past half the game with it, many hours, many encounters on the way. Sure, the AI is aggravating in its manner to always prioritize potions and buffs over doing harm onto enemies, but it is manageable.
So far I experienced these bumps on the road:
1) If there is only one enemy present/left, and I charm it, then one of my own companions becomes hostile, or I myself is targeted by my companions. Everything reverts back to normal the moment said enemy dies, or the moment its charm spell vanishes.
2) Source Vampirism is casually used on each other by my companions. Sometimes they use it on enemies, but way less often. Depleted, they turn to the closest teammate instead of an enemy.
Devour My Ass 20 Jun, 2019 @ 6:46pm 
What about Blood and Oil. You can't use a skill to get them.
Leweivicil 20 Jun, 2019 @ 2:56am 
Yeah sure no worries. Its because they are low in health with no potions or heals available, they dont seem to use it and they die off.