Results 1 to 4 of 4

Thread: Help me modify the Roman Reforms.

  1. #1

    Default Help me modify the Roman Reforms.

    Greetings. I wonder if anyone knows if the following modifications will not break the script or ruin a campaign 400 turns later, and how to take control of the Marian and Augustan character triggers.

    The original Polybian:

    Code:
    ;Counters that count number of cities conquared
    declare_counter GalCondition
    declare_counter CartCondition
    
    ; Check Conditions
    monitor_event FactionTurnEnd FactionType seleucid
    and I_CompareCounter Romanii_Reform = 0
    and I_TurnNumber > 120
    
    	; Unconditional Reforms afther 210BC
    	if I_TurnNumber > 248
    		set_counter Romanii_Reform 1
    		terminate_monitor
    	end_if
    
    	; Conditional Reforms
    	if I_SettlementOwner Segesta = seleucid
    		inc_counter GalCondition 1
    	end_if
    
    	if I_SettlementOwner Mediolanum = seleucid
    		inc_counter GalCondition 1
    	end_if
    
    	if I_SettlementOwner Patavium = seleucid
    		inc_counter GalCondition 1
    	end_if
    
    	if I_SettlementOwner Bononia = seleucid
    		inc_counter GalCondition 1
    	end_if
    
    	if I_SettlementOwner Lilibeo = seleucid
    		inc_counter CartCondition 1
    	end_if
    
    	if I_SettlementOwner Messana = seleucid
    		inc_counter CartCondition 1
    	end_if
    
    	if I_SettlementOwner Syracuse = seleucid
    		inc_counter CartCondition 1
    	end_if
    
    	;Check if Reforms Conditions are met
    	if I_CompareCounter CartCondition >= 2
    	and I_CompareCounter GalCondition >= 2
    
    		set_counter Romanii_Reform 1
    		terminate_monitor
    		
    	end_if
    
    	;Reset Counters
    	set_counter CartCondition 0
    	set_counter GalCondition 0
    
    end_monitor
    Let's say that one of each suffices:

    Code:
    	;Check if Reforms Conditions are met
    	if I_CompareCounter CartCondition >= 1
    	and I_CompareCounter GalCondition >= 1
    
    		set_counter Romanii_Reform 1
    		terminate_monitor
    		
    	end_if
    
    	;Reset Counters
    	set_counter CartCondition 0
    	set_counter GalCondition 0
    
    end_monitor
    Would taking Segesta and Messana, for example, trigger an early Polybian reform then?

    Next, Marian. The full reform:

    Code:
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; MARIAN TRIGGER
    
    declare_counter Latifundia
    declare_counter ReformatorCounter
    
    ; Count Latyfundium
    monitor_event SettlementTurnStart SettlementName Segesta
    and I_CompareCounter Romanii_Reform = 1
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    
    	inc_counter Latifundia 1
    
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Bononia
    and I_CompareCounter Romanii_Reform = 1
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    
    	inc_counter Latifundia 1
    
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Patavium
    and I_CompareCounter Romanii_Reform = 1
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    
    inc_counter Latifundia 1
    
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Arretium
    and I_CompareCounter Romanii_Reform = 1
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    
    	inc_counter Latifundia 1
    
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Ariminum
    and I_CompareCounter Romanii_Reform = 1
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    
    	inc_counter Latifundia 1
    
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Roma
    and I_CompareCounter Romanii_Reform = 1
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    
    	inc_counter Latifundia 1
    
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Capua
    and I_CompareCounter Romanii_Reform = 1
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    
    	inc_counter Latifundia 1
    
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Arpi
    and I_CompareCounter Romanii_Reform = 1
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    
    	inc_counter Latifundia 1
    
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Taras
    and I_CompareCounter Romanii_Reform = 1
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    
    	inc_counter Latifundia 1
    
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Rhegion
    and I_CompareCounter Romanii_Reform = 1
    and FactionType seleucid
    and SettlementBuildingExists = latifundium
    
    	inc_counter Latifundia 1
    
    end_monitor
    
    ;Unconditional Reforms
    monitor_event FactionTurnEnd FactionType seleucid
    and I_CompareCounter Romanii_Reform = 1
    and I_NumberOfSettlements seleucid > 89
    
    	set_counter Romanii_Reform 2
            terminate_monitor
    
    end_monitor
    
    ;Conditional Reforms
    monitor_event FactionTurnEnd FactionType seleucid
    and I_CompareCounter Romanii_Reform = 1
    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 2
    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
    First things first. Would this modification of the conditional and unconditional work?

    Code:
    ;Unconditional Reforms
    monitor_event FactionTurnEnd FactionType seleucid
    and I_CompareCounter Romanii_Reform = 1
    and I_NumberOfSettlements seleucid > 43
    
    	set_counter Romanii_Reform 2
            terminate_monitor
    
    end_monitor
    The NumberOfSettlements seleucid has been reduced by half.

    Code:
    ;Conditional Reforms
    monitor_event FactionTurnEnd FactionType seleucid
    and I_CompareCounter Romanii_Reform = 1
    and I_CompareCounter Latifundia > 2
    and I_TurnNumber > 399
    and I_NumberOfSettlements seleucid > 22
    ;and BattlesFought > 30
    and I_CompareCounter ReformatorCounter = 1
    
    set_counter Romanii_Reform 2
    terminate_monitor
    
    end_monitor
    Number of Latifundia reduced to 2, NumberOfSettlements cut in half, BattlesFought reduced to 30.

    But now there's the enigmatic Check for Marius wanabe. How can I have control over this process or make it automatically fire once either conditions are met? Or can I somehow skip it, disregard this requirement completely, "remove" or "ignore" it?

    Next, Augustus:

    Code:
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Imperial trigger
    
    declare_counter Romani
    declare_counter AugustanReformatorCounter
    
    monitor_event SettlementTurnStart BuildingExists = gov2
    and FactionType seleucid
    and I_CompareCounter Romanii_Reform = 2
    
    inc_counter Romani 1
    
    end_monitor
    
    monitor_event FactionTurnEnd FactionType seleucid
    and I_CompareCounter Romani > 54
    and I_TurnNumber > 499
    and I_NumberOfSettlements seleucid > 89
    ;and BattlesFought > 399
    and I_CompareCounter Romanii_Reform = 2
    and I_CompareCounter AugustanReformatorCounter = 1
    
    	set_counter Romanii_Reform 3
    
    end_monitor
    
    monitor_event CharacterTurnStart Trait Augustus > 1
    
    	set_counter AugustanReformatorCounter 1
    
    end_monitor
    
    monitor_event FactionTurnEnd FactionType seleucid
    	set_counter Romani 0
    end_monitor
    I'd change the number of settlements to 43 and battles to 30, that seems pretty straightforward. But I have no idea what that "I_CompareCounter Romani > 54" means. And again I'd like to know if there's a way to mod the Augustan Reformator requirement. Manually fire it with the console, make it fire automatically once conditions are met or remove it as a requirement.

    Any ideas?

  2. #2
    Member Member sgsandor's Avatar
    Join Date
    Mar 2007
    Location
    in new jersey
    Posts
    221

    Default Re: Help me modify the Roman Reforms.

    Ask Marcus or Wonderland they are both good at this stuff

  3. #3
    EB TRIBVNVS PLEBIS Member MarcusAureliusAntoninus's Avatar
    Join Date
    Jul 2006
    Location
    The State of Jefferson, USA
    Posts
    5,722

    Default Re: Help me modify the Roman Reforms.

    Quote Originally Posted by Wardo
    Greetings. I wonder if anyone knows if the following modifications will not break the script or ruin a campaign 400 turns later, and how to take control of the Marian and Augustan character triggers.

    The original Polybian:

    Let's say that one of each suffices:

    Would taking Segesta and Messana, for example, trigger an early Polybian reform then?
    Yes. But remember the date part...
    Quote Originally Posted by Wardo
    Next, Marian. The full reform:

    First things first. Would this modification of the conditional and unconditional work?

    The NumberOfSettlements seleucid has been reduced by half.
    That should work. If you are only changing numbers, there shouldn't be any sort of problem.
    Quote Originally Posted by Wardo
    Number of Latifundia reduced to 2, NumberOfSettlements cut in half, BattlesFought reduced to 30.
    BattlesFought isn't used anymore. That semicolon in front of it means that the system skips over it and ignores it.
    Quote Originally Posted by Wardo
    But now there's the enigmatic Check for Marius wanabe. How can I have control over this process or make it automatically fire once either conditions are met? Or can I somehow skip it, disregard this requirement completely, "remove" or "ignore" it?
    To remove it, just stick a semicolon in front of "and I_CompareCounter ReformatorCounter = 1". The game will no longer require a guy for the reforms to happen.
    Quote Originally Posted by Wardo
    Next, Augustus:

    I'd change the number of settlements to 43 and battles to 30, that seems pretty straightforward. But I have no idea what that "I_CompareCounter Romani > 54" means. And again I'd like to know if there's a way to mod the Augustan Reformator requirement. Manually fire it with the console, make it fire automatically once conditions are met or remove it as a requirement.

    Any ideas?
    Ok. That counter is for the number of TypeII governments you have. If you want to remove the requirements for the guy, do the same as the Marian. If you want to edit the requirements for the guy to get the trait to get the reforem, you have to edit the traits file.


  4. #4

    Default Re: Help me modify the Roman Reforms.

    Thanks alot Mr. Marcus!

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