| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Chieftain
Join Date: Jul 2004
Posts: 9
|
Hello all! I am trying to add two new corporations to my game via modules and am having a little difficulty. I have started by trying to add one and will add the other after I can get the first one working.
When I run the mod, the new corp doesn't show in the Civlopedia and I keep getting an XML error for my executive unit stating that "Tag: CORPORATION_8 in Info Class was incorrect". The current file being my CORP_CIV4UnitInfos.xml I have added modular files for units and buildings, am I missing something here? CIV4ArtDefines_Building.xmlThe error for UnitInfos is the only error I get in running, and I get it twice. I have even tried adding the changes to a non-modular format and get the same error. If I change the two entries for CORPORATION_8 in UnitInfos to a preexisting corp it loads fine but still does not show my corp in the pedia. I am really at a loss and hope someone can shed some light on this. Thank you for your time, Greymalkin2k |
|
|
|
|
|
#2 |
|
Say No 2 Net Validations
![]() ![]() |
First guess: You misspelled CORPORATION_8 either in the unitInfos or in the corporationInfos.
Don't trust your eyes on spelling . To be sure, copy the entry from one of the files, and search for it in the second file. If that's not successful, then you know you have a spelling error somewhere.
|
|
|
|
|
|
#3 |
|
Chieftain
Join Date: Jul 2004
Posts: 9
|
Thank you The_J for your reply. Unfortunately the spelling is correct in all of the files. I did a copy-search to make sure that the text was always spelled the same. The word corporation stopped looking like a real word some time ago...
![]() Any other suggestions? Greymalkin2k |
|
|
|
|
|
#4 | |
|
Prince
Join Date: Nov 2009
Posts: 310
|
Quote:
Maybe this tag in buildinginfos Code:
<FoundsCorporation>CORPORATION_8</FoundsCorporation> |
|
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|