Aller au contenu

Photo

Updating an item description right before examining it


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

#1
Kato -

Kato -
  • Members
  • 392 messages
Hi,

Is it possible to do that, via an event or a function hook with nwnx or any other way? For instance, in the context of a custom poison system, I'd like to update the description of a poison vial right before examination, depending on the character stats and classes. Of course it can be done in the OnAcquire event, at least, but then if the player equips an item raising dexterity or levels up etc... It means looping on all items and updating each possessed vial description, in every possible situation which would affect the poison stats, not very efficient it seems, hence my question.

Thank you!


Kato 

Modifié par Kato_Yang, 14 juin 2012 - 06:48 .


#2
henesua

henesua
  • Members
  • 3 883 messages
I am also interested in an answer. Since I couldn't find a way to capture an examine event, I handled it via onacquire/onunacquire. But I don't base the result on ability scores or other easily changeable attributes so I don't have your same limitations.

#3
Shadooow

Shadooow
  • Members
  • 4 474 messages
nwnx_events for windows has the Examine event, im using this to give XP to anyone identifying an item

#4
Kato -

Kato -
  • Members
  • 392 messages
Oh! Great news then, tyvm ShaDoOoW :)


Kato

#5
virusman

virusman
  • Members
  • 282 messages
It actually originated from NWNX Events for Linux, so Linux also has that event.

#6
Kato -

Kato -
  • Members
  • 392 messages
Thanks Virusman, it would so nice if I could run the toolset smoothly under Linux, but that's another subject...

Kato

Modifié par Kato_Yang, 15 juin 2012 - 01:54 .


#7
Idelish

Idelish
  • Members
  • 6 messages
Yep NWNX. A plugin to provide this features to NWNCX will be apreciated, NWNX_events to nwncx_bridge still crash my game launch (Windos 7) .

#8
ShadowM

ShadowM
  • Members
  • 768 messages
Could you modify the skillvsitemcost.2da so it impossible to ID an item and then use a custom examine feat to do skill check, description change etc.. you needed?