Bot: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Tested LOS blockers for css/csgo. Added an exception note about bothandle.GetClassname() in csgo. If there are more exceptions, it might be a good idea to make more columns, distinguishing I/O and VScript.)
(Used game templates directly. cs_bots with a targetname turn into players.)
Line 2: Line 2:
{{stub}}
{{stub}}


A '''bot''' (short for robot) is similar to an [[NPC]] in a multiplayer game, usually designed to behave like a human-controlled [[player]]. An example is the {{game name|css|name=Counter-Strike: Source}} bot.
A '''bot''' (short for robot) is similar to an [[NPC]] in a multiplayer game, usually designed to behave like a human-controlled [[player]]. An example is the {{css|4}} bot.


== Long Version ==
== Long Version ==
Line 11: Line 11:
== Bot Classes and Properties ==
== Bot Classes and Properties ==


{| border="2" cellpadding="5"
{| border="2" cellpadding="5" style=margin:1em
|- style="background:#404040;"
|- style="background:#404040;"
! Bot Class
! Bot Class
Line 20: Line 20:
|-
|-
|rowspan=2| [[cs_bot]]
|rowspan=2| [[cs_bot]]
| {{game name|css|name=Counter-Strike: Source}}
| {{css|4}}
| player
| player
| {{yes}}
| {{yes}}
| {{no}}
| {{no}}
|-
|-
| {{game name|csgo|name=Counter-Strike: Global Offensive}}
| {{csgo|4}}
| [[cs_bot]]<sup>1</sup>
| [[cs_bot]]<sup>1</sup>
| {{yes}}
| {{yes}}
Line 31: Line 31:
|-
|-
| [[survivor_bot]]
| [[survivor_bot]]
| {{game name|l4d|name=Left 4 Dead}}<br>{{game name|l4d2|name=Left 4 Dead 2}}
| {{l4d|4}}<br>{{l4d2|4}}
| player
| player
| {{no}}
| {{no}}
Line 37: Line 37:
|-
|-
| [[tf_bot]]
| [[tf_bot]]
| {{game name|tf2|name=Team Fortress 2}}
| {{tf2|4}}
| player
| player
| {{no}}
| {{no}}
| {{no}}
| {{no}}
|}
|}
<small><sup>1</sup> Exception: In VScript, if <code>bot</code> is the handle of a bot, then <code>bot.[[List_of_Counter-Strike:_Global_Offensive_Script_Functions#Methods|GetClassname]]()</code> delivers <code>"player"</code>.</small>
{{inline note|name=1|In VScript, if <code>bot</code> is the handle of a cs_bot, then <code>bot.[[List of CS:GO Script Functions#Methods|GetClassname]]()</code> always delivers <code>"player"</code>.<br>If a cs_bot receives a {{ent|targetname}}, it turns into a <code>player</code>.}}


==See also==
==See also==

Revision as of 18:00, 12 May 2022

English (en)Deutsch (de)Translate (Translate)

Stub

This article or section is a stub. You can help by expanding it.

A bot (short for robot) is similar to an NPC in a multiplayer game, usually designed to behave like a human-controlled player. An example is the Counter-Strike: Source Counter-Strike: Source bot.

Long Version

Given the team-based competitive nature behind many first-person shooters, a player who plays offline games, presumably limited or no internet access, will be missing out a huge portion of the game. To remedy this, these games usually come with bots, which are NPCs that behave like a human player.

Another distinct definition of bot is that of a computer program which is commonly designed to perform monotonous or hard-to-achieve tasks such as "farming" and raising levels in RPG-type games. As a result, most RPG games have banned them from use because it is considered cheating. In FPS games this type of bot is also known to be a form of cheating. It helps players achieve better scores by improving their aim and reflexes which, in the extreme case, are completely controlled by the bot software.

Bot Classes and Properties

Bot Class Game Target Class
for I/O, VScript
Is solid to
NPC clip?
Affected by
LOS Blockers?
cs_bot Counter-Strike: Source Counter-Strike: Source player Yes No
Counter-Strike: Global Offensive Counter-Strike: Global Offensive cs_bot1 Yes Yes
survivor_bot Left 4 Dead Left 4 Dead
Left 4 Dead 2 Left 4 Dead 2
player No Yes
tf_bot Team Fortress 2 Team Fortress 2 player No No
1: In VScript, if bot is the handle of a cs_bot, then bot.GetClassname() always delivers "player".
If a cs_bot receives a targetname, it turns into a player.

See also

External links