Difference between revisions of "Tags and team tags"

From Gladiabots Wiki
Jump to: navigation, search
m (Programming Tags)
Line 1: Line 1:
 +
== Basics ==
 +
 
Tags are single-character marks placed on objects on the Gladiabots Arena, such as:
 
Tags are single-character marks placed on objects on the Gladiabots Arena, such as:
 
* Myself
 
* Myself
Line 7: Line 9:
 
* Resources
 
* Resources
  
== Tags ==
+
=== Tags ===
  
 
Tags (previously known as Bot Tags) exist as numerals, the numbers 1 through 5. They can be detected only by the bot which placed the Tag.
 
Tags (previously known as Bot Tags) exist as numerals, the numbers 1 through 5. They can be detected only by the bot which placed the Tag.
  
== Team Tags ==
+
=== Team Tags ===
  
 
Team Tags exist as alphabets, the letters A through E. They can be detected by all bots which are in the same team as the bot which placed the Team tag.
 
Team Tags exist as alphabets, the letters A through E. They can be detected by all bots which are in the same team as the bot which placed the Team tag.
Line 22: Line 24:
 
* It is possible to place multiple Tags on the same target, the order does not matter.
 
* It is possible to place multiple Tags on the same target, the order does not matter.
 
* Tags cost ticks, so it is advisable to try and minimize Tag usage. For example to continuously attack one bot it is preferred to use Action Filters.
 
* Tags cost ticks, so it is advisable to try and minimize Tag usage. For example to continuously attack one bot it is preferred to use Action Filters.
* Tags can be used for focus fire, counting of bots or resources and timing actions.
+
* Tags can be used for focus fire, counting of bots or resources and timing actions. They can also be used for more complex choreography.
 +
* 2 bots of the same team trying to exclusive Tag 2 different targets can start off an endless loop.
 +
 
 +
== Examples using Tags ==
 +
 
 +
=== Map SET YOUR PRIORITIES ===
  
Tagging the Resource in the Centre can help secure a 3-2 Score.
+
Tagging the resource in the center can help secure a 3-2 score.
  
 
<youtube>Xb2RUgQyRjE</youtube>
 
<youtube>Xb2RUgQyRjE</youtube>
 +
 +
=== Dance choreography ===
  
 
They can also be used for more complex choreography, such as:
 
They can also be used for more complex choreography, such as:
Line 32: Line 41:
 
<youtube>Gapw3UPxKUI</youtube>
 
<youtube>Gapw3UPxKUI</youtube>
  
Here the Bots are moving to the Ally that's tagged with the <i>next</i> letter in series, i.e., A > B > C > D > E > A. At the same time, they are fleeing from the Bot that's tagged with the <i>previous</i> letter in series. They are also fleeing from the AllyBase to prevent clumping up.
+
Here the bots are moving to the allied bot that's tagged with the ''next'' letter in series, i.e., A > B > C > D > E > A. At the same time, they are fleeing from the Bot that's tagged with the ''previous'' letter in series. They are also fleeing from the allied base to prevent clumping up.
 
+
* 2 bots of the same team trying to exclusive Tag 2 different targets can start off an endless loop.
+

Revision as of 20:09, 7 September 2017

Basics

Tags are single-character marks placed on objects on the Gladiabots Arena, such as:

  • Myself
  • Allies
  • Enemies
  • Allied bases
  • Enemy bases
  • Resources

Tags

Tags (previously known as Bot Tags) exist as numerals, the numbers 1 through 5. They can be detected only by the bot which placed the Tag.

Team Tags

Team Tags exist as alphabets, the letters A through E. They can be detected by all bots which are in the same team as the bot which placed the Team tag.

Programming Tags

Tags take 1 tick to place or to remove. Exclusive tagging is a special action that removes all other instances of the same Tag, and Tags the new target, all in one tick. Other bots detect the bot doing the tagging, exclusive tagging or untagging as idle in the next tick.

Remarks:

  • It is possible to place multiple Tags on the same target, the order does not matter.
  • Tags cost ticks, so it is advisable to try and minimize Tag usage. For example to continuously attack one bot it is preferred to use Action Filters.
  • Tags can be used for focus fire, counting of bots or resources and timing actions. They can also be used for more complex choreography.
  • 2 bots of the same team trying to exclusive Tag 2 different targets can start off an endless loop.

Examples using Tags

Map SET YOUR PRIORITIES

Tagging the resource in the center can help secure a 3-2 score.

Dance choreography

They can also be used for more complex choreography, such as:

Here the bots are moving to the allied bot that's tagged with the next letter in series, i.e., A > B > C > D > E > A. At the same time, they are fleeing from the Bot that's tagged with the previous letter in series. They are also fleeing from the allied base to prevent clumping up.