Author Topic: Henchmen Inventory  (Read 587 times)

Legacy_Calva64

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Henchmen Inventory
« on: February 04, 2012, 04:09:13 am »


               Hi All,

Im working on a mod and when I play it the henchman inventory is not s accessable. I have both expansions and the expansions allow the inventory to be browsed on henchmen. How do I enabled it on my mod?

Is it a script, switch or possible calling up a different GUI.

I prefer not to use a thrid party hak if it can be done in nwn toolset.

Thanks,

Chris Alva
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Henchmen Inventory
« Reply #1 on: February 04, 2012, 06:52:10 am »


               try this

put the files into override folder, works in OC but not guaranteed it will work in every fan created module

EDIT: also note that henchman inventory does not carry through chapters or even through levelling up, since the NWN OC wasn't designed to support this, the same might apply to any custom module
               
               

               


                     Modifié par ShaDoOoW, 04 février 2012 - 06:55 .
                     
                  


            

Legacy_Pstemarie

  • Hero Member
  • *****
  • Posts: 4368
  • Karma: +0/-0
Henchmen Inventory
« Reply #2 on: February 04, 2012, 11:00:17 am »


               What you want is the XP2 Henchman scripts:

[ResRefs]
OnBlocked=x0_ch_hen_block
OnDamaged=x0_ch_hen_damage
OnDeath=x2_hen_death
OnConversation=x0_ch_hen_conv
OnDisturbed=x0_ch_hen_distrb
OnCombatRoundEnd=x0_ch_hen_combat
OnHeartbeat=x0_ch_hen_heart
OnPhysicalAttacked=x0_ch_hen_attack
OnPerception=x0_ch_hen_percep
OnRested=x0_ch_hen_rest
OnSpawn=x0_ch_hen_spawn
OnSpellCast=x2_hen_spell
OnUserDefined=x0_ch_hen_usrdef

If you take the above and paste it into notepad then save in your /scripttemplates folder in NWN and change the file extension to .ini, you'll be able to add the above scripts through the toolset using the creature editor.

I have collected many script templates here: nwvault.ign.com/View.php. Just save the package to your /scripttemplates folder and you'll em available to you in the toolset.
               
               

               


                     Modifié par Pstemarie, 04 février 2012 - 11:08 .