|
|
|
 |
|

May 10th, 2008, 03:14 AM
|
 |
Major
|
|
Join Date: Oct 2000
Location: New York, NY
Posts: 1,066
Thanks: 1
Thanked 1 Time in 1 Post
|
|
Re: Attempting to improve the AI for Proportions 3
One thing that I have mentioned before however, is that the game reloads the AI script each turn. Therefore it would be possible to have an external program modify the AI files between turns, which could yield more "intelligent" AI.
Such a program could read and respond to conditions described by the game in the external log files, and help the AI react better to in-game actions.
|

May 11th, 2008, 03:41 PM
|
 |
National Security Advisor
|
|
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
|
|
Re: Attempting to improve the AI for Proportions 3
Could do, with logging turned on, though what kind of information can SE4 be made to log?
|

May 11th, 2008, 04:00 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
|
|
Re: Attempting to improve the AI for Proportions 3
If you're going to be using an external program, getting info back out will be the tough part.
Perhaps an autohotkey program to use the existing SE4 UI... open all the dialogs and extract all the details into a nice text format.
Then it could run your AI.exe to create an orders file to read... and finally some hammering on the SE4 UI to plug the orders into the game before hitting end turn.
To heck with using the built-in AIs  How about writing your AI in whatever language you like, and playing with all the options of the human interface?
__________________
Things you want:
|

May 11th, 2008, 10:14 PM
|
 |
Sergeant
|
|
Join Date: Oct 2006
Location: Kingston, Ontario
Posts: 289
Thanks: 1
Thanked 3 Times in 3 Posts
|
|
Re: Attempting to improve the AI for Proportions 3
HA if we could do that then I would leave the Ministers on and let them do my turns while I sleep 
|

May 12th, 2008, 12:34 AM
|
 |
Shrapnel Fanatic
|
|
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
|
|
Re: Attempting to improve the AI for Proportions 3
I will make the UI interface if somebody wants to make the AI program.
__________________
Things you want:
|

May 12th, 2008, 03:43 AM
|
 |
National Security Advisor
|
|
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
|
|
Re: Attempting to improve the AI for Proportions 3
Do you really think it's feasible to create an interface to read and use the SE4 UI?
|

May 12th, 2008, 03:54 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
|
|
Re: Attempting to improve the AI for Proportions 3
Certainly.
The toughest part would be the text recognition, but the fonts are all known, and the text locations are in fixed positions too. (With some simple adjustments for screen resolution, but I already deal with that in the Windowed SE4 tool)
Giving orders should be easy too:
"Select ship X" --> Go to ships list, scroll down until the ship name is found, then click it.
"Move/warp/etc to a location" --> press hotkey, click galaxy map, click coordinates.
__________________
Things you want:
|

May 12th, 2008, 04:20 PM
|
 |
National Security Advisor
|
|
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
|
|
Re: Attempting to improve the AI for Proportions 3
I guess I missed the threads on the windowed SE4 tool. What are you using to screen-scrape and manipulate the UI?
|

May 12th, 2008, 10:06 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
|
|
Re: Attempting to improve the AI for Proportions 3
__________________
Things you want:
|

May 13th, 2008, 01:57 AM
|
 |
Major
|
|
Join Date: Oct 2000
Location: New York, NY
Posts: 1,066
Thanks: 1
Thanked 1 Time in 1 Post
|
|
Re: Attempting to improve the AI for Proportions 3
Sweet, SJ. Your Windowed SE4 Tool is great.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|