Jump to content

Other AI bots besides Petra


Eilat
 Share

Recommended Posts

I think it would be more interesting if we created AI bots with different mindsets and behaviors instead of just allowing Petra of varying levels to participate in battles. Here's a bot I created based on Petra but with a defensive focus, called Iron Tortoise. It defeats Petra in every battle with its unlimited population and abundant resources. Besides that, I think there should be separate bots with behaviors of nomadic civilizations, maritime civilizations, and possibly more. Everyone is welcome to try them out and give feedback. I'd love to hear your opinions.

bot_IronTortoise.zip

  • Like 3
  • Thanks 1
Link to comment
Share on other sites

7 hours ago, Perzival12 said:

Did you base this off of the A27 Petra or the R28 Petra?

It's A27's Petra (actually, it's someone else's Petra Expert, but I found the Petra Expert's attacks too constant and not strong enough, so I decided to reverse the style to a defensive counter attack. Iron Tortoise rarely brings troops into enemy territory, but when it does, it's devastating. Because of this difference, I separated it into a separate bot. In addition, I also created a bot with similar economic power to Iron Tortoise called Economy Master).

Link to comment
Share on other sites

8 minutes ago, Eilat said:

It's A27's Petra (actually, it's someone else's Petra Expert, but I found the Petra Expert's attacks too constant and not strong enough, so I decided to reverse the style to a defensive counter attack. Iron Tortoise rarely brings troops into enemy territory, but when it does, it's devastating. Because of this difference, I separated it into a separate bot. In addition, I also created a bot with similar economic power to Iron Tortoise called Economy Master).

Post Eco Master and I’ll include it in my Bot Pack.

Link to comment
Share on other sites

I'm delighted to introduce the newest bot in my series of AI bots, the Protectorate bot. This bot represents a breakthrough in gameplay compared to the previous two, redefining alliance relationships. To play this bot, you need at least two players on the same team, both controlled by Protectorate. The player with the smaller ID will play the role of the "Empire," and the other players will be "vassals" (for example, if players 1, 2, and 3 are on the same team, player 1 will be the Empire, and players 2 and 3 will be the vassals). The Empire will prioritize military strength and trade, while the vassals will prioritize workers and pay 30% of their resources every 60 seconds to the Empire. This payment is waived if the vassal's resources are less than 20% of the Empire's resources and increases to 40% when the Empire launches an attack. The empire would also station troops in vassal states, with the number depending on the actual situation (this only happened when the empire's population exceeded 100).

bot_Protectorate_1.zip

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Does Protectorate work on r28? Has anyone tried it? Please give me an answer. If it works, I will just fix Iron Tortoise and Economy Master by changing the dependency from 0ad 0.27.0 to 0ad, or if your machine has an IDE, just open the mod json file and edit it.

Link to comment
Share on other sites

Had to use community mod's skeleton to be able to detect this mod in linux. Version 27.1, Took a break from 0AD, First game as Han in the map Ardennes Forest, I've beaten Iron Turtoise Very Hard(Mauryan-Random Behavior), around min 24 and I was max pop at min 20, there was some attack but its nothing compared to vanilla VH Petra. I've checked the replay and well... it had 15k food with little to no other resources(5-10 workers work on this) once reach T2 at min 10 and because of that its population was stunted at 81 because not enough resources or simply because the harrasment was not supposed to be and that from there I just stopped their economy like that. My recommendation, use civilians to mine stone and metal only to the max of 24 in batch of 3, because thats what I do as it only requires food. I'll go play more samples of 4 more and I'll edit this later, respond once I complete it.

2nd game complete, I still hate to chase villagers from Expert Petra's mechanic, makes the game last longer then it needs to be. map Cantabrian Highlands, end game min 25, no further comment.

Edited by Tapothei
Link to comment
Share on other sites

28 minutes ago, Tapothei said:

Random Behavior

 

30 minutes ago, Tapothei said:

Had to use community mod's skeleton to be able to detect this mod in linux. Version 27.1, Took a break from 0AD, First game as Han in the map Ardennes Forest, I've beaten Iron Turtoise Very Hard(Mauryan-Random Behavior), around min 24 and I was max pop at min 20, there was some attack but its nothing compared to vanilla VH Petra. I've checked the replay and well... it had 15k food with little to no other resources(5-10 workers work on this) once reach T2 at min 10 and because of that its population was stunted at 81 because not enough resources or simply because the harrasment was not supposed to be and that from there I just stopped their economy like that. My recommendation, use civilians to mine stone and metal only to the max of 24 in batch of 3, because thats what I do as it only requires food. I'll go play more samples of 4 more and I'll edit this later, respond once I complete it.

Perhaps it's my oversight, but I only tested it in aggressive mode and it never failed against Petra. Furthermore, the main purpose of this bot is defensive counter-attack, so it will limit its attacks.

Link to comment
Share on other sites

34 minutes ago, Tapothei said:

Had to use community mod's skeleton to be able to detect this mod in linux. Version 27.1, Took a break from 0AD, First game as Han in the map Ardennes Forest, I've beaten Iron Turtoise Very Hard(Mauryan-Random Behavior), around min 24 and I was max pop at min 20, there was some attack but its nothing compared to vanilla VH Petra. I've checked the replay and well... it had 15k food with little to no other resources(5-10 workers work on this) once reach T2 at min 10 and because of that its population was stunted at 81 because not enough resources or simply because the harrasment was not supposed to be and that from there I just stopped their economy like that. My recommendation, use civilians to mine stone and metal only to the max of 24 in batch of 3, because thats what I do as it only requires food. I'll go play more samples of 4 more and I'll edit this later, respond once I complete it.

If you have time, please try the other two bots. I'd love to hear more feedback.

Link to comment
Share on other sites

40 minutes ago, Tapothei said:

Had to use community mod's skeleton to be able to detect this mod in linux. Version 27.1, Took a break from 0AD, First game as Han in the map Ardennes Forest, I've beaten Iron Turtoise Very Hard(Mauryan-Random Behavior), around min 24 and I was max pop at min 20, there was some attack but its nothing compared to vanilla VH Petra. I've checked the replay and well... it had 15k food with little to no other resources(5-10 workers work on this) once reach T2 at min 10 and because of that its population was stunted at 81 because not enough resources or simply because the harrasment was not supposed to be and that from there I just stopped their economy like that. My recommendation, use civilians to mine stone and metal only to the max of 24 in batch of 3, because thats what I do as it only requires food. I'll go play more samples of 4 more and I'll edit this later, respond once I complete it.

In addition, have any other errors been reported?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...