Multi base resource scoring issue

salt1219
Script
Script
Posts: 10

Multi base resource scoring issue

Post#1 » 17 Jan 2018, 10:45

Screenshot_20180117-013747.jpg
Screenshot_20180117-013747.jpg (273.29 KiB) Viewed 451 times

Here's my issue... on the map meeting point, I want my bots to pick the base furthest from the enemy. What they end up doing is stopping in the middle or suiciding at the closest enemy guarded base.

Anyone have some ideas on how to make this work?

salt1219
Script
Script
Posts: 10

Re: Multi base resource scoring issue

Post#2 » 17 Jan 2018, 11:21

Ok I feel stupid, I fixed it using only 2 nodes and no tags.

pier4r
Skynet
Skynet
Posts: 3188

Re: Multi base resource scoring issue

Post#3 » 17 Jan 2018, 22:19

you should explain how for the next user.

I assume you used "keep moving to the base I am moving to"
http://www.reddit.com/r/Gladiabots/wiki/players/pier4r_nvidia_shield_k1 -> Gladiabots CHAT, stats, insights and more ;

salt1219
Script
Script
Posts: 10

Re: Multi base resource scoring issue

Post#4 » 21 Jan 2018, 13:30

pier4r wrote:you should explain how for the next user.

I assume you used "keep moving to the base I am moving to"

Fair enough. I didn't use "keep moving" because I want them to go to a different base when enemies are too close to the closest base. My simple solution ended up being "have ball/flee enemy if base is not short distance away" its not perfect but it did what i wanted it to do.
Edit* i forgot to mention i only have them do that if there is more than one allie base

Jotunn
Script
Script
Posts: 23

Re: Multi base resource scoring issue

Post#5 » 24 Jan 2018, 04:51

That's kinda smart, but only works on certain maps

Return to “Strategies”

Who is online

Users browsing this forum: No registered users and 2 guests