Re: AI Campaign => For a Challenging AI opponent
JLS,
My intention has not been to take over this topic with what is happening with my mod. I am not going to ever release this mod, and I wasn't trying to get you or anyone else to troubleshoot the changes I have made to your mod. I just saw a situation in which the ai did not expand or colonize in certain situations during my games, I only mentioned it within this topic to see if you saw these circumstances as well, like I have done numerous other times in numerous other issues. This will be mostly likely my Last post in this topic, thanks for all your help and for making a great mod.
Just based on what MB said in the previous post, he is a copy of some of ai states in the ai_construction_vehicle file of the STOCK AIC MOD.
AI State := Prepare for Attack, Attack
Num Queue Entries := 20
Entry 1 Type := Base Space Yard
Entry 1 Planet Per Item := 0
Entry 1 Must Have At Least := 5
Entry 2 Type := Destroy Planet
Entry 2 Planet Per Item := 0
Entry 2 Must Have At Least := 1
Entry 3 Type := Destroy Star
Entry 3 Planet Per Item := 0
Entry 3 Must Have At Least := 1
Entry 4 Type := Attack Ship
Entry 4 Planet Per Item := 20
Entry 4 Must Have At Least := 36
Entry 5 Type := Kamikaze Attack Ship
Entry 5 Planet Per Item := 40
Entry 5 Must Have At Least := 12
Entry 6 Type := Battle Cruiser
Entry 6 Planet Per Item := 0
Entry 6 Must Have At Least := 8
Entry 7 Type := Battleship
Entry 7 Planet Per Item := 0
Entry 7 Must Have At Least := 4
Entry 8 Type := Flag Ship
Entry 8 Planet Per Item := 0
Entry 8 Must Have At Least := 2
Entry 9 Type := Boarding Ship
Entry 9 Planet Per Item := 40
Entry 9 Must Have At Least := 8
Entry 10 Type := Supply Ship
Entry 10 Planet Per Item := 80
Entry 10 Must Have At Least := 4
Entry 11 Type := Mine Sweeper
Entry 11 Planet Per Item := 200
Entry 11 Must Have At Least := 2
Entry 12 Type := Fighter-S
Entry 12 Planet Per Item := 5
Entry 12 Must Have At Least := 0
Entry 13 Type := Carrier
Entry 13 Planet Per Item := 30
Entry 13 Must Have At Least := 2
Entry 14 Type := Troop Transport
Entry 14 Planet Per Item := 80
Entry 14 Must Have At Least := 8
Entry 15 Type := Support Ship
Entry 15 Planet Per Item := 60
Entry 15 Must Have At Least := 3
Entry 16 Type := Recon Satellite
Entry 16 Planet Per Item := 50
Entry 16 Must Have At Least := 1
Entry 17 Type := Anti-Ship Drone
Entry 17 Planet Per Item := 10
Entry 17 Must Have At Least := 1
Entry 18 Type := Anti-Planet Drone
Entry 18 Planet Per Item := 10
Entry 18 Must Have At Least := 1
Entry 19 Type := Drone Carrier
Entry 19 Planet Per Item := 80
Entry 19 Must Have At Least := 2
**Entry 20 Type := Colonizer
**Entry 20 Planet Per Item := 0
**Entry 20 Must Have At Least := 2
When the ai is in this state, as long as the ai player has two active colony ships, it will not build anymore. So if the ai is stuck within this state fighting with another race for an extended amount of time it will not build any colony ships unless the number drops below two. I have no idea where it is determined if the ai player actually colonizes a planet or not with the two available colony ships. There is no set specific types of colony ships specified in this state.
AI State := Prepare for Defense, Defend (Short Term), Defend (Long Term)
Num Queue Entries := 31
Entry 1 Type := Weapon Platform
Entry 1 Planet Per Item := 5
Entry 1 Must Have At Least := 10
Entry 2 Type := Troop
Entry 2 Planet Per Item := 1
Entry 2 Must Have At Least := 1500
Entry 3 Type := Base Space Yard
Entry 3 Planet Per Item := 0
Entry 3 Must Have At Least := 2
Entry 4 Type := Recon Satellite
Entry 4 Planet Per Item := 50
Entry 4 Must Have At Least := 2
Entry 5 Type := Fighter-S
Entry 5 Planet Per Item := 5
Entry 5 Must Have At Least := 0
Entry 6 Type := Satellite
Entry 6 Planet Per Item := 10
Entry 6 Must Have At Least := 0
Entry 7 Type := Defense base-SS
Entry 7 Planet Per Item := 80
Entry 7 Must Have At Least := 4
Entry 8 Type := Defense Ship
Entry 8 Planet Per Item := 30
Entry 8 Must Have At Least := 12
Entry 9 Type := Attack Ship
Entry 9 Planet Per Item := 30
Entry 9 Must Have At Least := 20
Entry 10 Type := Kamikaze Attack Ship
Entry 10 Planet Per Item := 40
Entry 10 Must Have At Least := 6
Entry 11 Type := Boarding Ship
Entry 11 Planet Per Item := 60
Entry 11 Must Have At Least := 6
Entry 12 Type := Defense Base-BS
Entry 12 Planet Per Item := 80
Entry 12 Must Have At Least := 1
Entry 13 Type := Weapon Platform
Entry 13 Planet Per Item := 5
Entry 13 Must Have At Least := 10
Entry 14 Type := Troop
Entry 14 Planet Per Item := 1
Entry 14 Must Have At Least := 3000
Entry 15 Type := Fighter
Entry 15 Planet Per Item := 2
Entry 15 Must Have At Least := 0
Entry 16 Type := Satellite
Entry 16 Planet Per Item := 10
Entry 16 Must Have At Least := 0
Entry 17 Type := Mine Layer
Entry 17 Planet Per Item := 200
Entry 17 Must Have At Least := 3
Entry 18 Type := Satellite Layer
Entry 18 Planet Per Item := 200
Entry 18 Must Have At Least := 3
Entry 19 Type := Defense base
Entry 19 Planet Per Item := 50
Entry 19 Must Have At Least := 1
**Entry 20 Type := Colonizer
**Entry 20 Planet Per Item := 0
**Entry 20 Must Have At Least := 1
Entry 21 Type := Weapon Platform
Entry 21 Planet Per Item := 5
Entry 21 Must Have At Least := 15
Entry 22 Type := Troop
Entry 22 Planet Per Item := 1
Entry 22 Must Have At Least := 5000
Entry 23 Type := Fighter
Entry 23 Planet Per Item := 2
Entry 23 Must Have At Least := 0
Entry 24 Type := Troop Transport
Entry 24 Planet Per Item := 100
Entry 24 Must Have At Least := 2
Entry 25 Type := Carrier
Entry 25 Planet Per Item := 30
Entry 25 Must Have At Least := 2
Entry 26 Type := Population Transport
Entry 26 Planet Per Item := 100
Entry 26 Must Have At Least := 4
Entry 27 Type := Close Warp Point
Entry 27 Planet Per Item := 0
Entry 27 Must Have At Least := 0
Entry 28 Type := Weapon Platform
Entry 28 Planet Per Item := 5
Entry 28 Must Have At Least := 25
Entry 29 Type := Troop
Entry 29 Planet Per Item := 1
Entry 29 Must Have At Least := 10000
Entry 30 Type := Fighter
Entry 30 Planet Per Item := 2
Entry 30 Must Have At Least := 0
Entry 31 Type := Attack Ship
Entry 31 Planet Per Item := 1
Entry 31 Must Have At Least := 50
In this ai state of defense, as long as the ai player has at least one colony ship it will not build anymore. So if the ai stays in this state for a prolonged period of time, as long as the ai has at least one colony ship of any type, it will not build anymore. There is no set specific colony type ships within in this state.
AI State := Not Connected
Num Queue Entries := 30
Entry 1 Type := Troop
Entry 1 Planet Per Item := 0
Entry 1 Must Have At Least := 350
Entry 2 Type := Weapon Platform
Entry 2 Planet Per Item := 10
Entry 2 Must Have At Least := 5
Entry 3 Type := Fighter-S
Entry 3 Planet Per Item := 5
Entry 3 Must Have At Least := 0
Entry 4 Type := Base Space Yard
Entry 4 Planet Per Item := 0
Entry 4 Must Have At Least := 3
Entry 5 Type := Attack Ship
Entry 5 Planet Per Item := 60
Entry 5 Must Have At Least := 6
Entry 6 Type := Defense Ship
Entry 6 Planet Per Item := 60
Entry 6 Must Have At Least := 6
Entry 7 Type := Defense base
Entry 7 Planet Per Item := 0
Entry 7 Must Have At Least := 4
Entry 8 Type := Kamikaze Attack Ship
Entry 8 Planet Per Item := 80
Entry 8 Must Have At Least := 2
Entry 9 Type := Boarding Ship
Entry 9 Planet Per Item := 80
Entry 9 Must Have At Least := 2
**Entry 10 Type := Colony * (Rock)
**Entry 10 Planet Per Item := 0
**Entry 10 Must Have At Least := 2
**Entry 11 Type := Colony * (Ice)
**Entry 11 Planet Per Item := 0
**Entry 11 Must Have At Least := 3
**Entry 12 Type := Colony * (Gas)
**Entry 12 Planet Per Item := 0
**Entry 12 Must Have At Least := 1
**Entry 13 Type := Colonizer
**Entry 13 Planet Per Item := 30
**Entry 13 Must Have At Least := 0
Entry 14 Type := Open Warp Point
Entry 14 Planet Per Item := 0
Entry 14 Must Have At Least := 1
Entry 15 Type := Create Planet
Entry 15 Planet Per Item := 0
Entry 15 Must Have At Least := 1
Entry 16 Type := Satellite
Entry 16 Planet Per Item := 10
Entry 16 Must Have At Least := 0
Entry 17 Type := Weapon Platform
Entry 17 Planet Per Item := 20
Entry 17 Must Have At Least := 10
Entry 18 Type := Satellite Layer
Entry 18 Planet Per Item := 100
Entry 18 Must Have At Least := 1
Entry 19 Type := Mine Layer
Entry 19 Planet Per Item := 100
Entry 19 Must Have At Least := 1
Entry 20 Type := Fighter
Entry 20 Planet Per Item := 2
Entry 20 Must Have At Least := 0
Entry 21 Type := Carrier
Entry 21 Planet Per Item := 60
Entry 21 Must Have At Least := 2
Entry 22 Type := Support Ship
Entry 22 Planet Per Item := 30
Entry 22 Must Have At Least := 2
Entry 23 Type := Troop Transport
Entry 23 Planet Per Item := 100
Entry 23 Must Have At Least := 4
Entry 24 Type := Recon Satellite
Entry 24 Planet Per Item := 0
Entry 24 Must Have At Least := 1
Entry 25 Type := Mine Sweeper
Entry 25 Planet Per Item := 0
Entry 25 Must Have At Least := 2
Entry 26 Type := Population Transport
Entry 26 Planet Per Item := 80
Entry 26 Must Have At Least := 8
Entry 27 Type := Anti-Ship Drone
Entry 27 Planet Per Item := 0
Entry 27 Must Have At Least := 6
Entry 28 Type := Anti-Planet Drone
Entry 28 Planet Per Item := 0
Entry 28 Must Have At Least := 6
Entry 29 Type := Drone Carrier
Entry 29 Planet Per Item := 100
Entry 29 Must Have At Least := 1
Entry 30 Type := Troop
Entry 30 Planet Per Item := 1
Entry 30 Must Have At Least := 0
I posted this Last state as an example of the ai most likely building enough colony ships of different types and their placement towards the top of the queue to provide the ai an opportunity to colonize planets, where as the other ai states do not possess these characteristics.
In the other states that are not posted there are colony type specific ships listed within the state, but they are at the bottom of the queue in each state.
I have a copy of a saved stock AIC mod game around turn 225 where all I did was hit end of turn 225 times for my race and checked the ai players every 50 turns or so. The ai didn't really expand in that game either. If you want me to send you a copy let me know.
SunDevil
P.S. If you go to the abbidon ai construction vehicles.txt file and look at the Infrastructure state, if you count each entry type you will notice this:
Entry 13 Type := Defense Base-SB
Entry 13 Planet Per Item := 100
Entry 13 Must Have At Least := 1
Entry 14 Type := Colonizer
Entry 14 Planet Per Item := 80
Entry 14 Must Have At Least := 1
Entry 15 Type := Troop
Entry 15 Planet Per Item := 1
Entry 15 Must Have At Least := 0
Entry 10 Type := Weapon Platform
Entry 10 Planet Per Item := 10
Entry 10 Must Have At Least := 0
Entry 11 Type := Satellite
Entry 11 Planet Per Item := 5
Entry 11 Must Have At Least := 1
Entry 12 Type := Mine
Entry 12 Planet Per Item := 10
Entry 12 Must Have At Least := 1
Entry 13 Type := Satellite Layer
Entry 13 Planet Per Item := 100
Entry 13 Must Have At Least := 2
This might be causing problems, it might be something to look into.
[ June 28, 2003, 04:51: Message edited by: SunDevil ]
|