Jeckel
Great Reverend
Ok, I am trying to add a ReligionClassInfo to the SDK. I have just about everything working, but have run into a problem.
I have the xml file, the schema is changed, I added the new Info Class into the CvInfos.ccp and all the other needed places, added getNumReligionClassInfos, getReligionClassInfo() and getReligionClassInfo(eReligionClass). Everything is working fine to this point, the dll compiles, xml files load, and the game runs.
But, getNumReligionClassInfos() equals 0 for some reason. I have 2 Religion Classes in the new xml file and if I put unexpected tags in the religionclass data I get the expected xml load errors so it seems to be reading through the file correctly. But it just doesn't add the religion classes to the religionclass array in the SDK.
I have the feeling I'm missing something simple, but I just can't figure it out. I have basicly gone thought the files and every where I found something to do with Religion Infos I added the same thing but for Religion Class Infos.
If anyone could offer suggestions on what I might be forgetting or point me to a BtS mod that addes a new xml file I would really appriciate it.
Here is a zip with the changed C++ files.
Here is the GameInfo directory with the modified GameInfo schemea, and the ReligionClassInfo.xml files.
I have the xml file, the schema is changed, I added the new Info Class into the CvInfos.ccp and all the other needed places, added getNumReligionClassInfos, getReligionClassInfo() and getReligionClassInfo(eReligionClass). Everything is working fine to this point, the dll compiles, xml files load, and the game runs.
But, getNumReligionClassInfos() equals 0 for some reason. I have 2 Religion Classes in the new xml file and if I put unexpected tags in the religionclass data I get the expected xml load errors so it seems to be reading through the file correctly. But it just doesn't add the religion classes to the religionclass array in the SDK.
I have the feeling I'm missing something simple, but I just can't figure it out. I have basicly gone thought the files and every where I found something to do with Religion Infos I added the same thing but for Religion Class Infos.
If anyone could offer suggestions on what I might be forgetting or point me to a BtS mod that addes a new xml file I would really appriciate it.

Here is a zip with the changed C++ files.
Here is the GameInfo directory with the modified GameInfo schemea, and the ReligionClassInfo.xml files.