Author Topic: Henchment - range/melee attack switch  (Read 404 times)

Legacy_Vasiliy S

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Henchment - range/melee attack switch
« on: August 02, 2013, 02:07:48 am »


               Hi,

Is it possible ask a henchmen to switch from range to melle attack during the battle in the Original Campaign? I can do it before battle thru dialog.  But I can not speak with henchmen during the battle and he continue to shot when enemy are near him and receive attack of opportunity each time.

Thanks

Vasiliy
               
               

               
            

Legacy_MagicalMaster

  • Hero Member
  • *****
  • Posts: 2712
  • Karma: +0/-0
Henchment - range/melee attack switch
« Reply #1 on: August 02, 2013, 06:57:25 am »


               No, that's not something you can do.  The AI in the original campaigns especially is very limited.
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Henchment - range/melee attack switch
« Reply #2 on: August 02, 2013, 07:01:06 am »


               

MagicalMaster wrote...

No, that's not something you can do.  The AI in the original campaigns especially is very limited.

Really? Afaik a stadard AI (at least with HOTU installed) automatically swithc to melee in close combat - if creature has any melee weapon.

Im not 100% if thats somehow different when you tell the creature to use ranged by conversation, but I think this might be one of the bugs I fixed in my community patch.

So, Vasiliy S, try instally latest CP version (link in my signature) and test it again.
               
               

               
            

Legacy_MagicalMaster

  • Hero Member
  • *****
  • Posts: 2712
  • Karma: +0/-0
Henchment - range/melee attack switch
« Reply #3 on: August 02, 2013, 08:05:54 am »


               He was asking if there was a way for him to force the swap mid-combat.  More advanced AI (and it might have appeared in HotU) will do it automatically, but he still can't force it if the AI decides not to swap.  Custom modules could implement methods of doing that, but a force swap mid-combat is not a feature in the origina campaigns.
               
               

               


                     Modifié par MagicalMaster, 02 août 2013 - 07:06 .
                     
                  


            

Legacy_Vasiliy S

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Henchment - range/melee attack switch
« Reply #4 on: August 02, 2013, 06:16:41 pm »


               AI does not do it automatically in OC. I have 1.69 version
               
               

               


                     Modifié par Vasiliy S, 02 août 2013 - 05:17 .
                     
                  


            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Henchment - range/melee attack switch
« Reply #5 on: August 02, 2013, 06:22:09 pm »


               

Vasiliy S wrote...

AI does not do it automatically in OC. I have 1.69 version

then try my unofficial patch (latest version better than 1.70)
               
               

               
            

Legacy_MrZork

  • Hero Member
  • *****
  • Posts: 1643
  • Karma: +0/-0
Henchment - range/melee attack switch
« Reply #6 on: August 02, 2013, 07:02:08 pm »


               Also, Tony K's Henchman and Battle AI allows the PC to choose the distance to which an enemy must close before the henchman will swap to melee. Starting dialog during combat is always tricky, but choosing a reasonable distance before combat should address the issue described.
               
               

               
            

Legacy_Mystery X

  • Full Member
  • ***
  • Posts: 248
  • Karma: +0/-0
Henchment - range/melee attack switch
« Reply #7 on: August 06, 2013, 08:07:40 pm »


               I wonder if there would be a way to script the switch?  I have only limited scripting experience and expect that if there were a way to accomplish it, it would have been accomplished.  But would it be possible to script an NPC to listen for a Shout, and toggle melee/range based on the Shout?

TonyK's AI does a good job for most situations.  But opponents who may suddenly cast Mestil's Acid Sheath are the death of many a henchman, at least for me.
               
               

               


                     Modifié par Mystery X, 06 août 2013 - 08:46 .