View Full Version : HELP! "Info Class was Incorrect"


Dubhghaill
Mar 03, 2008, 12:43 AM
I'm trying to make a new religion, and it was all going well until I came across an error as I began to load. I get to "[Druidism] Init xml (uncached)" then it has several warnings stating that "tag: unitclass_druidic_missionary in Info class was incorrect current xml file is xml\gameinfo/religioninfo.xml"
and does one for my temple, cathedral, monastary, shrine (all in xml\buildings/civ4buildinginfos.xml) and my missionary (in xml\units/civ4unitinfos.xml)
any idea what went wrong? I was pretty sure I wouldn't get it right on my first try. If I can get this working though I'm hoping to add Aztec religion and maybe Egyptian religion as well (IF I can get this working being the important bit...) This is my first stab at modding at I'm determined not to be defeated...no more Hindu Celts for me!
ANY advice would be great...really...any at all
Thanks

Ambreville
Mar 03, 2008, 06:58 AM
Sounds like you've got a unit class tag incorrectly listed in your file, either your game info file, or the unit info file, of the unit class file (check all of the files that refer to your new unit class and make sure they all jive). It may be just a slight typo.

woodelf
Mar 03, 2008, 07:07 AM
You need to create new UnitClasses and BuildingClasses for your new entries.

Dubhghaill
Mar 03, 2008, 11:52 AM
"You need to create new UnitClasses and BuildingClasses for your new entries"

how do I do this beyond just changing every instance of one religions' name into another? Is this something separate from that. So far I've copied the taoist entries and replaced all the instances of taosit with druidic and taoism with druidism in the 7 xml files I was told to (artdefines_building, artdefines_unit, artdefines_movie, buildinginfos, unitinfos, religioninfos, gametextinfos_druidism) plus the 2 audio files. I've added new art files, correctly named, and sound. do I have to change anything else so the program understands I'm making a new religion here?
Thanks

Ambreville
Mar 03, 2008, 12:04 PM
Besides unitinfo and buildinginfo files, you need new entries in unitclassinfos and buildingclassinfo files. Did you update those?

Dubhghaill
Mar 03, 2008, 04:07 PM
Besides unitinfo and buildinginfo files, you need new entries in unitclassinfos and buildingclassinfo files. Did you update those?

I'm thinking that was the missing step. I'll try it and see. Thanks!