Removing Religions

Darkhour

Warlord
Joined
Nov 15, 2005
Messages
165
Location
Melbourne, Australia
Okay there are lots of topics on changing religions but could anyone please tell me how to remove religions from the game?..

I think this takes more than just editing the xml files.. My aim is to have only 4-5 religions..

Cheers..
 
I am also wondering the oposite, if there is a way to add in religions.

Though it might be that it may be hard coded.
 
To remove a religion, you might try deleting all mentions of the religion in the CIV4GameTextInfos_Objects.xml and the CIV4ReligionInfo.xml files. Both of which can be found in the XML folders (Text and GameInfo respectivly).

I don't know if that will work or not. But it's what I would try first.

I am also wondering the oposite, if there is a way to add in religions.

Though it might be that it may be hard coded.

Adding religions is not very hard. The most time consuming part of it is making the custom graphics/icons.

Basically you just have to add the religion's information into all the XML files that deal with the religion and its units/buildings.
 
I doesnt work,(You get errors that there is a religion missing) the best to delete religions is adding a python script that disables the religion screen and addin a religion with no icon, text and is only researchable with a technology thats disabled.
 
it is possible, but i dont know how :D
the FFH mod only uses 5 religions and there are mods that change one religion (i thought it was confescaism, correctly spelled, that they changed). so if you can rename/change a religion, it's also possible to remove one. the only thing is, you have to remove EVERYTHING. tech references, buildings, missionairies, etc. (at least i think :) ).

haarbal
 
CIV4ReligionInfo.xml is the correct file to remove the religion from given the following:

1. All the objects in this game are referred to by multiple files, so if you add or remove anything you will need to go add or remove the appropriate references in other files. For a religion you will need to go to the units file and remove the reference to the religion on any unit that used it. You will need to go to the building file and remove any reference to builds that used it. Then load the game, if the game shows errors on a reference to the religion during the load note the file and go clean the reference to the religion out of that file. Repeat until all the errors are gone.

2. The Gamefont.tga and the gamefont75.tga files. I hate these files. These files are a collection of icons, among them are the religion icons. The religion icons are in order such that the first icon goes with the first religion in the Civ4ReligionInfo file, the 2nd icon goes with the 2nd religion, etc etc. The result of this is that if you remove the 3rd religion from the game then the former 4th religion (which is now 3rd in the file) will now be using the religion icon of the religion you removed, the former 5th religion will be using the icon for the former 4th religion, etc. So you have to go change the Gamefont.tga and Gamefont75.tga files to match the layout of your religions.
 
Back
Top Bottom