I've created a random race generator.

Ever wanted random races and personalities? This can help!

http://cyber-ace.home.comcast.net/RandomGalCiv2TA.exe

The first thing I thought was missing from GalCiv2 was a "randomize personalities" button.  Civ4 has this option, and it makes it so you never know exactly how a race is going to behave.  I have created an executable which will generate random custom races, and I have linked to it.

 

The program is very simple.  Start the executable, and you will be prompted to enter a name for your random race, and then prompted to enter a strength value.  1 strength is roughly equivalent to 1 customization point.  The program will then generate a file called racename.raceconfigxml which will need to be placed in the correct galciv2 directory.  On my Vista computer this is located in my "My Documents" folder.  It may be different on other computers, just put the files where your custom races go.

Once in game you may modify the custom race further, by changing it's picture, or appearance, or techs, etc.  Note, my generator does not give the random races any starting techs, this was beyond what I was able to do in the few hours I have worked on this.  Also, the generator will create custom races that break the rules, as they might end up with a courage rating of 50 or 75 or higher; this could not be done using the in game custom race creator.  Also, there will still be customization points left to assign for the custom race, I suggest you do not assign them, as it may actually decrease the strength of the generate race, and defeats the purpose of having a randomly generate race in the first place.  You may assign starting techs if you would like.

It is designed to be used with GalCiv2 TA, 2.00 or 2.01.  And any other version that accepts the same standards for .raceconfigxml files.

Disclaimer:

The program is provided as is, use at your own risk.  As with all executables, there is a risk that this is a trojan, and may perform malicious and unadvertised functions.

That said, I give you my word there is nothing malicious about this program.  I ask that anyone who tries it report back their experiance with the program.  Also, you may scan it using various virus scanners. 

The program DOES create files.

It MIGHT overwrite existing files, but only files ending in .raceconfigxml.

The program DOES NOT delete files, ever.

The program DOES NOT create, modify, or delete files outside its imediate directory.

 

Lastly, I made this primarilly for my own use.  If there is desire for me to expand and improve it I will try to do so.  I post it only because others may find it useful.  Thank you, and happy thanksgiving!

 

3,593 views 2 replies
Reply #1 Top

I notice some typo's in the output files.

<Ability192</Ability19>

Shouldn't that line read:

<Ability19>2</Ability19> ?

There are several lines with that mistake.

Here is another:

  <GOVERNMENT>0</GOVERNMENT>
  <Ability26>0</Ability26>
  <LOYALTY>0</LOYALTY>
  <Ability27>20</Ability27>
  <Ability28>0</Ability28>
  <LOGISTICS>4</LOGISTICS>
  <MINIATURIZATION>0</MINIATURIZATION>

Shouldn't the Ability28 line come after LOGISTICS?

Reply #2 Top

The first is a typo on my part.  I have fixed it and re-uploaded the executable.  I've also added a version indicator.

The second appears the same way the game itself creates the files, so if there is any typo it originated in the game itself.  It should still work though.