Kautilya Posted May 26, 2019 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 Link to comment Share on other sites More sharing options...
Feldfeld Posted May 27, 2019 Share Posted May 27, 2019 I'd say Petra at medium difficulty is about 1100, maybe a bit less. 1 Link to comment Share on other sites More sharing options...
Stan` Posted May 27, 2019 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. Link to comment Share on other sites More sharing options...
Kautilya Posted May 27, 2019 Author 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 Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted May 28, 2019 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 Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted May 28, 2019 Share Posted May 28, 2019 at the start of 0 A.D were more than an AI... even scarybot... Link to comment Share on other sites More sharing options...
Stan` Posted May 28, 2019 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. Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted May 28, 2019 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? Link to comment Share on other sites More sharing options...
Stan` Posted May 28, 2019 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 Link to comment Share on other sites More sharing options...
wraitii Posted May 28, 2019 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. Link to comment Share on other sites More sharing options...
Kautilya Posted May 28, 2019 Author 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. Link to comment Share on other sites More sharing options...
Stan` Posted May 28, 2019 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now