Modified AI files for henchmen and NPCs. The goal is to be similar to Obsidian's AI but smarter. I will implement any changes that Obsidian makes.
Place the files into your My Documents Override directory to have them take effect.
Will crash pre 1.03 game versions!To set up the AI now: if you've used it before run the evenresetall script (once, otherwise skip this step if this is your first time with the AI), put missile weapons into the hands of people that you want to use them, go into battle (on the default setting they will now pick their own melees if you haven't selected one). You can then fine tune the melee selections by equiping weapons they'd prefer (weapon settings should save after you unpossess the character). Or you can toggle a behavior tab setting as an alternative way to save preferences.
If you are using this with the PNP hak be sure to remove the spells.2da file (use the PNP's spells.2da file instead).
Place these files in your Override directory to disallow resting in dangerous areas. Use this if you want the game to be more challenging (ie, if you habitually rest at every opportunity this will force you to actually drink healing potions and use wands).
And since even no longer does NWN2, the custom rest script is up to you! FLY, MY PRETTIES! _________________________ __________________________________________________
Megadeth has a very intelligent way of talking about governments and religions: Either they bullshit you or try to kill you for not being one of them. I wholeheartedly agree.
(Note: Just because Mustaine is christian doesn't mean he believes EVERYTHING the bible tells him.)
__________________________________________________
I think the rest script that you have provided should not disable resting....
it should make resting in dangerous areas
have a chance (75%, 50%, 25%, 10% based on random roll) to have monsters ambush you, including sneak attacks if they have rogue levels, Attacks of oppertunity if they do not... and the attacks of oppertunity should be built into the script based on creature type.
Think of it! resting has a chance to have an ambush come up! level-based random creature rolls! whoohoo! _________________________ __________________________________________________
Megadeth has a very intelligent way of talking about governments and religions: Either they bullshit you or try to kill you for not being one of them. I wholeheartedly agree.
(Note: Just because Mustaine is christian doesn't mean he believes EVERYTHING the bible tells him.)
__________________________________________________
Posted by HighStar01a at 2007-05-13 12:54:00 Voted 10.00 on 05/13/07
Even, I have discovered a bug when using this with 1.05. I am no longer able to ajust the Behavior tab. Is there any chance you will be able to fix this? I really love your mod.
All I know is that this AI by Even desperately needs an update, because the 1.05 patch changes the spell.2da file, which is also changed by Even's AI. So now I can't use Even's AI anymore.
Posted by NEN ROD at 2007-04-20 18:44:29 Voted 10.00 on 03/06/07
It seems that Obsidian gave up and removed of the official patch. Very sad.
Do you have a link for that? I see nothing about AI in the 1.05 readme file. _________________________ Crafted gauntlets and ranged weapon recipes
The wise words of Gimli, son of Gloin:
"No one tosses a dwarf!" - FOTR
"Toss me... but don't tell the elf." - TTT
"That still only counts as one!" - ROTK
Posted by NEN ROD at 2007-03-15 06:43:15 Voted 10.00 on 03/06/07
Even
Obsidian adopted AI in the official patch 1.05. Congratulations.
Posted by DuncanMc at 2007-03-11 01:51:27 Voted 10.00 on 03/11/07
This really rocks.
Posted by NEN ROD at 2007-03-06 20:18:48 Voted 10.00 on 03/06/07
Greetings
Even abandoned AI and 3.5 Edition PnP?
It makes much time that does not have updates.
Posted by blue_sphere at 2007-02-28 19:50:45 Voted 8.25 on 02/28/07
Adjusted vote for the new nwn voting standards _________________________ NWN2 Voting Standards - Tattoo it on your forehead.
10 - A Masterpiece, Genuinely Groundbreaking
9 - Outstanding, a Must Have
8 - Excellent, Recommended to Anyone
7 - Very Good, Deserves a Look
6 - Good, Qualified Recommendation
5 - Fair, Solid yet Unremarkable
4 - Some Merit, Requires Improvements
3 - Poor Execution, Potential Unrealized
2 - Very Little Appeal
1 - Not Recommended to Anyone
Using version 1.04 without any problems.
With the new release there is the option to add additional quickbars to the side and bottom of your screens. They are draggable and now you can hit 'V' button and access the voice commands then drag the commands to the quickbars.
I recommend dragging the 'follow me' and 'attack' and 'hold' command to the new side quickbars to get the party to follow you.
Try pulling the entire override folder and play the game for a few minutes then reinstall the AI override and see if the problem goes away.
Ok, I just tried the new version with the latest update for Neverwinter nights (at least for last time I had posted here), used the debug mode to run 'evenresetall' and still, my henchmen will not follow me, and will not attack unless given an order. I wonder if it may have something to do with my not equipping them with ranged weapons. :/ In any case, I have no idea how to fix it even if I do get rid of the AI. It's become a hassle trying to keep my guys togather so my main character doesn't get killed all the time. :/
I'll go ahead and say that the older version of this hak, I too had experienced a problem with the henchmen no longer following me, or attacking without my giving them an order. My character still does so, however, since I'm on him all the time. It seems that it happens after a period of time that it seems to stop working all together.
I would also like an option to 'not' throw grenade weapons. I put them all on Neeshka since I couldn't carry them all, and then when I started playing with this hak, she threw each and every one. :( Not a huge deal since I probably would have never used them, but it makes it where you can't 'store' items on your henchmen.
Otherwise, the hak has been great, even if I hardly use ranged weapons. :P Anyways, I'm gonna try the newest update and see if I still have the same problem. Just figured I'd give you a bit more info on the problem only a few of us seem to be experiencing. ^^ This is with the latest patch by the way.
Posted by blue_sphere at 2007-02-04 21:24:42 Voted 8.25 on 02/28/07
This is... great! Thanks! _________________________ NWN2 Voting Standards - Tattoo it on your forehead.
10 - A Masterpiece, Genuinely Groundbreaking
9 - Outstanding, a Must Have
8 - Excellent, Recommended to Anyone
7 - Very Good, Deserves a Look
6 - Good, Qualified Recommendation
5 - Fair, Solid yet Unremarkable
4 - Some Merit, Requires Improvements
3 - Poor Execution, Potential Unrealized
2 - Very Little Appeal
1 - Not Recommended to Anyone
Still on vacation? I am really looking forward to future updates such as maybe learning how to make use of the ui from tony k and a few fixes, I really like your ai alot more then tony ks because his messes with stuff that makes some modules unplayable. _________________________ I got a signature! Woooooooo!
Great hak. One thing I noticed however is that the "flame arrow" spell can now only target friendlies when used manually. It works fine when the AI handles it.
Posted by darbyjh at 2007-01-26 21:19:17 Voted 9.25
I am having the same issues as Xodarap777 is or was having with Npc's not following. It happened after the trial. In the first campaign game I tried it happened in the same manner. Never was able to complete it...so i reinstalled everything and tried a new game...same thing...after the trial...nobody follows me. version.7351...I am going to try your updated version and seeif changes anything.
Even, there is a flaw in your 'No_Dangerous_Resting' script.
I noticed it in OC-Act1: Some corpses are lying around in West Harbor later which are declared as enemies. This way you can�t rest then although the whole town is otherwise cleared.
Add an additional "!GetIsDead(ob)" check to solve that matter. It worked for me.
Evenflw, I had a great idea but it all hinges on whether the party members' quickbar can be read. Wouldn't it be great if we could customize our party members AI to choose only from behaviors we have dragged into the quick bar. We could put the only acceptable items and weapons choices, feats and skills in the quickbar. Thus maybe the rod of frost might actually be used, Neeshka will stop throwing the choking powders in her inventory meant for trap building, scrolls will be conserved for emergencies only, etc.
It's been 10 years since I programmed. Where would I start to dig into these scripts?
Hmm.. It still happens after I take the AI off. Maybe the thugs are supposed to behave that way for that particular scenario. I think they are "sneaking" or something and one of my characters can see them even though they think they're hidden. Sorry.
Is this supposed to affect monsters? After I installed this all the "thugs" in Neverwinter started walking up to attack me instead of running like they are supposed to. My henchmen did have improved AI, but the thugs got a lot dumber, LOL.
Posted by captaincrisis at 2007-01-19 01:41:31 Voted 9.25
Even, re 1.04Beta. Playing on hard difficulty I am finding that spellcasters keep nailing the party with AOE spells such as ice storm and cloud kill (etc). I know you haven't tested against 1.04 yet, just thought the early feedback would be useful. Thanks again for the AI improvements.
V0.7357:
If the party leader has "Be Stealthy Until Next Encounter" enabled then all party members will use stealth when he/she is stealthed in non combat situations. If the party leader unstealthes everyone else will unstealth (if they do not have one of the stealthy behaviors custom set themselves).
Scythe is recognized as a melee weapon.
Henchmen will no longer switch to infinite ammo ranged weapons (to prevent a game crash, let me know if it is ok to start with an infinite ammo weapon and switch to a melee).
Tweaked down scaled casting AOEs on easy/normal difficulty settings.
AI will not attempt to use knockdown when ability use is disabled.
AI now recognizes entangle immunity.
ares416, did you recently upgrade to 1.04 beta? I'm wondering if Obsidian fixed a bug that I was correcting for. This may cause inappropriate AOEs in 1.04 and not 1.03 if they fixed it.
I'd be happy to attach any modifications that people make on their own (send me the code and I can put it in or send me alternate files or whatever). Finally posting a FAQ that was sent to me. I'll try to work on it for a few hours here today (have a meeting I have to go to this afternoon so not sure how much I can get done).
Posted by ares416 at 2007-01-17 18:41:59 Voted 10.00
I totally understand - there's a ton of work here. The bugs I ran into may have been do to the area we were in or some other factor. I'll do more testing and let you know if I find anything definitive.
10 - A Masterpiece, Genuinely Groundbreaking 9 - Outstanding, a Must Have 8 - Excellent, Recommended to Anyone 7 - Very Good, Deserves a Look 6 - Good, Qualified Recommendation 5 - Fair, Solid yet Unremarkable 4 - Some Merit, Requires Improvements 3 - Poor Execution, Potential Unrealized 2 - Very Little Appeal 1 - Not Recommended to Anyone