Page 1 of 1

(AI) darkBot: an ecm using (and susceptible) AI

Posted: 07 Dec 2017, 05:53
by Darkling
This AI began life as an attempt to get NullBot to use ecm turrets and towers. Getting the AI to use ECM was trivial, but for it have an effect was not. NullBot uses the deity cheat for its adaptation and for its targeting. So for ECM to be effective I needed to change the way it selects a target.

The result is darkBot it's an AI that's designed to use ecm and to be susceptible to it as well (otherwise where's the fun?). Although it doesn't use the deity view to select targets it does know the locations of enemy starting positions and oils on the map.

I've made a few other changes to the Nullbot base as well:

This AI will build repair turrets and incorporate them into its attack groups.

A player can specify which enemy that it should prioritise otherwise it will focus on the enemy closest to its base.

It's more likely to build aa defences in response to VTOLs.

Each sub-personality has a chance to prefer using hovers even on maps without water. The flamer-cannon and flamer-rocket sub-personalities are more likely to
go hover and the machine gun-cannon and machine gun-rocket sub-personalties are less likely to go hover. Once it has researched hover propulsion all ground
based tanks it produces will be hovers and it will reorganise its attack groups to avoid potential pathing issues between hover and other ground propulsion units.
(This feature was inspired by a game where I saw an AI building tracked dragons with dual plasmite flamers).

It won't steal oils that are close to an allies starting position unless that ally has been killed.

I should add that it was built using the 3.2.3 version of Wartune and a description of the AI (Read Me.pdf) is included within the download.

Edited 12/16 Updated to darkBot 1.02
I've reduced darkBot's defensiveness since on high oil maps it was turtling. It will also be less likely to buid aa before it has seen enemy vtol as well.

On easy and medium difficulty darkBot will only use ecm towers, on hard and insane difficulty it will also build ecm tanks.

Re: (AI) darkBot: an ecm using (and susceptible) AI

Posted: 13 Dec 2017, 12:05
by Prot
Another one bot for WZ. Nice!
I will test them..

Re: (AI) darkBot: an ecm using (and susceptible) AI

Posted: 21 Dec 2017, 08:01
by Prot
Find some error's on WZ AI T
Look at the bottom of the page
http://wz2100.euphobos.ru/wzait/index.p ... 1513834870

Re: (AI) darkBot: an ecm using (and susceptible) AI

Posted: 21 Dec 2017, 15:26
by Forgon
Prot wrote:[...] Look at the bottom of the page
http://wz2100.int.euphobos.ru/wzait/ind ... 1513834870
That link leads nowhere. You probably meant this page.

Re: (AI) darkBot: an ecm using (and susceptible) AI

Posted: 21 Dec 2017, 16:22
by Prot
Forgon wrote:
Prot wrote:[...] Look at the bottom of the page
http://wz2100.int.euphobos.ru/wzait/ind ... 1513834870
That link leads nowhere. You probably meant this page.
Wow.. yeah, sorry, that was internal link, I did not notice it

Re: (AI) darkBot: an ecm using (and susceptible) AI

Posted: 22 Dec 2017, 05:32
by JimmyJack
I like it. It puts up a good fight. Best of all ....
Darkling wrote:It won't steal oils that are close to an allies starting position unless that ally has been killed.

I love that. WTG

I hate it when the AI drives right into your base and starts building on your oil.

Re: (AI) darkBot: an ecm using (and susceptible) AI

Posted: 22 Dec 2017, 06:26
by Darkling
I like it. It puts up a good fight.
Thanks, glad to here it.
Find some error's on WZ AI T
Thanks for that, I'd gotten the info from the main page closer to when it happened and think I've fixed it. It was an issue with how the AI picked VTOL targets and it was overly optimistic about the enemies fate.

I'm working on a version two at the moment which should only be a day or two away depending on how long it takes me to identify the part that I've currently broken :evil:

Re: (AI) darkBot: an ecm using (and susceptible) AI

Posted: 22 Dec 2017, 17:59
by NoQ
Hey, feel free to backport any useful changes that aren't related to your AI's unique personality to the base game's NullBot if you like.

Re: (AI) darkBot: an ecm using (and susceptible) AI

Posted: 23 Dec 2017, 00:06
by Darkling
Hey, feel free to backport any useful changes that aren't related to your AI's unique personality to the base game's NullBot if you like.
I've dropped a few of patches to the NullBot master on github. They're pretty much all performance related and I think I found where the phantom legs come from.

Re: (AI) darkBot: an ecm using (and susceptible) AI

Posted: 23 Dec 2017, 00:32
by Berserk Cyborg
Darkling wrote: ...and I think I found where the phantom legs come from.
It has been fixed for a while now. 490b91d4420ba0985289955520229a1b8b022096.

Re: (AI) darkBot: an ecm using (and susceptible) AI

Posted: 23 Dec 2017, 01:28
by Darkling
... in master, which appears to have a few new goodies as well (e.g. sendAllianceRequest()). Nevertheless an AI running in 3.2.3 will still produce legs if it tries to make cyborg engineers or cyborg mechanics.

I am looking forward to the next release and taking advantage of those fixes. :twisted: