Author Topic: Use items beyond level 40?  (Read 319 times)

Legacy_Buddywarrior

  • Hero Member
  • *****
  • Posts: 512
  • Karma: +0/-0
Use items beyond level 40?
« on: May 22, 2013, 10:22:00 pm »


               I'm building a non cep, nwnx world and would like to either go beyond charector level 40 or perhaps once the player hits 40, they have no item level restriction. Is their a way to do either?
               
               

               
            

Legacy_MagicalMaster

  • Hero Member
  • *****
  • Posts: 2712
  • Karma: +0/-0
Use items beyond level 40?
« Reply #1 on: May 23, 2013, 04:46:47 pm »


               For the latter, at a minimum you could disable item level restrictions and then get the gold piece value of items and check whether the PC should be allowed to use it (and unequip it if not).

http://nwn.wikia.com...vel_restriction

There's a chart there.  Could also edit the 2da or use the override mentioned there, I suppose, which may save you some work but would be less flexible and less easily changed in the future.
               
               

               
            

Legacy_Buddywarrior

  • Hero Member
  • *****
  • Posts: 512
  • Karma: +0/-0
Use items beyond level 40?
« Reply #2 on: May 23, 2013, 11:06:50 pm »


               That would solve the problem. I'll give that a shot. Thank you kindly!
               
               

               
            

Legacy__Guile

  • Hero Member
  • *****
  • Posts: 1308
  • Karma: +0/-0
Use items beyond level 40?
« Reply #3 on: May 25, 2013, 04:14:41 pm »


               I use a custom ILR, giving all items the same tagname, unless it's a class item, then they get the class tag (e.g. rogue_item etc.), this way you track what item level is when it's equipped, every time..

However, if you want an easier solution, just use the OnItemEquipped Module Event Script and run the check there, would probably save you much time, indeed...

Basically you would have to turn off the item level restriction, then whenever an item is equipped, the script is ran, the script checks the item level, and then decides what to do (based upon what you code)...

Obviously you would have to code the item level check as well....

If you need further help, just let me know...
               
               

               


                     Modifié par _Guile, 25 mai 2013 - 03:15 .