I've finally found a way to restrict a building/unit based on civ.
This helps me immensely for my MOM mod. So I can now restrict things to races.
Here is how I did it
in the Civ4CivilizationInfos.xml file change the following lines.
to this
That worked for me
Edited once I found an even easier way
This helps me immensely for my MOM mod. So I can now restrict things to races.
Here is how I did it

in the Civ4CivilizationInfos.xml file change the following lines.
Code:
<BUILDINGS/>
to this
Code:
<Buildings>
<Building>
<BuildingClassType>BUILDINGCLASS_NAME</BuildingClassType>
<BuildingType>NONE</BuildingType>
</Building>
</Buildings>
That worked for me

Edited once I found an even easier way
