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

Did you create a mod, map, music, or a tool? Present them here and earn feedback!
Note: addon requests do not belong here.
Note, everything uploaded to this forum, MUST have a license!
Post Reply
User avatar
Darkling
Rookie
Rookie
Posts: 19
Joined: 07 Feb 2016, 00:45

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

Post 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.
Attachments
darkbot-1.02.wz
(155.51 KiB) Downloaded 210 times
using ecms.
using ecms.
Last edited by Darkling on 16 Dec 2017, 13:24, edited 2 times in total.
User avatar
Prot
Trained
Trained
Posts: 242
Joined: 29 Nov 2010, 12:41

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

Post by Prot »

Another one bot for WZ. Nice!
I will test them..
User avatar
Prot
Trained
Trained
Posts: 242
Joined: 29 Nov 2010, 12:41

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

Post 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
Last edited by Prot on 21 Dec 2017, 16:55, edited 1 time in total.
Forgon
Code contributor
Code contributor
Posts: 298
Joined: 07 Dec 2016, 22:23

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

Post 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.
User avatar
Prot
Trained
Trained
Posts: 242
Joined: 29 Nov 2010, 12:41

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

Post 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
User avatar
JimmyJack
Trained
Trained
Posts: 118
Joined: 06 May 2017, 05:50

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

Post 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.
Transmission ends ...
User avatar
Darkling
Rookie
Rookie
Posts: 19
Joined: 07 Feb 2016, 00:45

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

Post 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:
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

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

Post 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.
User avatar
Darkling
Rookie
Rookie
Posts: 19
Joined: 07 Feb 2016, 00:45

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

Post 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.
User avatar
Berserk Cyborg
Code contributor
Code contributor
Posts: 938
Joined: 26 Sep 2016, 19:56

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

Post 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.
User avatar
Darkling
Rookie
Rookie
Posts: 19
Joined: 07 Feb 2016, 00:45

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

Post 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:
Post Reply