Left 4 Dead 2:nb debug--SurvivorBot

From Valve Developer Community
Jump to navigation Jump to search
Merge-arrows.png
It has been suggested that this article or section be merged with nb_debug. (Discuss)

In Left 4 Dead 2, the nb_debug command in the console is used to debug various internal systems of NextBots (or NextBotPlayers) in the game, with relevant debugging information displayed on the game screen and in the console. NextBots include Survivor Bots, Special Infected Bots, and Common Infected. The nb_debug command offers the following debugging options:

Note.pngNote:If the nb_debug_filter command is not used in advance, the nb_debug command will output the debug information of all NextBots to both the game screen and the console in an unfiltered, bulk manner. To debug only the SurvivorBots, it is recommended that you learn how to use the nb_debug_filter command before getting started.
  • BEHAVIOR(The article will be updated soon)
  • LOOK_AT(The article will be updated soon)
  • PATH(The article will be updated soon)
  • ANIMATION(The article will be updated soon)
  • LOCOMOTION(The article will be updated soon)
  • VISION
  • HEARING(The article will be updated soon)
  • EVENTS(The article will be updated soon)
  • ERRORS

This article focuses on the debugging of Survivor Bots. Even though its primary function is to assist internal developers with debugging, most of its debugging options remain useful for Survivor Bot Mod creators, Hammer map makers, and players interested in Survivor Bots. If you fall into one of these categories—Survivor Bot Mod creator, Hammer map maker, or enthusiast of Survivor Bots—let's get started!