.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 May 15th, 2002, 07:29 AM

Athena Athena is offline
Private
 
Join Date: May 2002
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Athena is on a distinguished road
Default Re: Comments (bugs) with _AI_Construction_Vehicles.txt

thank you a lot Oleg, it made things clearer for me.

How the AI calculate in which AI state it is? Is it something totally hardcoded or can it be altered?

Something else, in different files : In proportion mod there is planetary facilities with the name of ship components. I suppose this is used as placeholder name, but how it works for the AI ? They ignore it totally?
Reply With Quote
  #2  
Old May 15th, 2002, 08:20 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 Re: Comments (bugs) with _AI_Construction_Vehicles.txt

Quote:
Originally posted by Athena:
thank you a lot Oleg, it made things clearer for me.

How the AI calculate in which AI state it is? Is it something totally hardcoded or can it be altered?

Something else, in different files : In proportion mod there is planetary facilities with the name of ship components. I suppose this is used as placeholder name, but how it works for the AI ? They ignore it totally?
Those are bogus abilities to manipulate AI.

When AI see standard "resource extraction - minerals" ability in its own construction_facility.txt file, it uses the facility with highest mineral extraction value available. Unfortunately, it is a Cultural center which will be build in 100+ years on new planet.
To make AI build miniral mines, PvK assigned bogus ability, something like "ship = bridge". Then he replaced all entries for mineral extraction in construction_facility.txt by this new ability. Now on, when AI cycles through file, it builds mineral miners, sisnce it is the only facility with this ability ! Very clever, I should say.
__________________
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
  #3  
Old May 15th, 2002, 10:46 PM

Val Val is offline
Major
 
Join Date: Oct 2001
Location: Lansdale, PA
Posts: 1,022
Thanks: 0
Thanked 0 Times in 0 Posts
Val is on a distinguished road
Default Re: Comments (bugs) with _AI_Construction_Vehicles.txt

Gandalf:

My humble appologies, I had lost track of the fact that I was keeping up with this thread and missed the Last few days - so sorry I hadn't posted the files

Looks like answers were found after all, if you would still like me to post the files I used I'd be happy to. Or you could post your files for us to look at

Sorry again
Reply With Quote
  #4  
Old May 16th, 2002, 03:21 AM
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: Comments (bugs) with _AI_Construction_Vehicles.txt

Quote:
How the AI calculate in which AI state it is? Is it something totally hardcoded or can it be altered
Hardcoded.
__________________
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
  #5  
Old May 16th, 2002, 04:05 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: Comments (bugs) with _AI_Construction_Vehicles.txt

Val,

I would still be interested in seeing your files, but for now, here is my construction file.
Corrian_AI_Construction_Vehicles.txt
__________________
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
  #6  
Old May 16th, 2002, 08:38 AM

Athena Athena is offline
Private
 
Join Date: May 2002
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Athena is on a distinguished road
Default Re: Comments (bugs) with _AI_Construction_Vehicles.txt

Thank you again all for the explanations ...

Some other things :

I see in some of the files twice the same entry, like
'Attack ship, planet per x = 20, must build 50'. What is the purpose of having the same figures for the same ship Category? Is it an error from some modders, or will the AI add new attack ships, of a different class when he encounters the second entry?
Reply With Quote
  #7  
Old May 16th, 2002, 03:24 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: Comments (bugs) with _AI_Construction_Vehicles.txt

Gandalph,

There is no such thing as "entry name = " in SE IV constructiom.txt file !

Remove them all, and use "type = your_design_name"
to call different design names.
Yes, it is confusing since "design type" in construction.txt file correspond to "name type" in design.txt file !

AI uses "design type" in design.txt file as a flag how to use the ship after it has been build.

Hope it'll help.

[ May 16, 2002, 14:25: Message edited by: oleg ]
__________________
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
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 02:40 AM.


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