.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   Any Guide in making an AI? (http://forum.shrapnelgames.com/showthread.php?t=8309)

Ruatha January 16th, 2003 09:32 AM

Any Guide in making an AI?
 
Is there any guides on how to make an AI?

I want a peaceful AI that avoids building fleets, don't make treaties, Send's very few Messages. Builds strong individual ships. Uses a lot of intelligence, such as resource procurement and PPP.
Tries to avoid war at almost any cost.

It's for the Invisible shipset.

[ January 16, 2003, 07:34: Message edited by: Ruatha ]

Rexxx January 16th, 2003 11:28 AM

Re: Any Guide in making an AI?
 
Quote:

Originally posted by Ruatha:
Is there any guides on how to make an AI?
<font size="2" face="Verdana, Helvetica, sans-serif">There are lots of Posts about specific AI modding topics. However, the only guide I know of is Atraikius' very helpful sheet about ship designing. You can find it here:
http://forum.shrapnelgames.com/newup...1040385338.zip
Quote:

I want a peaceful AI that avoids building fleets, don't make treaties, Send's very few Messages. Builds strong individual ships. Uses a lot of intelligence, such as resource procurement and PPP.
Tries to avoid war at almost any cost.

It's for the Invisible shipset.
<font size="2" face="Verdana, Helvetica, sans-serif">There are several peaceful AIs:
To name just a few from the TDM-Modpack:
Mephisto's Earth Alliance, Narn Regime, Toron
Alpha Kodiak's Vaxim
God Emperor's Klingons and Praetorians.

The stock EEE and Phong also try to avoid wars as far as possible.

In the politics.txt you can define the highest allowed treaty and the kind of message your race will send.
Check the politics-file of Daynarr's Xi'Chung (TDM), they don't like treaties and never allow more than non-aggression. I don't know if it is possible to allow no treaty at all.
Setting all Send message topics to "no" should reduce your communication drastically (politics.txt).
In the speech.txt-file you can define the number of Messages for a certain topic. I never tried that but maybe setting these numbers to zero should lead to a very silent race.

In the fleets.txt file you can set the number of your fleets (depending of the ships or planets you have) and the percentage of your ships used in fleets. Another possibility to avoid fleets is to create Attack Bases as your standard ship. The AI never integrates them into fleets.

IMO using a lot of intelligence is pretty useless in the confines of SE IV, it's a waste of facilities and resources. Tampa Gamer's Drakol (TDM) are perfect "schemers". However, when it comes to war, they got crushed by other AIs quite easily. Intelligence is a nice feature but relying on it is deadly. As far as I know there is no way to define the Intel projects initiated by the AI, normally it uses more than 50% of its points for Counterintelligence. The rest is spent for randomly chosen projects, sometimes even resource procurement.
To make things worse Intelligence can be the reason for wars, some AIs get quite angry when you spy upon them.

[ January 16, 2003, 09:30: Message edited by: Rexxx ]

capnq January 16th, 2003 10:08 PM

Re: Any Guide in making an AI?
 
The easiest way to start is to copy one or more other race's AI files, then adjust the values in those files.

solops January 16th, 2003 10:31 PM

Re: Any Guide in making an AI?
 
Someone once made an AI Design Spreadsheet in Excel that would build an AI for you. Perhaps one of the more knowledgable designers would provide a link and comment on its strengths and weaknesses.

Mephisto January 17th, 2003 01:00 AM

Re: Any Guide in making an AI?
 
Try this link. Most of the info is still valid.

http://www.shrapnelgames.com/cgi-bin...981;p=2#000019

The AI-Sheet from Atraikius is here:
http://forum.shrapnelgames.com/newup...1040385338.zip

pathfinder January 17th, 2003 02:28 AM

Re: Any Guide in making an AI?
 
Gets lots of Tylenol and/or beer!

The AI never does quite what ya want it to... http://forum.shrapnelgames.com/images/icons/icon12.gif

[ January 17, 2003, 00:29: Message edited by: pathfinder ]

Atraikius January 18th, 2003 02:42 AM

Re: Any Guide in making an AI?
 
I updated the AI excel sheet that is posted this morning. The AI_ConstructVehicle section has been changed, and an AI_Speech has been added (anyone remember those Mad Libs from the 80's). There are still some errors from typo's that will show up in the game, and the most of the files are rather messy yet. I'm working on updateing the entire thing, and adding some sort of aid for modifing the files by hand (like the DesignCreation sheet I did).

1042806417.zip

Ruatha January 18th, 2003 02:50 AM

Re: Any Guide in making an AI?
 
Great, I'll wait a while before I start on this, too busy now anyway.

pathfinder January 18th, 2003 06:19 PM

Re: Any Guide in making an AI?
 
Atraikius: I am a bit dense, how does one save the individual files generated by your AI aid?

[ January 18, 2003, 16:22: Message edited by: pathfinder ]

Atraikius January 20th, 2003 03:12 PM

Re: Any Guide in making an AI?
 
Pathfinder - just copy the 'A' column, and past it into notebook or wordpad (as text file).

One thing to pay attention to with the file right now is that the Construct_Vehicle file calls for Satellite 1 & 2, Weapon Platform 1 & 2, and Fighter 1 & 2, while I hadn't gotten to updateing the design creation file to match yet. You will need to do a find/replace on one of the two files until I finish updateing that part of it.


All times are GMT -4. The time now is 03:35 PM.

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