Companions and Potions

I am wondering what base AI setting(s) I need to select in order for companions to use healing potions when they have them in their inventory. They will use healink kits, but for some reason they are not using healing potions. Please let me know if I am shooting for the moon, or just missing something stupid. Thanx.

Have you installed TonyK’s AI for NWN2? If not, start with this https://neverwintervault.org/project/nwn2/script/companion-and-monster-ai-29 then under each character screen option there are the settings which you can select and assign each character to use healing and items + other useful stuff. Might be obvious but if they use healing kits they should use potions by default anyway, so you might want to double check if they have one in the inventory!

2 Likes

Question: Does TonyK’s AI work and play well with other mods? Mainly content adding mods, but also the Level Cap Increase of Clangeddin’s as well. Other than that specific program enhancing mod, everything else I am using is content adding, including quite a bit of my own content. Don’t want to have to deal with a meticulous integration of something if it’s going to affect anything else in a negative way.

And yes, they have both potions and kits in their inventory. However, I think I found something: If I turn the Item Use to Off, leaving Use Healing and Curing Items in the On position, once they deplete their Kits, they seem to start using their Potions. Next test will be with potions only.

First things first - healing kits are better than potions because healing kits prevent attacks of opportunity from enemies during healing in close combat. Probably that’s why healing kits are prioritized. Speaking of compatibility - anything that interrupts AI actions is subject to loading content priority in override files. Rule of thumb: if the folders are named alphabetically, the folder that comes later will be loaded last. For example, if you have the same AI related file in the ABC folder within the override folder and the same file, let’s say spells.2da, in the ZWY folder, the spells.2da in the ZWY folder will take priority (because of the letter Z) and will be loaded in the game, which will use this file. However, HAK content generally has priority over the override folder, so if your custom module has custom HAKs, they will have priority over anything in the override folder. Generally speaking, TonyK’s AI has pretty good compatibility with the majority of campaigns and modules because most do not alter the AI in general, but you should check for each. If you want to prioritize TonyK’s AI over anything else, put these files in the “development” folder (create one if does not exist).

1 Like

So that I am clear, the mods I am using are as follows: Kaedrin’s PrC Pack, NWN2Fixes, Level Scaling Challenge, Random Loot Generator, Rod of the Shopkeeper, Level Cap Increase (only to level 40 with instruction from Clangeddin), Mage Tome, The Complete Craftsman (newest version). Please bear in mind that I painstakingly went through each and every file and line to ensure that there is only one of eack kind of file be it .2da or otherwise so there is no conflict. Everything works and plays well together with no issues. I have been playing with all of these working together with no issue. Also, the content that I have added is merely classes, feats, spells, and so forth. I am not nearly advanced enough to create my own hak packs. Maybe in the next life.
With all that being said, since the only thing that actually did any “hardwired” reprogramming is the Level Cap Increase - which requires you to replace your NWN2Main executable file with Clangeddin’s modified version, would TonyK’s AI seem like it would not interfere with what I have got going on? It’s taken me quite a long time, and a few restarts from scratch to get to where I am now. Only a minor glitch or 2 that I have to track down, but those are small scripting issues that will take a lot of time to track down, but again, they present no danger to programming or crashing possibilities.
Hop I got my concerns across before I try this. Thanx.

2 Likes