Page 10 of 10 FirstFirst 12345678910
Results 181 to 200 of 200

Thread: The CROWNS system

  1. #181
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    7,351

    Default Re: The CROWNS system

    ah, yes. the first part of code is from the EDCT (export_descr_character_traits.txt) while the other is from EDA (export_descr_ancillaries.txt). I've suggested you change only the conditions in EDA because they are simple and straightforward but indeed the very place of coronation is defined in EDCT. so try to change the EDCT, in the same place.
    change SettlementBuildingExists to "chapel" or "small_chapel", and if there's London - into Edingburgh.

  2. #182

    Default Re: The CROWNS system

    Thx a lot, everything worked. I tried it with small_chapel just for test, now I rewrote it for chapel to continue the game.
    It looked like this:
    Code:
    Trigger Crown_scotland_Fit
     WhenToTest CharacterTurnEndInSettlement
     
     Condition FactionIsLocal
        and FactionType scotland
        and IsFactionLeader
        and SettlementName Edinburgh
        and SettlementBuildingExists >= cathedral
        and not IsUnderSiege
        and GovernorLoyaltyLevel > loyalty_disillusioned
        and Treasury > 20000
        and Trait Crownholder > 1
        and Trait Crownholder < 4
     
     Affects Fit_Crown_scotland 1 Chance 100

  3. #183
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    7,351

    Default Re: The CROWNS system

    in the 098 the Rock is the requirement and you can have it in both city and castle settlemnts in Edinburgh

  4. #184
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    7,351

    Default Re: The CROWNS system

    Some updates on the crowns (most of the code will be included in the next version, perhaps beginning of 2022):

    I. Rus:

    Zoloti Vorota lvl2 will enable FL to get the crown already at the city level.
    Code:
    ;------------------------------------------- 0->1    Trigger Crown_kievan_rus_Fit
     WhenToTest CharacterTurnEndInSettlement
     
     Condition FactionIsLocal
        and IsFactionLeader                                 ; just in case of a bug
        and FactionType kievan_rus
        and SettlementName Kiev
        and SettlementBuildingExists >= cathedral_o            ; large city level
        and not IsUnderSiege
        and GovernorLoyaltyLevel > loyalty_disillusioned
        and Treasury > 20000
        and Trait Crownholder < 4                              ; either Legacy (2) or Lands_Conquered (3)
         and Trait Crownholder > 1                              ; just in case of a bug
        and Trait Fit_Crown_kievan_rus < 1                    ; redundant but just in case
        
     Affects Fit_Crown_kievan_rus 1 Chance 100
    
    
    ;------------------------------------------- 0->1    
    Trigger Crown_kievan_rus_Fit_Zoloti_Vorota
     WhenToTest CharacterTurnEndInSettlement
     
     Condition FactionIsLocal
        and IsFactionLeader
        and FactionType kievan_rus
        and SettlementName Kiev
        and SettlementBuildingExists >= wonder_kiev_zoloti_vorota_2middle        ; already city level
        and not IsUnderSiege
        and GovernorLoyaltyLevel > loyalty_disillusioned
        and Treasury > 20000
        and Trait Crownholder > 1
        and Trait Crownholder < 4
        and Trait Fit_Crown_kievan_rus < 1
        
     Affects Fit_Crown_kievan_rus 1 Chance 100
    This works also for Novgorod, while the base for Novgorod is the Sofijskij Sobor

    Code:
    ;------------------------------------------- 0->1	
    Trigger Crown_russia_Fit_Sofijskij_Sobor
     WhenToTest CharacterTurnEndInSettlement
     
     Condition FactionIsLocal
    	and FactionType russia
    	and IsFactionLeader
    	and SettlementName Novgorod											; coronation in Novgorod
    	and SettlementBuildingExists >= rus_monastery_6novgorod							; large city level
    	and not IsUnderSiege
        and GovernorLoyaltyLevel > loyalty_disillusioned
    	and Treasury > 20000
    	and Trait Crownholder < 4
    	and Trait Crownholder > 1
    	and Trait Fit_Crown_russia < 1
    	
     Affects Fit_Crown_russia 1 Chance 100
    
    
    ;------------------------------------------- 0->1    
    Trigger Crown_kievan_rus_Fit_Zoloti_Vorota
     WhenToTest CharacterTurnEndInSettlement
     
     Condition FactionIsLocal
        and IsFactionLeader
        and FactionType russia
        and SettlementName Kiev                                                ; coronation also in Kiev
        and SettlementBuildingExists >= wonder_kiev_zoloti_vorota_2middle    ; already city level
        and not IsUnderSiege
        and GovernorLoyaltyLevel > loyalty_disillusioned
        and Treasury > 20000
        and Trait Crownholder > 1
        and Trait Crownholder < 4
        and Trait Fit_Crown_russia < 1
        
     Affects Fit_Crown_russia 1 Chance 100
    II. Poland
    Given that the first coronation in Krakow took place in 1320, and we've got a new St Adalbertus wonder, then the place of coronation will be Poznan or Krakow, and with
    Code:
    ;------------------------------------------- 0->1    Trigger Crown_poland_Fit_Cathedral_Krakow
     WhenToTest CharacterTurnEndInSettlement
     
     Condition FactionIsLocal
        and FactionType poland
        and IsFactionLeader
        and SettlementName Krakow                                    ; coronation in Krakow
        and SettlementBuildingExists >= cathedral                    ; large city level
        and not IsUnderSiege
        and GovernorLoyaltyLevel > loyalty_disillusioned
        and Treasury > 20000
        and Trait Crownholder > 1
        and Trait Crownholder < 4
        and Trait Fit_Crown_poland < 1                                ; redundant but just in case
        
     Affects Fit_Crown_poland 1 Chance 100
    
    
    ;------------------------------------------- 0->1    
    Trigger Crown_poland_Fit_Marienkirche
     WhenToTest CharacterTurnEndInSettlement
     
     Condition FactionIsLocal
        and FactionType poland
        and IsFactionLeader
        and SettlementName Krakow                                            ; coronation in Krakow
        and SettlementBuildingExists >= wonder_krakow_Marienkirche2            ; already city level
        and not IsUnderSiege
        and GovernorLoyaltyLevel > loyalty_disillusioned
        and Treasury > 20000
        and Trait Crownholder > 1
        and Trait Crownholder < 4
        and Trait Fit_Crown_poland < 1
        
     Affects Fit_Crown_poland 1 Chance 100
    
    
    ;------------------------------------------- 0->1    
    Trigger Crown_poland_Fit_St_Adalbertus
     WhenToTest CharacterTurnEndInSettlement
     
     Condition FactionIsLocal
        and FactionType poland
        and IsFactionLeader
        and SettlementName Poznan                                            ; coronation in Poznan
        and SettlementBuildingExists >= wonder_poznan_gniezno3_romanic        ; already city level
        and not IsUnderSiege
        and GovernorLoyaltyLevel > loyalty_disillusioned
        and Treasury > 20000
        and Trait Crownholder > 1
        and Trait Crownholder < 4
        and Trait Fit_Crown_poland < 1
        
     Affects Fit_Crown_poland 1 Chance 100
    III. Scotland

    Only with the highest level (but already city level) of the Edinburgh castle:
    Code:
    ;------------------------------------------- 0->1    Trigger Crown_scotland_Fit
     WhenToTest CharacterTurnEndInSettlement
     
     Condition FactionIsLocal
        and FactionType scotland
        and IsFactionLeader
        and SettlementName Edinburgh
        and SettlementBuildingExists >= wonder_edinburg4_castle            ; already city level
        and not IsUnderSiege
        and GovernorLoyaltyLevel > loyalty_disillusioned
        and Treasury > 20000
        and Trait Crownholder > 1
        and Trait Crownholder < 4
        and Trait Fit_Crown_scotland < 1
        
     Affects Fit_Crown_scotland 1 Chance 100
    IV. France

    A kind to fall-back: coronation possible also in Naples (eg. if Rheims is lost, or the FL doesn't have time to come back) with Maschio Angioino and in Jerusalem with St Sepulchre:
    Code:
    ;------------------------------------------- 0->1    Trigger Crown_france_Fit_Rheims
     WhenToTest CharacterTurnEndInSettlement
     
     Condition FactionIsLocal
        and FactionType france
        and IsFactionLeader
        and SettlementName Rheims
        and SettlementBuildingExists >= cathedral
        and not IsUnderSiege
        and GovernorLoyaltyLevel > loyalty_disillusioned
        and Treasury > 20000
        and Trait Crownholder > 1
        and Trait Crownholder < 4
        and Trait Fit_Crown_france < 1
        
     Affects Fit_Crown_france 1 Chance 100
    
    
    ;------------------------------------------- 0->1    
    Trigger Crown_france_Fit_Naples
     WhenToTest CharacterTurnEndInSettlement
     
     Condition FactionIsLocal
        and FactionType france
        and IsFactionLeader
        and SettlementName Naples
        and SettlementBuildingExists = south_italy_building6_maschioangioino
        and not IsUnderSiege
        and GovernorLoyaltyLevel > loyalty_disillusioned
        and Treasury > 20000
        and Trait Crownholder > 1
        and Trait Crownholder < 4
        and Trait Fit_Crown_france < 1
        
     Affects Fit_Crown_france 1 Chance 100
    
    
    ;------------------------------------------- 0->1    
    Trigger Crown_france_Fit_Jerusalem
     WhenToTest CharacterTurnEndInSettlement
     
     Condition FactionIsLocal
        and FactionType france
        and IsFactionLeader
        and SettlementName Jerusalem
        and SettlementBuildingExists = holy_sepulchre_3_church            ; already large town level
        and not IsUnderSiege
        and GovernorLoyaltyLevel > loyalty_disillusioned
        and Treasury > 20000
        and Trait Crownholder > 1
        and Trait Crownholder < 4
        and Trait Fit_Crown_france < 1
        
     Affects Fit_Crown_france 1 Chance 100
    V. Aragon

    Coronation possible in Zaragoza and Palermo:

    Code:
    ;------------------------------------------- 0->1    Trigger Crown_aragon_Fit_Zaragoza
     WhenToTest CharacterTurnEndInSettlement
     
     Condition FactionIsLocal
        and FactionType aragon
        and IsFactionLeader
        and SettlementName Zaragoza
        and SettlementBuildingExists >= wonder_zaragoza_aljaferia3_palace
        and not IsUnderSiege
        and GovernorLoyaltyLevel > loyalty_disillusioned
        and Treasury > 20000
        and Trait Crownholder > 1
        and Trait Crownholder < 4
        and Trait Fit_Crown_aragon < 1
        
     Affects Fit_Crown_aragon 1 Chance 100
    
    
    ;------------------------------------------- 0->1    
    Trigger Crown_aragon_Fit_Palermo
     WhenToTest CharacterTurnEndInSettlement
     
     Condition FactionIsLocal
        and FactionType aragon
        and IsFactionLeader
        and SettlementName Palermo
        and SettlementBuildingExists = south_italy_building6_maschioangioino
        and not IsUnderSiege
        and GovernorLoyaltyLevel > loyalty_disillusioned
        and Treasury > 20000
        and Trait Crownholder > 1
        and Trait Crownholder < 4
        and Trait Fit_Crown_aragon < 1
        
     Affects Fit_Crown_aragon 1 Chance 100
    VI. Almoravids

    For the Moors coronation is possible in Marrakesh, Cordoba and Zaragoza

    Code:
    ;------------------------------------------- 0->1    Trigger Crown_moors_Fit_Marrakesh
     WhenToTest CharacterTurnEndInSettlement
     
     Condition FactionIsLocal
        and FactionType moors
        and IsFactionLeader
        and SettlementName Marrakesh
        and SettlementBuildingExists >= minareted_masjid        ; this city is very difficult to grow!
        and not IsUnderSiege
        and GovernorLoyaltyLevel > loyalty_disillusioned
        and Treasury > 20000
        and Trait Crownholder > 1
        and Trait Crownholder < 4
        and Trait Fit_Crown_moors < 1
        
     Affects Fit_Crown_moors 1 Chance 100
    
    
    ;------------------------------------------- 0->1    
    Trigger Crown_moors_Fit_Zaragoza
     WhenToTest CharacterTurnEndInSettlement
     
     Condition FactionIsLocal
        and FactionType moors
        and IsFactionLeader
        and SettlementName Zaragoza
        and SettlementBuildingExists >= wonder_zaragoza_aljaferia3_palace
        and not IsUnderSiege
        and GovernorLoyaltyLevel > loyalty_disillusioned
        and Treasury > 20000
        and Trait Crownholder > 1
        and Trait Crownholder < 4
        and Trait Fit_Crown_moors < 1
        
     Affects Fit_Crown_moors 1 Chance 100
    
    
    ;------------------------------------------- 0->1    
    Trigger Crown_moors_Fit_Cordoba
     WhenToTest CharacterTurnEndInSettlement
     
     Condition FactionIsLocal
        and FactionType moors
        and IsFactionLeader
        and SettlementName Cordoba
        and SettlementBuildingExists >= wonder_cordoba_mezquita2_mosque
        and not IsUnderSiege
        and GovernorLoyaltyLevel > loyalty_disillusioned
        and Treasury > 20000
        and Trait Crownholder > 1
        and Trait Crownholder < 4
        and Trait Fit_Crown_moors < 1
        
     Affects Fit_Crown_moors 1 Chance 100

    VII. Norway

    Crown is possibe to get in both Bergen and Roskilde.
    Code:
    ;------------------------------------------- 0->1    Trigger Crown_norway_Fit_Roskilde
     WhenToTest CharacterTurnEndInSettlement
     
     Condition FactionIsLocal
        and FactionType norway
        and IsFactionLeader
        and SettlementName Roskilde
        and SettlementBuildingExists >= cathedral
        and not IsUnderSiege
        and GovernorLoyaltyLevel > loyalty_disillusioned
        and Treasury > 20000
        and Trait Crownholder > 1
        and Trait Crownholder < 4
        and Trait Fit_Crown_norway < 1                    ; redundant but just in case
        
     Affects Fit_Crown_norway 1 Chance 100
    
    
    ;------------------------------------------- both cities should be ok to get the crown
    Trigger Crown_norway_Fit_Bergen
     WhenToTest CharacterTurnEndInSettlement
     
     Condition FactionIsLocal
        and FactionType norway
        and IsFactionLeader
        and SettlementName Bergen
        and SettlementBuildingExists >= cathedral
        and not IsUnderSiege
        and GovernorLoyaltyLevel > loyalty_disillusioned
        and Treasury > 20000
        and Trait Crownholder > 1
        and Trait Crownholder < 4
        and Trait Fit_Crown_norway < 1
        
     Affects Fit_Crown_norway 1 Chance 100
    Last edited by Jurand of Cracow; December 20, 2021 at 02:29 PM.

  5. #185
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    7,351

    Default Re: The CROWNS system

    In addition to all requirements, there'll be universal coronation places, related to the religions:

    Code:
    ;------------------------------------------- 0->1		Jerusalem for the Catholic factions (1)Trigger Crown_Fit_Jerusalem1
     WhenToTest CharacterTurnEndInSettlement
     
     Condition FactionIsLocal
    	and IsFactionLeader
    	and SettlementBuildingExists = holy_sepulchre_3_church			; coronation in Jerusalem, already large town level
    	and not IsUnderSiege
        and GovernorLoyaltyLevel > loyalty_disillusioned
    	and Treasury > 20000
    	and Trait Crownholder > 1
    	and Trait Crownholder < 4										; if he's got alread a crown, he won't get another one
    
    
     Affects Fit_Crown_france 1 Chance 100
     Affects Fit_Crown_england 1 Chance 100
     Affects Fit_Crown_hre 1 Chance 100
     Affects Fit_Crown_hungary 1 Chance 100
     Affects Fit_Crown_aragon 1 Chance 100
     Affects Fit_Crown_denmark 1 Chance 100	
     Affects Fit_Crown_jerusalem 1 Chance 100
     Affects Fit_Crown_norway 1 Chance 100
    
    
    ;------------------------------------------- 0->1		Jerusalem for the Catholic factions (2)
    Trigger Crown_Fit_Jerusalem2
     WhenToTest CharacterTurnEndInSettlement
     
     Condition FactionIsLocal
    	and IsFactionLeader
    	and SettlementBuildingExists = holy_sepulchre_3_church			; coronation in Jerusalem, already large town level
    	and not IsUnderSiege
        and GovernorLoyaltyLevel > loyalty_disillusioned
    	and Treasury > 20000
    	and Trait Crownholder > 1
    	and Trait Crownholder < 4
    
    
     Affects Fit_Crown_pisa 1 Chance 100
     Affects Fit_Crown_poland 1 Chance 100
     Affects Fit_Crown_portugal 1 Chance 100
     Affects Fit_Crown_scotland 1 Chance 100
     Affects Fit_Crown_sicily 1 Chance 100
     Affects Fit_Crown_spain 1 Chance 100
     Affects Fit_Crown_venice 1 Chance 100
    
    
    ;------------------------------------------- 0->1		Constantinople for the Orthodox factions
    Trigger Crown_Fit_Constantinople
     WhenToTest CharacterTurnEndInSettlement
     
     Condition FactionIsLocal
    	and IsFactionLeader
    	and SettlementBuildingExists = wonder_hagia_sophia			; coronation in Constantinople, large city level
    	and not IsUnderSiege
        and GovernorLoyaltyLevel > loyalty_disillusioned
    	and Treasury > 20000
    	and Trait Crownholder > 1
    	and Trait Crownholder < 4
    
    
     Affects Fit_Crown_georgia 1 Chance 100
     Affects Fit_Crown_byzantium 1 Chance 100
     Affects Fit_Crown_serbia 1 Chance 100
     Affects Fit_Crown_kievan_rus 1 Chance 100
     Affects Fit_Crown_russia 1 Chance 100
    
    
    ;------------------------------------------- 0->1		Baghdad for the Muslim factions 
    Trigger Crown_Fit_Baghdad
     WhenToTest CharacterTurnEndInSettlement
     
     Condition FactionIsLocal
    	and IsFactionLeader
    	and SettlementBuildingExists = education6_house_of_wisdom
    	and not IsUnderSiege
        and GovernorLoyaltyLevel > loyalty_disillusioned
    	and Treasury > 20000
    	and Trait Crownholder > 1
    	and Trait Crownholder < 4
    
    
     Affects Fit_Crown_abbasid 1 Chance 100
     Affects Fit_Crown_rum 1 Chance 100
     Affects Fit_Crown_zengid 1 Chance 100
     Affects Fit_Crown_turks 1 Chance 100
     Affects Fit_Crown_moors 1 Chance 100
     Affects Fit_Crown_egypt 1 Chance 100

  6. #186

    Default Re: The CROWNS system

    Greetings all! Does the HRE crown still work? I've been trying to get it and have been unable to thus far, has anyone been able to achieve it?

  7. #187
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    7,351

    Default Re: The CROWNS system

    Quote Originally Posted by Megas_Doux7 View Post
    Greetings all! Does the HRE crown still work? I've been trying to get it and have been unable to thus far, has anyone been able to achieve it?
    I hope itt does but I haven't checked it recently. There's now one place more to get it (Jerusalem).
    Last edited by Jurand of Cracow; January 11, 2022 at 05:26 PM.

  8. #188

    Default Re: The CROWNS system

    Hey everyone! Loving the mod so much, much more than any mod so far honestly. Just wondering if the crown coronation is possible for the Abbasidís? Iíve conquered all the required provinces, have a great Jama, have the FL in Baghdad (great economy, people are happy, etc.) and the FL has full authority & piety with 8 ancillaries. Is it really just because he has too many ancillaries? If so, Iíve got no idea how to remove them since the FLís name/character canít be found. His in game name is ĎAl Khalifa At-Rashid the Righteous and it just doesnít recognize him when I type his name exactly like that. Any help please?

  9. #189

    Default Re: The CROWNS system

    I’d also like to point out if changing the name of a city in game would alter any events from happening? For example, I changed “al-Wisat” to “Al-Wisat” and now no general has been able to receive the provincial title of that city. I did this only once more for “Hesinkeif” and am wondering if there’s a way to fix it if that’s the problem for the coronation process? Do I have to restart the campaign or is there a workaround?

  10. #190
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    7,351

    Default Re: The CROWNS system

    Quote Originally Posted by Saladin0912 View Post
    Hey everyone! Loving the mod so much, much more than any mod so far honestly. Just wondering if the crown coronation is possible for the Abbasid’s? I’ve conquered all the required provinces, have a great Jama, have the FL in Baghdad (great economy, people are happy, etc.) and the FL has full authority & piety with 8 ancillaries. Is it really just because he has too many ancillaries? If so, I’ve got no idea how to remove them since the FL’s name/character can’t be found. His in game name is ‘Al Khalifa At-Rashid the Righteous and it just doesn’t recognize him when I type his name exactly like that. Any help please?
    just put another general in the same place with your Khalifa and swap an ancillary with a mouse so that he's got 7.

    nIn order to be crowned king, he must [A] control all the required for his faction provinces (see the map in the faction panel) and [B] have 20,000 florins to cover the costs of the coronation ceremony.\nThen he has to [C] go to the faction's traditional place for crowning the kings (the sword on that map points at it), where [D] a great building (a cathedral, a jama, a pagan shrine, or a faction-specific building) is present.\nThe city [E] cannot be under siege, [F] nor its citizans unhappy.\n[G] He cannot have more than 7 ancillaries at the moment of crowning (crown is an ancillary, and there is a limit of 8 ancillaries for one character).
    changing the name of a city doesn't make any difference for the mechanisms.

    depending on which version you're playing, the requirement in Baghdad is [ only jama ] or [ either jama or Bait Al-Hikhma ].
    Last edited by Jurand of Cracow; February 18, 2022 at 01:19 PM.

  11. #191

    Default Re: The CROWNS system

    It worked! After all these years, I had no idea you could swap ancillaries with other generals….Thank you for you help!

  12. #192
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    7,351

    Default Re: The CROWNS system

    Quote Originally Posted by Saladin0912 View Post
    It worked! After all these years, I had no idea you could swap ancillaries with other generalsÖ.Thank you for you help!
    Well, some screenshots from your campaign and the description in the AAR sections wouldn't be unwelcome from your side ;-)

  13. #193

    Default Re: Bugs Reports & Technical Help

    Not sure if this is a bug or WAD but apparently the faction leader can only be crowned if he is the governor of the settlement the ceremony is to be held. I had my eligible emperor sit for 8 turns in Constantinople and I was getting desperate. As soon as I had the current governor go hunt some peasants he was immediately crowned. If this is WAD it should be added to the tool tips about crowning.

  14. #194
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    7,351

    Default Re: Bugs Reports & Technical Help

    Quote Originally Posted by Reeveli View Post
    Not sure if this is a bug or WAD but apparently the faction leader can only be crowned if he is the governor of the settlement the ceremony is to be held. I had my eligible emperor sit for 8 turns in Constantinople and I was getting desperate. As soon as I had the current governor go hunt some peasants he was immediately crowned. If this is WAD it should be added to the tool tips about crowning.
    hmmmm, shouldn't be so, I didn't know this mechanism
    ;========== Crown of BYZANTIUM ==============================;;------------------------------------------
    Trigger crown_byzantium_Lands_Conquered
    WhenToTest CharacterTurnEndInSettlement


    Condition Trait Fit_Crown_byzantium > 0
    and FactionType byzantium
    and I_SettlementOwner Constantinople = byzantium
    and I_SettlementOwner Thessalonica = byzantium
    and I_SettlementOwner Adrianople = byzantium
    and I_SettlementOwner Durazzo = byzantium
    and I_SettlementOwner Arta = byzantium
    and I_SettlementOwner Corinth = byzantium
    and I_SettlementOwner Tarnovo = byzantium
    and I_SettlementOwner Sredets = byzantium
    and I_SettlementOwner Chersonesos = byzantium
    and I_SettlementOwner Sinop = byzantium
    and I_SettlementOwner Trebizond = byzantium
    and I_SettlementOwner Chandax = byzantium
    and I_SettlementOwner Nicaea = byzantium
    and I_SettlementOwner Smyrna = byzantium
    and I_SettlementOwner Attaleia = byzantium
    and I_SettlementOwner Lefkosia = byzantium


    AcquireAncillary crown_byzantium chance 100

  15. #195

    Default Re: The CROWNS system

    Does the HRE crown still work? I met all conditions but I just can't get it. Do I have to do it manually? Got 20.000 bucks, have the cathedral in cologne, faction leader has 7 ancillaries, no unrest, no siege, capital is happy, still no incoronation. Also followed the tooltip from "ready to be crowned" with the Kaiser also being the only general present in the city, still nothing.
    Took a look into the triggers of "export_descr_ancillaries.txt" and saw "and I_SettlementOwner Hamburg = hre". As Hamburg does not exist in the campaign, I thought this is the error and removed all settlement triggers except Frankfurt to test, still doesn't work. I don't know where I can find the other triggers to check (like certain building triggers, certain city, etc.).
    As the chance for Incoronation is 100% if all requirements are met, there has to be something else blocking it.

    Anybody help or infos on that?

    Best regards

  16. #196
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    7,351

    Default Re: The CROWNS system

    Quote Originally Posted by meltorizor View Post
    Does the HRE crown still work? I met all conditions but I just can't get it. Do I have to do it manually? Got 20.000 bucks, have the cathedral in cologne, faction leader has 7 ancillaries, no unrest, no siege, capital is happy, still no incoronation. Also followed the tooltip from "ready to be crowned" with the Kaiser also being the only general present in the city, still nothing.
    Took a look into the triggers of "export_descr_ancillaries.txt" and saw "and I_SettlementOwner Hamburg = hre". As Hamburg does not exist in the campaign, I thought this is the error and removed all settlement triggers except Frankfurt to test, still doesn't work. I don't know where I can find the other triggers to check (like certain building triggers, certain city, etc.).
    As the chance for Incoronation is 100% if all requirements are met, there has to be something else blocking it.
    Should work. I think I saw these crowns in a few games, see the second entry to this thread.
    Hamburg - it's code name for the current Magdeburg, no problems here.
    upload your save, I'll have a look.

  17. #197

    Default Re: The CROWNS system

    Hi Jurand,

    Yeah sorry I didn't read properly, still I can't see what's wrong, all triggers should be fulfilled.

    https://filehorst.de/d/eiEqhGAu



    PS: There you can also see buggy Utrecht
    Last edited by meltorizor; October 06, 2022 at 05:15 PM.

  18. #198
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    7,351

    Default Re: The CROWNS system

    Quote Originally Posted by meltorizor View Post
    Hi Jurand,
    Yeah sorry I didn't read properly, still I can't see what's wrong, all triggers should be fulfilled. https://filehorst.de/d/eiEqhGAu
    PS: There you can also see buggy Utrecht
    It works directly from your file, I've just clicked "end turn".


    thanks for the Utrecht, I've got no clue why it happens, even after checking the relevant files...


  19. #199
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    7,351

    Default Re: The CROWNS system

    To give you know: we've solved the Utrecht riddle and it'll be fixed in the next version.

    Second, to show you another place where having a crown will ease your life - in the rebellions in the provinces:

    Code:
    		log --- (.G.)   Rennes Province Rebellions ----------------------------------------
    
    		if I_EventCounter is_the_player == 1
    		and I_EventCounter FL_is_crowned_ruler < 1					; benefits of being crowned
    		and I_EventCounter faction_size_small == 0					; to make the life of small factions easier
    		and RandomPercent < 50										; some randomness is always good
    		and I_EventCounter DifficultyLevel > 2						; only for H/VH difficulties
    		and I_EventCounter Rennes_turns_in_our_realm > 47			; rebellion of the first generation living under a new hoof
    		and I_EventCounter Rennes_turns_in_our_realm < 57
    
    
    			add_events
    				event	SETTLEMENT_CAPTURE_REBELLION				; standard info but may be localised
    				date	0
    				position 64, 188				
    			end_add_events
    
    
    			set_event_counter Rennes_turns_in_our_realm 60			; the most unhappy people left to the army so the average in the population left has increased
    																	; the role is also to prevent chain of rebellions, see conditions above
    
    
    			console_command add_population Rennes -300
    			
    			spawn_army
    				faction slave, sub_faction france
    					character Yves, named character, age 32, x 64, y 188
    					traits CounterOfBattles 3, NaturalMilitarySkill 3 , GoodCommander 3 , StrategyDread 1 , Bloodthirsty 2 , Brave 4 , Xenophobia 3
    					unit	NE Bodyguard				exp 1 armour 0 weapon_lvl 0
    					unit	Breton Light Cavalry		exp 7 armour 0 weapon_lvl 0
    					unit	Breton Light Cavalry		exp 0 armour 0 weapon_lvl 0
    					unit	Breton Light Cavalry		exp 0 armour 0 weapon_lvl 0
    					unit	Axe Militia					exp 1 armour 0 weapon_lvl 0
    					unit	Axe Militia					exp 0 armour 0 weapon_lvl 0
    					unit	Spear Militia				exp 1 armour 0 weapon_lvl 0
    					unit	Spear Militia				exp 0 armour 0 weapon_lvl 0
    					unit	Hunters						exp 7 armour 0 weapon_lvl 0
    					unit	Hunters						exp 0 armour 0 weapon_lvl 0
    			end
    
    
    		end_if

  20. #200
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    7,351

    Default Re: The CROWNS system

    I'm thinking about the title for the Seljuks and Rum "Malik al-Masriq wa al-Magrib". I should be an equivalent of caesar in HRE. Maybe it would enable diverting the Mongols to the north? (I mean: the script would spawn the Mongol armies in the steppes and Russia, what would enable the Turks' player to survive, giving also a challenge to fight the Mongols coming later from the north by itself?
    Last edited by Jurand of Cracow; December 06, 2022 at 02:07 AM.

Posting Permissions

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