Author Topic: Some AI questions  (Read 528 times)

Legacy_Grani

  • Hero Member
  • *****
  • Posts: 1040
  • Karma: +0/-0
Some AI questions
« on: April 10, 2015, 03:08:16 pm »


               

In my attempt to make every skill, feat and spell usable at least to some extent, I realized that for skills such as Spot, Listen or Concentration (for melee classes) to be usable in PVE, the AI opponents need to be capable of sneaking and taunting.


 


Frankly, I never actually met an NWN NPC that would either sneak or taunt, so...


 


1) Is it just me, or do NPCs never do these actions by default?

2) What other abilities don't they use (but should) rendering some skill/feat investments pointless for PCs?


3) Does Tony K's AI allow NPCs to do these things?

4) Actually, is it possible at all to script AI to fix it?



               
               

               
            

Legacy_Tchos

  • Sr. Member
  • ****
  • Posts: 454
  • Karma: +0/-0
Some AI questions
« Reply #1 on: April 10, 2015, 03:28:14 pm »


               

Creature spawn switch, CREATURE_VAR_USE_SPAWN_STEALTH


 


Or local variable X2_L_SPAWN_USE_STEALTH = TRUE


 


http://www.nwnlexico...X2_inc_switches



               
               

               
            

Legacy_MrZork

  • Hero Member
  • *****
  • Posts: 1643
  • Karma: +0/-0
Some AI questions
« Reply #2 on: April 10, 2015, 04:11:19 pm »


               

3) Does Tony K's AI allow NPCs to do these things?

4) Actually, is it possible at all to script AI to fix it?



3) Yes. NPCs using TonyK's AI do sneak and they do taunt.


4) Yes, per 3), though I haven't looked at just how he did it. :-)


               
               

               
            

Legacy_Gruftlord

  • Sr. Member
  • ****
  • Posts: 490
  • Karma: +0/-0
Some AI questions
« Reply #3 on: April 10, 2015, 04:47:54 pm »


               The latest beta of the community patch also comes with several ai improvments and is generally less over the top than tonyk's
               
               

               
            

Legacy_Terrorble

  • Sr. Member
  • ****
  • Posts: 370
  • Karma: +0/-0
Some AI questions
« Reply #4 on: April 11, 2015, 04:51:14 am »


               

I don't recall for certain, but I think TonyK's NPC AI will use some feats/abilities that the default one never would.


 


How about detecting and disarming or attempting to avoid traps - does any AI do that?



               
               

               
            

Legacy_Lilura

  • Full Member
  • ***
  • Posts: 233
  • Karma: +0/-0
Some AI questions
« Reply #5 on: April 11, 2015, 05:12:43 am »


               

Dance of death might make it hard for AI to avoid tripping traps... Anthony Davis once told me DoD was disabled in NWN2 because of that (though I'm not sure if he's right).


 


Default HotU AI does sneak, doesn't it - Drow in Undermountain? I could be wrong there... pretty sure AI taunts by default, but I could be thinking NWN2...



               
               

               
            

Legacy_Empyre65

  • Hero Member
  • *****
  • Posts: 662
  • Karma: +0/-0
Some AI questions
« Reply #6 on: April 11, 2015, 09:14:34 pm »


               

I distinctly remember the AI sneaking and taunting in the Aielund Saga.



               
               

               
            

Legacy_Grani

  • Hero Member
  • *****
  • Posts: 1040
  • Karma: +0/-0
Some AI questions
« Reply #7 on: April 12, 2015, 04:22:57 pm »


               

Thanks for all the info, I'll check everything out later.