Aller au contenu

Photo

Overriding default scripts


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
Netrunner

Netrunner
  • Members
  • 3 messages
Hello all.
Something weird has been happening on a multiplayer module I am creating.
What I wanted to do was basically to override the default npc death script (the one that assigns XP), so I created a script and called it nw_c2_default7, inserted it in my mod, compiled and saved the module.
What happens is, the characters are now getting XP twice, once based on the original nw_c2_default7 script and once from my custom nw_c2_default7 script (i am sure both scripts get executed!). Is this normal? Should I put the script in override? Or is it maybe that it should be inserted as a campaign script?
Still it is mysterious why nwn2server executes BOTH. if it was in the wrong position it should just ignore my "overridden" script, right?

Thanks in advance
Netrunner

#2
painofdungeoneternal

painofdungeoneternal
  • Members
  • 1 799 messages
Try setting the xp rate for the module to zero. ( in module properties. )