Results 1 to 8 of 8

Thread: Faction Switching

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Chuffed to be a Member Juvenal's Avatar
    Join Date
    Jan 2007
    Location
    The year before last
    Posts
    127

    Default Re: Faction Switching

    Quote Originally Posted by Ensiger View Post
    ...and, Juvenal I dont even understand your post...
    Sorry, here is a fuller explanation. The control cheat command doesn't work from the console, but it does work from scripts.

    Create a script in "Rome - Total War\bi\data\scripts\show_me" called my_script.txt
    Code:
    script
        console_command add_money 10
        console_command control empire_west_rebels
        console_command add_money 10
    end_script
    Substitute empire_west_rebels with the internal name for the desired faction, you can get it from the file descr_sm_factions.txt. I only put the add_money commands in so you can see whether the script ran.

    Go to "Rome - Total War\bi\data\export_descr_advice.txt" and uncomment Trigger 2137 by removing the leading semi-colons. NB. it was commented out in my mod, I'm not sure if that is the case in vanilla BI, but check it anyway.
    Code:
    ;------------------------------------------
    Trigger 2137_Help_Campaign_Keyboard_Shortcuts_Scroll_Trigger
        WhenToTest ScrollAdviceRequested
    
        Condition ScrollAdviceRequested help_scroll
    
        AdviceThread Help_Campaign_Keyboard_Shortcuts_Scroll_Thread  0
    Uncomment and add a reference to the new script in the Advice Thread definition for that trigger (you will find it in the same file).
    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  Help_Campaign_Keyboard_Shortcuts_Scroll_Text_01_Title
            Script scripts\show_me\my_script.txt
            Text Help_Campaign_Keyboard_Shortcuts_Scroll_Text_01_Text1
    To run the script:
    • Press F1 to get the Keyboard Shortcuts scroll.
    • Press the question-mark icon (top right of scroll) - the Advisor pops-up.
    • Press the Show-me area of the Advisor and the script should then run.

    I am told that after changing faction, the AI gets confused and won't play your original faction very well. But this wasn't a problem for me because I just wanted to replay important events from my save games without continuing the campaign.
    Last edited by Juvenal; 02-16-2009 at 19:02.

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