[BTS] 43 Religions

Ive made a reduced version with 15 religions instead of 43, based on your code (btw, I dont known python). I removed the second panel and adjusted the position of names and icons. I think 43 is too much for me, theres not enough technologies for all these religions, unless you can restrict some religions to some civilizations.
In Civ 3 it was possible to restrict some technologies to specific civilizations, and since in Civ 4 the religions are based in technologies, I think its possible, using the SDK, to do the same, creating duplicates of the same technology but that appear only for this or that civilization and allow only this or that religion. But I dont known anything about the SDK so I guess I cant help with this one.
 
Great to hear about the progress on the dynamic city screen.

Im my opinion, each religious grouping should have its own tech tree branch, which then allows the offshoots. For example, Monotheism leads into the Judeo-Christian-Islamic tree. This way, theological ideas can be researched within an appropriate context and you no longer have to find main tech tree advances for every single religious group.
 
Happy to lend a hand, this is a mod I've been wanting to see for a while and just didn't have the time to do by myself. Its great that johny smith is willing to put the time in to pull this together. :goodjob:

For what its worth here is my two cents.
Add a new tag to the ReligionInfo, <Class>. This will be the group tag used to see what religions belong together. Those with the same text in their tag are in the same group. Easy, simple, and efficient.
Add a new tag to the ReligionInfo, <SubReligions>. You would then put <SubReligion></SubReligion> tags under it that would have religions that this relgion could turn into. This is just an idea I got seeing yall talk about religious schisms. At the most basic, if you have religion X, and you are getting a new religion, it will be more likely to be a subreligion of X then any others.
Add two new tags to the LeaderInfo, <FavoriteReligionClass> and <FavoriteReligion>. So say the fav class could be Christianity and the fav religion could be Catholic. And the leader would pick Catholic if possible, but if not would then fall back to another avaliable Christian Class religion.
Add two new tags to the CivilizationInfo, <FavoriteReligionClass> and <FavoriteReligion>. Add these two tags to the Civilization Infos inaddition to the ones added to the Leader Infos. That way if they aren't set for the leader they can default to the Civ.

That is my basic proposal and once those basics, or somthing similar, is in place it will be alot easyer to get the higher systems laid out. I'm going to start by making up a dll with the new ReligionInfo tag <Class>. Ill add the tag, the functions in the cpp files, and exposing them to python. Once johny smith has that as an example, I'm sure he can get the rest going without much trouble. :)
 
Hi Johhny_Smith,

If you get this working smoothly, it will be really cool. I haven't done any BTS modding, but let me mention some problem areas you may run into from my Warlords experience.

The biggest obstacle may be the gamefonts.tga file. There is space in it for a maximum of 25 religions, but I started running into strange issues over 23. Even at the high teens, you start to see some icons not showing up related to city defense, etc.

Note that this file is intimately connected with CIV4Religions.xml. The order of the religions in the xml is the order it expects to find them in gamefonts. So, I don't think it will work well for you to simply add more religions and not worry about the icons. You will start getting resource icons as religion icons. I have also noticed that the game is picky about gamefonts and can outright crash if it doesn't like something about it.


The other item I'll mention relates to game-play. If the civics are set up so that everyone eventually goes for free religion and you have 40+ religions, then no city will ever be unhappy. If Civs don't have Free Religion, then you run the risk of every civ having its own religion which gets rid of the unifying effect of religion in history ("Christendom", for example.)

I assume you know that the SDK only ever spreads one religion to a city without missionaries. If you don't like that, you need to work with 'DoReligion' in the GameUtils. I replaced the default one my my religion mod. (Feel free to lift anything you like from my code.)


Finally, I had an idea that I never pursued that might interest you. I actually considered having each religion have its own customized civic. The flexibility of civics is way greater than religions. Then you could potentially get around the gamefonts problem by having each family of religions be a religion in the game (Dharmic, Abrahamic, Pagan, etc.) but each 'religion' be a civic instead. Just a thought.

Good luck!
Eusebius
 
You could have Nazism, that's almost a religion :D People might get angry though..

Seriously may I ask why you wanted 47 religions though? Wouldn't it cripple the balance of the game?
 
So Orthodox and Christianity would essentially be the same? That would be realistic if you can get it to work properly (if that's what you mean) and it will balance out to ten or so groups? It does sound confusing though, I'm not sure how you will work out holy cities for each group (more than one?) Good luck though :)
 
There's actually that many religions in existance? :eek:

How long did it take you to find out about all of these?
 
The SDK will come, it is just a matter of time. :D

But, there are a few things that are going to be needed.

1) Each of the Religion Classes is going to need a name. For heritage sake I would suggest we start with 7 of them, but no worries if there are more or less.

2) Each Religion Class is going to need a button. They don't need to be added into the GameFonts.tga, just some dds buttons.

3) The religions are going to need to be grouped into them.

One question I do have. Should religions be allowed to belong to multiple Religion Classes? For example, RELIGION_CHRISLAM has RELIGIONCLASS_CHRISTIANITY and RELIGIONCLASS_ISLAM. It is easyer to have a religion belong to one religion class then to make it possible to have more then one, but if people think it is nessesarry I might go ahead and do it. What do ya think? johny smith, the rest of yall, opinions? :)
 
Back
Top Bottom