Advertisement
Civilization Fanatics' Center  

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.

Go Back   Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization

Notices

Reply
 
Thread Tools
Old May 20, 2012, 09:22 PM   #1
Greymalkin2k
Chieftain
 
Join Date: Jul 2004
Posts: 9
Civ4 BTS Adding a new Corporation

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.xml
CIV4ArtDefines_Unit.xml
CIV4BuildingClassInfos.xml
CIV4BuildingInfo.xml
CIV4CorporationInfo.xml
CIV4UnitClassInfos.xml
CIV4UnitInfos.xml
The 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
Greymalkin2k is offline   Reply With Quote
Old May 21, 2012, 06:07 AM   #2
The_J
Say No 2 Net Validations

 
The_J's Avatar
 
Join Date: Oct 2008
Location: Germany / Netherlands
Posts: 24,837
Images: 51
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.
__________________
Civ4-BtS-Mod "Mars, Now!"


Steam eats the souls of little gamers!!!
The_J is offline   Reply With Quote
Old May 21, 2012, 09:47 PM   #3
Greymalkin2k
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
Greymalkin2k is offline   Reply With Quote
Old May 22, 2012, 01:56 AM   #4
Padjur
Prince
 
Join Date: Nov 2009
Posts: 310
Quote:
Originally Posted by Greymalkin2k View Post
The 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.
The error probably lies in building info's, or corporationinfo's, not unit info's. The two tags in with CORPORATION_8 in unit infos relate to the prereq corporation and the spread of the corporation,
Maybe this tag in buildinginfos
Code:
<FoundsCorporation>CORPORATION_8</FoundsCorporation>
Could you post the code for us to take a look?
Padjur is offline   Reply With Quote
Reply

Bookmarks

Go Back Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > [BTS] Adding a new Corporation

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Advertisement

All times are GMT -6. The time now is 03:35 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This site is copyright © Civilization Fanatics' Center.
Support CFC: Amazon.com | Amazon UK | Amazon DE | Amazon CA | Amazon FR