1. Firaxis celebrates the "Asian American and Pacific Islander Heritage Month", and offers a give-away of a Civ6 anthology copy (5 in total)! For all the details, please check the thread here. .
    Dismiss Notice
  2. Old World has finally been released on GOG and Steam, besides also being available in the Epic store . Come to our Old World forum and discuss with us!
    Dismiss Notice

National wonder define to one civ

Discussion in 'Civ4 - Creation & Customization' started by SIMPA, Aug 14, 2009.

  1. SIMPA

    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!!
     
  2. Yared

    Yared That Guy

    Joined:
    May 21, 2009
    Messages:
    4,516
    Location:
    Hufvudstaden
    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.
     
  3. The_J

    The_J Say No 2 Net Validations Administrator Supporter

    Joined:
    Oct 22, 2008
    Messages:
    36,313
    Location:
    DE/NL/FR
    New building + buidlingclass, but with NONE as default building in the building class, and add it as an UB for the specific civ.
     
  4. mechaerik

    mechaerik Tuturuu!

    Joined:
    Oct 28, 2008
    Messages:
    7,064
    Location:
    Los Angeles
    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.
     
  5. SIMPA

    SIMPA Prince

    Joined:
    Sep 17, 2007
    Messages:
    367
    Location:
    Zagreb,CROATIA
    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??
     
  6. zyphyr

    zyphyr Prince

    Joined:
    Oct 30, 2005
    Messages:
    461
    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.
     
  7. SIMPA

    SIMPA Prince

    Joined:
    Sep 17, 2007
    Messages:
    367
    Location:
    Zagreb,CROATIA
    Hey thx I wreally apriciate your help
    Take care!!:)
     

Share This Page