Genetic AI Project

Nowhere near. Haven't even started. It requires changes all over the SDK and is going to be a pain to merge with any patches. I'd wait until then first patch at least.

Having said that - the most of the python (which actually controls the genetics) will port straight over. It would probably be possible to run something limited without too much trouble. I'd want to finish of the vanilla version first.
 
"I've replaced the DoM screen with an AI selecter screen. "

I have loaded your mod (following instructions from first post) and it is crashing after selecting the leader that I am playing.

What is the DoM screen? Do you have a step by step instruction for when you are in game for setting it up to run the AI?

something like:
load game
advanced
load a mod
select genetic ai
game restarts
single player

then what? - play now, play a scenerio, custom game, custom scenerio


the last screen i see before crash is the "world building graphic" right as the game is starting


edit - ahhh shoot! I was dumping the folders from the aidata zip files under the genericai folder - i see now when i went back to read it that you want the text file in the genericai folder - edited again - nope still crashes at world building
 
The DoM is the Dawn of Man screen. The first screen when you get in.

Do you have the version I posted up a few minutes ago? If not, I'd suggest you get it. It sounds to me like you have the AI datasets incorrectly installed - there should be a text file in the root GeneticAI folder.

Custom game or Play Now should both work.
 
Craterus22 said:
"I've replaced the DoM screen with an AI selecter screen. "

I have loaded your mod (following instructions from first post) and it is crashing after selecting the leader that I am playing.

What is the DoM screen? Do you have a step by step instruction for when you are in game for setting it up to run the AI?

something like:
load game
advanced
load a mod
select genetic ai
game restarts
single player

then what? - play now, play a scenerio, custom game, custom scenerio
DoM is the Dawn of Man screen that you see when you start a new game.

The order you listed is correct, although a little inefficient. You can do play now or a custom game, I'm not sure about scenarios. When you start the game, the AIs various AIs will be shown instead of the Dawn of Man screen. You can select which AIs to use in the game. It's pretty intuitive (except for the statistics. I don't understand the bars by the traits thing at all).

About Warlords, I also would like to see a Warlords version since the games are more interesting to observe but I understand they made quite a few AI changes. At least a few generations of vanilla AI will be done by then so they can hopefully be applied pretty easily to Warlords.
 
The Great Apple said:
The DoM is the Dawn of Man screen. The first screen when you get in.

Do you have the version I posted up a few minutes ago? If not, I'd suggest you get it. It sounds to me like you have the AI datasets incorrectly installed - there should be a text file in the root GeneticAI folder.

Custom game or Play Now should both work.


thanks for quick responses-
no i was using .25

when i open up each zip file there is a folder with with aidatax - where x is a number. inside each folder is a file that only says aidata - making me suspect that we can't use more than one data set at a time.

I have updated my original post stating that i now have one aidata file in the genericai folder (which is installed in the mydocs mod folder). I will play around with it a bit more then perhaps tomorrow if I can't figure out what I have setup wrong
 
More bug reports (still running v.25):
How is this possible (see pic)? It seems that AIs are not properly identifying barbs as enemies. I notice their cities aren't being destroyed even by the end of the game sometimes. Also, this is a fresh game, not a second game after a first had already run.

Also the thing with the wrong tags is really a problem for some civs. The Russians have built like 8 galleys with DEFENSE_AIR set and a warrior with AI_WORKER set. I know these things will be bred out, but obviously such a mutation is not going to be helpful.
 

Attachments

  • Civ4ScreenShot0005.JPG
    Civ4ScreenShot0005.JPG
    273.1 KB · Views: 172
@Craterus22
Sounds right. The files are sorted out like that as it is the quickest way for me to do it on my computer - I'll try to come up with a better method.

If you run .26 it should give you an error message if the AIs are incorrectly installed instead of crashing.
 
suspendinlight said:
Also the thing with the wrong tags is really a problem for some civs. The Russians have built like 8 galleys with DEFENSE_AIR set and a warrior with AI_WORKER set. I know these things will be bred out, but obviously such a mutation is not going to be helpful.
I'll take another look at it. I couldn't see how it was doing it last time, but maybe I missed something.

.26 is compatable with old data sets BTW. Don't know if I mentioned that before.

EDIT: No idea what's going on with the barbs there. They shouldn't be doing that. I have one possible explaination, which I think is unlikely and slightly obscure, but it's one of the things I changed in .26.
 
I will try the patch tomorrow my time (in 10 hours). Will the data I downloaded be still valid or should I download new aidata then?
 
The Great Apple said:
@Craterus22
Sounds right. The files are sorted out like that as it is the quickest way for me to do it on my computer - I'll try to come up with a better method.

If you run .26 it should give you an error message if the AIs are incorrectly installed instead of crashing.

just installed .26 and copied over a aidata text file - crash - no error message




ps - really curious about this question - Is it possible to train individual AI's to a particular civ (or set of traits:Phi/Org)?
ps2 - what kind of settings do you want to know about? It is a fresh install of civ4 and warlords (which forces the patch)... i am using noble small quick - if that is what you mean
 
Yes the old data is still valid, and will be for quite a while. I aim to keep backward compatability for as long as possible so that old data will always be recognised by new versions.
 
Craterus22 said:
ps - really curious about this question - Is it possible to train individual AI's to a particular civ (or set of traits:Phi/Org)?
Not at the moment.
Craterus22 said:
ps2 - what kind of settings do you want to know about? It is a fresh install of civ4 and warlords (which forces the patch)... i am using noble small quick - if that is what you mean
That's what I meant. I've ran that before and it's worked fine. I assume you're running it on Vanilla Civ 4 right (just to make sure). Also, are you positive Warlords forces the patch (I don't know)?
 
suspendinlight said:
I don't understand the bars by the traits thing at all).
At the end of the game data is collected about the AIs finishing position. I use several indicies to work out a ranking for each AI on all of those traits. These show the rankings of each trait averaged over all of the AIs games. A full bar means that the AI is the best one in it's batch, half full means that it's 50% of the score of the best.
 
The Great Apple said:
Not at the moment.
That's what I meant. I've ran that before and it's worked fine. I assume you're running it on Vanilla Civ 4 right (just to make sure). Also, are you positive Warlords forces the patch (I don't know)?

vanilla civ4 - warlords forces the patch

The Great Apple said:
At the end of the game data is collected about the AIs finishing position. I use several indicies to work out a ranking for each AI on all of those traits. These show the rankings of each trait averaged over all of the AIs games. A full bar means that the AI is the best one in it's batch, half full means that it's 50% of the score of the best.

So is aidata9 the latest and greatest?
 
The Great Apple said:
Nope. It just carries on going.

Re: crashes.

I've run 5 or 6 games with the current files and haven't seen any crashes yet. I'll dig around a bit. Do any of you have a crash dump? Without being able to reproduce and without a dump there isn't that much I can do.

Oh, I was just wondering. I haven't experienced a crash at all :lol:

Actually, I was just coming back to say that my player just lost but that it is still going just like you said :P
 
Craterus22 said:
vanilla civ4 - warlords forces the patch
In that case I have no idea. I'll just confirm a few things:

Folder structure should be as follows:
Code:
My Documents/My Games/Sid Meier's Civilization 4/MODS/GeneticAI <- in here goes AIData.txt
My Documents/My Games/Sid Meier's Civilization 4/MODS/GeneticAI/Assets/ <- CvGameCoreDLL.dll
My Documents/My Games/Sid Meier's Civilization 4/MODS/GeneticAI/Assets/Python <- A few .py files
There are also some XML files in the XML directory (mostly schemas for the CCP - will give you XML errors if they're wrong), and a few subfolders in the python folder (CUSTOM, EntryPoints and Screens)

Has anybody else had any problems with .26?


Craterus22 said:
So is aidata9 the latest and greatest?
No - the number is just an arbitary number to separate them from one and other. All the data files are first generation, based on the original Firaxis AI.
 
The Great Apple said:
In that case I have no idea. I'll just confirm a few things:

Folder structure should be as follows:
Code:
My Documents/My Games/Sid Meier's Civilization 4/MODS/GeneticAI <- in here goes AIData.txt
My Documents/My Games/Sid Meier's Civilization 4/MODS/GeneticAI/Assets/ <- CvGameCoreDLL.dll
My Documents/My Games/Sid Meier's Civilization 4/MODS/GeneticAI/Assets/Python <- A few .py files
There are also some XML files in the XML directory (mostly schemas for the CCP - will give you XML errors if they're wrong), and a few subfolders in the python folder (CUSTOM, EntryPoints and Screens)

I have tried different settings with no luck - folder structure looks right (except for documents and settings\username being in front of mydocs).

I also tried a default config settings file with no luck.

I will try playing around with it tomorrow
 
If the super-advanced barbs was from simply not resetting their stuff, all data should still be very relevant, as even with being able to build grenadiers, they develop so slowly that they dont affect much, i was just worried that maybe there were other things not being reset, but if its just the barbs, they dont make much of a difference.

On a side note, i would personally like to see the barbs outfitted with one of these AI sets that scores high on the military bar at some point :D But that is for another place and time, yes.

I am actually very excited about this. Currently the AI do some very silly things, but it will be very interesting to follow their progression as you develop better AIs based on your data... kinda like watching grass grow but it slowly growing into something entirely different, and hopefully better. The AI I am running now actually seems to start out very nicely. The first game, it sent its warrior out exploring, built a warrior and garrisoned it, then built a worker and followed up with another warrior who then followed the worker around protecting it. I was very impressed, but later the AI was constantly building military units and disbanding them just as fast :crazyeye: I am very interested to see where this goes.
 
I've been wondering why there are so many barb cities surviving into the modern era so I did a little test. Looks like a bit of a bug eh? This is version .26
 

Attachments

  • Civ4ScreenShot0000.JPG
    Civ4ScreenShot0000.JPG
    297.8 KB · Views: 178
Back
Top Bottom