Author Topic: Auto-equipping of items  (Read 767 times)

Legacy_Madasahatter

  • Full Member
  • ***
  • Posts: 214
  • Karma: +0/-0
Auto-equipping of items
« on: December 04, 2010, 07:59:00 am »


               How can i stop creatures auto-equipping items in there inventory ?
               
               

               
            

Legacy_kalbaern

  • Hero Member
  • *****
  • Posts: 1531
  • Karma: +0/-0
Auto-equipping of items
« Reply #1 on: December 04, 2010, 07:51:14 pm »


               Can you be more specific? Are these loot items? Are they equipping weapons while not hostile? Is what they are equipping intened as loot only?
               
               

               
            

Legacy_Madasahatter

  • Full Member
  • ***
  • Posts: 214
  • Karma: +0/-0
Auto-equipping of items
« Reply #2 on: December 04, 2010, 11:06:55 pm »


               Yes, Im using silicon scouts treasure system and some creatures are using potion / scrolls and equiping weapons. and this is intended as loot.
               
               

               
            

Legacy_FunkySwerve

  • Hero Member
  • *****
  • Posts: 2325
  • Karma: +0/-0
Auto-equipping of items
« Reply #3 on: December 04, 2010, 11:58:15 pm »


               This is one reason why many systems spawn these ondeath. Another way is to ensure that the weapons they're already using are better than the ones they're trying to equip.



Funky
               
               

               
            

Legacy__Knightmare_

  • Full Member
  • ***
  • Posts: 191
  • Karma: +0/-0
Auto-equipping of items
« Reply #4 on: December 05, 2010, 12:17:06 am »


               This may be a difference with NWN2 (sorry all - just trying to help here), but in NWN1 can NPCs use items that are not already identified? If not, set them as unidentified.
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Auto-equipping of items
« Reply #5 on: December 05, 2010, 12:21:48 am »


               

_Knightmare_ wrote...

This may be a difference with NWN2 (sorry all - just trying to help here), but in NWN1 can NPCs use items that are not already identified? If not, set them as unidentified.

they can...

As Funky said, most loot systems generating loot when monster just die. You should use one like that, consider if you can switch loot system. (anyone know any good?)
               
               

               
            

Legacy_kalbaern

  • Hero Member
  • *****
  • Posts: 1531
  • Karma: +0/-0
Auto-equipping of items
« Reply #6 on: December 05, 2010, 02:58:24 am »


               Just move treasure creation from your OnSpawn event into your OnDeath event. You shouldn't require a whole new system for this.
               
               

               
            

Legacy_Madasahatter

  • Full Member
  • ***
  • Posts: 214
  • Karma: +0/-0
Auto-equipping of items
« Reply #7 on: December 07, 2010, 06:54:06 pm »


               Thanx will give it a go
               
               

               
            

Legacy_Madasahatter

  • Full Member
  • ***
  • Posts: 214
  • Karma: +0/-0
Auto-equipping of items
« Reply #8 on: December 07, 2010, 07:39:17 pm »


               Changed loot spawn to ondeath and all seems to be working ok, no auto equiping now '<img'> still need to test some but seems good.



Thnx