Announcement

Collapse

Forum Rules

  • No flaming or derogatory remarks, directly or through insinuation.
  • No discussion, sharing or referencing illegal software such as hacks, keygen, cracks and pirated software.
  • No offensive contents, including but not limited to, racism, gore or pornography.
  • No excessive spam/meme, i.e. copious one liners in a short period of time, typing with all caps or posting meme responses (text/image).
  • No trolling, including but not limited to, flame incitation, user provocation or false information distribution.
  • No link spamming or signature advertisements for content not specific to Dota 2.
  • No Dota 2 key requests, sell, trade etc.
  • You may not create multiple accounts for any purpose, including ban evasion, unless expressly permitted by a moderator.

  • Please search before posting. One thread per issue. Do not create another thread if there is an existing one already.
  • Before posting anything, make sure you check out all sticky threads (e.g., this). Do not create new threads about closed ones.
  • It is extremely important that you post in correct forum section.

  • Balance discussion only in Misc.
  • All art related (such as hero model) feedbacks go to Art Feedback Forum.
  • All matchmaking feedback should go here: Matchmaking Feedback
  • All report/low priority issues should go here: Commend/Report/Ban Feedback
  • No specific workshop item feedback. These should go to workshop page of that item.
  • When posting in non-bugs section (such as this), use [Bugs], [Discussion] or [Suggestion] prefix in your thread name.



In case you object some action by a moderator, please contact him directly through PM and explain your concerns politely. If you are still unable to resolve the issue, contact an administrator. Do not drag these issues in public.



All rules are meant to augment common sense, please use them when not conflicted with aforementioned policies.
See more
See less

New bot debugging commands

Collapse
This topic is closed.
X
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • New bot debugging commands

    Now that single-player bot games are run on your local machine (as of the 2/28 update), we support a bunch of additional debugging commands! Here's a rundown of what you can do (run all these commands from the console):

    dota_bot_debug_overview_toggle



    This command displays a bunch of information about real-time state of all the bots. It includes the following:
    • current and potential offensive power
    • how "tanky" a unit is
    • what their current location's avoidance value is
    • how much damage they can do to buildings
    • what their current mode is, and its current desire
    • what their current action is, and its target if applicable


    Additionally, it lists:
    • the team-wide desire to push each lane
    • the team-wide desire to to defend a lane
    • the team-wide desire to farm each lane
    • the team-wide desire to do roshan


    dota_bot_select_debug



    This command draws bot debug info specific to the hero under the cursor when the command is run. It displays the real-time desire values for each possible bot mode, along with the current mode and action of the bot in question. It will also draw lines and circles to indicate the target of its current action. This command can be active on multiple bots simultaneously.

    dota_bot_debug_clear

    This command stops the drawing of all bots selected with dota_bot_select_debug. Toggling the bot overview will also do this.

    dota_bot_debug_minimap_cycle

    This command cycles through a number of modes in which debug info is overlaid on the minimap. They are:
    • Avoidance for each team. This shows the areas that they know they want to avoid, and the relative strength of avoidance.


    • Potential locations for each team. This shows a heatmap based on the last known positions of heroes and where they could have pathed do while they are "missing". The longer a hero is missing, the more diffuse their potential position is.


    • Vision for each team. Basically just what each team can currently see.


    • Height for each loation on the map (and its relative danger).


    • Passability, which bots use for pathfinding. It's slightly lower resolution than the game pathfinder for performance reasons.



    dota_bot_debug_grid_cycle

    This command cycles through the same things as dota_bot_debug_minimap_cycle, but draws the values on a grid in the world.

Working...
X