Tuesday, April 17, 2012

Automating AI only games of Supreme Commander

I am working on an AI project in which I would like to automate several AI only games of Supreme Commander, and was wondering if anyone knew if there was a way to automatically start a game of Supreme Commander from the command prompt with 8 AI players. I was also wondering if anyone new a way to increase the game speed beyond 2x, or even disable the game rendering to increase the speed at which games can be played. I am also curious if anyone had any experience with modifying the end game conditions so that the game ends can end within a set time frame, and the player that meets certain score conditions is declared the winner.|||The game can go beyond 2X speed if your processor can handle it. Hit the + key on the NumPad to increase the speed.



AFAIK, you can't start an AI only game from the command prompt. You can go to Multiplayer/LAN, then host a game, and set yourself as an observer though.



I don't know if you can set a max time and a score you want to meet.|||Mooilo|||looks like someone wants to decrease learning time of genepools AIs



natural selection ? win and survive and mate ?



anyway i would be intrested as well.|||Astroman|||Ajunta|||Yep, Ajunta is right. I am trying use a genetic algorithm for training AI for a school project, only piece left I am missing for automating the training is to automate starting a bot only game of supreme commander. I may just have to use an input recorder, and record me doing it.|||the input recorder sounds ghetto but might as well save you a few days of hassle.





good luck with the genpoolAI



i d be intrested by you results and stats if you can provide. like how many generation before noticing correct instinct. how big the induced mutation factor etc...what structure you used for the eGenes frame.|||I would say it would be very interesting to play an AI that evolved rather than one that was scripted by someone like sorian or gpg.



Would the AI that you evolve later be able to be used by us to play against?|||Wow, interesting project. Wish I could help out - did a course on AI, including genetic algorithms.



Mind if I ask how many iterations you are planning on running? I'm guessing your fitness function is just whether the AI wins or not? How big is your population?



Why dont you see if you can run 4 games at a time, each with 2 AI players on a small/medium map? That way, even if you cant accelerate the one game, you have 4 running at full speed (get dual quad core though).



Also, with 8 AI players, one player winning might be the result of one stronger AI taking out another strong player, but then getting rushed by a noob AI, who wouldnt ordinarily have won.



Let us know how it goes, I'm very interested in this.

No comments:

Post a Comment