Author Topic: Yet another henchman struggle - a druid keeps on changing shapes  (Read 697 times)

Legacy_WhiZard

  • Hero Member
  • *****
  • Posts: 2149
  • Karma: +0/-0
Yet another henchman struggle - a druid keeps on changing shapes
« Reply #15 on: February 19, 2014, 03:05:31 am »


               

ShaDoOoW wrote...
UPDATE: made those adjusments and turn out pretty good except the fact that polymorphed creatures doesnt use the special abilities form polymorph - I debugged this and found out that the engine simply doesnt grants them to NPCs. So any special shape attacks would have to be faked which is another problem. Solvable but...


Not entirely true.  I know I wrote as much on the wikia article "Shifted ability," but the engine merely doesn't know how to find the ability using the GetCreatureTalent..() functions.  If the ability can be deduced one could have them naturally used (full caster level) by using ActionUseTalent...(TalentSpell()) with the correct number inserted.
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Yet another henchman struggle - a druid keeps on changing shapes
« Reply #16 on: February 19, 2014, 06:34:30 am »


               

WhiZard wrote...

ShaDoOoW wrote...
UPDATE: made those adjusments and turn out pretty good except the fact that polymorphed creatures doesnt use the special abilities form polymorph - I debugged this and found out that the engine simply doesnt grants them to NPCs. So any special shape attacks would have to be faked which is another problem. Solvable but...


Not entirely true.  I know I wrote as much on the wikia article "Shifted ability," but the engine merely doesn't know how to find the ability using the GetCreatureTalent..() functions.  If the ability can be deduced one could have them naturally used (full caster level) by using ActionUseTalent...(TalentSpell()) with the correct number inserted.


I tried that... GetHasSpell(SPELLABILITY_PULSE_WHIRLWIND) returned false, actioncast this spell failed as well and the trick with talent didt work either, I tried everything really
               
               

               
            

Legacy_WhiZard

  • Hero Member
  • *****
  • Posts: 2149
  • Karma: +0/-0
Yet another henchman struggle - a druid keeps on changing shapes
« Reply #17 on: February 19, 2014, 03:27:40 pm »


               

ShaDoOoW wrote...

WhiZard wrote...

ShaDoOoW wrote...
UPDATE: made those adjusments and turn out pretty good except the fact that polymorphed creatures doesnt use the special abilities form polymorph - I debugged this and found out that the engine simply doesnt grants them to NPCs. So any special shape attacks would have to be faked which is another problem. Solvable but...


Not entirely true.  I know I wrote as much on the wikia article "Shifted ability," but the engine merely doesn't know how to find the ability using the GetCreatureTalent..() functions.  If the ability can be deduced one could have them naturally used (full caster level) by using ActionUseTalent...(TalentSpell()) with the correct number inserted.


I tried that... GetHasSpell(SPELLABILITY_PULSE_WHIRLWIND) returned false, actioncast this spell failed as well and the trick with talent didt work either, I tried everything really


Icestorm works just fine with the talent trick, but I guess whirlwind never gets past the casting animation.  I can see the icon for whirlwind, but the shifted form stays motionless.  Perhaps it is just the user type 2 that need to cheat cast, I don't see any problem with user type 1.
               
               

               


                     Modifié par WhiZard, 19 février 2014 - 03:29 .
                     
                  


            

Legacy_WhiZard

  • Hero Member
  • *****
  • Posts: 2149
  • Karma: +0/-0
Yet another henchman struggle - a druid keeps on changing shapes
« Reply #18 on: February 19, 2014, 03:50:33 pm »


               Looked into the problem a little more, dragon breaths work as well as pretty much everything else except the two pulses.  Because ActionUseTalent(TalentSpell()) doesn't actually check the talents a creature knows if they are polymorphed, the only problems that should be arising are problems that already arise under generic AI.
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Yet another henchman struggle - a druid keeps on changing shapes
« Reply #19 on: February 19, 2014, 03:53:28 pm »


               Wait, I actually tried dragon breaths and they werent working for me, but I forget the dragon breath constant so I wrote whirlwind pulse which is same subtype but actually I wasnt testing anything other than the dragon breaths.

Will try again and tell you soon.
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Yet another henchman struggle - a druid keeps on changing shapes
« Reply #20 on: February 19, 2014, 04:53:32 pm »


               Weird, suddenly it works. Not sure what was problem before then, but thanks even GetHasTalent works which makes things work way better.