.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV Classic Threads (Newbie FAQS) (http://forum.shrapnelgames.com/forumdisplay.php?f=43)
-   -   How to convert old AI to Gold (http://forum.shrapnelgames.com/showthread.php?t=14938)

capnq March 18th, 2002 03:34 AM

How to convert old AI to Gold
 
1. Pick an existing Gold race which you want the new race to act like.

2. Open the Gold race's <race>_AI_Settings.txt

3. Highlight and copy the lines from

"Ships don't move through minefields := <true/false>"

to

"Maximum Anti-Planet Drone Target System Distance := <number>"

4. Open the new race's <race>_AI_Settings.txt

5. Paste the copied text after

"Personality Group := <number>"

6. Save the file.

7. Open the Gold race's <race>_AI_Fleets.txt

8. Highlight and copy the line

"Percentage of Fleets to use for defense := <number>"

9. Open the new race's <race>_AI_Fleets.txt

10. Paste the copied text after

"Fleets Default Strategy := <strategy>"

11. Save the file.

12. The new race is now Gold compatible. http://forum.shrapnelgames.com/images/icons/icon7.gif (Note that by "compatible", I mean the race won't produce all those error Messages; this patch will not teach the AI to build and use drones.)

PDF May 15th, 2002 11:45 AM

Re: How to convert old AI to Gold
 
Bump, I've got to have this at hand for converting B5 files ... http://forum.shrapnelgames.com/images/icons/icon7.gif

overminder August 26th, 2002 04:45 PM

Re: How to convert old AI to Gold
 
"Personality Group := <number>"

-------------------------------------------------
What does this refer to? any number I want?

Q August 26th, 2002 06:07 PM

Re: How to convert old AI to Gold
 
Quote:

Originally posted by overminder:
"Personality Group := <number>"

-------------------------------------------------
What does this refer to? any number I want?

<font size="2" face="Verdana, Helvetica, sans-serif">As far as I know it serves only for the choice of random computer empires. You have a list of the different percentages in the settings.txt file. IIRC personality group 0 are the neutrals and 1 to 4 are used to differentiate peaceful (=1)to aggressive (=4) races. If all the races on your computer are coded correctely according this personality number system, you can makes games where the computer will select more or less aggressive races according to the settings.txt file instruction.

overminder August 26th, 2002 06:51 PM

Re: How to convert old AI to Gold
 
aaahhhh. Thanks, that is nice to know.

gregebowman August 26th, 2002 07:24 PM

Re: How to convert old AI to Gold
 
Quote:

Originally posted by capnq:
[
""Percentage of Fleets to use for defense := &lt;number&gt;"
QB]
<font size="2" face="Verdana, Helvetica, sans-serif">What about this fleet defense number? What number should we use for that?

capnq August 26th, 2002 08:31 PM

Re: How to convert old AI to Gold
 
Quote:

What about this fleet defense number? What number should we use for that?
<font size="2" face="Verdana, Helvetica, sans-serif">Anywhere that I've typed &lt;number&gt;, there will be a number there already; different AIs will have different numbers.

I use &lt;&gt; to indicate a variable.

Elowan August 26th, 2002 10:15 PM

Re: How to convert old AI to Gold
 
Try using the Philosophers Stone. That'll do it. http://forum.shrapnelgames.com/images/icons/icon10.gif


All times are GMT -4. The time now is 12:48 PM.

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