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

This Month's Specials

The Star & the Crescent- Save $9.00
winSPWW2- Save $6.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old February 10th, 2002, 12:18 AM

tesco samoa tesco samoa is offline
General
 
Join Date: Jul 2001
Location: Canada
Posts: 4,603
Thanks: 0
Thanked 0 Times in 0 Posts
tesco samoa is on a distinguished road
Default Question AI Ship Building

Question.

I am at turn 96 in a game with computer players but their not building many ships ... 75 ships for 88 planets etc...

What I want to do is get the computer players to build up quickly and have about 4x that number of ships.

What would be the best way of going about it.

And I want them to build quickly.
__________________
RRRRRRRRRRAAAAAGGGGGGGGGHHHHH
old avatar = http://www.shrapnelgames.com/cgi-bin...1051567998.jpg

Hey GUTB where did you go...???

He is still driving his mighty armada at 3 miles per month along the interstellar highway bypass and will be arriving shortly
Reply With Quote
  #2  
Old February 10th, 2002, 02:35 AM

tesco samoa tesco samoa is offline
General
 
Join Date: Jul 2001
Location: Canada
Posts: 4,603
Thanks: 0
Thanked 0 Times in 0 Posts
tesco samoa is on a distinguished road
Default Re: Question AI Ship Building

Hmm.. Half the post did not show up

Here is the other half of that post.

Say a race has a 100 planets

Default ai

And we will use the attack

AI State := Prepare for Attack, Attack
Num Queue Entries := 10
Entry 1 Type := Attack Ship
Entry 1 Planet Per Item := 30
Entry 1 Must Have At Least := 3
Entry 2 Type := Colonizer
Entry 2 Planet Per Item := 50
Entry 2 Must Have At Least := 2
Entry 3 Type := Mine Sweeper
Entry 3 Planet Per Item := 200
Entry 3 Must Have At Least := 1
Entry 4 Type := Mine
Entry 4 Planet Per Item := 5
Entry 4 Must Have At Least := 2
Entry 5 Type := Fighter
Entry 5 Planet Per Item := 2
Entry 5 Must Have At Least := 20
Entry 6 Type := Weapon Platform
Entry 6 Planet Per Item := 5
Entry 6 Must Have At Least := 10
Entry 7 Type := Satellite
Entry 7 Planet Per Item := 5
Entry 7 Must Have At Least := 10
Entry 8 Type := Mine Layer
Entry 8 Planet Per Item := 0
Entry 8 Must Have At Least := 1
Entry 9 Type := Carrier
Entry 9 Planet Per Item := 30
Entry 9 Must Have At Least := 2
Entry 10 Type := Recon Satellite
Entry 10 Planet Per Item := 50
Entry 10 Must Have At Least := 0


So according to this

entry 1 = 33 ships
2 = 2 ships
3= 1 ship
8 = 1 ship
9 = 33 ships

So 70 ships

If I wanted to increase this I would decrease the planet per item right ??
how many ships would there be if I decreased
entry 1 to planet per item = 10
Would that equal 100 ships
and if i decreased it to 1 would that be a 1000 ships ??

Or should I increase the at least bit ??

Or decrease the per item and increase the at least??

And If I do this mid game what will happen to the ai.

The goal would be a min. 4x increase in ships and units??
__________________
RRRRRRRRRRAAAAAGGGGGGGGGHHHHH
old avatar = http://www.shrapnelgames.com/cgi-bin...1051567998.jpg

Hey GUTB where did you go...???

He is still driving his mighty armada at 3 miles per month along the interstellar highway bypass and will be arriving shortly
Reply With Quote
  #3  
Old February 10th, 2002, 08:08 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: Question AI Ship Building

Quote:
"entry 1 to planet per item = 10
Would that equal 100 ships
and if i decreased it to 1 would that be a 1000 ships ??

Or should I increase the at least bit ??

Or decrease the per item and increase the at least??

And If I do this mid game what will happen to the ai."

These calculations are right. Use mainly the "planet per item" if the empire is large but the minumum number is useful in the beginning of the game and for very special ships like "create planets".
However in the example you gave the entry 2 will give 20 colonizers and entry 3 will make 5 mine sweepers for example. Every item type is dealt seperately.
You can change the construct vehicle file during the game without problems. However you never know exactly in which "state" the AI is, so you may have to chance the lines for all the different AI states.

[ 10 February 2002: Message edited by: Q ]

Reply With Quote
  #4  
Old February 10th, 2002, 05:10 PM

tesco samoa tesco samoa is offline
General
 
Join Date: Jul 2001
Location: Canada
Posts: 4,603
Thanks: 0
Thanked 0 Times in 0 Posts
tesco samoa is on a distinguished road
Default Re: Question AI Ship Building

Now since I do not know what state the ai is nor where in the script the ai is.

I think I will create a generic Build up Entry and add it to the end of each state. That way the computer can carry on its current path until it hits the new levels.
__________________
RRRRRRRRRRAAAAAGGGGGGGGGHHHHH
old avatar = http://www.shrapnelgames.com/cgi-bin...1051567998.jpg

Hey GUTB where did you go...???

He is still driving his mighty armada at 3 miles per month along the interstellar highway bypass and will be arriving shortly
Reply With Quote
  #5  
Old February 10th, 2002, 10:08 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: Question AI Ship Building

There's no problem that I've seen, BTW, with editing the AI construction files mid-game, as long as you close SE4 between changes (or else it'll keep using the Version it loaded at first) and don't make errors (or else it'll not do what you want until you fix it). Try starting a test game and turn on all your ministers, and just watch the AI use your empire's files as you tweak them.

PvK
Reply With Quote
  #6  
Old February 11th, 2002, 12:59 AM

tesco samoa tesco samoa is offline
General
 
Join Date: Jul 2001
Location: Canada
Posts: 4,603
Thanks: 0
Thanked 0 Times in 0 Posts
tesco samoa is on a distinguished road
Default Re: Question AI Ship Building

Ok.
Question on
If I change planet per item to 5
and the at least to 400

What will happen ? (Attack Ships )

Say this race has 35 construction slots

The computer has 55 attack ships currently and 100 planets

Will the computer use the 35 construction slots to build attack ships or do I need to adjust something else for the computer to use these build slots.
__________________
RRRRRRRRRRAAAAAGGGGGGGGGHHHHH
old avatar = http://www.shrapnelgames.com/cgi-bin...1051567998.jpg

Hey GUTB where did you go...???

He is still driving his mighty armada at 3 miles per month along the interstellar highway bypass and will be arriving shortly
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 06:16 PM.


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