|
|
|
 |

January 25th, 2002, 07:26 PM
|
Private
|
|
Join Date: Jan 2002
Location: Kansas
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: AI Invasions? How?
One other thing. I don't know if it is in the ai settings or not but they keep sending ships with weapons that are now non planet targeting at my worlds. Is this fixable? Possibly if I give them some more time to build new ships they will stop sending useless ships at my worlds. Any Ideas?
|

January 25th, 2002, 07:53 PM
|
Second Lieutenant
|
|
Join Date: Mar 2001
Location: Elk River, MN, USA
Posts: 472
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: AI Invasions? How?
Here is what I found out about getting the AI to invade planets.
1. The AI seems to handle using Troop Transports built using a stadard hull better than ones using Transport hulls. To do this, change the Troop Transport entry in the AI_DesignCreation file with these lines:
Num Must Have At Least 1 Ability := 5
Must Have Ability 1 := Weapon
Must Have Ability 2 := Cargo Storage
Must Have Ability 3 := Cargo Storage
Must Have Ability 4 := Cargo Storage
Must Have Ability 5 := Cargo Storage
and
Majority Comp Ability := Weapon
These lines ensure that the Troop Transport will be build will at least one weapon so that it will not end up running away and hiding in a corner, planetary napalm actually works good for the primary weapon as the ship has to get right in close to use it. It also ensures that the Transport is built with at least 4 cargo bays; this provides enough storage space to carry about 80 troop1's. I found that there is a noticable difference in by using ground cannons, and as long as the race does not have any penalties to physical strentgh, 80 troop1's armed with 2 ground cannons, and 1 armor typically can capture a planet with a population of about 1000.
The majority component determined the type of hull used for the ship, Cargo Storage as the majority component results in the use of a transport hull. Changing this to anything other than Launch/Recover Fighters or Colonize Planet will give you a standard ship hull.
2. In the AI_ConstructVehicle file, add lines for the AI to build at least 200 troops, and at least one troop transport to each state so there will be enough troops to fill the transport, and a transport available.
3. In the AI_Strategy file, ensure that the primary movement strategy for capture planets is Drop Troops if carrying.
I hope that helps some.
|

January 27th, 2002, 05:20 AM
|
Private
|
|
Join Date: Jan 2002
Location: Kansas
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: AI Invasions? How?
Another question. Are unique techs anywhere other than the tech area? If I put a tech in the techarea.txt file and give it a new variable for unique will it crop up occasionally on ruins planets or do I need to amend anything else? Easier to ask than play enough games to see if I can find it randomly.
|

January 27th, 2002, 06:51 PM
|
 |
General
|
|
Join Date: Feb 2001
Location: Pittsburgh, PA, USA
Posts: 3,070
Thanks: 13
Thanked 9 Times in 8 Posts
|
|
Re: AI Invasions? How?
There are two different types of Ruins, defined in the planet's Abilities in the Map Editor. One type gives one or more random standard techs, the other a single Unique tech identified by its own component family number.
There's a bug in 1.49 which prevents setting up Ruins planets in the Map Editor, which is supposed to be fixed in Gold, according to the posted Version history.
__________________
Cap'n Q
"Good morning, Pooh Bear," said Eeyore gloomily. "If it is a good morning," he said. "Which I doubt," said he.
|

January 27th, 2002, 07:25 PM
|
 |
Brigadier General
|
|
Join Date: Jul 2001
Location: Kiel, Germany
Posts: 1,896
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: AI Invasions? How?
quote: Originally posted by Atraikius:
Here is what I found out about getting the AI to invade planets...
I hope that helps some.
Aah, thanks Atraikius. You saved me a lot of time (and typing). Good, so I have more time to test AI  .
Rollo
|

January 28th, 2002, 05:37 AM
|
Private
|
|
Join Date: Jan 2002
Location: Kansas
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: AI Invasions? How?
Hey guys, I noticed that on some of the custom races I've downloaded there are more than one entry for some items per state in the contruction_vehicles.txt file. (i.e. multiple entries for troops with different values) Will this cause the AI a problem? Also, is there something that tells the Ai what weapons to put on a particular ship. I have tried to make it so that planets don't get glassed very easily by limiting the weapons that can target planets but now the AI seems to throw useless ships at a planet. If not I'll have to change all the weapons back and just decrease their damage. I already upped the damage to kill pop but its still to easy to glass a planet.
[ 28 January 2002: Message edited by: Rlaney ]
|

January 28th, 2002, 11:47 AM
|
 |
Brigadier General
|
|
Join Date: Jul 2001
Location: Kiel, Germany
Posts: 1,896
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: AI Invasions? How?
Multiple entries are quite common and do not cause any problems.
You can tell the AI what weapon to use by the weapon number. Look in data/components.txt for the weapon number that you want to use and put that as primary/secondary weapon in the AI_designcreation.
Rollo
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|