SetonHallPirate
Private
Posts: 24
Joined: Fri Oct 19, 2007 8:51 pm

AI vs. AI...is this an option?

Fri Oct 19, 2007 8:55 pm

Thanks in advance!

User avatar
Korrigan
AGEod Guard of Honor
Posts: 1982
Joined: Wed Nov 30, 2005 12:33 pm
Location: France

Sat Oct 20, 2007 8:36 am

Yes, it's possible. This is the way Pocus uses to test the AI and the patches
"Never argue with a fool, onlookers may not be able to tell the difference." Mark Twain

Image

SetonHallPirate
Private
Posts: 24
Joined: Fri Oct 19, 2007 8:51 pm

Sat Oct 20, 2007 4:19 pm

How does one go about getting that to happen? All I see is, after you select the scenario, the only options you have are to be Abraham Lincoln or Jefferson Davis. Thanks in advance!

User avatar
Rafiki
Posts: 5811
Joined: Thu Aug 24, 2006 9:19 am
Location: Oslo, Norway

Sat Oct 20, 2007 4:42 pm

I imagine that if you don't issue any orders, the game will instruct the AI to make orders for your side in addition to making the orders it usually does for your (computer) opponent?
[CENTER]Latest patches: AACW :: NCP :: WIA :: ROP :: RUS :: PON :: AJE
Visit AGEWiki - your increasingly comprehensive source for information about AGE games
[SIGPIC][/SIGPIC]
[/CENTER]

User avatar
Primasprit
Posts: 1614
Joined: Mon Jun 19, 2006 7:44 pm
Location: Germany

Sat Oct 20, 2007 5:40 pm

I think you can enable the AI vs. AI mode by adding [font="Courier New"]AllAI = 1[/font] to the [font="Courier New"]General.opt[/font].
I have however no ideas about possible side effects. :p

User avatar
Pocus
Posts: 25669
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Sat Oct 20, 2007 7:12 pm

Good answer from Primasprit. The game will ignore the ord files generated by players in this case.
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

SetonHallPirate
Private
Posts: 24
Joined: Fri Oct 19, 2007 8:51 pm

Sat Oct 20, 2007 7:30 pm

Pocus wrote:Good answer from Primasprit. The game will ignore the ord files generated by players in this case.


Unfortunately, his answer doesn't seem to be working for me. Where should I put the AllAI = 1?

User avatar
Rafiki
Posts: 5811
Joined: Thu Aug 24, 2006 9:19 am
Location: Oslo, Norway

Sat Oct 20, 2007 7:35 pm

Location of the file is: AACW-directory\ACW\Settings\General.opt
[CENTER]Latest patches: AACW :: NCP :: WIA :: ROP :: RUS :: PON :: AJE

Visit AGEWiki - your increasingly comprehensive source for information about AGE games

[SIGPIC][/SIGPIC]

[/CENTER]

SetonHallPirate
Private
Posts: 24
Joined: Fri Oct 19, 2007 8:51 pm

Sat Oct 20, 2007 7:39 pm

Rafiki wrote:Location of the file is: AACW-directory\ACW\Settings\General.opt


Right...I found the file, but where in the file do I put this?

User avatar
Rafiki
Posts: 5811
Joined: Thu Aug 24, 2006 9:19 am
Location: Oslo, Norway

Sat Oct 20, 2007 7:41 pm

Anywhere, just make sure

Code: Select all

AllAI = 1

is on a line for itself
[CENTER]Latest patches: AACW :: NCP :: WIA :: ROP :: RUS :: PON :: AJE

Visit AGEWiki - your increasingly comprehensive source for information about AGE games

[SIGPIC][/SIGPIC]

[/CENTER]

User avatar
Pocus
Posts: 25669
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Sat Oct 20, 2007 7:53 pm

SetonHallPirate wrote:Right...I found the file, but where in the file do I put this?


where you want within the file. Also the command will only works if you are in full debug (error loging mode, see Options/System)
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

SetonHallPirate
Private
Posts: 24
Joined: Fri Oct 19, 2007 8:51 pm

Sun Oct 21, 2007 5:13 am

Pocus wrote:where you want within the file. Also the command will only works if you are in full debug (error loging mode, see Options/System)


Sadly, even after turning on error logging mode, I can't get it to work...how many spaces should there be between the AllAI and the equals sign, and the same for between the equals sign and the 1? (the other options all seem to have different numbers of spaces between the last letter in their text and their equals signs, and it isn't a tab either)...Again, thanks in advance, and I hate to be a total pain...

User avatar
Pocus
Posts: 25669
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Sun Oct 21, 2007 8:45 am

nb of spaces have no importance. I answered to your PM too.
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

SetonHallPirate
Private
Posts: 24
Joined: Fri Oct 19, 2007 8:51 pm

Sun Oct 21, 2007 11:40 pm

Pocus wrote:nb of spaces have no importance. I answered to your PM too.


One thing I discovered, also, is that Fog of War also needs to be off for this to work. Once I turned it off, the AllAI command worked just fine. Thanks to everybody!

Return to “Help to improve AACW!”

Who is online

Users browsing this forum: No registered users and 2 guests