Results 1 to 30 of 140

Thread: Setting reforms to your preference

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Resident Pessimist Member Dooz's Avatar
    Join Date
    Jan 2005
    Location
    AEnima city, USA
    Posts
    1,897

    Default Setting reforms to your preference

    Hey folks, I was looking for how to change the reforms script to make the Marian reforms trigger an earlier year, and I found this great thread at the TWC where k_raso explains how. What I also discovered that made me very happy was, you can make the reforms purely dynamic so you don't have to wait to get to any specific yeaar if the other conditions are met. I made mine so that the Marian reforms would happen after I hold 30 provinces and have fought 150 battles, and took out the minimum date to wait for. It'll be significantly sooner than the original setting. Anyhoo, here's the thread.

    http://www.twcenter.net/forums/showp...65&postcount=4

    Spoiler Alert, click show to read: 
    Ok:

    First things first: BACK ALL UP BEFORE MESSING THIS UP.

    Ok.

    You see, this things work with conditionals. Let`s take for example the Polybian ones.

    You have to hold 2 of the following = (Segesta, Mediolanum, Bononia, Patavium) AND 2 of the following (Lilibeo, Messana, Syracuse). You have also to play till turn Nº 120 (/4 = year 242). So, you have to meet this conditions to enable the reform. If you do, a small building called "Polybian Military Era" will appear on the buildings of your italian cities. Voilà!!!!! Polybian reforms!!!!!! You just have to build a new barrack on your town, and then you will be able to train your flaming polybian maniples!!!

    If you want to enable them manually, go to the file specified in my previous post, and do a search for section "1c", titled "Roman reforms".

    In that chapter, search for this part:

    Code:

    ; 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

    If you want to play without the year conditional for this particular reform, change the red number to 1. If you want to have the reforms now and without any conditional, change the blue number to the turn you`re currently at in your campaign (Say, you are in year 250 and want to have polybian units, calculate 272-250=22. 22x4=88 turns played. So, you have to change the blue number to 88 if you are in year 250).

    Once you reload the game, and press "end turn" button, the following turn you`ll enter the reforms, and the buildings will magically appear.

    You have to apply the same principle when tweaking Marian and Augustan reforms.

    Any doubts or questions? Don`t be shy, just ask and I`ll happily answer.

    Cheers!!!!

  2. #2
    Wise and Partially Handsome Member Jarardo's Avatar
    Join Date
    Jan 2006
    Location
    Midlands, US
    Posts
    155

    Default Re: Setting reforms to your preference

    Have you already done this to your EBBS script Wonderland? If so, could you put up a copy for download? I've never made it past 210 or 220bc in a campaign before, so this would be nice.
    I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones. -Albert Einstein


    www.EuropaBarbarorum.com

  3. #3
    Resident Pessimist Member Dooz's Avatar
    Join Date
    Jan 2005
    Location
    AEnima city, USA
    Posts
    1,897

    Default Re: Setting reforms to your preference

    Yep, I did. Unfortunately, it was in my 0.81 Roman campaign and I've already installed the hotfix over it. But it's a really simple thing to do, it's all in the thread. If you want, tell me what you want to set the reform to, and which reform, and I'll upload it for you. However, there are a bunch of options and variables and you might want to take a look for yourself to set it however you fancy. If you just want the reforms to hit at a certain early date, that's easily done, just let me know.

  4. #4
    Wise and Partially Handsome Member Jarardo's Avatar
    Join Date
    Jan 2006
    Location
    Midlands, US
    Posts
    155

    Default Re: Setting reforms to your preference

    Okay, seems like it can be done pretty quickly. I remember with EB 7x, I had to change a whole lot of different lines to change the reform dates. They were all identical changes, but it took too long for me to want to do it again. Thanks Wonderland, Jarardo

    And btw, the red and blue fonts mentioned in your tutorial don't show up.
    Last edited by Jarardo; 03-08-2007 at 22:41.
    I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones. -Albert Einstein


    www.EuropaBarbarorum.com

  5. #5
    Wandering Metsuke Senior Member Zim's Avatar
    Join Date
    Jan 2007
    Posts
    5,190

    Default Re: Setting reforms to your preference

    Would something like that work with the Celtic reforms, too? I played an Aedui campaign all the way past the first reform, only to get mostly regional units as far from the eastern front as possible. Think I might need the second reform if I want some more reliable standard infantry. I've been thinking about cutting the wait for both reforms in half.
    V&V RIP Helmut Becker, Duke of Bavaria.



    Come to the Throne Room for hotseats and TW rpgs!

    Kermit's made a TWS2 guide? Oh, the other frog....

  6. #6

    Default Re: Setting reforms to your preference

    Yea Zim45, you do the same thing for the celts. Just edit the bold section in the file. Just remeber 4 turns is 1 year.

    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;Section 1a: Celtic Reforms
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    monitor_event FactionTurnEnd I_TurnNumber > First Reform Turn
    set_counter Celt_Reform 1
    end_monitor
    monitor_event FactionTurnEnd I_TurnNumber > Second Reform Turn
    set_counter Celt_Reform 2
    end_monitor
    I shouldn't have to live in a world where all the good points are horrible ones.

    Is he hurt? Everybody asks that. Nobody ever says, 'What a mess! I hope the doctor is not emotionally harmed by having to deal with it.'

  7. #7

    Default Re: Setting reforms to your preference

    How would I change the Celtic Reforms to a turn I specify with 1.0?

    The conditions are #s of large cities and markets and not turn numbers.
    "I could be bounded in a nutshell, and count myself a king of infinite space, were it not that I have bad dreams." -Hamlet, II, ii

    "Historians and others attempt to pin the tail on the reluctant monkey of change." -excerpt from a real college essay, from Ignorance is Blitz by Anders Henriksson

  8. #8
    Member Member Darth Stalin's Avatar
    Join Date
    May 2007
    Location
    Main station of "Friendship" pipeline
    Posts
    241

    Default Re: Setting reforms to your preference

    In EBBS_SCRIPT.txt find the following part:

    reset Celt counters
    monitor_event FactionTurnEnd FactionIsLocal

    if I_CompareCounter Celt_ForumCount > 3
    set_counter Celt_Reform 1
    end_if

    if I_CompareCounter Celt_ForumCount > 5
    and I_CompareCounter Celt_CityCount > 3
    and I_CompareCounter Celt_TempleCount > 5

    set_counter Celt_Reform 2
    end_if

    if I_CompareCounter Celt_Reform < 2
    set_counter Celt_ForumCount 0
    set_counter Celt_CityCount 0
    set_counter Celt_TempleCount 0
    end_if
    end_monitor

    monitor_event FactionTurnStart FactionIsLocal
    and I_CompareCounter Celt_ForumCount > 3
    set_counter Celt_Reform 1
    end_monitor

    monitor_event FactionTurnStart FactionIsLocal
    and I_CompareCounter Celt_ForumCount > 5
    and I_CompareCounter Celt_CityCount > 3
    and I_CompareCounter Celt_TempleCount > 5
    set_counter Celt_Reform 2
    end_monitor

    and replace it with the following code:
    ;reset Celt counters
    monitor_event FactionTurnEnd FactionIsLocal

    if I_CompareCounter Celt_ForumCount > 3
    set_counter Celt_Reform 1
    end_if

    if I_CompareCounter Celt_ForumCount > 5
    and I_CompareCounter Celt_CityCount > 3
    and I_CompareCounter Celt_TempleCount > 5

    set_counter Celt_Reform 2
    end_if

    if I_CompareCounter Celt_Reform < 2
    set_counter Celt_ForumCount 0
    set_counter Celt_CityCount 0
    set_counter Celt_TempleCount 0
    end_if
    end_monitor

    monitor_event FactionTurnStart FactionIsLocal
    and I_CompareCounter Celt_ForumCount > 3
    set_counter Celt_Reform 1
    end_monitor

    monitor_event FactionTurnStart FactionIsLocal
    and I_CompareCounter Celt_ForumCount > 5
    and I_CompareCounter Celt_CityCount > 3
    and I_CompareCounter Celt_TempleCount > 5
    set_counter Celt_Reform 2
    end_monitor

    ;Unconditional Celtic Reforms_human player
    monitor_event FactionTurnEnd FactionType scythia
    and I_CompareCounter Celt_Reform = 0
    and I_TurnNumber > 160

    set_counter Celt_Reform 1
    terminate_monitor

    end_monitor

    monitor_event FactionTurnEnd FactionType scythia
    and I_CompareCounter Celt_Reform = 1
    and I_TurnNumber > 320

    set_counter Celt_Reform 2
    terminate_monitor

    end_monitor

    monitor_event FactionTurnEnd FactionType gauls
    and I_CompareCounter Celt_Reform = 0
    and I_TurnNumber > 160

    set_counter Celt_Reform 1
    terminate_monitor

    end_monitor

    monitor_event FactionTurnEnd FactionType gauls
    and I_CompareCounter Celt_Reform = 1
    and I_TurnNumber > 320

    set_counter Celt_Reform 2
    terminate_monitor

    end_monitor

    monitor_event FactionTurnEnd FactionType britons
    and I_CompareCounter Celt_Reform = 0
    and I_TurnNumber > 160

    set_counter Celt_Reform 1
    terminate_monitor

    end_monitor

    monitor_event FactionTurnEnd FactionType britons
    and I_CompareCounter Celt_Reform = 1
    and I_TurnNumber > 320

    set_counter Celt_Reform 2
    terminate_monitor

    end_monitor

    ;Unconditional Celtic Reforms_AI player
    monitor_event FactionTurnStart FactionIsLocal
    and I_CompareCounter Celt_Reform = 0
    and I_TurnNumber > 120

    set_counter Celt_Reform 1
    terminate_monitor

    end_monitor

    monitor_event FactionTurnStart FactionIsLocal
    and I_CompareCounter Celt_Reform = 1
    and I_TurnNumber > 240

    set_counter Celt_Reform 2
    terminate_monitor

    end_monitor
    You can adjust the reforms triggers by changing the numbers in appropriate CityCount, ForumCount and TempleCount factors; yet the unconditional reforms at specific date work fine - I've added them in my own EB 1.0 and tested, and I have them working OK. 120 turns is 30 years; if you think it's too short, just change the number of turns.
    I made it so to have nice opponents for my Roman Legions, as I'm bored with cutting down to pieces all those levy spearmen and other poor guys.
    DARTH STALIN - Lord Generalissimus of the Union of the Socialist Sith Republic

  9. #9

    Default Re: Setting reforms to your preference

    Thanks much. It works perfectly.
    "I could be bounded in a nutshell, and count myself a king of infinite space, were it not that I have bad dreams." -Hamlet, II, ii

    "Historians and others attempt to pin the tail on the reluctant monkey of change." -excerpt from a real college essay, from Ignorance is Blitz by Anders Henriksson

  10. #10
    Member Member Darth Stalin's Avatar
    Join Date
    May 2007
    Location
    Main station of "Friendship" pipeline
    Posts
    241

    Default Re: Setting reforms to your preference

    You're welcome.
    Of course You can set the reforms to happen in preferred time by changing the number of turns in the "unconditional" part.
    DARTH STALIN - Lord Generalissimus of the Union of the Socialist Sith Republic

  11. #11
    Member Member Gothic's Avatar
    Join Date
    Nov 2007
    Location
    Gothenburg, Sweden
    Posts
    35

    Default Re: Setting reforms to your preference

    I couldn't find the delete button, so please ignore this post.
    Last edited by Gothic; 04-01-2008 at 20:51.
    Te audire non possum; musa sapiente fixa est in aure!

  12. #12

    Default Re: Setting reforms to your preference

    Hello Forum,

    In order to get the Imperial Reforms earlier, I´m going to copy the "unconditional" lines from the Marian reforms in the Imperial reforms section... but must I type in "Unconditional Reforms" like stated in the posts in this forum or have I to write "Unconditional Player Reforms" as in the Marian section?

    Regards Marcel

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

    Default Re: Setting reforms to your preference

    Those lines are just to describe what section of the script you are reading. Any line that starts with ";" is ignored by the script and isn't required.


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