Results 1 to 30 of 95

Thread: More than two turns a year - release

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default More than two turns a year - release









    Many thanks to all the people who helped me work out this script.
    Follow the instructions in the readme below which includes instructions or how to run and use the script.

    Thx Myrddraal

    README
    The following is a method for increasing the number of
    turns in one year.

    CONTENTS
    - HOW TO INSTALL
    - HOW TO USE
    - NOTES


    --------------------------HOW TO INSTALL--------------------------

    1.
    First, download the script generator and use it to generate a script called descr_script in the show me folder. This is where you set the start and end dates and the number of turns you want per year NOTE: There will only be one turn for winter or else aging is affected, so if you mod is in cold climates, I would recommend you have about 4 turns a year max (one 'season' for winter). Note if you are using a mod you have to change the start date to the appropriate date for the mod

    2.
    Open the file export_descr_advice.txt in the Data
    folder.
    Search for

    Code:
    AdviceThread
    Help_Campaign_Keyboard_Shortcuts_Scroll_Thread
    Select the entire section (from ;--------- to Text)
    and replace it with:

    Code:
    ;------------------------------------------
    AdviceThread Help_Campaign_Keyboard_Shortcuts_Scroll_Thread
    	GameArea Campaign
     
    	Item Help_Campaign_Keyboard_Shortcuts_Scroll_Text_01
    		Uninhibitable
    		Verbosity 0 
    		Threshold 1 
    		Attitude Normal
    		Presentation Default
    		Title four_turns_Title
    		Script scripts\show_me\descr_script.txt
    		Text four_turns_Text1

    3.
    Open export_descr_advice_enums.txt in the Data folder.
    Add to the bottom of this file the following text:

    Code:
    four_turns_Title
    four_turns_Text1
    4.
    Open export_advice.txt in Data\text
    Add to the bottom of this file the following text:

    Code:
    ;-------------------
     
    {four_turns_Title} Four turns a year
     
    {four_turns_Text1}
    
    To finish loading the four turns a year script, click
    on the 'Show me how' button. Remember, you must do this every time you load a saved game.
    5.
    Now go to Data\world\maps\campaign\imperial_campaign
    (or whichever campaign you want to apply the script
    to)
    Create a new text file called descr_script.txt
    containing the following text:

    Code:
    script
    advance_advice_thread
    Help_Campaign_Keyboard_Shortcuts_Scroll_Thread
    select_ui_element advisor_show_me_button
    simulate_mouse_click lclick_down
    simulate_mouse_click lclick_up
    end_script
    7.
    Now open descr_strat.txt in the same folder and add
    the following lines to the bottom of the file

    script
    descr_script.txt


    Installation complete.

    --------------------------HOW TO USE--------------------------

    When starting a new campaign, the script should
    automatically run after about one second. You must
    relaunch the script each time you load the game. To
    run the script, when starting a new campaign, or when
    loading a saved game, press F1.
    A panel will appear with a list of shortcuts. In the
    top right hand corner, click on the question mark.
    The advisor will appear and ask you to click on the
    'show me how' button. Once this is done, play as
    usual.
    Remember that this must be done not only at the start
    of the campaign, but also each time you load the saved
    game.

    --------------------------Notes--------------------------

    Many thanks go to those at the www.totalwar.org forums
    who helped me develop the ideas used in this script.
    If you wish to officially use this script in a mod,
    you are very welcome to, but please inform me as I
    like to know how my work is put to use.

    Myrddraal
    Last edited by Myrddraal; 05-09-2005 at 09:36.

  2. #2
    Member Member Stuie's Avatar
    Join Date
    Aug 2001
    Location
    Upper Gwynedd, PA
    Posts
    406

    Default Re: More than two turns a year - release

    Nice - this should make the four-turns-per-year people happy. Although build times/income/etc should probably be adjusted.

    Have you found any other uses for the scripting in RTW? Specifically, I'm trying to force the Civil War to start earlier for a mod I'm working on. Is there a way to script it in?

  3. #3

    Default Re: More than two turns a year - release

    Yes but doesnt the use of Scripts ingame cause NO saves to be possible? Was that fixed in the 1.2 patch? Because I know that was a problem before where you could not save a game whiile running the script?

    Thanks,

    Lt
    LT_1956 Creator of SPQR: Total War


    SPQR:TW Mod forums

  4. #4
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: More than two turns a year - release

    No lt, it wasn't fixed in the patch, thats only the use of campaign scripts, to get around this, I have used a show me script which allows saved games. I only use the campaign script to launch the show me script. I assure it does work

    By the way, any feedback would be good, I want to make sure it works on another pc...

  5. #5

    Default Re: More than two turns a year - release

    Thats right I forgot about the advice section. I think CA should have went 4 turns anyway, its a shame they didnt and also if you look at no Sea battles its sad, I know they wanted to add them.

    I hope they fix the problems with the battlefield AI from the 1.2 patch because the AI is technically worse for battles now than before, but the campaign AI is better. lol But also LESS aggressive I noticed. In the First SPQR without the 1.2patch the player was attacked alot, now the AI seems more passive and there is nothing you can do about it.

    Lt

    Good show on the script!
    LT_1956 Creator of SPQR: Total War


    SPQR:TW Mod forums

  6. #6
    EB insanity coordinator Senior Member khelvan's Avatar
    Join Date
    Sep 2002
    Location
    Oakland, CA
    Posts
    8,449

    Default Re: More than two turns a year - release

    Myrddraal, since I haven't been following the development: Were you able to solve the problem of the script not automatically running?
    Cogita tute


  7. #7
    Member Member LucaviX's Avatar
    Join Date
    Mar 2005
    Location
    In my huge brooding red temple with spines!
    Posts
    35

    Angry Re: More than two turns a year - release

    Quote Originally Posted by lt1956
    Yes but doesnt the use of Scripts ingame cause NO saves to be possible? Was that fixed in the 1.2 patch? Because I know that was a problem before where you could not save a game whiile running the script?

    Thanks,

    Lt
    Yeah, but really, did it take two seasons to build a basic barracks? Consider each turn a season, Spring, Summer, Fall, Winter. If it takes 4 turns to build, that's an entire year your peasants could be hard at work. If it should take more, you can edit the turns in
    C:\Program Files\Activision\Rome - Total War\Data\export_descr_buildings.txt

    I've been poking around the scripts and editing them myself :)

  8. #8
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: More than two turns a year - release

    Well if you like you can have 12 turns a year, but remember the limitation, you can only have one winter turn per year or ageing gets screwed. I guess CA weren't expecting us to do this when they linked aging to winter...

  9. #9
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: More than two turns a year - release

    If anyone downloaded this before I updated the script generator, I included a readme with instructions which I have now lost... Could someone send it to mad_toad@hotmail.com?

  10. #10

    Exclamation Re: More than two turns a year - release

    small booboo on your part which prevented the autorun at start of campaign: (i'd been getting an annoying error txt about help campaign blah blah)
    • did extensive testing and still got error until i figured it was just a carriage return typo
    Quote Originally Posted by Myrddraal
    script
    advance_advice_thread
    Help_Campaign_Keyboard_Shortcuts_Scroll_Thread
    select_ui_element advisor_show_me_button
    simulate_mouse_click lclick_down
    simulate_mouse_click lclick_up
    end_script
    Code:
    script
    advance_advice_thread Help_Campaign_Keyboard_Shortcuts_Scroll_Thread
    select_ui_element advisor_show_me_button
    simulate_mouse_click lclick_down
    simulate_mouse_click lclick_up
    end_script

    works like a charm now. let's see if it gives only one winter...yes. works like you intended.



    edit: AAAAAAAAAAGHHH!!! now, after that one perfect run, i couldn't replicate it. in fact, the darned script didn't work. add to that, i got a wierd error message when i hit alt+f4 after the 10th attempt, in frustration.
    blah blah 5567, 5

    don't recongize this token: en
    did a find in that file and found it to be the very last line...looked like the script had failed to complete and had stopped at year 8. i don't think this is related to my problems. I have to sleep now, but i'll try some more playtesting - perhaps a reboot? Anyhows, if worse comes to worse i'll revert to vanilla 1.2 and try again.

    post-edit: tried a reboot. upon new campaign (provincial) i not only did not see the advisor popup, i even tried the F1 and question mark but the "showme" was greyed out - upon hitting the end turn i went to winter...i haven't a clue what's going on now. perhaps i bolloxed it up by all the restarts? (plus i was dicking around with "descr_strat_all.txt" and "descr_strat.txt"...even put the script lines at the end of both)
    • pretty sure i tried duplicating the script in "_all" when i ran into problems, not before
    Last edited by MajorFreak; 04-29-2005 at 19:03.

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