Author Topic: Lexicon Related Questions  (Read 513 times)

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
Lexicon Related Questions
« on: July 08, 2015, 12:52:18 pm »


               

As I needed a certain visual effect I looked in both versions of the Lexicon. Unfortuneately neither contained the information I required. As I wasn't going to let this rest, I looked at the 2da files that came with NwN Diamond + Critical rebuild. In there I found a second vfx 2da. In addition to "visualeffects.2da" there is also "vfx_persistent.2da". This second one also has constants for vfx. None of these are covered in any version of the Lexicon. The constants in this 2da all (with one exception) start with either VFX_PER_* or VFX_MOB_*. The one exception is "VFX_CUSTOM" which sounds interesting.


 


My questions are


  1. Are these constants usable with the EffectVisualEffect function?

  2.    
  3. If not, are they usable at all?

  4.    
  5. Why aren't these in either version of the lexicon?

TR



               
               

               
            

Legacy_meaglyn

  • Hero Member
  • *****
  • Posts: 1451
  • Karma: +0/-0
Lexicon Related Questions
« Reply #1 on: July 08, 2015, 01:31:42 pm »


               

1) no, these are for areas of effect (e.g. EffectAreaOfEffect(AOE_MOB_CIRCGOOD)'<img'> . Also note the constants in nwscript start with AOE not VFX.


 


2) yes, as AOEs.


 


3) dunno.


               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
Lexicon Related Questions
« Reply #2 on: July 08, 2015, 02:08:38 pm »


               

@meaglyn Thanks for that.


 


That is odd because in the 2da they definitely all start with VFX and not AOE. Someone in Bioware definitely didn't think that one through or was it a case of obscurantism. No wonder I couldn't find them in the lexicon. Just checked and they are there but unlike the ones that the script compiler calls VFX_, with one exception, there are no descriptions of what they actually do. In fact the online version complains that the article is a stub.


 


A suggestion. It would be nice if you were redirected to either AOE_MOB_ or AOE_PER_ when you searched for VFX_MOB_ or VFX_PER_ on the online version of the Lexicon.


 


TR



               
               

               
            

Legacy_meaglyn

  • Hero Member
  • *****
  • Posts: 1451
  • Karma: +0/-0
Lexicon Related Questions
« Reply #3 on: July 08, 2015, 02:20:26 pm »


               

There is no constant in that 2da. just a label. The AOE name is useful since these are really AOEs.  It'd also be nice if the EffectAreaOfEffect page had a reference to the AOE_* pages as most of the other functions that do constants do. Maybe if I have time I'll see if my wiki-foo is up to the task.  I use the old chm version most though...  Also, I was not trying to wink at you there, that was really a semi-colon followed by a close paren ... '<img'>  (unlike this one which is supposed to be a emoticon).


               
               

               
            

Legacy_Proleric

  • Hero Member
  • *****
  • Posts: 1750
  • Karma: +0/-0
Lexicon Related Questions
« Reply #4 on: July 08, 2015, 10:30:50 pm »


               The Lexicon is correct, because only the AOE constants are usable in nwscript. The labels in the 2da, which don't actually do anything, are wrong / inconsistent, no doubt an oversight by Bioware. No issue with the suggested Lexicon update, though.
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Lexicon Related Questions
« Reply #5 on: July 08, 2015, 11:52:10 pm »


               


The Lexicon is correct, because only the AOE constants are usable in nwscript. The labels in the 2da, which don't actually do anything, are wrong / inconsistent, no doubt an oversight by Bioware. No issue with the suggested Lexicon update, though.




The Labels in vfx_persistent controlls the tag of the AOE object that gets created with applying the aoe effect.