National wonder define to one civ

SIMPA

Prince
Joined
Sep 17, 2007
Messages
367
Location
Zagreb,CROATIA
Pozdrav!
Hej guys and girls just one question?!
Is it possible to give certain civilization national wonder that can only that civ can build..
like that only russ civ could build Kremlj or us civ White house??
I know that you can give unique buildings to certain civ wich replace certain building, but I want to give them their national wonder..so my question is how to define that in buildingclass in buildinginfo and in civilizationinfo??
Thx guys and girls!!
 
Isn't it possible to create a building and just turn off the ability to build it for certain (in this case the rest) civs? Just my thoughts on the subject.
 
Make a new building class named National Wonder which acts like a national wonder, then use the UB system to replace it with the Unique wonder.
 
Ok I think I underthestand what I have to do...
So I have to create new building in buildingclass for example Blue house and in building class make tag that act like national wonder.Then in civilization info define Blue house like unique building, for example for US,that replace Blue house..
Did I underthestand corect??
 
Correct.

To be specific, in CIV4BuildingClassInfo.xml, the entry would look like
Code:
		<BuildingClassInfo>
			<Type>BUILDINGCLASS_BLUE_HOUSE</Type>
			<Description>TXT_KEY_BUILDING_BLUE_HOUSE</Description>
			<iMaxGlobalInstances>-1</iMaxGlobalInstances>
			<iMaxTeamInstances>-1</iMaxTeamInstances>
			<iMaxPlayerInstances>1</iMaxPlayerInstances>
			<iExtraPlayerInstances>0</iExtraPlayerInstances>
			<bNoLimit>0</bNoLimit>
			<bMonument>0</bMonument>
			<DefaultBuilding>NONE</DefaultBuilding>
			<VictoryThresholds/>
		</BuildingClassInfo>

Then in CIV4CivilizationInfos.xml, for America change the UB portion to
Code:
			<Buildings>
				<Building>
					<BuildingClassType>BUILDINGCLASS_SUPERMARKET</BuildingClassType>
					<BuildingType>BUILDING_AMERICAN_MALL</BuildingType>
				</Building>
				<Building>
					<BuildingClassType>BUILDINGCLASS_BLUE_HOUSE</BuildingClassType>
					<BuildingType>BUILDING_BLUE_HOUSE</BuildingType>
				</Building>
			</Buildings>

This assumes that the Blue House is a new wonder and not a replacement for something that already exists.

If, on the other hand you want (as an example) to give Spain an alternate version of Heroic Epic, named ElCid, you wouldn't touch the BuildingClass at all. The new wonder would be assigned to the existing BUILDINGCLASS_HEROIC_EPIC, and you would just make an entry in CIV4CivilizationInfos.xml to add it to Spain's list of UBs.
 
Correct.

To be specific, in CIV4BuildingClassInfo.xml, the entry would look like
Code:
		<BuildingClassInfo>
			<Type>BUILDINGCLASS_BLUE_HOUSE</Type>
			<Description>TXT_KEY_BUILDING_BLUE_HOUSE</Description>
			<iMaxGlobalInstances>-1</iMaxGlobalInstances>
			<iMaxTeamInstances>-1</iMaxTeamInstances>
			<iMaxPlayerInstances>1</iMaxPlayerInstances>
			<iExtraPlayerInstances>0</iExtraPlayerInstances>
			<bNoLimit>0</bNoLimit>
			<bMonument>0</bMonument>
			<DefaultBuilding>NONE</DefaultBuilding>
			<VictoryThresholds/>
		</BuildingClassInfo>

Then in CIV4CivilizationInfos.xml, for America change the UB portion to
Code:
			<Buildings>
				<Building>
					<BuildingClassType>BUILDINGCLASS_SUPERMARKET</BuildingClassType>
					<BuildingType>BUILDING_AMERICAN_MALL</BuildingType>
				</Building>
				<Building>
					<BuildingClassType>BUILDINGCLASS_BLUE_HOUSE</BuildingClassType>
					<BuildingType>BUILDING_BLUE_HOUSE</BuildingType>
				</Building>
			</Buildings>

This assumes that the Blue House is a new wonder and not a replacement for something that already exists.

If, on the other hand you want (as an example) to give Spain an alternate version of Heroic Epic, named ElCid, you wouldn't touch the BuildingClass at all. The new wonder would be assigned to the existing BUILDINGCLASS_HEROIC_EPIC, and you would just make an entry in CIV4CivilizationInfos.xml to add it to Spain's list of UBs.

Hey thx I wreally apriciate your help
Take care!!:)
 
Top Bottom