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

This Month's Specials

BCT Commander- Save $7.00
winSPWW2- Save $5.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old December 18th, 2002, 12:54 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 History.txt - Calling for names in the construction file

From the history.txt:
v 1.61
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.

What does the second sentence actually mean? I can translate it into German but that doesn't help much.

[ December 19, 2002, 13:15: Message edited by: Rexxx ]
__________________
homo homini lupus est
Reply With Quote
  #2  
Old December 18th, 2002, 01:18 PM
Mephisto's Avatar

Mephisto Mephisto is offline
Brigadier General
 
Join Date: Sep 2000
Location: Frankfurt, Germany
Posts: 1,994
Thanks: 0
Thanked 0 Times in 0 Posts
Mephisto is on a distinguished road
Default Re: History.txt - Calling for names in the construction file

If you call "Colonizer" in the build queue, the AI will try to evaluate what type of Colonizer it needs (Rock, Gas, Ice) while calling it by "name" it will build whatever you called needed or not. I hope that clears it for you.
__________________
For, in the final analysis, our most basic common link is that we all inhabit this small planet. We all breathe the same air. We all cherish our children's futures. And we are all mortal. - JFK
Reply With Quote
  #3  
Old December 19th, 2002, 03:36 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: History.txt - Calling for names in the construction file

Quote:
Originally posted by Mephisto:
If you call "Colonizer" in the build queue, the AI will try to evaluate what type of Colonizer it needs (Rock, Gas, Ice) while calling it by "name" it will build whatever you called needed or not. I hope that clears it for you.
Unfortunately it does.
Well, I hoped that this sentence gives me an answer to the question why calling for names for colony ships doesn't work as described in the history.txt.
During the Last days I ran some tests with different construction_vehicles files. I wanted to avoid those colonizer dead ends which occured frequently during games between peaceful races in MB's AI contest confirming my own observations from a lot of test games (choose a small quadrant and peaceful races: Expansion, I bid you a very fond farewell . At Last I wanted the AI to build different colonizers during the same turn.

An example:
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

Until the first rock colonizer was designed the AI built 5 gas colonizers just as I called for.
From that moment on the AI began to build rock colonizers, only rock colonizers. It followed the call for 9 ships. After the first ice colonizer design was available it began to build only ice colonizers, again following the new call for 12 ships.

The good news is that those annoying dead ends can be avoided. If I had 5 gas colonizers and no gas giant available, the additional 4 rock colonizers guaranteed further expansion. The bad news is the impossibilty of having all available colonizing tech used simultaneously.

After that I ran test with space yard ships.
Entry 17 Type := Support (SYS-1)
Entry 17 Planet Per Item := 0
Entry 17 Must Have At Least := 2
Entry 18 Type := Weapon Platform
Entry 18 Planet Per Item := 20
Entry 18 Must Have At Least := 0
Entry 19 Type := Support (SYS-2)
Entry 19 Planet Per Item := 0
Entry 19 Must Have At Least := 4

It build two SYS-1 and - the much later designed - two SYS-2. If one of these 4 ships were destroyed or scrapped the AI built only SYS-2 until the number of 4 was reached.

It is my guess that - unfortunately - the AI only follows the Last (available) entry/name for a certain design type and the according must have number.

Can anybody confirm these observations?
__________________
homo homini lupus est
Reply With Quote
  #4  
Old December 19th, 2002, 04:38 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: History.txt - Calling for names in the construction file

Well, you can break up build queue even further by adding just one "must have" ship per entry. yes, it makes kind of impractical long stupid file but it is best I can think of.
__________________
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
  #5  
Old December 19th, 2002, 09:07 PM
capnq's Avatar

capnq capnq is offline
General
 
Join Date: Feb 2001
Location: Pittsburgh, PA, USA
Posts: 3,070
Thanks: 13
Thanked 9 Times in 8 Posts
capnq is on a distinguished road
Default Re: History.txt - Calling for names in the construction file

Some mods add a "universal" colony component that can colonize any planet type. Something like that could simplify the construction file a lot.
__________________
Cap'n Q

"Good morning, Pooh Bear," said Eeyore gloomily. "If it is a good morning," he said. "Which I doubt," said he.
Reply With Quote
  #6  
Old December 21st, 2002, 12:08 PM
Mephisto's Avatar

Mephisto Mephisto is offline
Brigadier General
 
Join Date: Sep 2000
Location: Frankfurt, Germany
Posts: 1,994
Thanks: 0
Thanked 0 Times in 0 Posts
Mephisto is on a distinguished road
Default Re: History.txt - Calling for names in the construction file

I noticed this bug, too. But when you have found the exact way it works please send it to MM by any means!
__________________
For, in the final analysis, our most basic common link is that we all inhabit this small planet. We all breathe the same air. We all cherish our children's futures. And we are all mortal. - JFK
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 08:24 AM.


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