Results 1 to 29 of 29

Thread: player1 presents: Faction Switcher Script

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Bug Hunter Senior Member player1's Avatar
    Join Date
    Feb 2005
    Location
    Belgrade, Serbia
    Posts
    1,405

    Default player1 presents: Faction Switcher Script

    Here is the script that could be useful for swithing game controls to next faction (senate and rebels excluded). Very useful for mod testing purposes. Also it seems it can be used for AIless MP game.

    Should be installed in same way as 4 turns per year script file. In fact, every time you need to switch faction you need to manually start the script (similar to 4 tunrs per year script: click F1, then ?, and "show me" button at the end).


    Code:
    script
    console_command control slave
    if I_LocalFaction romans_julii
    	console_command control romans_brutii
    	terminate_script
    end_if
    if I_LocalFaction romans_brutii
    	console_command control romans_scipii
    	terminate_script
    end_if
    if I_LocalFaction romans_scipii
    	console_command control macedon
    	terminate_script
    end_if
    if I_LocalFaction macedon
    	console_command control egypt
    	terminate_script
    end_if
    if I_LocalFaction egypt
    	console_command control seleucid
    	terminate_script
    end_if
    if I_LocalFaction seleucid
    	console_command control carthage
    	terminate_script
    end_if
    if I_LocalFaction carthage
    	console_command control parthia
    	terminate_script
    end_if
    if I_LocalFaction parthia
    	console_command control pontus
    	terminate_script
    end_if
    if I_LocalFaction pontus
    	console_command control gauls
    	terminate_script
    end_if
    if I_LocalFaction gauls
    	console_command control germans
    	terminate_script
    end_if
    if I_LocalFaction germans
    	console_command control britons
    	terminate_script
    end_if
    if I_LocalFaction britons
    	console_command control armenia
    	terminate_script
    end_if
    if I_LocalFaction armenia
    	console_command control dacia
    	terminate_script
    end_if
    if I_LocalFaction dacia
    	console_command control greek_cities
    	terminate_script
    end_if
    if I_LocalFaction greek_cities
    	console_command control numidia
    	terminate_script
    end_if
    if I_LocalFaction numidia
    	console_command control scythia
    	terminate_script
    end_if
    if I_LocalFaction scythia
    	console_command control spain
    	terminate_script
    end_if
    if I_LocalFaction spain
    	console_command control thrace
    	terminate_script
    end_if
    if I_LocalFaction thrace
    	console_command control romans_julii
    	terminate_script
    end_if
    end_script
    BUG-FIXER, an unofficial patch for both Rome: Total War and its expansion pack

  2. #2
    Bug Hunter Senior Member player1's Avatar
    Join Date
    Feb 2005
    Location
    Belgrade, Serbia
    Posts
    1,405

    Default Re: player1 presents: Faction Switcher Script

    Nobody interested?
    This could help in making MP script as well as help in testing mods.

    P.S.
    Why haven't I put this in general forum...
    BUG-FIXER, an unofficial patch for both Rome: Total War and its expansion pack

  3. #3
    Savior of Peasant Phill Member Silver Rusher's Avatar
    Join Date
    Aug 2004
    Location
    Get off mah propertay!
    Posts
    2,072

    Default Re: player1 presents: Faction Switcher Script

    Oh My God.

    player1, you have cracked the multiplayer campaign code! I mean, the multiplayer campaign if you only use one computer and constantly switch with your opponents, but this is still truly some amazing ground that has been covered.

    Thank you so much. Now I can invite all my friends over and show them the might of the Parthian army in action!

    One problem I see however: The people you play with on multiplayer will not be able to respond to your diplomacy, unless you switch and become that faction instantly.

    I think we and some other people should all team up and make a nice big one computer MP Campaign script. (I'm not sure how well that will work exactly, but it is worth a shot)
    THE GODFATHER, PART 2
    The Thread

  4. #4
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: player1 presents: Faction Switcher Script

    I think it is very interesting for test purposes.
    How I use it?
    I suppose that the text must be copied and paste in a txt file, which name? where do I put the file?
    Is it possible to change the faction in any moment or only at the end of the turn?
    Thanks in advance for the answers.

  5. #5
    Bug Hunter Senior Member player1's Avatar
    Join Date
    Feb 2005
    Location
    Belgrade, Serbia
    Posts
    1,405

    Default Re: player1 presents: Faction Switcher Script

    Go to the old 4 turns per year thread and see how to set up "show me" script.

    That's the way to install it.
    BUG-FIXER, an unofficial patch for both Rome: Total War and its expansion pack

  6. #6
    The Dark Knight Member wlesmana's Avatar
    Join Date
    Jan 2005
    Location
    Indonesia
    Posts
    602

    Default Re: player1 presents: Faction Switcher Script

    This looks great for testing mods. But what happens when you enter battle map sequence? The other side will be controlled by AI?

  7. #7
    Bug Hunter Senior Member player1's Avatar
    Join Date
    Feb 2005
    Location
    Belgrade, Serbia
    Posts
    1,405

    Default Re: player1 presents: Faction Switcher Script

    I guess so...
    BUG-FIXER, an unofficial patch for both Rome: Total War and its expansion pack

  8. #8

    Default Re: player1 presents: Faction Switcher Script

    I just setup the 4ypt script but what do I do with the script player1 made?

  9. #9
    Senior Member Hopefull Member MiniKiller's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, CT, USA
    Posts
    1,610

    Default Re: player1 presents: Faction Switcher Script

    wow this is sweet i always wished for a 2-8 player campaign offline, like at my house lol
    Last edited by MiniKiller; 12-05-2005 at 06:57.
    *Bows. Turns to return to darkness...bumps head...looks around, pretends noone saw. Dissapears in shadows while cursing at self*



  10. #10

    Default Re: player1 presents: Faction Switcher Script

    this script is really cool
    the only BIG! problem: if the human player ends the turn with his local_faction the ai finish his turn and mess up all!
    i've just tried out everything to make the script run with the option console_command disable_ai but i don't work!
    halt_ai works only with a hot seat mod for 2 factions...
    set_ai off is only for the battle map i think...

    any ideas of the scripting gods?
    would be very cool!

  11. #11

    Default Re: player1 presents: Faction Switcher Script

    Can somebody help me set this up? What do I do with his script??

    Thanks

  12. #12

    Default Re: player1 presents: Faction Switcher Script

    hey red
    if you want the script pm me and i send you the files you need with a short description...

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