Jump to content

What is the expected rating of Petra AI-different diffuclties?


Kautilya
 Share

Recommended Posts

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. 

  • Like 4
Link to comment
Share on other sites

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...