Religious City States

Gangler

Chieftain
Joined
Jan 6, 2011
Messages
38
Location
São Paulo, Brasil
This mod adds Religious city states to the game. These city states found a religion and spread it automatically to all known civilizations.

  • Choose a State Religion to optimize your cities' culture and happiness- but also to align yourselves with world leaders (not yet implemented: diplomatic repercussions).
  • Allied holy cities allow you to construct a wondrous Shrine that brings pilgrims from all around the world (and their money) to your empire (not yet implemented: shrine gold growth).
  • Conquering a holy city will bring even more happiness and culture to your empire, but will draw the ire of leaders who support that religion (not yet implemented).
  • A pious people with shrines and priests generates Great Prophets (not yet implemented: Great Prophet actions).
  • Make friends with (or war on) Judaism, Christianity, Islam, Zoroastrianism, Hinduism, Buddhism, Shinto, Confucianism, and Taoism.

It's not just like the think tank in the Holy City States thread thread came up with, but it is definitely inspired by it. This is an initial ALPHA build, and while it should be mostly playable I make no promises of smooth sailing. Available via the in-game mod browser.

Compatibility:
Due to the large number of overridden files in this mod (see below), it will break (or be broken by) LOTS of other mods. The one compatibility that I hope functions correctly is alpaca's modular DiploCorner (special thanks to you, sir!).
Spoiler :
  • UI/Civilopedia/CivilopediaScreen.lua
  • UI/InGame/DiploList.lua
  • UI/InGame/TopPanel.lua
  • UI/InGame/WorldView/DiploCorner.xml
  • UI/InGame/WorldView/DiploCorner.lua
  • UI/InGame/Popups/CityStateDiploPopup.lua
  • UI/InGame/Popups/CityStateGreetingPopup.lua
  • UI/InGame/Popups/SocialPolicyPopup.lua

Known issues:
Spoiler :
  • The State Religion screen is a little obscure (hidden in the DiploCorner dropdown). This is not a high priority fix.
  • Civilopedia's Social Policy screen is occasionally wonky. This is because state religions are implemented as a social policy branch that does not play well with the page. This is not a particularly high priority fix.
  • Religion spreading notifications suck. I tried several ways to get notifications working, and the current method is the only one that has worked; it results in incorrect notification icons and no ability to map-center by clicking.
  • Religion spreading buildings in the city view screen have several problems: they show up (which I would rather they not); right-clicking to reach the Civilopedia entry results in an apparent hang (can be corrected by then going into the civilopedia manually); and the happiness bonus from your state religion is displayed twice per building.
  • Civilopedia entries for the new City States are very bare.
  • The world view city display does not show religions present in a city (as anyone with CIV memory would expect to see).
  • If you build a shrine and then lose the associated city state's alliance, a notification about needing Protector of [religion] appears.

How can you help, you say? Well, since you asked, I'd appreciate helpful contact with regard to the following:
Spoiler :
  • The religion spreading calculations are really, really questionable, and a little on the time-consuming side.
  • Great Prophets are ugly (I am not by any means a modeler), and need a portrait.
  • Religious Shrines need portraits!
  • Similar to (but less important than) above, Temples (and the forthcoming Cathedrals, Synagogues, etc.) need portraits.
  • Religious City States need an icon for the DiploList and in the City State diplomacy dialogs (currently shared with Cultural City States).
  • Notifications need serious tweaking- mostly, any pointers to a framework that should integrate here would be handy.
  • The AI doesn't know how to handle ANY of this junk, really... and, as far as I am aware, may be able and inclined to adopt every state religion, since they're just social policies and not even separate mutex branches.

Especially soliciting suggestions on Great Prophet actions, social policy changes, and a restructuring of the Culture building tree to excise Temples.
 
Your mod is a great idea I look forward to it ;)
Do you know if there are some compatibility issues? Particularly with the City-State Diplomacy?
I'll try to mix it with some other mods and report any detail.
Keep up the good work!
 
An update already, bringing the uploaded mod to v2... I had to correct the religion spreading script, which had apparently gotten its contents incorrectly replaced with a less-than-current version during the mod's reconstruction. This should re-fix a bug where some of the "protector of X" resources would not appear.

Edit: Incidentally this also fixes a bug that incorrectly reveals the relative start locations of all AI opponents at the beginning of the game. Yikes!
 
Well done and thank you for all your hard work. I will give you some feedback once I've had chance to try it out.

Three cheers for Gangler. Hip Hip...

:bowdown: :jesus:
 
I am working on a Notification System that will fully suit your needs. Actually, if you want to be another pair of eyes on it, I would be most welcome. You'll see a post about it in the Lua/SDK subforum.
 
Gangler, good mod, a like it! I played in ver 1 and 2 too. Some bugs in ver 2: mixed religion and their city-protectors, hinduism in mecca, etc. color disappeared some AI opponents on the map. And imho too rapid spread of religions, on a 100 turn a had all religions in my capital city.
 
@Sneaks:
Sounds promising. I'll download the code and take a look as soon as work is less demanding.

@liaa:
Mixed religion/city state is actually intended- for now. It seems to be very much the idiom for the Civ series that historical data, while presented via the civilopedia and used as inspiration for many mechanics, is not necessarily binding mechanically (i.e. Sun Tzu could be an Aztec great general, etc.). If there's enough interest in changing this it'd be relatively easy (and make my religion founding algorithm much simpler).

As far as religion spreading rapidly, I agree. I am strongly considering a progress type spreading algorithm, but eschewed it in favor of complete randomness in this implementation since it will probably require saving data with the game (another feature I have yet to have success with). Additionally, not all spread rate-influencing factors are implemented yet. I have plans for the following:

  • Distance. This will be a BIG factor, and I don't think I want to start trying to balance the spread rate until it is implemented.
  • Open Borders (for major civs).
  • Influence level (for city states).
  • Unhappiness (possible). An unhappy empire will probably be more likely to be receptive to new religions.
  • Relative culture rate (possible). If you're pumping out more culture than your neighbor, your religions will be more likely to spread than his.
  • Number of religions in the recipient city (compared to population).

The color vanishing thing... I will have to look into this. It's probably just got to do with the colors I assigned to the particular city states.
 
about color bug: after loading a saved game, all colors are displayed normally.

well, waiting for optimization of the spreading!
 
I'm thinking that if I can include a few bugfixes, great temples, and improved notifications in the next iteration it'll be a good one. I might also try to fit in revised wonder icons. In any event, it won't be for a week or two.
 
Is there anyway I can download this without the in-game browser? Could you upload it to the browser here please? I have a Mac so I don't have the in game browser.

EDIT: Sorry, didn't realize this thread was old-ish.
 
hi gangler
great mod but your work its not perfect sorry for that.im french i speak little english sorry for my bad language.
i try to work in your mod but is difficult without modbuddy(because tools bug for me)
ok so,
religion is good but why each town don't have her respect religion (ex:jerusalem=jewish ,mecca=muslim or bethlem=christianism).
I try do that ,i have look in xml and found for each town :<MinorCivTrait>MINOR_TRAIT_RELIGIOUS</MinorCivTrait>
How configure that please ???
wich line i must add please???

He responded to that in the thread earlier.
 
Back
Top Bottom