.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old March 20th, 2003, 07:44 AM

Chris Woods Chris Woods is offline
Private
 
Join Date: Mar 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Chris Woods is on a distinguished road
Default Monitoring my AI

Hey all,

After I make modifications to a new AI type, what is the most efficient way to watch my AI play? Can I somehow select to "be my AI" and just hit "end turn", paying careful attention to what choices the AI is making without actually changing them?

Any help here greatly appreciated.

Chris Woods
Reply With Quote
  #2  
Old March 20th, 2003, 10:23 AM
PsychoTechFreak's Avatar

PsychoTechFreak PsychoTechFreak is offline
First Lieutenant
 
Join Date: Mar 2001
Location: Bordesholm, Germany
Posts: 781
Thanks: 6
Thanked 0 Times in 0 Posts
PsychoTechFreak is on a distinguished road
Default Re: Monitoring my AI

Do you have Win98 or 95 ?

Search for Master Belisarius' SE4 Batch (does not work under XP) :

http://www.shrapnelgames.com/cgi-bin...0;t=000004;p=3

You can setup the savegame backup frequency, like every turn, every 10, 50, whatsoever. After the batch simulation you can jump (load) into the game to investigate the AI. With renaming one of the backups to the original test name (your setup under simultaneous save name) you can start another batch starting from this point.
Reply With Quote
  #3  
Old March 20th, 2003, 03:56 PM
Krsqk's Avatar

Krsqk Krsqk is offline
Lieutenant Colonel
 
Join Date: Jul 2001
Location: Orlando, FL
Posts: 1,259
Thanks: 0
Thanked 0 Times in 0 Posts
Krsqk is on a distinguished road
Default Re: Monitoring my AI

Quote:
Originally posted by PsychoTechFreak:
Do you have Win98 or 95 ?

Search for Master Belisarius' SE4 Batch (does not work under XP) :
Does it not work even with compatibility mode? Why doesn't it work?
__________________
The Unpronounceable Krsqk

"Well, sir, at the moment my left processor doesn't know what my right is doing." - Freefall
Reply With Quote
  #4  
Old March 20th, 2003, 03:56 PM
DavidG's Avatar

DavidG DavidG is offline
Lieutenant Colonel
 
Join Date: Jan 2002
Location: Dundas, Ontario, Canada
Posts: 1,498
Thanks: 0
Thanked 0 Times in 0 Posts
DavidG is on a distinguished road
Default Re: Monitoring my AI

I had the same question. Can you not just play your own empire with all the minsters turned on?
__________________
SE4Modder ver 1.76
or for just the EXESE4Modder EXE Ver 1.76
SE4 Mod List
Reply With Quote
  #5  
Old March 20th, 2003, 04:04 PM
oleg's Avatar

oleg oleg is offline
Lieutenant General
 
Join Date: Jan 2001
Location: Oxford, UK
Posts: 2,592
Thanks: 0
Thanked 0 Times in 0 Posts
oleg is on a distinguished road
Default Re: Monitoring my AI

Yes, of course, just play with all ministers "on". It plays almost exactly like a normal computer player. If you want to see how AI select planets, you must uncheck "ask for colony type" or something like this in "empire settings" window. So far the only difference I noticed is the bug I described in "Proportions AI problem in "classical" turn games" topic.

If you want to see how AI performs when played with bonus, simply save the game, take over computer player by using game pulldown menu, see its turn and then reload the savegame !
__________________
It is forbidden to kill; therefore all murderers are punished unless they kill in large numbers and to the sound of trumpets. - Voltaire
Reply With Quote
  #6  
Old March 20th, 2003, 04:50 PM
Master Belisarius's Avatar

Master Belisarius Master Belisarius is offline
Colonel
 
Join Date: Jul 2000
Location: Montevideo Uruguay
Posts: 1,598
Thanks: 0
Thanked 0 Times in 0 Posts
Master Belisarius is on a distinguished road
Default Re: Monitoring my AI

Quote:
Originally posted by Krsqk:
Does it not work even with compatibility mode? Why doesn't it work?
I don't know why doesn't work... I have used routines in Visual Foxpro for rename/delete files, that where done for windows. I checked it and everything was ok... but I had not win2000 or XP.
Now... also I have lost the source code.... then, sorry guys, I can't change the things!
Reply With Quote
  #7  
Old March 20th, 2003, 05:00 PM
Slick's Avatar

Slick Slick is offline
Brigadier General
 
Join Date: Apr 2002
Location: Kailua, Hawaii
Posts: 1,860
Thanks: 0
Thanked 1 Time in 1 Post
Slick is on a distinguished road
Default Re: Monitoring my AI

Another difference using all ministers is that you must click yes or no when deciding to attack. I don't think this can be automated so that you can just hit "end turn" repeatedly to watch a game. At least I don't know how. Based on what I have seen, it seems that the AI would always choose to attack, even if it has no chance of winning.

Slick.
__________________
Slick.
Reply With Quote
  #8  
Old March 20th, 2003, 05:04 PM
Master Belisarius's Avatar

Master Belisarius Master Belisarius is offline
Colonel
 
Join Date: Jul 2000
Location: Montevideo Uruguay
Posts: 1,598
Thanks: 0
Thanked 0 Times in 0 Posts
Master Belisarius is on a distinguished road
Default Re: Monitoring my AI

Quote:
Originally posted by Slick:
Another difference using all ministers is that you must click yes or no when deciding to attack. I don't think this can be automated so that you can just hit "end turn" repeatedly to watch a game. At least I don't know how. Based on what I have seen, it seems that the AI would always choose to attack, even if it has no chance of winning.
Slick.
No, sometimes I saw the AI avoid the combat.

Here my 2 suggestions to run SE4 manually:
- play simultaneous: you only need to click 'end turn'.
- don't play the AI that you want to test, as the "human" player: usually I saw that is not the same play the AI as "human" with all the ministers "on", than run as 100% AI.
Reply With Quote
  #9  
Old March 20th, 2003, 05:05 PM
Slick's Avatar

Slick Slick is offline
Brigadier General
 
Join Date: Apr 2002
Location: Kailua, Hawaii
Posts: 1,860
Thanks: 0
Thanked 1 Time in 1 Post
Slick is on a distinguished road
Default Re: Monitoring my AI

Thanks for the correction. Also, MB, any chance you could recompile your batch program to work under XP? I would really like to use it, but cannot.

Slick.
__________________
Slick.
Reply With Quote
  #10  
Old March 20th, 2003, 05:12 PM
Master Belisarius's Avatar

Master Belisarius Master Belisarius is offline
Colonel
 
Join Date: Jul 2000
Location: Montevideo Uruguay
Posts: 1,598
Thanks: 0
Thanked 0 Times in 0 Posts
Master Belisarius is on a distinguished road
Default Re: Monitoring my AI

Quote:
Originally posted by Slick:
Thanks for the correction. Also, MB, any chance you could recompile your batch program to work under XP? I would really like to use it, but cannot.

Slick.
Sorry my friend, but I have lost the source code...
Maybe someone have time to do a new Version, using a different computer language? I could tell him what I did, and think would be rather easy to do again.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 07:41 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.