Results 1 to 8 of 8

Thread: Redesigned Patriarchs for Orthodox factions

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Redesigned Patriarchs for Orthodox factions

    I know there is already a tuto -> http://www.twcenter.net/forums/showt...8#post12296958
    But it doesn't work, I dont know why..

    I have an other question:
    I my mod, i have created 4 patriarchates (Jerusalem, Antioch, Constantinople, Alexandria);
    Is that possible to add one patriarch for the faction who own the patriarchate?

  2. #2

    Default Re: Redesigned Patriarchs for Orthodox factions

    For your second question,i do not think you can add the patriarchs of Alexandria,Antioch and Jerusalem because Alexandria is under muslim control and Jerusalem and Antioch is (for Stainless Steel) under catholic control.

  3. #3
    Vegas_Bear's Avatar Biarchus
    Join Date
    Sep 2005
    Location
    Las Vegas, NV
    Posts
    605

    Default Re: Redesigned Patriarchs for Orthodox factions

    I have pieced together some things to get a working Patriarch, here is what I have.

    In export_descr_character_traits.txt, I added a third level for "Trait PriestLevel"

    Level Patriarch
    Description Patriarch_desc
    EffectsDescription Patriarch_effects_desc
    GainMessage Patriarch_gain_desc
    Threshold 3

    Effect Piety 2
    Effect Level 3
    Effect HeresyImmunity 1

    and a trigger

    ;------------------------------------------
    Trigger priest_patriarch_o
    WhenToTest CharacterTurnEnd

    Condition AgentType = priest
    and Attribute Piety > 5
    and I_EventCounter Patriarch = 0
    and Trait PriestLevel = 0
    and FactionReligion orthodox

    Affects PriestLevel 3 Chance 100


    In descr_character.txt I added a fourth model for each Orthodox faction

    Spoiler Alert, click show to read: 
    Code:
    faction			byzantium
    dictionary		2
    strat_model		orthodox_priest						; default model
    strat_model		orthodox_bishop						; medium level priest
    strat_model		orthodox_bishop						; placeholder
    strat_model		orthodox_patriarch					; advanced priest
    
    faction			russia
    dictionary		2
    strat_model		orthodox_priest						; default model
    strat_model		orthodox_bishop						; medium level priest
    strat_model		orthodox_bishop						; placeholder
    strat_model		orthodox_patriarch					; advanced priest


    In the expanded.txt/text folder I added the following to Orthodox religions

    Spoiler Alert, click show to read: 
    Code:
    {EMT_BYZANTIUM_PRIEST}Byzantine Priest
    {EMT_BYZANTIUM_PRIEST_1}Byzantine Bishop
    {EMT_BYZANTIUM_PRIEST_2}WILL NOT SEE THIS
    {EMT_BYZANTIUM_PRIEST_3}Byzantine Patriarch
    
    {EMT_EASTERN_EUROPEAN_PRIEST}Priest
    {EMT_EASTERN_EUROPEAN_PRIEST_1}Bishop
    {EMT_EASTERN_EUROPEAN_PRIEST_2}Cardinal
    {EMT_EASTERN_EUROPEAN_PRIEST_3}Patriarch
    
    {EMT_GREEK_PRIEST}Priest
    {EMT_GREEK_PRIEST_1}Bishop
    {EMT_GREEK_PRIEST_2}WILL NOT SEE THIS
    {EMT_GREEK_PRIEST_3}Patriarch
    
    {EMT_RUSSIA_PRIEST}Russian Priest
    {EMT_RUSSIA_PRIEST_1}Russian Bishop
    {EMT_RUSSIA_PRIEST_2}WILL NOT SEE THIS
    {EMT_RUSSIA_PRIEST_3}Russian Patriarch


    In the export_vnvs.txt/text folder I added-

    {Patriarch}Patriarch
    {Patriarch_desc}This man has become the patriarch of the Orthodox church.
    {Patriarch_effects_desc}+3 Piety
    {Patriarch_gain_desc}This priest has been elevated to the title of Patriarch within your church. May he be a true spiritual guide to you and your people.

    For the campaign_script.txt I used this-

    Spoiler Alert, click show to read: 
    Code:
    ;------------------- PATRIARCH -------------------;
    
    declare_counter holiness_count
    
    monitor_event PreFactionTurnStart TrueCondition
    	and not FactionReligion pagan
    	and not FactionReligion islam
    	and not FactionReligion catholic
    	and not FactionReligion heretic
    	and not FactionReligion sun_god  ;<= might not use these, need an entry for every other religion
    	and not FactionReligion great_spirit  ;<= besides the orthodox one
    
    		set_counter holiness_count 0
    		set_event_counter Patriarch 0
    end_monitor
    
    monitor_event CharacterTurnStart AgentType = priest
    	and Trait PriestLevel = 3
    	and FactionReligion orthodox
    		set_event_counter Patriarch 1
    end_monitor
    
    monitor_event CharacterTurnEnd AgentType = priest
    	and Attribute Piety > 5
    	and FactionReligion orthodox
    		if I_CompareCounter holiness_count = 1
    			set_event_counter Patriarch 1
    		end_if
    
    		inc_counter holiness_count 1
    end_monitor


    I can tell you that it works, I recently added this to my own mod and started a new campaign. By turn 30 the Russians had the Patriarch.

    As for your 2nd question I'm not sure as to what you are asking. Did you make a building in each of these towns and want a Patriarch spawned due to someone controlling the town? Need more information please.

    VB

  4. #4
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Redesigned Patriarchs for Orthodox factions

    Thanks, Vegas. Just one more thing I was looking for.

  5. #5

    Default Re: Redesigned Patriarchs for Orthodox factions

    Thanks you all

    As for your 2nd question I'm not sure as to what you are asking. Did you make a building in each of these towns and want a Patriarch spawned due to someone controlling the town? Need more information please.

    VB
    For exemple,
    I play byzantium, I have my Ecumenical Patriarch (Level3), is that possible to script something like one more patriarch (but priest Level 2, other minor patriarch, like Antioch, Jerusalem) for each patriarchate under orthodox rule?

    Because, i created a submmod for BC; my goal was to make something realy near to history:
    Religious communities don't disapear in two years. So i create some patriarchate buildings, with a little "conversion" rate (in the occupied provinces) in order to represent the eastern christians (coptic in Egypt, Syriacs in Syria etc... and then muslims can tax this population and have more incomes pro-rata their proportion. (conversion rate have a limit; for exemple, synagogue conversion rate is disabled when 15% jews is reached)


    Then I could make the same thing for KOJ, Armenia etc... Every faction who owns a patriarchate can generate one more new patriarch.
    Last edited by Byzantineboy; December 14, 2012 at 10:30 PM.

  6. #6
    Vegas_Bear's Avatar Biarchus
    Join Date
    Sep 2005
    Location
    Las Vegas, NV
    Posts
    605

    Default Re: Redesigned Patriarchs for Orthodox factions

    The above example takes into account all the Orthodox factions and only gives one Patriarch. It could be changed to have a Patriarch for each Orthodox faction. If that is what you are asking about. You would just need to edit the trigger and make one for each faction. For the campaign script, just make a copy of the above script for each faction. Make sure that the event_counter for each faction matches up. If you need help doing this let me know.

    VB

  7. #7
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,681
    Blog Entries
    35

    Default Re: Redesigned Patriarchs for Orthodox factions

    You need to expand the triggers because you have the orthodox bishop (priest created in a cathedral or bigger) fix in your traits - that would be then priest level 1. Entry in vanilla EDCT:

    Code:
    Trigger priestinit4_orthodox
        WhenToTest AgentCreated
    
        Condition AgentType = priest
              and SettlementBuildingExists >= cathedral_o
              and Trait PriestLevel = 0
    
        Affects PriestLevel  1  Chance  100










  8. #8

    Default Re: Redesigned Patriarchs for Orthodox factions

    i follow the instructions but i have couple of patriarchs. after that, i add script from Graculs tutorial for patriarch count, but still i have 3 patriarchs, and Byz at least 2. how come?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •