Aller au contenu

Photo

Really stuck with the AI, please help if you can


  • Veuillez vous connecter pour répondre
8 réponses à ce sujet

#1
Grieving Natashina

Grieving Natashina
  • Members
  • 14 554 messages
When I start a new game on the NWN2 OC, my companions will not cast any spells on their own.  It's patched to the finaI patch, 1.23. I have all the expacs including SoZ.  I have TonyK's AI( 2.2 companonai ), I have double and even triple checked to make sure I didn't accidently turn off the AI. This also isn't even close to my first playthrough of the game either.  All of my companions were set to overkill, with no puppet mode.  In previous playthroughs, it did have the usual and annoying effect of high level spells being used for a lvl 5 orc.  This is no longer the case.  I have tried disabling melee combat, ranged combat as well as disabling both.  If I disable the melee attack, they will use only ranged and no spells.  If I disable ranged, they run up like the monster is an ice cream truck.  If I shut off both, and even unequip the characters, they literally do nothing.  They won't attack and will not cast spells. While I could live with the casters being on puppet mode and having the auto-pause feature on, it's really interferring with my enjoyment of the game. I have done a lot of research before coming here to post and done everything as recommended.  My game discs(except for SoZ) are MIA atm, so I cannot easily reinstall at this time.  I also have very very little knowledge of scripting and I'm unsure if it would help.  Any advice or ideas I may not have tried?

Edited to add: Also, even with everything turned on, all of my companions(caster and fighters) will not use potions and/or healing spells to save themselves.  I have also dragged spells and potions into their quickbars and that doesn't work either.

Modifié par Starsyn, 11 juin 2012 - 09:45 .


#2
woofgirl

woofgirl
  • Members
  • 30 messages
Try removing TonyK's AI.

#3
Grieving Natashina

Grieving Natashina
  • Members
  • 14 554 messages
I did that several times, as well as purging my save files. However, after some further serious testing last night, I noticed a few things:

1) Even without TonyK's AI mod, if I export a character created in MotB(in other words hit create character, then hit the lobby to level) the companions won't cast in the OC. It works fine in MotB, with either an imported character or one I create from that expac. I've decided that it wasn't worth the headache to be that lazy and overpowered in the OC. I'm not sure if this is a bug or intended, but it was what I saw from my testing.

2) When TonyK's AI mod is on, I made the mistake of selecting a type of spellcasting mode with a brand new character. With the AI mod, it doesn't appear to have anything selected. When I would select a type of spellcasting mode, it somehow seemed to bug something and the companions would cease casting any spells all together.

So, I created a new character from scratch, and started a new save folder with no mods.  The overkill mode worked as usual.  I saw poor Amie die many many times over the last weekend, since I was using her to test the caster AI. Then, I put the AI mod back in. Once I didn't select a spellcasting mode(again, the list appears to have nothing selected,) the casting AI worked like normal. Turning on and off all other ablities(such as Elanee's shapeshifting) works just fine. I've seen a few posts out there from other players that have had similar difficulties. It wasn't easy making those save backups, but it did prove to be worth it after all.

To those that may be stuck, try my steps and I hope it helps. While I'm leery of trying any xp cheats, I did make sure my guys have some decent stuff. So debug mode doesn't cause any issues.

BTW, thanks to all the posters here for recommending TonyK's AI mod! Once I figured out what I was doing wrong, it is an excellent tool.

Modifié par Starsyn, 11 juin 2012 - 04:46 .


#4
nicethugbert

nicethugbert
  • Members
  • 5 209 messages
It is normally considered a good thing that the AI not cast spells, or do anything for that matter. You actually trust the AI to cast spells?

Bad AI is the reason why I micro-manage my party and pause for every action.

#5
kevL

kevL
  • Members
  • 4 078 messages
but it can lead to some, ah, humorous occurances tho

( i've heard )


- more to the point (but not quite), I have noticed what Star is mentioning about some sections of the Behaviors tab not showing a defaulted choice. Stuff like that bothers me so i scripted up a new section for Comp&Monst AI companion_spawn that assigns defaults to *all* their behaviors ( basically shut up & stand there till i tell ya what yer gonna be doin, hehe ). While it works so far, I suspect that the trouble here with AI spellcasting lies a step or two below that level ... possibly in the Gui callbacks,

I gather that the workaround is to not select a Spellcasting Mode .. is that correct ?

#6
painofdungeoneternal

painofdungeoneternal
  • Members
  • 1 799 messages
Or you could use the correct tonyk files. The hench_spells.2da and similar 2da's actually make it pretty well thought out, those tend to not be installed by default. Never going to be as smart as a real person, nor can it know why you chose a given variety of spells unless someone programs it for you, but it does a decent job if you don't care. Remember the smarter you make it, the more deadly the monsters are going to be as well since it's used for both henchmen and NPC's.

#7
kevL

kevL
  • Members
  • 4 078 messages
hey Pain,

I think the issue is not so much bad AI choices ( i agree they're good ) but that something in SetAssociateState() or SetHenchAssociateState() is borking the bitwise, so to speak


and no spells at all get chosen / cast. Anyway, as & if i dig deeper will keep eyes open

#8
I_Raps

I_Raps
  • Members
  • 1 262 messages
Another thing to do is ... select your main PC, open the behavior section, select an option for everything, and SAVE the options. This setting will be defaulted to every time you start a new game.

Also, re nicethugbert's comment - I always let the NPCs be NPCs (except for critical moments, of course).  Their choices aren't bad and they're every bit as good as the enemy is choosing.  I've always been amused at posts like "this AI sucks, I'm getting creamed" - who exactly do they think is creaming them?

Modifié par I_Raps, 12 juin 2012 - 04:57 .


#9
I_Raps

I_Raps
  • Members
  • 1 262 messages

I_Raps wrote...

... who exactly do they think is creaming them?


I will say this, though.

A few days ago I wanted to post a screencap under "Things That Make You Go Hmmm!"  But my ISP was dead.

I had a rogue with UMD, and I had three Raise Dead scrolls, and I had a dead cleric.

He rolled "6" and failed - needing "7" or better.  And he did it three times.

Hmmm!