My Attack AI

MrChris
Automaton
Automaton
Posts: 157

My Attack AI

Post#1 » 24 Oct 2017, 16:58

Here's my complete attacking AI module that might be handy to someone looking for tips. As of writing, I am 2nd in the leaderboard.

The modules in the image that start with "z/" are just labels that indicate to what that block of nodes does (they don't contain any nodes). These labels should give you an idea of the structure I have used.

The only real module here is "//new/LongRangePush" which is a module for pushing towards long range enemies.

This is a high-resolution image that you might want to open in its own tab.
Attachments
attack.png
attack.png (653.57 KiB) Viewed 1118 times
------------------------------------------------
My in-game name is MrChris

Creator of the unofficial Gladiabots stats page: https://gladiabots-stats.info.tm/mrchris
And the Gladiabots retreatment simulator: https://cmrichards.github.io/glad_simulation

TheKidPunisher
Autonomous Entity
Autonomous Entity
Posts: 563

Re: My Attack AI

Post#2 » 24 Oct 2017, 17:56

It will scarex new people to see that! (I am joking)

What an amazing work!

User avatar
TheGnoo
Automaton
Automaton
Posts: 175

Re: My Attack AI

Post#3 » 24 Oct 2017, 21:34

So this is the monster that kicks my ass every game... *screenshot*

User avatar
Ritter Runkel
Neural Network
Neural Network
Posts: 482

Re: My Attack AI

Post#4 » 24 Oct 2017, 23:17

Thx for sharing. Thats hugh but well organized. I can see the meta behind it, makes me to rethink one or two aspects of my own AI.

pier4r
Skynet
Skynet
Posts: 3190

Re: My Attack AI

Post#5 » 25 Oct 2017, 17:19

TheGnoo wrote:So this is the monster that kicks my ass every game... *screenshot*


No, it is likely the pushing and retreatment part.
http://www.reddit.com/r/Gladiabots/wiki/players/pier4r_nvidia_shield_k1 -> Gladiabots CHAT, stats, insights and more ;

MrChris
Automaton
Automaton
Posts: 157

Re: My Attack AI

Post#6 » 25 Oct 2017, 18:20

pier4r wrote:
TheGnoo wrote:So this is the monster that kicks my ass every game... *screenshot*


No, it is likely the pushing and retreatment part.


;-)

The ~10 most right nodes are the most important bit of my AI, along with the pushing code in another module. My retreatment is actually pretty poor.
------------------------------------------------
My in-game name is MrChris

Creator of the unofficial Gladiabots stats page: https://gladiabots-stats.info.tm/mrchris
And the Gladiabots retreatment simulator: https://cmrichards.github.io/glad_simulation

Kate.almonicar
Script
Script
Posts: 13

Re: My Attack AI

Post#7 » 27 Oct 2017, 06:51

The FCK! I fought u once I'm scare of ur rank and now u show us ur ai !!!!! U totally blow me up

Damn to many node

sollniss
Automaton
Automaton
Posts: 164

Re: My Attack AI

Post#8 » 27 Oct 2017, 10:31

SwitchToSniper, 2nd knot, 4th node does nothing.

MrChris
Automaton
Automaton
Posts: 157

Re: My Attack AI

Post#9 » 29 Oct 2017, 02:04

sollniss wrote:SwitchToSniper, 2nd knot, 4th node does nothing.


What does 2nd knot mean?
------------------------------------------------
My in-game name is MrChris

Creator of the unofficial Gladiabots stats page: https://gladiabots-stats.info.tm/mrchris
And the Gladiabots retreatment simulator: https://cmrichards.github.io/glad_simulation

mcompany
Autonomous Entity
Autonomous Entity
Posts: 865

Re: My Attack AI

Post#10 » 29 Oct 2017, 05:31

MrChris wrote:
sollniss wrote:SwitchToSniper, 2nd knot, 4th node does nothing.


What does 2nd knot mean?

Second group of nodes under that section

MrChris
Automaton
Automaton
Posts: 157

Re: My Attack AI

Post#11 » 29 Oct 2017, 13:12

sollniss wrote:SwitchToSniper, 2nd knot, 4th node does nothing.


Sure, there are a few of them in there. They are just testing nodes
------------------------------------------------
My in-game name is MrChris

Creator of the unofficial Gladiabots stats page: https://gladiabots-stats.info.tm/mrchris
And the Gladiabots retreatment simulator: https://cmrichards.github.io/glad_simulation

User avatar
Ritter Runkel
Neural Network
Neural Network
Posts: 482

Re: My Attack AI

Post#12 » 30 Oct 2017, 23:57

MrChris wrote:The ~10 most right nodes are the most important bit of my AI, along with the pushing code in another module. My retreatment is actually pretty poor.


I tried to see the magic on this ten nodes, I can't. What makes the long long switch so special?

:ugeek:

MrChris
Automaton
Automaton
Posts: 157

Re: My Attack AI

Post#13 » 31 Oct 2017, 11:38

> I tried to see the magic on this ten nodes, I can't

It's basically only attacking people that are attacking or being attacked, otherwise, my unit will push. You probably already do that, but before my new AI I didn't care what the unit was doing and only looked at their health/shield.

I wasn't referring to the long long switch with the ~10 nodes statement, and there is nothing special about that. That bit of my AI needs more work.
------------------------------------------------
My in-game name is MrChris

Creator of the unofficial Gladiabots stats page: https://gladiabots-stats.info.tm/mrchris
And the Gladiabots retreatment simulator: https://cmrichards.github.io/glad_simulation

User avatar
Ritter Runkel
Neural Network
Neural Network
Posts: 482

Re: My Attack AI

Post#14 » 31 Oct 2017, 12:50

MrChris wrote:> I tried to see the magic on this ten nodes, I can't

It's basically only attacking people that are attacking or being attacked, otherwise, my unit will push. You probably already do that, but before my new AI I didn't care what the unit was doing and only looked at their health/shield.


:) Now I understand. Yes, that makes a big difference

Return to “Strategies”

Who is online

Users browsing this forum: No registered users and 1 guest