howto modify religions thread
i´d say leave the fingers away from anything but the "<Tag>TXT_KEY_*" things.
This seems to be a difficult structure and only god knows at how many places the religion is linked.
Leave the TXT_KEY_* things as they are and only change the parts where it all coems together again.
here´s the name of the religion
CIV4GameTextInfos_Objects.xml
Code:
<TEXT>
<Tag>TXT_KEY_RELIGION_TAOISM</Tag>
#<English>Taoism</English>
[COLOR="Red"]<English>Pantheism</English>[/COLOR]
<French>
#<Text>Taoïsme</Text>
[COLOR="Red"]<Text>Pantheism</Text>[/COLOR]
<Gender>Male</Gender>
<Plural>0</Plural>
</French>
<German>
#<Text>Taoismus</Text>
[COLOR="Red"]<Text>Pantheismus</Text>[/COLOR]
<Gender>Male</Gender>
<Plural>0</Plural>
</German>
<Italian>
#<Text>Taoismo:Taoista</Text>
[COLOR="Red"]<Text>Pantheisma:Pantheista</Text>[/COLOR]
<Gender>Male:Female</Gender>
<Plural>0</Plural>
</Italian>
<Spanish>
#<Text>Taoísmo</Text>
[COLOR="Red"]<Text>Pantheisma</Text>[/COLOR]
<Gender>Male</Gender>
<Plural>0</Plural>
</Spanish>
</TEXT>
here´s the name of the missionary
Code:
<TEXT>
<Tag>TXT_KEY_UNIT_TAOIST_MISSIONARY</Tag>
#<English>Taoist Missionary</English>
[COLOR="Red"]<English>Pantheist Missionary</English>[/COLOR]
<French>
#<Text>Missionnaire taoïste</Text>
[COLOR="Red"]<Text>Missionnaire Pantheiste</Text>[/COLOR]
<Gender>Male</Gender>
<Plural>0</Plural>
</French>
<German>
#<Text>Taoistischer Missionar</Text>
[COLOR="Red"]<Text>Pantheistischer Missionar</Text>[/COLOR]
<Gender>Male</Gender>
<Plural>0</Plural>
</German>
<Italian>
#<Text>Missionario Taoista:Missionari Taoisti</Text>
[COLOR="Red"]<Text>Missionario Pantheista:Missionari Pantheisti</Text>[/COLOR]
<Gender>Male</Gender>
<Plural>0:1</Plural>
</Italian>
<Spanish>
#<Text>Misionero taoísta:Misioneros taoístas</Text>
[COLOR="Red"]<Text>Misionero pantheísta:Misioneros pantheístas</Text>[/COLOR]
<Gender>Male</Gender>
<Plural>0:1</Plural>
</Spanish>
</TEXT>
etc... (i´m sure there´s more, buildings etc.)
just look for the keys and substitute what´s in them....this might be a bit sloppy but should do the job for renaming the religion.
i think this is the most lazy way since you won´t have to edit all the files that refer to the religion, just the religion itself. The whole structure of the religion stays the same, it just got another name
i think all you need to do, when renaming a religion is editing the names in the language tags not the name of the pointer itself.
if, for example you start editing
civ4religioninfo.xml
Code:
<ReligionInfo>
<Type>[COLOR="Red"]RELIGION_TAOISM[/COLOR]</Type>
<Description>[COLOR="Red"]TXT_KEY_RELIGION_TAOISM[/COLOR]</Description>
<Civilopedia>[COLOR="Red"]TXT_KEY_RELIGION_TAOISM_PEDIA[/COLOR]</Civilopedia>
<TechPrereq>TECH_PHILOSOPHY</TechPrereq>
<FreeUnitClass>[COLOR="Red"]UNITCLASS_TAOIST_MISSIONARY[/COLOR]</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>[COLOR="Red"]Art/Interface/Buttons/Religions/Taoism.dds[/COLOR]</Button>
<TechButton>[COLOR="Red"]Art/Interface/Buttons/TechTree/Taoism.dds[/COLOR]</TechButton>
<MovieFile>[COLOR="Red"]Art/Movies/Religion/Taoism/Tao_Found.nif[/COLOR]</MovieFile>
<MovieSound>[COLOR="Red"]AS2D_BUILD_TAOIST_MOVIE[/COLOR]</MovieSound>
<Sound>[COLOR="Red"]AS2D_BUILD_TAOIST[/COLOR]</Sound>
</ReligionInfo>
..every red part would lead you to another file that has to be replaced, edited.
This will be an endless worm of editing.
would be great if someone could give a go or no go for my solution, i m pretty sure it works but since i haven´t tried it i m not 100% sure.