Leader Ability: resistant to other religions

Craig_Sutter

Deity
Joined
Aug 13, 2002
Messages
2,773
Location
Calgary, Canada
I am working on creating another leader for my Anglo-Saxon Civ. He is Penda... he is notable for being the last hold out of the Anglo-Saxons from converting to Christianity. I have a few ideas:

- combat units will have bonuses against units from other religions (I think this will be easy to do as there are beliefs that I can use as a model).

- cities will less affected by religious pressure from other religions... I am not certain how to do this one. I cannot find any example of negative religious pressure. Is this actually doable?

- also looking for suggestions for benefits befitting a Civilization that is reluctant to change its religion once it has converted to it (whether it was the founder or acquired its religion from someone else) and rejects conversion from a religion it currently holds. Perhaps additional Amenities based upon percentage/number of cities converted to the majority religion in its empire? (may require lua... again suggestions welcome).

Suggestions are very welcome.

I am especially interested in how to have cities reduce enemy religious pressure.
 
Looking through the code the +4 comes down to the following in Leaders.xml

Code:
<Row>
            <ModifierId>COMBAT_BONUS_OTHER_RELIGION_MODIFIER</ModifierId>
            <ModifierType>MODIFIER_UNIT_ADJUST_COMBAT_STRENGTH</ModifierType>
            <SubjectRequirementSetId>REQUIREMENTS_OPPONENT_IS_OTHER_RELIGION</SubjectRequirementSetId>
        </Row>
and

Code:
<Row>
            <ModifierId>COMBAT_BONUS_OTHER_RELIGION_MODIFIER</ModifierId>
            <Name>Amount</Name>
            <Value>4</Value>
        </Row>

But tracking it back further I've found nothing yet so far. Good luck!
 
Yeah... I was able to get that far as well in getting the modifier working... but I do not know what the requirement set entails. I can track it all back to the modifiers and effects tables. But whether "other religion" means one different from the one the Player founded or one different from the religion the Player follows is not clear.

I am used to using lua in the context of Civ 5... I am certain I can create a promotion that will trigger in combat contingent upon some religious factor such as the majority religion in the player civs or capital city or whatever. Still, using modifiers is easier.

It really depends upon how other religion or same religion are defined in the requirements in the GameEffects and Modifier files. And that I can't determine.
 
Im 90% sure it is a simple, I am am this religion and opponent is that religion, founded or not, matters not one bit. Spains ability works regardless of wether he founded or adpoted a religion.
 
Back
Top Bottom