Results 1 to 15 of 15

Thread: Give trait

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member Member Kugutsu's Avatar
    Join Date
    Nov 2006
    Location
    Lausanne
    Posts
    287

    Default Re: Give trait

    I am in the middle of a romani campaign and my imperial reforms refused to kick in after I had all the conditions (date, settlements, faction leader who was Augustus etc).
    I played about with the script, and in end I finally got them by replacing the Imperial Reform part of the script with the following (basically replacing the Imperial triggers with the Marian ones - probably total overkill, but I tried subtle changes and they didn't do anything):

    Code:
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Imperial trigger
    
    declare_counter Latifundia
    declare_counter ReformatorCounter
    
    ; Count Latyfundium
    monitor_event SettlementTurnStart SettlementName Segesta
    and I_CompareCounter Romanii_Reform = 2
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    
    	inc_counter Latifundia 1
    
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Bononia
    and I_CompareCounter Romanii_Reform = 2
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    
    	inc_counter Latifundia 1
    
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Patavium
    and I_CompareCounter Romanii_Reform = 2
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    
    inc_counter Latifundia 1
    
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Arretium
    and I_CompareCounter Romanii_Reform = 2
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    
    	inc_counter Latifundia 1
    
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Ariminum
    and I_CompareCounter Romanii_Reform = 2
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    
    	inc_counter Latifundia 1
    
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Roma
    and I_CompareCounter Romanii_Reform = 2
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    
    	inc_counter Latifundia 1
    
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Capua
    and I_CompareCounter Romanii_Reform = 2
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    
    	inc_counter Latifundia 1
    
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Arpi
    and I_CompareCounter Romanii_Reform = 2
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    
    	inc_counter Latifundia 1
    
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Taras
    and I_CompareCounter Romanii_Reform = 2
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    
    	inc_counter Latifundia 1
    
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Rhegion
    and I_CompareCounter Romanii_Reform = 2
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    
    	inc_counter Latifundia 1
    
    end_monitor
    
    ;Unconditional Player Reforms 
    monitor_event FactionTurnEnd FactionType seleucid
    and FactionIsLocal
    and I_CompareCounter Romanii_Reform = 2
    and I_NumberOfSettlements seleucid > 60
    
    	set_counter Romanii_Reform 3
    	set_counter AugustanReformsAdvisor 1
    
            terminate_monitor
    
    end_monitor
    
    ;Unconditional AI Reforms
    monitor_event FactionTurnEnd FactionType seleucid
    and not FactionIsLocal
    and I_CompareCounter Romanii_Reform = 2
    and I_NumberOfSettlements seleucid > 20 
    
    if RandomPercent < 6 
    	set_counter Romanii_Reform 3
            terminate_monitor
    end_if
    
    end_monitor
    
    ;Conditional Reforms
    monitor_event FactionTurnEnd FactionType seleucid
    and I_CompareCounter Romanii_Reform = 2
    and I_CompareCounter Latifundia > 6
    and I_TurnNumber > 399
    and I_NumberOfSettlements seleucid > 44
    ;and BattlesFought > 249
    ;and I_CompareCounter ReformatorCounter = 1
    
    set_counter Romanii_Reform 3
    set_counter AugustanReformsAdvisor 1
    terminate_monitor
    
    end_monitor
    
    ;Check for Marius wanabe
    monitor_event CharacterTurnStart Trait Reformator > 0
    
    	set_counter ReformatorCounter 1
    
    end_monitor
    
    ;Reset Latyfundium Counter
    monitor_event FactionTurnEnd FactionType seleucid
    	set_counter Latifundia 0
    end_monitor
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

  2. #2
    Member Member NarcosCatolicos's Avatar
    Join Date
    Mar 2008
    Location
    Belgium
    Posts
    13

    Default Re: Give trait

    Kugutsu this worked great man thanks a lot!

  3. #3
    Member Member NarcosCatolicos's Avatar
    Join Date
    Mar 2008
    Location
    Belgium
    Posts
    13

    Default Re: Give trait

    Quote Originally Posted by NarcosCatolicos View Post
    Kugutsu this worked great man thanks a lot!

    Seeing the imperial models, I kinda feel sorry it did .

  4. #4
    EBII Bricklayer Member V.T. Marvin's Avatar
    Join Date
    Aug 2007
    Location
    Directing the defence of Boiotergion
    Posts
    3,361

    Default Re: Give trait

    Try this fix by Dart Stalin - it might even be savegame compatible!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO