[FADM] Shadow Wing
Chieftain
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)
<?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>
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: