Simple bot: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
No edit summary
Line 1: Line 1:
{{lang|Simple bot}}
{{LanguageBar}}
{{back|NextBot}}
{{Ent not in fgd}}
{{this is a|point entity|name=simple_bot|game=Left 4 Dead|game1=Left 4 Dead 2|game2=Team Fortress 2|game3=Dota 2|game4=Black Mesa}}
{{CD|CSimpleBot|base=NextBotCombatCharacter|file1=simple_bot.cpp|nolink=1}}
{{this is a|point entity|name=simple_bot|game=Counter-Strike: Source|game1=Team Fortress 2|game2=Dota 2|game3=Black Mesa}}
== Entity Description ==
== Entity Description ==
It is a very rudimentary example of a [[NextBot]] entity, displaying the bare minimum required for the AI system to function.  
It is a very rudimentary example of a [[NextBot]] entity, displaying the bare minimum required for the AI system to function.  
Line 10: Line 11:


{{bug|Using <code>simple_bot_add</code> will crash the game immediately in {{tf2|4}}. Use <code>ent_create simple_bot</code> instead.}}
{{bug|Using <code>simple_bot_add</code> will crash the game immediately in {{tf2|4}}. Use <code>ent_create simple_bot</code> instead.}}
== See Also ==
* [[NextBot]]


[[Category:NextBot Entities]]
[[Category:NextBot Entities]]

Revision as of 16:55, 16 September 2024

English (en)Translate (Translate)
Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.
C++ Class hierarchy
CSimpleBot
NextBotCombatCharacter
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity
C++ simple_bot.cpp

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

Entity Description

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.  [todo tested in ?]

See Also