Newbie tagging problems

barxxo
Script
Script
Posts: 12

Newbie tagging problems

Post#1 » 19 Sep 2017, 12:10

Hi all,
bought this game yesterday. Its very interesting.
But i struggle with this tagging mechanism.

I made a soldier sub-ai for approaching and attacking nearest enemy that has a tag.
I have 3 fighters that have soldier-ai and i have one boss, that has soldier-ai and in addition he tags an enemy when there is no tagged enemy.
What is weired now is: The boss taggs an enemy and then works as soldier. But the other fighters think, there is no tagged enemy
Why is that?
Both of them, Boss and Fighters have the same soldier-sub-ai but only the bosses soldier-ai sees the tagged enemy.
Apologies if my english may be confusing :-), i am from germany.

pier4r
Skynet
Skynet
Posts: 3377

Re: Newbie tagging problems

Post#2 » 19 Sep 2017, 12:58

This is a chance also to test. Does the information here help?
https://wiki.gladiabots.com/index.php?t ... _team_tags
http://www.reddit.com/r/Gladiabots/wiki/players/pier4r_nvidia_shield_k1 -> Gladiabots CHAT, stats, insights and more ;

barxxo
Script
Script
Posts: 12

Re: Newbie tagging problems

Post#3 » 19 Sep 2017, 13:12

So if one fighter taggs an enemy no one else can see that?
What i try to do is to force all my fighters to attack the same enemy.
Sorry if my questions are stupeed. Have a hard time to figure out how this game works :roll: :oops:
Last edited by barxxo on 19 Sep 2017, 13:16, edited 1 time in total.

TheKidPunisher
Autonomous Entity
Autonomous Entity
Posts: 563

Re: Newbie tagging problems

Post#4 » 19 Sep 2017, 13:15

Tag are only for the bot who use it (tag 1 to 5)
TEAMTAG are used by all your bots (tag A to E)

So in your case you have to use teamtag, so yours soldiers will see the tags your boss put on ennemies

barxxo
Script
Script
Posts: 12

Re: Newbie tagging problems

Post#5 » 19 Sep 2017, 13:17

ahhhh..
So at first i have to put all my fighters into the same team?

TheKidPunisher
Autonomous Entity
Autonomous Entity
Posts: 563

Re: Newbie tagging problems

Post#6 » 19 Sep 2017, 13:19

No your boss have to teamtag an ennemy and yours fighters to look at if an ennemy is teamtagged. (Not only tag)

So you can have one boss and all other bot as fighters

barxxo
Script
Script
Posts: 12

Re: Newbie tagging problems

Post#7 » 19 Sep 2017, 13:45

For the start.. thank you for help.
I always considered visual programming to be easier than just using text.
For now it seems to be the other way round
This teamtag-thing confuses me but i keep trying.

TheKidPunisher
Autonomous Entity
Autonomous Entity
Posts: 563

Re: Newbie tagging problems

Post#8 » 19 Sep 2017, 14:07

I will try another approach:
Think that teamtags are marks that can be read, or modified by all bots,

And tags are the marks specific to the bot who use it.

Try this (you will maybe more understand)
Create 2 ai: one tag an ennemy 1 the other teamtag an enemy A. Then for both AI put 2 condition node (in parallel not in series): one check if an enemy tagged 1 exist and the other if an enemy teamtagged A exist.

Then go in test mode and play on 1v2 map
Put an idle AI on the alone bot and your 2 AI on the 2 others bots.

At end, pkay the match and look at the 2 bots (by clicking on them). You will see that taggs appeared on the alone bot «1 and A» for one and only A for the other. And normally their AI (the 2 conditions) will have a difference.

barxxo
Script
Script
Posts: 12

Re: Newbie tagging problems

Post#9 » 19 Sep 2017, 14:29

Thank you.
What i didn't know but just found out: Actions you can select from change according to the conditions i made before. This confused me.

EDIT:
Yisss...
I was able to finish first practice level thanks to your help. :D :D :D

TheKidPunisher
Autonomous Entity
Autonomous Entity
Posts: 563

Re: Newbie tagging problems

Post#10 » 19 Sep 2017, 15:11

Do not hesitate if you have other question (you can also go on the discord chat there is more activity than here)

Hope to see you in PvP mode (ranked, freeplay or private matches)

barxxo
Script
Script
Posts: 12

Re: Newbie tagging problems

Post#11 » 19 Sep 2017, 15:22

I have another one...
My boss is ordered only to team-tag an enemy if there isnt any other enemy already tagged. But my boss suddenly switches over to another enemy and team-tags it.
Why could that be?
Enemy can remove tags maybe?

TheKidPunisher
Autonomous Entity
Autonomous Entity
Posts: 563

Re: Newbie tagging problems

Post#12 » 19 Sep 2017, 15:27

I think i see the problem but can you put a screen of your tagging system in th AI of your boss?
It may help me to help you.

TheKidPunisher
Autonomous Entity
Autonomous Entity
Posts: 563

Re: Newbie tagging problems

Post#13 » 19 Sep 2017, 15:28

And no ennemies cant modify the tags of your team (enemies dont even know if they are tagged and dont see your tags)

User avatar
Kanishka
Skynet
Skynet
Posts: 1420
Contact:

Re: Newbie tagging problems

Post#14 » 19 Sep 2017, 15:29

barxxo wrote:I have another one...
My boss is ordered only to team-tag an enemy if there isnt any other enemy already tagged. But my boss suddenly switches over to another enemy and team-tags it.
Why could that be?
Enemy can remove tags maybe?


Can you share how you're checking for the "if there isnt any other enemy already tagged"?
Fixes break an AI more than bugs do. :ugeek:

Gladiabots Off-Topic Chat


My Stats: Kanishka_RN3;Kanishka_MiPad

User avatar
Kanishka
Skynet
Skynet
Posts: 1420
Contact:

Re: Newbie tagging problems

Post#15 » 19 Sep 2017, 15:33

And it'd be great if you joined Telegram
Fixes break an AI more than bugs do. :ugeek:

Gladiabots Off-Topic Chat


My Stats: Kanishka_RN3;Kanishka_MiPad

barxxo
Script
Script
Posts: 12

Re: Newbie tagging problems

Post#16 » 19 Sep 2017, 16:00

Ooops i just deleted that boss and want to start from scratch. SORRY!
Therefore unfortunately no screenshots.
I made an Telegram- account. Name is Dirk.

TheKidPunisher
Autonomous Entity
Autonomous Entity
Posts: 563

Re: Newbie tagging problems

Post#17 » 19 Sep 2017, 17:00

Ok no problem, me for example i use a cobdition node to stop teamtagging;

If any enemy teamtagged A exist (invert) then TeamTag A the closest enemy.

So the first time, there is not ennemy teamtag A so condition is true and my bot teamtag A an ennemy and the second time the condition i false cause now there is a enemy teamtagged A and my bot do not continue to teamtag A ennemy.

Melkor
Script
Script
Posts: 24

Re: Newbie tagging problems

Post#18 » 27 Sep 2017, 19:29

barxxo wrote:I have another one...
My boss is ordered only to team-tag an enemy if there isnt any other enemy already tagged. But my boss suddenly switches over to another enemy and team-tags it.
Why could that be?
Enemy can remove tags maybe?


What I do is have a condition loop that checks if there is a tagged enemy in short or medium (or long for mg and sniper) range. If there is, then the bot attacks that enemy. If not, then it goes to the targeting subroutine, and tags the enemy that it selects as the best target. That way, my bots only switch enemies if they have to. I just got promoted to master league, so it can't work too terribly.

EDIT:I forgot to say how I make it tag enemies. Basically, I have a node that simply tags any enemy that I am attacking. Like this

If:I am attacking an enemy

tag any enemy that is attacked by me

and then

attack tagged enemy at short/medium/long range.
Last edited by Melkor on 27 Sep 2017, 20:54, edited 1 time in total.

TheKidPunisher
Autonomous Entity
Autonomous Entity
Posts: 563

Re: Newbie tagging problems

Post#19 » 27 Sep 2017, 19:39

It did not havr a problem for focus fire or select a target. He had a problem that his tagger bot wont stop to tag ^^

Anyway your method can help him to think how to work with tags.and gg for your promotion. Maybe wee will match against one day

Melkor
Script
Script
Posts: 24

Re: Newbie tagging problems

Post#20 » 27 Sep 2017, 20:55

TheKidPunisher wrote:It did not havr a problem for focus fire or select a target. He had a problem that his tagger bot wont stop to tag ^^

Anyway your method can help him to think how to work with tags.and gg for your promotion. Maybe wee will match against one day


I've edited my post.

Return to “Questions”

Who is online

Users browsing this forum: No registered users and 1 guest