Quantcast
Channel: Civilization Fanatics' Forums
Viewing all articles
Browse latest Browse all 12856

Big error problem with modding...

$
0
0
Can anyone help me? :cry:

I am working on a personal mod that includes a self-made Huns civilization. I downloaded BBAI and modded the files in that to add the Huns civilization, texts, leader, and units. Whenever I load the mod, it comes up with this error:
(I've put big things in spoilers)


Spoiler:

Tag: UNIT_ARCHER in Info class was incorrect
Current XML file is: xml\Civilizations/CIV4UnitArtStyleTypeInfos.xml


Then it repeats the above error with these units:

Spoiler:

Caravel, Chariot, Knight, Scout, Settler, Spearman, Swordsman, Warrior, Worker, Knight, Scout, Settler, Spearman, Worker, Horse Archer, Crossbowman, Scout, Spearman, Warrior, War Elephant, Archer, Axeman, Crossbowman, Knight, Settler, Scout, Spearman, War Elephant, Warrior, Worker, Knight, Settler, Spearman, Swordsman, Warrior, Worker


I checked and that is the order in which the units are listed in CIV4UnitArtStyleTypeInfos.xml

However, I checked very carefully, and nothing is wrong with that file... nothing is wrong with CIV4CivilizationInfos.xml either.

Then it pulls up another error message:

Spoiler:

Tag: UNIT_AMERICAN_NAVY_SEAL in Info class was incorrect
Current XML file is: xml\Civilizations/CIV4CivilizationInfos.xml


Wherever I place the Huns in my CivilizationInfos file, it gets the above error with all of the unique units that come before it. It finally finishes with the error above, replacing UNIT_AMERICAN_NAVY_SEAL with LEADER_ATTILA.

Finally, the last two error messages show:

Spoiler:

Tag: CIVILIZATION_BARBARIAN in Info class was incorrect
Current XML file is: xml\GameInfo/CIV4ForceControlInfos.xml

Tag: LEADER_BARBARIAN in Info class was incorrect
Current XML file is: xml\GameInfo/CIV4ForceControlInfos.xml


Those are apparently references to something in GlobalDefines.
Then, when I start the game, I go to the civilopedia, and everything's messed up... it has no units, deleted lots of leaders or their pictures, and only has america, arabia, and aztecs under civilizations. when i start a custom-game, it lets me pick any leader (without my huns addition), and it lets me pick any empire up to the Huns, and the rest are gone. When i hit launch game, it immediately crashes.

if anyone knows what I can do to fix it... that would be great...

Viewing all articles
Browse latest Browse all 12856

Trending Articles