Aller au contenu

Photo

Overriding spell_constants_h.nss?


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

#1
Xenoseroster

Xenoseroster
  • Members
  • 101 messages
So I was wanting to fenagle some of the variables in spell_constants to be more to my liking.  Checked the script out, made my edits, saved, checked it in.  Exported, updated the module XML, thought that would get it working.  It doesn't seem to've had any effect however.  The variables I changed either had no effect or the script itself isn't affecting the game data.  

So this leads me to a few possible ideas: I have the script in the wrong place, or the script exported incorrectly (it seemed to be different than the other scripts I exported, it only exported 1 item, the script itself, rather than a whole list of scripts and a lotus note file like others do.)  Either way I'm not sure what the resolution would be, anyone else have input?

#2
Dragoon412

Dragoon412
  • Members
  • 3 messages
Ever figure this out?

I'm trying to do the same thing. Last experience I had programming was a freshman-level C++ class about a decade ago, so I'm a bit out of practice. It appears, though, that spell_constants_h needs to be exported along with whatever is including it. Problem is, I have no idea what is.

EDIT: If you "export all resources of type" it'll work. That's certainly not the most efficient method, though.

Modifié par Dragoon412, 16 novembre 2009 - 01:24 .


#3
Xenoseroster

Xenoseroster
  • Members
  • 101 messages
Oh, if you're still curious apparently you have to export all the files that actually USE the variables you changed. Which isn't terrible if you're just working with spells/talents. There's only 5-6 scripts that actually call those variables for each one, so just export those and it should work fine.