Events and Religion Founding

Yxklyx

King
Joined
May 7, 2008
Messages
869
I've already created an event that creates a unit when a technology is discovered but I'm not able to do something similar when Theology is discovered. I'd like the first Civilization that researches it to get the Holy Shrine and 3 additional missionaries but I'm only able to get this event to happen on the _next_ turn instead of the turn of discovery. Any ideas?
 
I've already created an event that creates a unit when a technology is discovered but I'm not able to do something similar when Theology is discovered. I'd like the first Civilization that researches it to get the Holy Shrine and 3 additional missionaries but I'm only able to get this event to happen on the _next_ turn instead of the turn of discovery. Any ideas?
Use the onReligionFounded() method in the Event Manager. Pretty straight-forward if you ask me...
 
Python ugh. I hate the "what you see is NOT what you get" philosophy of Python.
 
Wow! What a rotten attitude... :p
 
Need some Perl or C or even Java. Never could get into Python.

For now, I'm just going to give 4 missionaries when Christianity is founded and 5 for Islam and also reduce their cost to 30. Increase their max numbers to 4 and 5 respectively. Maybe I'll allow the missionary to create the shrine as well as a prophet.
 
! That would be overkill. A 30-hammer unit building a holy shrine of a religion.

Hey, I was thinking about giving the building for free. The main purpose is to give some of the later religions more chance to spread and be adopted as state religions - to add variety to the religions that get adopted.
 
Since you know C++ I don't understand why you don't just mod the SDK for this. The potential is overwhelming, of course...
 
Well, why not try & add in the <iReligionSpreadRate> Civic tag from Aforress' A New Dawn Modpack? That way you could have the founders of these religions set a Civic that spreads the religion much faster than normal.

Anyway, just a thought.

Aussie.
 
If I remember rightly it does not matter how big the religion spread values are, only cities without a religion will get a religion spread to them without the aid of a missionary.

If you want the latter religions to spread to cities founded before the religion then you have to work at it.

EusebiusWorldReligion-Revival is the only mod I know that allowed more than one religion to spread to a city, but it used python. Basically any religion that reached your nation would spread fairly quickly to all other cities in your nation via trade routes. To start spreading you either had to found the religion or a missionary from a nation with that religion had to successfully spread it to one of your cities.
 
Back
Top Bottom