.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
  #11  
Old March 6th, 2003, 10:03 PM

JLS JLS is offline
Lieutenant Colonel
 
Join Date: Feb 2003
Location: RI. USA
Posts: 1,470
Thanks: 0
Thanked 0 Times in 0 Posts
JLS is on a distinguished road
Default Re: Proportions AI without AI colony bug :)

Oleg,
Is it possible that the Colonizer bug you are referring to has already been resolved?

Version 1.62:
1. Fixed - The AI was not purchasing colonizing ships

Version 1.61:
1. Changed - The Default_Ai_Construction_Vehicles.txt file will now allow
for the design name or the design type. The term "Colonizer" is
till hard-coded to be evaluated to the needed type of colonizer.
When looking for the design to build, the game will look for the
latest design which matches the design name. If no match is found,
then the latest design which matches the design type will be located.
If neither is found, this purchase item will be skipped.

[ March 06, 2003, 20:04: Message edited by: JLS ]
__________________
>~~~~~~AI CAMPAIGN -NEW-v4.191a AIC ~~~~~~<

Optimized for[i] Solitaire Play!
With or without all Warp points, Finite resources, same starts and Simultaneous movement


~~~ CLICK ON &gt;&gt;&gt; (((&gt; <font color="green"> AI CAMPAIGN v4.191 </font> &lt)) &lt;&lt;&lt; To Get ~~~
Reply With Quote
  #12  
Old March 7th, 2003, 02:42 AM
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 Proportions AI without AI colony bug :)

OI think I fixed "ai colony ship bug" by replacing "colonizer" with explicit design names. In my testss, AI build all 3 types of colony ships and colonize everything

1046954324.zip
__________________
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
  #13  
Old March 7th, 2003, 01:21 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: Proportions AI without AI colony bug :)

It is still not fully solved. I think it works as intended if you use "must have = 0" but nit in other situations. I checked how your file works and it looks great ! I am going to redo all "non-connected" states in my AI Thank you very much !
__________________
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
  #14  
Old March 7th, 2003, 06:17 PM

Rexxx Rexxx is offline
Corporal
 
Join Date: Jun 2002
Location: Hannover, Germany
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
Rexxx is on a distinguished road
Default Re: Proportions AI without AI colony bug :)

Sorry, I don't get it. Why should setting Must have at least to "0" help avoiding a colonizer dead end?
__________________
homo homini lupus est
Reply With Quote
  #15  
Old March 7th, 2003, 06:29 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: Proportions AI without AI colony bug :)

Quote:
Originally posted by Rexxx:
Sorry, I don't get it. Why should setting Must have at least to "0" help avoiding a colonizer dead end?
Because there are no "unused" colony ships in reserve. Nothing yo impede construction of different colony ships upon request

Don't think it will work in "open" state. There are always planets to colonize and AI can easily saturate "planet per item" and get to the same sorry state but I'm not sure.
__________________
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
  #16  
Old March 7th, 2003, 06:43 PM

Rexxx Rexxx is offline
Corporal
 
Join Date: Jun 2002
Location: Hannover, Germany
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
Rexxx is on a distinguished road
Default Re: Proportions AI without AI colony bug :)

Quote:
Originally posted by oleg:
Don't think it will work in "open" state. There are always planets to colonize and AI can easily saturate "planet per item" and get to the same sorry state but I'm not sure.
That's exactly what I guessed. Sooner or later the Planets per item condition is fulfilled with unusable colonizers and I get stuck again in this damned dead end.
Will run my tests in connected games during the weekend, maybe I can come up with something.
__________________
homo homini lupus est
Reply With Quote
  #17  
Old March 7th, 2003, 07:07 PM

JLS JLS is offline
Lieutenant Colonel
 
Join Date: Feb 2003
Location: RI. USA
Posts: 1,470
Thanks: 0
Thanked 0 Times in 0 Posts
JLS is on a distinguished road
Default Re: Proportions AI without AI colony bug :)

I recommend you also look at Infrastructure State for Colonizers in regards to PPI.

This is where AI Defaults too; coming out of the Not Connected State !!!
~
I believe the Proposed setting of 160 to 200 PPI; For Infrastructure currently suggested for Colonizers may be high there as well, and may be problematic…

[ March 07, 2003, 17:09: Message edited by: JLS ]
__________________
&gt;~~~~~~AI CAMPAIGN -NEW-v4.191a AIC ~~~~~~&lt;

Optimized for[i] Solitaire Play!
With or without all Warp points, Finite resources, same starts and Simultaneous movement


~~~ CLICK ON &gt;&gt;&gt; (((&gt; <font color="green"> AI CAMPAIGN v4.191 </font> &lt)) &lt;&lt;&lt; To Get ~~~
Reply With Quote
  #18  
Old March 9th, 2003, 10:20 PM

Rexxx Rexxx is offline
Corporal
 
Join Date: Jun 2002
Location: Hannover, Germany
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
Rexxx is on a distinguished road
Default Re: Proportions AI without AI colony bug :)

Quote:
Originally posted by oleg:
I made a test in non-connected game. At the moment AI colonized all rock and gas planets in the system but before it discovered ice, it had two idle colonizers - one rock and one gas. I scraped them both - next turn, AI start to build one rock and one gas Rexx, I don't know why id did't work in your test. SE is a strange game should I say !
Did some tests (turn based, med/large quadrant, connected standard game, low bonus, AI as computer player)
I used
Entry 3 Type := Seeder (Gas)
Entry 3 Planet Per Item := 300
Entry 3 Must Have At Least := 5
Entry 4 Type := Seeder (Rock)
Entry 4 Planet Per Item := 300
Entry 4 Must Have At Least := 9
Entry 5 Type := Seeder (Ice)
Entry 5 Planet Per Item := 300
Entry 5 Must Have At Least := 12

In all tests my old statement "the AI only follows the Last (available) entry/name for a certain design type and the according must have number" was proven wrong!!!!

Until rock colonizing tech was discovered the AI build the 5 gas colonizers. After the first rock colonizers had been designed it immediately began to build them. NO DEAD END. At first it built 4 of them but when a slot got free the AI used it for a rock ship. After all gas colonizers were used up it constructed for lots of turns only 9 rock colonizers. However, at a certain point it switched back to gas colonizers. After checking the map I believe that this "switching back" happened when almost all the so far unused rock planets in the empire were colonized. It seems that the AI realized this fact and began to mix the colonizers to be used for further expansion. It never build the 5 gas ships I call for but mostly 1 or 2. However, once when two systems full of gas giants were discovered the AI did something quite intelligent: it began to build 8 gas colonizers!!!
Exactly the same happened when ice colonizing tech was discovered. For many many turns only ice colonizers were built to fill up the gaps of so far unused ice planets. Even when there was a large/huge rock planet with a breathable atmosphere available. Such a planet wasn't noticed until those "ice gaps" were filled up. When that was done the "switching back" to rock or gas colonizers happened again.
In all games the AI followed the "must have at least" number of the Last (available) entry but disregarded the other "number calls". Until ice colonizing tech was researched, there were always 9 colonizers available but never 5 gas and 4 rock. After ice colonizing tech was discovered there were 12 colonizers but never 5 gas, 4 rock, 3 ice.
The pattern the AI follows seems to be hardcoded, it overwrites my number calls:
When a new colonizing tech discovered the first thing to be done is filling up the gaps of uncolonized worlds (of this kind) in the empire while disregarding all other colonizable planets. After that fill up older gaps, then expand again and take into account which kinds of planets are available in adjacent systems. That – IMO – is exactly the AI's behaviour when I use a design-file which only calls for "colonizers" and not for names.

Oleg, you were completely right. Using the calling for names thing will avoid colonizer dead ends. Maybe I did something wrong in my tests using v 1.78, maybe something changed in v 1.84. Anyway, colonizer dead ends are avoidable.

After that I ran some tests using Master Belisarius' map and settings for his AI contest (simultaneous game). Again no dead ends but the colony bug he described is still happening.
__________________
homo homini lupus est
Reply With Quote
  #19  
Old March 9th, 2003, 11:45 PM
PvK's Avatar

PvK PvK is offline
National Security Advisor
 
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
PvK is on a distinguished road
Default Re: Proportions AI without AI colony bug :)

Maybe the 1.84 AI has code to build colonizers based on what planets it sees? What happens if you don't specify any builds of colonizers at all? Maybe it'll just build colonizers for the planets it sees... could be a good thing.

PvK
Reply With Quote
  #20  
Old March 10th, 2003, 02:44 AM

JLS JLS is offline
Lieutenant Colonel
 
Join Date: Feb 2003
Location: RI. USA
Posts: 1,470
Thanks: 0
Thanked 0 Times in 0 Posts
JLS is on a distinguished road
Default Re: Proportions AI without AI colony bug :)

Originally posted by PvK:

Quote:
Maybe the 1.84 AI has code to build colonizers based on what planets it sees? What happens if you don't specify any builds of colonizers at all? Maybe it'll just build colonizers for the planets it sees... could be a good thing.
Is this what you are suggesting PvK ?

AI State := Not Connected
Num Queue Entries := 23
Entry 11 Type := Colonizer
Entry 11 Planet Per Item := 30
Entry 11 Must Have At Least := 0

[ March 10, 2003, 00:52: Message edited by: JLS ]
__________________
&gt;~~~~~~AI CAMPAIGN -NEW-v4.191a AIC ~~~~~~&lt;

Optimized for[i] Solitaire Play!
With or without all Warp points, Finite resources, same starts and Simultaneous movement


~~~ CLICK ON &gt;&gt;&gt; (((&gt; <font color="green"> AI CAMPAIGN v4.191 </font> &lt)) &lt;&lt;&lt; To Get ~~~
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 12:48 AM.


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