Page 1 of 1

Newbie tagging problems

Posted: 19 Sep 2017, 12:10
by barxxo
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.

Re: Newbie tagging problems

Posted: 19 Sep 2017, 12:58
by pier4r
This is a chance also to test. Does the information here help?
https://wiki.gladiabots.com/index.php?t ... _team_tags

Re: Newbie tagging problems

Posted: 19 Sep 2017, 13:12
by barxxo
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:

Re: Newbie tagging problems

Posted: 19 Sep 2017, 13:15
by TheKidPunisher
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

Re: Newbie tagging problems

Posted: 19 Sep 2017, 13:17
by barxxo
ahhhh..
So at first i have to put all my fighters into the same team?

Re: Newbie tagging problems

Posted: 19 Sep 2017, 13:19
by TheKidPunisher
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

Re: Newbie tagging problems

Posted: 19 Sep 2017, 13:45
by barxxo
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.

Re: Newbie tagging problems

Posted: 19 Sep 2017, 14:07
by TheKidPunisher
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.

Re: Newbie tagging problems

Posted: 19 Sep 2017, 14:29
by barxxo
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

Re: Newbie tagging problems

Posted: 19 Sep 2017, 15:11
by TheKidPunisher
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)

Re: Newbie tagging problems

Posted: 19 Sep 2017, 15:22
by barxxo
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?

Re: Newbie tagging problems

Posted: 19 Sep 2017, 15:27
by TheKidPunisher
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.

Re: Newbie tagging problems

Posted: 19 Sep 2017, 15:28
by TheKidPunisher
And no ennemies cant modify the tags of your team (enemies dont even know if they are tagged and dont see your tags)

Re: Newbie tagging problems

Posted: 19 Sep 2017, 15:29
by Kanishka
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"?

Re: Newbie tagging problems

Posted: 19 Sep 2017, 15:33
by Kanishka
And it'd be great if you joined Telegram

Re: Newbie tagging problems

Posted: 19 Sep 2017, 16:00
by barxxo
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.

Re: Newbie tagging problems

Posted: 19 Sep 2017, 17:00
by TheKidPunisher
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.

Re: Newbie tagging problems

Posted: 27 Sep 2017, 19:29
by Melkor
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.

Re: Newbie tagging problems

Posted: 27 Sep 2017, 19:39
by TheKidPunisher
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

Re: Newbie tagging problems

Posted: 27 Sep 2017, 20:55
by Melkor
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.