Aller au contenu

Photo

Henchmen Inventory


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Calva64

Calva64
  • Members
  • 16 messages
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

#2
Shadooow

Shadooow
  • Members
  • 4 470 messages
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 .


#3
Pstemarie

Pstemarie
  • Members
  • 2 745 messages
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 .