avain
(key)
Well, seems that I have to change my signature![]()
Where would the world be if all the Elvis and Michael Jackson fans switched their allegiance once their idols are gone?
Well, seems that I have to change my signature![]()
Where would the world be if all the Elvis and Michael Jackson fans switched their allegiance once their idols are gone?
Dude, Tsentom1 is worth your devotion! Not like that Jacko fella, not sure what's up with him.
Yes, I was being overly sarcastic, actually I am a Tsentom1 fan, I really like what he's done.
## Golden Dawn Start ##
pPlayer = gc.getPlayer( pCity.getOwner( ) )
b_Dawn = gc.getInfoTypeForString("BUILDING_GOLDEN_DAWN")
obsoleteTech = gc.getBuildingInfo(b_Dawn).getObsoleteTech()
if ( gc.getTeam(pPlayer.getTeam()).isHasTech(obsoleteTech) == false or obsoleteTech == -1 ):
for iCity in range(pPlayer.getNumCities()):
ppCity = pPlayer.getCity(iCity)
if ppCity.getNumActiveBuilding(b_Dawn) == true:
iMissionary1 = CvUtil.findInfoTypeNum(gc.getUnitInfo,gc.getNumUnitInfos(),'UNIT_JEWISH_MISSIONARY')
iMissionary2 = CvUtil.findInfoTypeNum(gc.getUnitInfo,gc.getNumUnitInfos(),'UNIT_CHRISTIAN_MISSIONARY')
iMissionary3 = CvUtil.findInfoTypeNum(gc.getUnitInfo,gc.getNumUnitInfos(),'UNIT_HINDU_MISSIONARY')
iMissionary4 = CvUtil.findInfoTypeNum(gc.getUnitInfo,gc.getNumUnitInfos(),'UNIT_BUDDHIST_MISSIONARY')
iMissionary5 = CvUtil.findInfoTypeNum(gc.getUnitInfo,gc.getNumUnitInfos(),'UNIT_CONFUCIAN_MISSIONARY')
iMissionary6 = CvUtil.findInfoTypeNum(gc.getUnitInfo,gc.getNumUnitInfos(),'UNIT_TAOIST_MISSIONARY')
iMissionary7 = CvUtil.findInfoTypeNum(gc.getUnitInfo,gc.getNumUnitInfos(),'UNIT_ISLAMIC_MISSIONARY')
aiMissionaryList = [iMissionary1, iMissionary2, iMissionary3, iMissionary4, iMissionary5, iMissionary6, iMissionary7]
if (eUnit in aiMissionaryList):
return True
## Golden Dawn End ##
Hi. Thanks for the idea. I copied the terracotta section exactly into that file. Should be fine.Imo you have forgotten something. Take a look into: CIV4BuildingClassInfos.xml - must be in there.
with buildinginfos and buildingclassinfos the building should be listed in the civilopedia.
-edit-
Never mind, I figured out it can be done simply by loading the mod in the start screen. Never knew you could load multiple mods simultaneously. Funny how you can overlook the simplest of solutions, doh!