Simple bot: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Classifying as model entity)
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{lang|Simple bot}}
{{LanguageBar}}
{{back|NextBot}}
{{Ent not in fgd}}
<code>'''simple_bot'''</code> is a [[point entity]] available in several {{src|4}} games.
{{CD|CSimpleBot|base=NextBotCombatCharacter|file1=simple_bot.cpp|nolink=1}}
{{This is a|model entity|name=simple_bot|game=Counter-Strike: Source|game1=Team Fortress 2|game2=Dota 2|game3=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.  
It is a very rudimentary example of a [[NextBot]] entity, displaying the bare minimum required for the AI system to function.  


Line 10: Line 10:
As an alternative to using {{ent|ent_create}} for spawning instances of simple_bot, the [[cheat]] command <code>'''simple_bot_add'''</code> will instantly create the entity wherever your crosshair aims at.
As an alternative to using {{ent|ent_create}} for spawning instances of simple_bot, the [[cheat]] command <code>'''simple_bot_add'''</code> will instantly create the entity wherever your crosshair aims at.


{{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]]

Latest revision as of 04:34, 19 May 2025

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 model 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