Unique Buildings

brad1600

Chieftain
Joined
Dec 31, 2005
Messages
2
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>
 
brad1600 said:
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:

Code:
			<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.
 
Kael said:
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:
 
okay, I guess I'll have to spend more time on this than I thought, thanks to everyone anyway
 
jbfballrb said:
if that doesnt let someone build it, couldnt you just put that in every other civs entry?

Yeap, I bet that would work too.
 
Back
Top Bottom