If you still can't understand what it exactly means, it's the perfect opportunity to ask on discord. By saying that the bots are desynced, you should know that each bot starts functioning on a different turn and goes through it's ai every tick after it starts functioning. To be more specific the game works in turns (.025 sec or 1/10th of a tick). Depending on your ai, the bot can continue the action it is was doing or switch to a different action/target.Ī small detail that should be mentioned is that your bots are desynced. After the tick is over, the bot will go through it's ai from the start to see what it should do next. Once a bot has actually encountered an action node to execute, it will execute whatever action for a duration of a tick (.25 sec) with the exception of tag and counter nodes as they don't stop ai evaluation. Most of the time, beginner's ais don't work because they got their priorities wrong even though you have to determine what priority every single node has when you place it-no matter how experienced you are. Please do not mix your priorities such as moving before attacking or capturing a resource before scoring a resource because your bot will fail to function the way you want it to. If you want to prioritize attacking bots at close range over attacking bots in other ranges, the second node will have a higher priority so you would place it to the left of the first node. For example you might have an action node to attack (closest enemy not out of range from me AND attacked by me) and an action node to attack (closest enemy bot at short range from me). Because of that you want to place nodes with higher priority to the left (farther clockwise) of nodes with lower priority. The leftmost nodes get checked first while the rightmost nodes get checked last, naturally making a level of priority for each node depending on it's position. A bot will go through it's ai counterclockwise checking for what it should do. If you have any questions feel free to ask away (preferably on discord, as it's where the Gladiabots community is most active).įirstly I want to cover how the ai works as some people still don't understand after doing the tutorial. This guide is intended for those who have finished the tutorial. The information in this guide will provide you with information that can shorten your code and make it more specific to what you want to happen. The drawn to scale representation of what the tags do: If you wollow through the conversation you will see how over 50 condition and action nodes get reduced to 4 nodes. So to make up for the difficulty, I decided to raise your interest level for what the information in this guide can enable you to do: As some that have read this guide told me that it might be a little diffucult to digest.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |