Aller au contenu

Photo

spells.2da working from override but not hak?


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

#1
Psionic-Entity

Psionic-Entity
  • Members
  • 195 messages

I recently discovered that my spells.2da file works out of the override folder but not haks. That is, when it's in a hak (loaded first) custom spells, abilities, on hit casts, activated item spells, etc. all don't work. Putting the loose 2da in override fixes it, but I need to make it work from a hak file.

 

Wondering if anyone knows any possible causes for this behavior.



#2
4760

4760
  • Members
  • 1 212 messages

Since some 2da files work from hak (appearance.2da or baseitems.2da for instance) and others don't (spells.2da obviously), the most probable cause would be hardcoded.



#3
Psionic-Entity

Psionic-Entity
  • Members
  • 195 messages

Finally resolved this, turns out it had something to do with nwn2packer. Rebuilding the hak from scratch instead of updating files inside did the trick.



#4
4760

4760
  • Members
  • 1 212 messages

So 2da which are said to be incompatible with haks could work anyway?



#5
Psionic-Entity

Psionic-Entity
  • Members
  • 195 messages

Can't say for sure, but I do know that spells.2da is not one of the ones known to be incompatible with haks. I've only had one encounter with a 2da outright failing from a hak and that was related to packages.2da. Everything worked as normal but it didn't want to recognize changes to the row controlling which 2da it used for spell preferences.