View Full Version : Game won't let me change building type when I copy paste


Lonkut
Jan 05, 2007, 04:28 PM
in warlords:
I copy pasted the forge's building class in the CIV4BuildingClassInfos.xml and changed it to <Type>BUILDINGCLASS_PROD</Type> but when I copy paste the forge building info the game won't start if I change the type from <Type>BUILDING_FORGE</Type> to <Type>BUILDING_FORGE1</Type>.

http://i144.photobucket.com/albums/r183/photobuckteh/buildingerror.jpg

cf_nz
Jan 06, 2007, 02:34 PM
Can you post the sections of XML you have changed (the entire forge entrys), I'm not entirely sure what you've done/you're trying to do.

ollj
Jan 06, 2007, 03:28 PM
you duplicated a building from
CIV4BuildingClassInfos.xml
and get an error about
CIV4BuildingInfos.xml

I never changed buildings but it seems the 2 files cant do without each other, both have 1 entry for every of the 105 buildings.
Add a "BUILDING_FORGE1" to CIV4BuildingInfos.xml

Gaurav
Jan 08, 2007, 09:37 AM
you duplicated a building from
CIV4BuildingClassInfos.xml
and get an error about
CIV4BuildingInfos.xml

I never changed buildings but it seems the 2 files cant do without each other, both have 1 entry for every of the 105 buildings.
Add a "BUILDING_FORGE1" to CIV4BuildingInfos.xml

Actually, CIV4BuildingClassInfos should be missing the unique buildings. The "class" structure is used to map default buildings and civilizations to the unique buildings via the "civilization buildings" specified in CIV4CivlizationInfos.xml.