brad1600
Dec 31, 2005, 07:18 PM
How is it that I create Unique Buildings in Civilization 4, When I try to run I have an error in the CIV4CivilizationInfos file, I'm guessing this is just a problem with the tags, I have this so far:
<Buildings>
<BuildingClassType>BUILDINGCLASS_FORGE</BuildingClassType>
<BuildingType>BUILDINGCLASS_CUSTOMCIV_FORGE</BuildingType>
</Buildings>
Kael
Jan 01, 2006, 12:29 AM
How is it that I create Unique Buildings in Civilization 4, When I try to run I have an error in the CIV4CivilizationInfos file, I'm guessing this is just a problem with the tags, I have this so far:
<Buildings>
<BuildingClassType>BUILDINGCLASS_FORGE</BuildingClassType>
<BuildingType>BUILDINGCLASS_CUSTOMCIV_FORGE</BuildingType>
</Buildings>
That isn't what that element is for. The correct tags are:
<Buildings>
<Building>
<BuildingClassType>BUILDINGCLASS_PALACE</BuildingClassType>
<BuildingType>NONE</BuildingType>
</Building>
</Buildings>
But what it does is it disallows that Civ from being able to build that building (I know, its weird). It doesn't make that build a unique unit for that civ.
To make a building unqiue for a civ you are either going to have to write python to interrupt the CanConstruct function or give the civ a unique tech that is disallowed by all other civs and required to make the building.
RED DIAMOND
Jan 01, 2006, 05:06 AM
To make a building unqiue for a civ you are either going to have to write python to interrupt the CanConstruct function or give the civ a unique tech that is disallowed by all other civs and required to make the building.
Or make a UU for that civ that has a force build command like the Inquisition mod, quite easy actually because its all xml.:cool:
jbfballrb
Jan 01, 2006, 05:59 AM
if that doesnt let someone build it, couldnt you just put that in every other civs entry?
brad1600
Jan 01, 2006, 07:04 AM
okay, I guess I'll have to spend more time on this than I thought, thanks to everyone anyway
Kael
Jan 01, 2006, 09:37 AM
if that doesnt let someone build it, couldnt you just put that in every other civs entry?
Yeap, I bet that would work too.