simple_bot

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)
Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.
Class hierarchy
CSimpleBot
NextBotCombatCharacter
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity
simple_bot.cpp

simple_bot is an entity available in Counter-Strike: Source Counter-Strike: Source, Team Fortress 2 Team Fortress 2, Dota 2 Dota 2, and Black Mesa Black Mesa.

It is a very rudimentary example of a NextBot entity, displaying the bare minimum required for the AI system to function.

This entity uses the model of a female Citizen - with no animations associated with it - and is unable to be damaged or killed. If the map has a .nav file, the entity will move to random areas when possible.

As an alternative to using ent_create for spawning instances of simple_bot, the cheat command simple_bot_add will instantly create the entity wherever your crosshair aims at.

Icon-Bug.pngBug*:Using simple_bot_add will crash the game immediately in Team Fortress 2 Team Fortress 2. Use ent_create simple_bot instead.

See Also