Kautilya Posted May 26, 2019 Report Share Posted May 26, 2019 I am motivated to develop an AI player which actually learns by playing with human players. I need a basis for comparison. This raises 2 questions: 1. What is the current rating of Petra? 2. Is it possible to create an AI which can play in the multiplayer lobby? I understand that modding is possible but then the mod-AI will be just another one whose performance cannot be quantified. 4 Quote Link to comment Share on other sites More sharing options...
Feldfeld Posted May 27, 2019 Report Share Posted May 27, 2019 I'd say Petra at medium difficulty is about 1100, maybe a bit less. 1 Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 27, 2019 Report Share Posted May 27, 2019 2. Yes you can bundle another AI as a mod. That's what @agentx did with his AI a long time ago now. Quote Link to comment Share on other sites More sharing options...
Kautilya Posted May 27, 2019 Author Report Share Posted May 27, 2019 Stan, I understand that it can be a mod. But can it be a player at the multiplayer games lobby with an independent rating? 2 Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted May 28, 2019 Report Share Posted May 28, 2019 54 minutes ago, Kautilya said: Stan, I understand that it can be a mod. But can it be a player at the multiplayer games lobby with an independent rating? That is an intriguing idea, actually. 1 Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted May 28, 2019 Report Share Posted May 28, 2019 at the start of 0 A.D were more than an AI... even scarybot... Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 28, 2019 Report Share Posted May 28, 2019 6 hours ago, Kautilya said: Stan, I understand that it can be a mod. But can it be a player at the multiplayer games lobby with an independent rating? Well currently the AI commands are not written to the replay there is a ticket and a patch for that by @Sandarac. But if you manage to send the commands on the network I guess it can. The only issue is that the ai has a revealed map. Maybe @elexis or @wraitii know more. Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted May 28, 2019 Report Share Posted May 28, 2019 12 minutes ago, Stan` said: The only issue is that the ai has a revealed map. perhaps this can be added back in as a visual effect only, and only for the replay? Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 28, 2019 Report Share Posted May 28, 2019 Well that's a visual effect petra don't actually see the map. But it know where its enemies are Quote Link to comment Share on other sites More sharing options...
wraitii Posted May 28, 2019 Report Share Posted May 28, 2019 I think you would have a bit of trouble writing an AI that pretends to be a player, though with some good C++ modding it's probably doable. Indeed however currently there's no way for the AI to get visibility information, it assumes everything is visible all the time, so you will run into trouble with unitAI not agreeing to your orders (as there are some visibility checks in unitAI that would succeed for you all-seeing AI and fail for your AI-as-a-player) At the moment, implement LOS for AI is quite complicated. Quote Link to comment Share on other sites More sharing options...
Kautilya Posted May 28, 2019 Author Report Share Posted May 28, 2019 I guess its a bit heavy for my university project. But, thanks for your replies. I will dig through the code more in my free time and see how it goes. Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 28, 2019 Report Share Posted May 28, 2019 2 hours ago, Kautilya said: I guess its a bit heavy for my university project. But, thanks for your replies. I will dig through the code more in my free time and see how it goes. Let us know if you need more help Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.