[GS] [REQUEST] Unique Building Help

[FADM] Shadow Wing

Chieftain
Joined
Feb 24, 2019
Messages
9
Location
The Netherlands
Hey there.

i have been trying to add a unique building and while i have the building working (not finisht yet)
i want to make it so its as a unique building to 1 civ in particular EG: Greece
so only Greece can build it.
but i have no idea how to do this... (even after try look into other mods)
Any1 willing to give me a template i can use?
(note its in XML NOT SQL)
in spoiler it shows what i got so far in the NewBuilding_Gameplay.xml
(this is just a test once i am certain it works to wishes i make a proper 1)

Spoiler :

<?xml version="1.0" encoding="utf-8" ?>
<GameData>
<Types>
<Row Type="BUILDING_TEST" Kind="KIND_BUILDING" />
</Types>
<Buildings>
<Row BuildingType="BUILDING_TEST" Name="LOC_BUILDING_TEST_NAME" PrereqDistrict="DISTRICT_CITY_CENTER" PurchaseYield="YIELD_GOLD" Cost="100" AdvisorType="ADVISOR_GENERIC"/>
</Buildings>
<Building_YieldChanges>
<Row BuildingType="BUILDING_TEST" YieldType="YIELD_CULTURE" YieldChange="3"/>
</Building_YieldChanges>
<Building_GreatPersonPoints>
<Row BuildingType="BUILDING_TEST" GreatPersonClassType="GREAT_PERSON_CLASS_ARTIST" PointsPerTurn="1"/>
<Row BuildingType="BUILDING_TEST" GreatPersonClassType="GREAT_PERSON_CLASS_ENGINEER" PointsPerTurn="1"/>
<Row BuildingType="BUILDING_TEST" GreatPersonClassType="GREAT_PERSON_CLASS_MUSICIAN" PointsPerTurn="1"/>
<Row BuildingType="BUILDING_TEST" GreatPersonClassType="GREAT_PERSON_CLASS_WRITER" PointsPerTurn="1"/>
</Building_GreatPersonPoints>
</GameData>
 
Last edited:
You need to give that building a new civ trait. i can tell you how tomorrow...but in the meantime you could take a look at the mod „Civilization specific Wonders“ (or similar name, i dont remember exactly now, was a long night)

in this mod he made it, but for World Wonders. Process is very similar, just that you dont do this for a new Wonder, but for a new building instead.
 
Back
Top Bottom