Gunner
Emperor
Here's a finished AI from the first set.
http://forums.civfanatics.com/uploads/50429/Gunner_s_AIData6.zip
http://forums.civfanatics.com/uploads/50429/Gunner_s_AIData6.zip
Yup, and on Epic and Marathon they're more. That's all sorted - I actually use the amount of culture the city has divided by the culture it needs to be legendary.Craterus22 said:Awesome! (keep in mind that conquered cities with wonders may mess up 3rd city stat)
Also - don't forget Quick game Legendary Cities are 25k!
It doesn't do scenarios unfortunetly. Scenarios are one of the long term aims (you could set a quick one up to optimise a specific area of the AI).Craterus22 said:Also - I tried using my radearth64x40 map for a session (using the play scenerio option)- it worked fantastic the first time through (one complete game), but then on the next attempt at the map - all of the improvements (roads mines etc) were still there and no civ units (settlers, etc.) were generated resulting in zero scores (don't worry stopped it before game "finished") - NOT A high priority of course - just some feedback... perhaps you can let us select number of games to play automated?
Might be quick, might not be - will take a look.Craterus22 said:Also not a priority - I would love to save hall of fame scores (they should be saved in the GenAi mod HOF folder) and replays, but none are generated - a function of the automation code? Curious if it is easily modable... not something i would epect you to solve as most people probably wouldn't be interested in it.
I don't detect it, but it'll show up on the final score. It is another indicater I could use to weed out bad AIs early.Craterus22 said:edit - with aidata6 I noticed one of he ai's had the civ in "strike" mode for nearly the entire game - do you have a "strike" flag to measure this? Would be indicative of a civ that can not manage money.
Yes, though in the 2nd generation it's redundant - it ships with all the games played. This is probably a bad idea - IMO it should play in each generation as a control on the others to make sure nothing is straying to far from the norm.Craterus22 said:edit (question) - Are you including Team Firaxis in the requirment for 8 games? I just noticed that because of some things I am doing (leaving team firaxis out of early game setups) that nearly every ai has more than 8 games played EXCEPT for Team Firaxis.
Much easier said then done. You also are assuming that the human is better then the AI (which may not always be true). What may be possible is to run a script while the human is playing to analyse each choice and decide if the AI would have done it. If not, it would be possible to influence the AI to be more likely to do it. Unfortunetly this sort of thing is sorted on a case-by-case basis for each value, so would take me absolutely ages to write in (~1200 values in there).Craterus22 said:edit (question2) - Have you thought about trying having your program record (or emulate) human player moves for the people that are playing against your AI? IE - Scoring human player fitness... and then trying to generate stats to use in new AI's?
Nothing is fundamentally different. The game core is the same as it was for 0.285 - the only real thing that's changed is the way I store and handle data, which only should effect starting loading times... and that should be a very small difference.suspendinlight said:Well I'm trying the new generation out and one thing I noticed is that the time between turns seems noticeably longer than it was. I could just be crazy, but I sort of timed the turns and they seem to be running a few seconds slower. Could this be some of those additional AI routines you added?
The settings will be set as you set them for all of the games that it does in that run.PatrickDockens said:Do the settings I make when I go through the Play Now options matter? Or are they reset anyways by your Mod?
Nothing much yet, and it's a tiny bit glitchy. The idea is that it saves it on your computer so that it is preserved between generations. It also makes it easier to keep track of (because of the name change), and I was thinking of adding some additional stat-logging on tracked AIs which could display in the corner of the screen while the game was playing.PatrickDockens said:What does tracking an AI do?
Yes. It should be the top one in the active AI list.PatrickDockens said:When I hit ctrl-shift-x and it starts does my player (the one with my name) get one of the AI's from the AI Selector Screen?
As soon as one player wins the data is recorded to a file. If you stop half way through the game the game doesn't count for anything.PatrickDockens said:Does this AI then get recorded when the game is over?
Nope, single player mode is good. I don't think the AI autoplay would work too well in MP.PatrickDockens said:Should I be playing in MP mode (I am trying it in single player)?
There is no point in having it on - it just slows the game down, however it can be a pain to keep having to switch it on and off, so it's your choice. As far as I am aware it doesn't break anything (although there were some reports that it might), it just slows the game down.PatrickDockens said:Should I have auto-save off?
Yes.PatrickDockens said:I read earlier that this can be run in the back ground, does this just mean minimized?
suspendinlight said:Well I'm trying the new generation out and one thing I noticed is that the time between turns seems noticeably longer than it was. I could just be crazy, but I sort of timed the turns and they seem to be running a few seconds slower. Could this be some of those additional AI routines you added?
The Great Apple said:Nothing is fundamentally different. The game core is the same as it was for 0.285 - the only real thing that's changed is the way I store and handle data, which only should effect starting loading times... and that should be a very small difference.
The Great Apple said:Much easier said then done. You also are assuming that the human is better then the AI (which may not always be true). What may be possible is to run a script while the human is playing to analyse each choice and decide if the AI would have done it. If not, it would be possible to influence the AI to be more likely to do it. Unfortunetly this sort of thing is sorted on a case-by-case basis for each value, so would take me absolutely ages to write in (~1200 values in there).
Don't most people beat the AI on Noble? i can't remember the last time I lost a game when I was trying to win (sometimes I like to just hit return 50-100 times in a row to see if I can win after my initial build out-you might be surprised on how easy that is against Team Firaxis)"You also are assuming that the human is better then the AI"
but catapults should be better at knocking down fighters than arrows, right?TheBoatman said:I uploaded AIdata04, it run overnight so it is slightly more games than recommended (17-18 per AI). AI with catapult armies set to AI_AIR_DEFENSE was the craziest - I imagined catapults trying to shoot down a plane.
Right. I'm noticing the very early game that the early game is going slower than it was in .285. It was something like this in the pre-medieval eras:Craterus22 said:Just a little more feedback - I am also seeing a significant slow down. 285 would go so fast through the early game that the graphics could not keep up... Now it seems much slower (admittedly I did not get out a stop watch), but it seemed 3-4 secs longer - maybe not a big deal (maybe it is though - how many turns is it for a game? 500? 3x500=1500/60=25 minutes?)
Apparat said:I like this idea. The weak AI has been the one thing holding back all civ games. I would glady go back to playing civ1 if someone developed a decent AI for it.
Can i ask what has come out of this so far? are you seeing the results of an improved AI? I will try to download your mod and run it a few times to contribute.
Keep up the good work.
-Apparat
I'm playing my games with space victory off so hopefully this will help there.Craterus22 said:hopefully we can generate some AI's that can win without the spacerace victory.
If the mods had separate AI decision algorithms then a few alterations would have to be made to the script to incorperate them, if not, then it should work fine. It would need a few runs (when I say a few, I really have no idea how many a few is - maybe 10 at a very rough guess) to optimise to the mod, but I would expect it to be pretty good without the further optimisations.Ket said:In theory, if we are running an AI in a real game would it be able to adapt to SDK mod changes, for example new tags
(Dales Combat, Roger's Flying, Impaler's Work) or is this something you would have to patch in, those new tags.
I assume it would take some genetic passes for it to weed out what it cant do with them. If it was able to recognize this.
Nok. Taking the results in I've seen average scores for sets vary from ~5000 to ~2000. It really depends heavily on the map type, size, and speed. When I analyse the datasets I normalize the results from each dataset so that they all have the same average fitness.Ket said:Secondly just for benchmarking. Do you have a theoretical Fitness Level for Firaxis's AI?
I thought I'd ironed that out...snarko said:One game finished, next started. Everyone have contact with everyone else right from the start for some reason (still using 0.28.5)
The Great Apple said:I thought I'd ironed that out...
Were any unexpected parts of the map exposed?
Thanks for the report. Those mostly seem reasonable. I am surprised there are not more boosts to agressiveness. In my games, some of the AIs turned out to be quite agressive and were successful at taking over large parts of the world, but I may be the exception due to the high number of civs. I guess there could also be an eqaul number of agressive civs who started the wrong war at the wrong time.The Great Apple said:As promised - a report on the winners and losers. I've compiled this by taking the best AIs from generation 1, and comparing each variables average thorught the AIs with the default AI. There is a chance that it just could be random noise.
Good AIs had these main changes:
...