View Full Version : Importing the promotions part of FFH2 problem


cromcrom
Mar 16, 2008, 05:47 AM
Hi all,

I started importing the promotion part of FFH2 into my mod. I imported the dll, and various stuff, made countless xml changes, as my mod is already on its way. I figured out the error messages, but right now, I can't solve this one:

its reads:
Tag:D_S_L inb info class was incorrect
Current XML file is: xml\Units/CIV4SpellInfos.xml

I imported CIV4SpellInfos, and removed all the spells but one from inside, as spells are not my focus.

in D_S_L, the _ are in fact little squares (meaning that the character cannot be read, I guess.)

Any idea where I should look ?

xienwolf
Mar 16, 2008, 09:42 AM
By importing the DLL do you mean that you are using the DLL from FfH? Because if you are not then the game just doesn't want that file to exist. It isn't a standard file for Civ4, so the DLL has to be re-written to acknowledge its existence I believe.

cromcrom
Mar 16, 2008, 10:49 AM
I imported the FFH DLL and the python files (and many other xml files).

Vehem
Mar 16, 2008, 11:47 AM
Hi all,

I started importing the promotion part of FFH2 into my mod. I imported the dll, and various stuff, made countless xml changes, as my mod is already on its way. I figured out the error messages, but right now, I can't solve this one:

its reads:
Tag:D_S_L inb info class was incorrect
Current XML file is: xml\Units/CIV4SpellInfos.xml

I imported CIV4SpellInfos, and removed all the spells but one from inside, as spells are not my focus.

in D_S_L, the _ are in fact little squares (meaning that the character cannot be read, I guess.)

Any idea where I should look ?

Can you post SpellInfos.xml for us to have a look at?

cromcrom
Mar 16, 2008, 02:27 PM
I removed ALL spells but one (the first one) from CIV4SpellInfo.

xienwolf
Mar 16, 2008, 03:29 PM
Did you keep the Schema file?

cromcrom
Mar 17, 2008, 12:44 AM
<?xml version="1.0"?>
<!-- Created with the FfH editor by Kael -->
<!-- Sid Meier's Civilization 4 -->
<!-- Copyright Firaxis Games 2005 -->
<!-- -->
<!-- Spell Infos -->
<Civ4SpellInfos xmlns="x-schema:CIV4UnitSpellSchema.xml">

This is on top of the spell info.
CIV4UnitSpellSchema.xml is one of the files I imported.

xienwolf
Mar 17, 2008, 09:51 AM
Right, I was asking that you have CIV4UnitSpellSchema.xml file in the same folder as the SpellInfos file. So no luck on that being a cheap & easy fix :(

Vehem
Mar 17, 2008, 09:54 AM
It's still going to be easiest to investigate if you post the files somewhere so that we can look at them. Either the SpellInfos.xml alone, or all the XML (it compresses really well, being pretty much plain-text). At the moment, I'm a little stumped as from what you've said there isn't much left to cause the problem.