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

Note: My goal is to create massive empires when creating these bots. If you want to battle them at maximum power, set up unlimited population and resources in Deathmatch.

Edited by Eilat
  • 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, Map Cantabrian Highlands against Han, this time population was not stunted but slowed at min 13 on 130 pops. It doesn't need to barter wood with stone at the start of T2 just use civilian to mine it out. The 20 healers it made was afk the whole time. I still hate to chase villagers from Expert Petra's mechanic, makes the game last longer then it needs to be except well to be honest its just a few seconds, I still hate it.

3rd Game, Map Corinthium Isthmus, Again against Mauryan, Priest are noted to idle are they waiting for the full army so they move? Ended game min 21. I'll share the replay after 2 more games so you can see my POV. 4th and 5th no comment, I'll go limit with 3 matches only as I don't see anything interesting. My head is so foggy.

Score: Below Petra Bot Imagine this is medium difficulty at best, because the overall score I noted is lower then them about 1-2k, PPM can keep up until T2, from there its slower then VH Petra Bot(10PPM). Which it no longer can defend itself as not enough army = not enough economy = shell-less turtle.

When I actually check that the map is large and that its population is unlimited, I do see it defeating Expert Petra.... I see.. so this is how its intended to be played okay let me run another proper game. Lol, I still beat with double score.

commands.txt commands (2).txt commands (3).txt commands (4).txt commands (5).txt

commands (Check this lol).txt

Edited by Tapothei
Link to comment
Share on other sites

24 minutes ago, Tapothei said:

around min 24 and I was max pop at min 20

Is that the population of the Iron Tortoise or your population? How much is it? Do you have unlimited population mode set?

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

@EilatI'd advice when you want to talk with someone's comment in succession just edit your comment so it doesn't clutter much, I'll respond later with this comment.

- Default 300, is this bot intended to be infinite PPM over time?
- Its not turtoise if it crawls to me, its supposed to stay in base and wait for my punch but its trying to slash my turtle heart. Can confirm what made them stunted was me sending my single scout over, its fine.
- Be patient I'll check it after completing this bot.
- No error its just: idle healers.... Wait for me to complete 3 other game.... which I've done and nothing.

Edited by Tapothei
Link to comment
Share on other sites

36 minutes ago, Tapothei said:

just edit your comment so it doesn't clutter much

Thanks, I just found out that it's possible to edit comments.

@TapotheiI think the problem lies in unlimited resources and an unlimited population; it's designed to crush rivals with sheer numbers. This turtle will stay in its shell and never actively bite you, but once you strike it, it will retaliate.

Edited by Eilat
Link to comment
Share on other sites

@TapotheiCan you fight against the economy master in a deathmatch with unlimited population and resources? You seem like an experienced player. I've just fixed the bot's healer issue, and I'd love to hear your feedback.

@TapotheiLet's play a resource intensive deathmatch, it has a poor starting ability with low resources. I'll find a way to fix this problem.

bot_EconomyMaster.zip

Edited by Eilat
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...