Log in

View Full Version : How to convert old AI to Gold


capnq
March 18th, 2002, 03:34 AM
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
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
"Personality Group := <number>"

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

Q
August 26th, 2002, 06:07 PM
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
aaahhhh. Thanks, that is nice to know.

gregebowman
August 26th, 2002, 07:24 PM
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
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
Try using the Philosophers Stone. That'll do it. http://forum.shrapnelgames.com/images/icons/icon10.gif