PDA

View Full Version : Mod Q: Entry X Planet Per Item


Jubala
December 11th, 2000, 03:34 AM
Well, I'm confused. Just exactly does this work? The Default_AI_Construction_Vehicle.txt file says the following:


Entry X Planet Per Item:
Number of planets per each item in 10ths.
(20 = 2.0: We want 1 item for every 2 planets we have.)

and

3. First item in the queue is selected, and evaluated. We construct if: a. There are less than X planets per each item, (if there are 13 planets and we already have 4 ships of this design type, and the Planet Per Item value = 3, then we buy another one). If PPI < (Num Planets / Num Ships of Type), construct.

Does all this mean that if I want the AI to build one item per planet it has I should set Entry X Planet Per Item to 10? 10 items/planet set it to 100?

Talenn
December 11th, 2000, 07:23 AM
Yes, these items do seem somewhat contradictory to me. I havent been able to get a definitive answer to it yet in my modding.

I'll keep working on it though and if I find out, I'll let you know...please reciprocate if you get an answer.

Thanx,
Talenn

Jubala
December 12th, 2000, 02:07 AM
If I figure it out I will let you know.

Jubala
January 6th, 2001, 11:22 PM
Well, I still haven't figured it out. Anyone else?

Daynarr
January 7th, 2001, 05:52 AM
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Does all this mean that if I want the AI to build one item per planet it has I should set Entry X Planet Per Item to 10? 10 items/planet set it to 100?<HR></BLOCKQUOTE>

PPI=10, its one item per planet.
PPI=100, its one item pet 10 planets
PPI=1, its ten items per planet

[This message has been edited by Daynarr (edited 07 January 2001).]

Jubala
January 7th, 2001, 06:32 PM
Thanks Daynarr. Do you know if it's possible to go below PPI=1? 10 items per planet aint much if we're talking mines, sats or fighters.

Blue Lord
January 7th, 2001, 09:29 PM
0,1

Baron Munchausen
January 7th, 2001, 09:46 PM
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Blue Lord:
0,1<HR></BLOCKQUOTE>

You could be a bit more verbose, you know. I looked at that about 5 times before it hit me that you might be saying that it takes decimals? I'll have to try this. 100 items per planet would be really nice for mines and fighters. http://www.shrapnelgames.com/ubb/images/icons/icon7.gif

Jubala
January 8th, 2001, 06:35 AM
So what does 0 mean? As many as possible or none?

Daynarr
January 8th, 2001, 07:38 AM
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jubala:
So what does 0 mean? As many as possible or none?<HR></BLOCKQUOTE>

None.
Btw, if you want AI to build hundreds of units, use the second line:

Entry 1 Must Have At Least := 100

It is better, because if you make hundreds of units per planet it will get VERY crowded (and will produce lots of range check errors) in large galaxies where empires have hundreds of planets.