Results 1 to 8 of 8

Thread: Mod for Computer Auto-Play?

  1. #1
    23 Skidoo
    Chieftain
    Join Date
    16 Apr 1999
    Location
    Milpitas, CA, USA
    Posts
    68
    Country
    This is 23 Skidoo's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    14:44

    Mod for Computer Auto-Play?

    Anybody know how to mod the game so it plays itself with no human player interaction? It'd be great if I could make the thing play itself, all 18 civs, as a system stress test.

  2. #2
    Jon Shafer
    Firaxis Games Programmer/Designer
    Join Date
    09 Apr 2002
    Location
    Maryland
    Posts
    9,566
    Country
    This is Jon Shafer's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    17:44
    You can do this through the game console (NOT Python console).

    Hit ` with the cheat code set and then enter:

    Game.AIPlay x

    x being the number of turns you want the game to run for. The AI will then play against itself for that number of turns. Note that it will kill off the civ you currently are playing so there might be a gap in the landmass where you started.

  3. #3
    Gramphos
    Technical Director Gramphos's Avatar
    Join Date
    08 Apr 2001
    Location
    Linköping, Sweden
    Posts
    9,304
    Country
    This is Gramphos's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    22:44
    I'm not sure if this works correctly with the release version (so I didn't suggest it).
    Creator of the Civ3MultiTool

  4. #4
    Jon Shafer
    Firaxis Games Programmer/Designer
    Join Date
    09 Apr 2002
    Location
    Maryland
    Posts
    9,566
    Country
    This is Jon Shafer's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    17:44
    I suppose we'll find out.

  5. #5
    23 Skidoo
    Chieftain
    Join Date
    16 Apr 1999
    Location
    Milpitas, CA, USA
    Posts
    68
    Country
    This is 23 Skidoo's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    14:44

    Cool, Thanks!

    I'll try it and post my results. BTW, game is AWESOME.

  6. #6
    sansi
    Settler
    Join Date
    29 Sep 2005
    Posts
    2
    Country
    This is sansi's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    21:44
    Thx, this works just fine.

    A question though: Is there a way to see the AI untis move? As for now, I'm able to enter the Worldbuilder everytime the game returns to the game console and see the untis there, it would be nice though to see them moving as the game progresses. Unfotunatly, everything is hidden by the fog of war.

    BTW, game is AWESOME

    /Edit: Found the answer myself. Game.toggleDebugMode
    Last edited by sansi; November 3, 2005 at 08:59.

  7. #7
    Jon Shafer
    Firaxis Games Programmer/Designer
    Join Date
    09 Apr 2002
    Location
    Maryland
    Posts
    9,566
    Country
    This is Jon Shafer's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    17:44
    Ctrl-Z also turns on debug mode.

  8. #8
    23 Skidoo
    Chieftain
    Join Date
    16 Apr 1999
    Location
    Milpitas, CA, USA
    Posts
    68
    Country
    This is 23 Skidoo's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    14:44

    Yes!

    Worked for me too. Thanks for the Ctrl-Z tip. Now, back to our regularly scheduled play...

    I got 4 machines in my system lab running this. Just set 'em on 300 turns and walk away.

    Cheers!

Similar Threads

  1. Auto-play without human
    By tgwpage in forum Civilization IV General
    Replies: 6
    Last Post: May 18, 2007, 11:51
  2. Play in the same Computer
    By pevi in forum Call to Power 2
    Replies: 2
    Last Post: December 16, 2005, 15:17
  3. AUTO AI-PLAY : beginners' guide
    By tgwpage in forum Civilization IV General
    Replies: 1
    Last Post: November 3, 2005, 10:06
  4. New computer won't let me play AC
    By Arcainite in forum Alpha Centauri
    Replies: 7
    Last Post: October 12, 2005, 04:03
  5. Question regarding possible auto-play / zero-player mode....
    By Edgar Newt in forum Civ3-General-Archive
    Replies: 11
    Last Post: October 1, 2003, 07:19

Visitors found this page by searching for:

civ4 ai autoplay

civ iv autoplay

ai autoplay civilization

apolyton.net ai autoplay civ iv

civ iv autoplay game

auto AI play civilization

civ iv computer play against itself

Bookmarks

Posting Permissions