Aller au contenu

Photo

Change NPC Sound Set On-the-Fly


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

#1
BigHairyAndy

BigHairyAndy
  • Members
  • 3 messages
 Is it possible to change the Sound Set of a NPC via scripting rather than having to remake the NPC in the toolset?

#2
Shadooow

Shadooow
  • Members
  • 4 474 messages
only with use of nwnx

#3
BigHairyAndy

BigHairyAndy
  • Members
  • 3 messages
How complex is the scripting knowledge required to do so?

#4
Squatting Monk

Squatting Monk
  • Members
  • 446 messages
Setting up NWNX is complicated, but the script itself is simple. You're looking for SetSoundSet() in nwnx_funcs. The usage would be...

SetSoundset(oCreature, nSoundSet);

... where nSoundSet is, IIRC, the index for the soundset in soundset.2da.

Modifié par Squatting Monk, 01 septembre 2012 - 11:57 .


#5
BigHairyAndy

BigHairyAndy
  • Members
  • 3 messages
Ah, fantastic. Thanks.