[Solved] Combining Spell xml files

Hey all. I have (yet another) question about xml editing. A few lines in to each of the files there is what I took to be a dire warning. For example in one of the air spell xmls, there is:

STRATEGIC Air Spells ONLY in this file!

Now, I've always combined mods into one xml, and all of the iso numbers are the same for all the spell xmls, so I would think that there would be no problem, but... there must be some reason that "only" is in all caps!

Or am I wrong?

3,402 views 4 replies
Reply #1 Top

The AI may need to know which spellbook to draw relevant spells from based on the shards it controls. Just a wag from my perspective on things.

Reply #2 Top

Quoting Capn, reply 1
The AI may need to know which spellbook to draw relevant spells from based on the shards it controls. Just a wag from my perspective on things.
End of Capn's quote

If I'm seeing the code correctly, you do this from another file. In theory, the name of the xml file should matter. But, the warning was dire sounding enough to make me cautious. I'm doing a test here in a minute, I'll post how it goes.

Reply #3 Top

Breaking your Elemental game is fun!  I've seen the 'Grayed out' functions several times trying to get my Tech mod to work.  Just remove the offending file from the Mod folder and the game reverts to it's original state, so don't be skared!

I'd think that as long as you call out the modified spell list in the corespellbooks.xml file (instead of the original ones), you should be OK.  Only one way to find out, though...

I've also found that if the game doesn't like your file in the first place, it often ignores it anyways.

Reply #4 Top

Alright, everything seems to be in order. Apparently the line was just a warning to the coders to keep their spells organized.