Nexushyper
Warlord
Ok, so I'm looking at the CIV4ReligionInfo.xml file and noticed it uses the <FreeUnitClass> to set which religion gets a free missionary. Where CIV4CivilizationInfos.xml uses <FreeUnitClasses> followed by <FreeUnitClass> and thus you can set 1 or 10 free start units.
So the questions: Can one edit the ReligionInfos file to let a religion give more than one free unit? If so do you set it up like CivilizationInfos.xml? I'm at work so I can't test this, but the idea just came to me. I have both files listed above on my work PC (Downloaded from this site.) But I have no way to make changes and test it rigth now.
I have included a sample of the code from ReligionsInfos.xml and a sample from CivilizationsInfos.xml
So the questions: Can one edit the ReligionInfos file to let a religion give more than one free unit? If so do you set it up like CivilizationInfos.xml? I'm at work so I can't test this, but the idea just came to me. I have both files listed above on my work PC (Downloaded from this site.) But I have no way to make changes and test it rigth now.
I have included a sample of the code from ReligionsInfos.xml and a sample from CivilizationsInfos.xml
Code:
<ReligionInfo>
<Type>RELIGION_TAOISM</Type>
<Description>TXT_KEY_RELIGION_TAOISM</Description>
<Civilopedia>TXT_KEY_RELIGION_TAOISM_PEDIA</Civilopedia>
<TechPrereq>TECH_PHILOSOPHY</TechPrereq>
<FreeUnitClass>UNITCLASS_TAOIST_MISSIONARY</FreeUnitClass>
<iSpreadFactor>100</iSpreadFactor>
<GlobalReligionCommerces>
<iGlobalReligionCommerce>1</iGlobalReligionCommerce>
<iGlobalReligionCommerce>0</iGlobalReligionCommerce>
<iGlobalReligionCommerce>0</iGlobalReligionCommerce>
</GlobalReligionCommerces>
<HolyCityCommerces>
<iHolyCityCommerce>0</iHolyCityCommerce>
<iHolyCityCommerce>0</iHolyCityCommerce>
<iHolyCityCommerce>4</iHolyCityCommerce>
</HolyCityCommerces>
<StateReligionCommerces>
<iStateReligionCommerce>0</iStateReligionCommerce>
<iStateReligionCommerce>0</iStateReligionCommerce>
<iStateReligionCommerce>1</iStateReligionCommerce>
</StateReligionCommerces>
<Button>Art/Interface/Buttons/Religions/Taoism.dds</Button>
<TechButton>Art/Interface/Buttons/TechTree/Taoism.dds</TechButton>
<MovieFile>Art/Movies/Religion/Taoism/Tao_Found.nif</MovieFile>
<MovieSound>AS2D_BUILD_TAOIST_MOVIE</MovieSound>
<Sound>AS2D_BUILD_TAOIST</Sound>
</ReligionInfo>
Code:
<FreeUnitClasses>
<FreeUnitClass>
<UnitClassType>UNITCLASS_SETTLER</UnitClassType>
<iFreeUnits>1</iFreeUnits>
</FreeUnitClass>
</FreeUnitClasses>