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

This Month's Specials

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

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old April 28th, 2002, 01:39 AM
Gandalph's Avatar

Gandalph Gandalph is offline
Captain
 
Join Date: Mar 2002
Location: Santa Cruz, CA
Posts: 947
Thanks: 0
Thanked 0 Times in 0 Posts
Gandalph is on a distinguished road
Default xxx_AI_unit_construction.txt

Ihave stated in a previous thread that it would be nice to have the minister build defensive units but not ships. I was pleased, when the Gold patch came out, when I read about the xxx_AI_Construction_units.txt. What a great idea and the answer to my query. I have since found that the minister will still not build defensive units unless ship construction is turned on. OK, get rid of the construction_vehicle file. Didn't work. AI used the default one and start6ed building ships. OK, edit construction_vehicle.txt and set all que entries to 0. Didn't work. AI built nothing. If I have vehicles listed in the Construction_vehicle.txt and the construction_units.txt then the minister will buils according to both files. If this is the only way it works, then it is a worthless addition as I can just write the units I want built into the construction_vehicles.txt file and achiev the same thing. Any takers on this phenomena?
__________________
All that is gold does not glitter,
Not all those who wander are lost;
The old that is strong does not wither,
Deep roots are not reached by the frost.

Reply With Quote
  #2  
Old April 28th, 2002, 06:00 AM

Andrés Andrés is offline
Major
 
Join Date: Apr 2001
Location: Rosario, Argentina
Posts: 1,047
Thanks: 0
Thanked 0 Times in 0 Posts
Andrés is on a distinguished road
Default Re: xxx_AI_unit_construction.txt

I was doing some experiments with that new file while writing new original AI for the Niridians.

What I did was remmove Construction_Vehicles to make sure non of the units came from that file.
Construction_units seems to work, since the race was able to construct units and I could make them build most units in non-space yard worlds, leaving them free to build ships.
But at some point they almost stopped building units. I think it's the same problem that was seen in Construction_Vehicles, once AI reaches the Last Queue Entry it doesn't seem to restart for a while.
I'll have to try adding more Queue Entries.
Reply With Quote
  #3  
Old April 28th, 2002, 07:06 AM
Gandalph's Avatar

Gandalph Gandalph is offline
Captain
 
Join Date: Mar 2002
Location: Santa Cruz, CA
Posts: 947
Thanks: 0
Thanked 0 Times in 0 Posts
Gandalph is on a distinguished road
Default Re: xxx_AI_unit_construction.txt

In my experiments, the AI uses the default_AI_construction_vehicles.txt if one is not present in your race directory.
__________________
All that is gold does not glitter,
Not all those who wander are lost;
The old that is strong does not wither,
Deep roots are not reached by the frost.

Reply With Quote
  #4  
Old April 28th, 2002, 07:23 AM
Q's Avatar

Q Q is offline
Colonel
 
Join Date: Jan 2001
Posts: 1,661
Thanks: 0
Thanked 0 Times in 0 Posts
Q is on a distinguished road
Default Re: xxx_AI_unit_construction.txt

As far as I understood the AI unit construction file was meant to be a backup construction instruction for colonies/spaceyards that would have been idle otherwise.
So yes, the AI uses the vehicle construction and facility construction file first and only considers the unit construction file afterwards. Therefore in the beginning of the game the unit construction file will probably not be used. But IMO this is right or would you prefer the AI stop building colonizers and therefore expansion to build weapon platforms?
There is however one problem with new colonies: I usually build one or two weapon platforms first before I start building anything else in order to protect the colony. I see no way how you could instruct this to the AI. In my experience the AI will always build the facilities first.

[ 28 April 2002: Message edited by: Q ]

Reply With Quote
  #5  
Old April 28th, 2002, 12:54 PM
Crazy_Dog's Avatar

Crazy_Dog Crazy_Dog is offline
Corporal
 
Join Date: Feb 2001
Location: Porto Portugal
Posts: 163
Thanks: 0
Thanked 0 Times in 0 Posts
Crazy_Dog is on a distinguished road
Default Re: xxx_AI_unit_construction.txt

Some months ago, i defended the idea that must exist a minister to units and other for ships.
If that is implemented, is much simple to program the use of units/ships.
Reply With Quote
  #6  
Old April 28th, 2002, 05:22 PM

Andrés Andrés is offline
Major
 
Join Date: Apr 2001
Location: Rosario, Argentina
Posts: 1,047
Thanks: 0
Thanked 0 Times in 0 Posts
Andrés is on a distinguished road
Default Re: xxx_AI_unit_construction.txt

When will I lear to type correctly. Or at least to revise what I write.
What I meant was that I had remove all units from their construction_vehicle file.
What I wanted is to build units such as mines or fighters without distracting the space yard worlds. And it seemed to work for some time.
Reply With Quote
  #7  
Old April 28th, 2002, 05:49 PM
Gandalph's Avatar

Gandalph Gandalph is offline
Captain
 
Join Date: Mar 2002
Location: Santa Cruz, CA
Posts: 947
Thanks: 0
Thanked 0 Times in 0 Posts
Gandalph is on a distinguished road
Default Re: xxx_AI_unit_construction.txt

quote:
Originally posted by Crazy_Dog:
Some months ago, i defended the idea that must exist a minister to units and other for ships.
If that is implemented, is much simple to program the use of units/ships.



I agree with this line of thought. It would be much easier for the AI and for a human using ministers to have a seperate ship building and unit building function.
__________________
All that is gold does not glitter,
Not all those who wander are lost;
The old that is strong does not wither,
Deep roots are not reached by the frost.

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:01 PM.


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