Author Topic: Set oTarget to Immobile?  (Read 597 times)

Legacy_WhiZard

  • Hero Member
  • *****
  • Posts: 2149
  • Karma: +0/-0
Set oTarget to Immobile?
« Reply #15 on: March 30, 2012, 10:56:00 pm »


               

Buddywarrior wrote...

Is it possible to add glacial to the appearance.2da and call it without nxnx (or with basic nwn +cep)?


Yes, you first need to add it to creaturespeed.2da and under the"2DAName" column set the string you wish to use in appearance.2da to call that row in creaturespeed.2da.
               
               

               


                     Modifié par WhiZard, 30 mars 2012 - 09:56 .
                     
                  


            

Legacy_ShadowM

  • Hero Member
  • *****
  • Posts: 1373
  • Karma: +0/-0
Set oTarget to Immobile?
« Reply #16 on: July 24, 2012, 09:25:57 pm »


               Very interesting, I found a fix using my custom scaling function that I adding to HR base. By adding in all the invisible types again into the apperance.2da with there default movement as NOMOVE with my function it will scale them. All you have to do is call the function HR_ScaleCreature(object oCreature,int iScale, int iImmobile); just set scale to 10 this will not adjust the size of the creature but will make them immobile and their AI will function. I did this because I wanted to scale in spawn and it need for plants so they can still do their special abilities/spells. '<img'> I'm testing it now and seem to be good so far.  Does not work with parts creatures but you prob. already know that.
               
               

               
            

Legacy_Zarathustra217

  • Sr. Member
  • ****
  • Posts: 322
  • Karma: +0/-0
Set oTarget to Immobile?
« Reply #17 on: July 24, 2012, 11:36:42 pm »


               Why not use EffectEntangle?
               
               

               
            

Legacy_ffbj

  • Hero Member
  • *****
  • Posts: 1097
  • Karma: +0/-0
Set oTarget to Immobile?
« Reply #18 on: July 25, 2012, 12:19:15 am »


               A while back when the original statue scripts came out, statues before there where statues, you could put those scripts on, a suit of armor for example, and have them immobile but they would still fight, if attacked or hostile.
Or like Zarathustra said something like a spell-like effect without the ensuing visual effects. I was thinking of that encased in rock spell from the waist down.  So your own particular root effect.
Probably different ways to do it. 
               
               

               


                     Modifié par ffbj, 24 juillet 2012 - 11:22 .
                     
                  


            

Legacy_ShadowM

  • Hero Member
  • *****
  • Posts: 1373
  • Karma: +0/-0
Set oTarget to Immobile?
« Reply #19 on: July 25, 2012, 06:04:04 am »


               

Zarathustra217 wrote...

Why not use EffectEntangle?


Because it will give negative AC and attack penalty oh and I think there a concentration check add (this is according to the lex.) and it cause the AI not to cast spell just like cutsceneimmobile
               
               

               
            

Legacy_Zarathustra217

  • Sr. Member
  • ****
  • Posts: 322
  • Karma: +0/-0
Set oTarget to Immobile?
« Reply #20 on: July 25, 2012, 10:03:33 am »


               You could easily compensate for the AC and AB penalty. And the lexicon says exactly the opposite:
"In P&P D&D, it is meant to add an additional concentration check for casting spells (DC: 15) but this is not in NwN"

In the end, the AC and AB penalty would make sense though.
               
               

               
            

Legacy_WhiZard

  • Hero Member
  • *****
  • Posts: 2149
  • Karma: +0/-0
Set oTarget to Immobile?
« Reply #21 on: July 25, 2012, 10:33:30 pm »


               

Zarathustra217 wrote...

You could easily compensate for the AC and AB penalty. And the lexicon says exactly the opposite:
"In P&P D&D, it is meant to add an additional concentration check for casting spells (DC: 15) but this is not in NwN"

In the end, the AC and AB penalty would make sense though.


Lexicon (whatever version quoted) is wrong on that.  There is a DC 15 concentration check, but it is not displayed.  The HotU manual states a DC of 15 + spell level, however the DC is a static 15.