Difference between revisions of "Bots"

From Team Fortress Wiki
Jump to: navigation, search
(not trivia is not trivia)
(I've translated about 70% of text from English to Polish. I DON'T USE ANY TRANSLATOR. I'll translate rest od the text tommorow.)
Line 1: Line 1:
[[Image:Tr_dustbowl0003.jpg|right|thumb|300px|A [[Soldier]] bot in action on the [[Dustbowl (Training)|Dustbowl Training]] map.]]
+
[[Image:Tr_dustbowl0003.jpg|right|thumb|300px|Bot Żołnierza(Solider) na mapie [[Dustbowl (Trening)|Trening Na Dustbowl]] ]]
{{Quotation|'''Heavy Bot''' on self-realization|My fists! They are made of STEEL!|sound=Heavy_specialweapon01.wav}}
+
{{Quotation|'''Bot Grubego''' podczas samorealizacji.|Moje pięści! Są zrobione ze stali!|sound=Heavy_specialweapon01.wav}}
  
There are two types of '''bots''' in TF2: AI Bots and Puppet Bots. AI Bots are coded with sophisticated artificial intelligence designed to emulate player actions in game. Puppet Bots have no AI coding, but are useful for testing and training. They require the server to have [[Cheats]] enabled, which also disables Achievements.
 
  
==AI Bots==
+
Są dwa typy botów w TF2: AI Bots i Puppet Bots. Boty AI mają zakodowaną sztuczną inteligencję zaprojektowaną do naśladowania zachowań graczy w grze. Buppet Bots nie posiadają Sztucznej inteligencji, ale są za to przydatne do testów i treningów. Wymagają serwera z włączonymi cheatami oraz wyłączonymi osiągnięciami (achievements).
AI Bots are designed to emulate human players and are not directly controlled. Additionally, their classes are chosen at random. They use sophisticated AI code, based on the PlayerBot and Infected AI featured in the Left 4 Dead series.<ref>[http://teamfortress.com/post.php?id=3279 Team Fortress Official Blog - Erectin a dispenser]</ref> AI Bots do not require the server to have cheats enabled; therefore, achievements are enabled while playing with them.
 
  
AI Bots can be indirectly controlled to an extent:
+
Spis treści
* Any friendly bot that you place your crosshair over during [[Setup time]] will taunt.
 
* A [[Medic]] bot will heal you if you press the, "Medic!" [[Voice commands|voice command]].
 
* If a Medic bot is healing you and has an [[ÜberCharge]] ready, using the voice commands, "Go go go!" or, "Activate Charge!" will cause the bot to activate his ÜberCharge.
 
  
===Current AI Bot Status=== 
+
    * 1 Boty AI
AI Bots are in beta testing and will become more sophisticated as they are updated. Currently, not all classes have proper AI support, a good example being the [[Spy]]. Spy bots will run away from the player or other enemies if they are approached while facing them and will never use their [[Cloak]]. Bots can only play as a Spy in [[List of game modes#Highlander|Highlander mode]], by typing ''"tf_bot_force_class Spy"'' into the [http://developer.valvesoftware.com/wiki/Developer_Console console], or by setting class restrictions with a third party program.  
+
          o 1.1 Obecny status botów AI
AI Bots only work properly for most official [[King of the Hill]] maps, some [[Payload]] maps, [[Dustbowl]], and [[Mann Manor]] (bots can only be added by using the tf_bot_add command). The use of AI Bots on non-supported maps is possible by following certain steps; however, they will not emulate human players as well.
+
                + 1.1.1 Używanie botów na nieobsługiwanej mapie.
 +
                + 1.1.2 Zachowanie botów AI
 +
          o 1.2 Komendy do botów
 +
    * 2 Puppet Bots
 +
          o 2.1 Komendy do "Puppet Bots"
 +
          o 2.2 Imiona botów
 +
    * 3 Referencje
  
''Note: A [http://forums.steampowered.com/forums/showthread.php?t=1264447 pack of pre-made bot meshes] has been compiled for many popular maps.''
+
Boty AI
  
====Using Bots on Unsupported Maps====
+
Boty AI są stworzone po to, aby naśladować ludzkich graczy i nie są bezpośrednio kontrolowane. Dodatkowo ich klasy są wybierane losowo. Używają wyrafinowanego kodu AI AI code, w oparciu o PlayerBot oraz infected AI występującym w serii Left 4 Dead.
# Type "sv_cheats 1" in console
+
[1] Boty AI nie wymagają serwera z włączonymi oszustwami (cheats) w związku z tym Osiągnięcia są dostępne podczas gry z nimi.
# Type "nav_generate" in console
 
# Wait while the game generates AI paths
 
# Map will reload (navigation has been saved and the previous step doesn't need to be repeated)
 
# Open console and type ''"tf_bot_add <number>"'' as above
 
  
''Note: Bots do not work on [[Capture the Flag]] maps, even if the above tutorial is followed.''
+
Boty mogą być kontrolowane bezpośrednio w zakresie:
  
====AI Bot Behavior====
+
    * Każdy przyjazne Bot na którego najedziesz celownikiem podczas "Setupa" będzie Tauntować (eng. wyśmiewać)
* Bots currently can not use or equip unlockable content, including: non-standard [[Weapons]], [[Hats]], or [[Miscellaneous items]].
+
    * Bot-Medyk będzie Cię leczyć gdy go zawolasz ( domyślnie klawisz E)
* Bots currently can not [[Jumping|jump]], [[Rocketjump#Rocket jumps|rocket jump]] or [[Stickyjump#Sticky jumps|sticky jump]].
+
    * Gdy Bot-Medyk Cię leczy i ma gotowy ładunek ÜberCharge używając komendy głowowej "Go go go!" lub "Activate Charge!" spowoduje aktywację ÜberCharge.
* If a bot kills a player, they roll a chance to taunt immediately after and if it succeeds, they will taunt even if they are under enemy fire.
 
* When a bot sees a disguised enemy Spy, it will watch the Spy's movement. The bot will not attack the disguised Spy unless the Spy attacks or bumps into one of the bots.
 
* Pyro bots will use the [[Compression blast]] against projectiles regularly.
 
  
===AI Bot Commands===
+
Obecny status botów AI.
To use AI bots on supported maps, the server administrator should type the following commands into the console:
+
 
 +
Boty AI są w fazie testów (BETA), będą bardziej "sprywni" gdy zrobisz Update. Obecnie nie wszyskie klasy mają wsparcie AI - na przykład Szpieg. Bot-Szpieg ucieka od gracza jeżeli zostanie zauważony i nigdy nie używają kamuflażu(cloak).
 +
Boty mogą grać jako szpieg w trybie Highlander, poprzez wpisanie "tf_bot_force_class Spy" w konsoli lub poprzez użycie innego programu. Boty AI działają poprawnie tylko na większości oficjalnych map King of the Hill, Payload, Dustbowl i Mann Manor (Boty mogą tylko być dodane poprzez komędę "tf_bot_add". Używanie Botów na niewspomaganych mapach jest możliwe po wykonaniu poniższych czynności; lecz nie będą dobrze "udawać" ludzkiego gracza tak dobrze.
 +
 
 +
PS: Gotowa [http://forums.steampowered.com/forums/showthread.php?t=1264447 paczka botów] jest dostępna dla wielu popularnych map.
 +
 
 +
Używanie botów na niewspomaganej mapie.
 +
 
 +
  1. Wpisz "sv_cheats 1" w konsoli.
 +
  2. Wpisz "nav_generate"
 +
  3. Poczekaj dopóki gra nie stworzy "Ścierzek AI"
 +
  4. Mapa się przeładuje, powyższe czynności nie będą musiały być wykonywane ponownie.
 +
  5. Włącz konsole i wpisz "tf_bot_add <ilość>"
 +
Note: Boty nie działają na mapach typu CTF(Zabierz Flage), nawet gdy powyższe kroki zostaną wykonane poprawnie.
 +
 
 +
Zachowanie botów.
 +
 
 +
    * Boty nie mogą obecnie użyć zawartości odblokowywanej - bronie, czapki etc.
 +
    * Boty aktualnie nie potrafią skakać.
 +
    * Gdy bot zabije gracza to losuje czy ma go "wyśmiać"(taunt), Bot będzie wyśmiewać gracza nawet podczas ostrzału.
 +
    * Gdy bot zobaczy ukrytego wrogiego Szpiega to będzie oglądać jego ruchy. Bot niezaatakuje ukrytego szpiega dopóki Szpieg nie zaatakuje, albo nie wpadnie na wrogiego Bota.
 +
    * Boty Pyro będą regularnie używać Strumienia Sprężonego Powietrza (Compression blast) przeciwko pociskami (rakiety).
 +
 
 +
 
 +
 
 +
 
 +
Komendy do Botów.
 +
 
 +
Żeby używać botów na obsługiwanych mapach, administrator serwera musi wpisać te komendy w konsoli:
  
 
{| class="wikitable grid"
 
{| class="wikitable grid"
Line 42: Line 64:
 
|-
 
|-
 
|{{nw|<big>'''tf_bot_add'''</big>}}
 
|{{nw|<big>'''tf_bot_add'''</big>}}
|This command will create one or more AI bots of random classes on random teams. They will also be assigned amusing human-like names.
+
|To polecenie stworzy dodatkowego bota losowej klasy oraz drużyny. Zostanie mu dodany nick.
  
;Syntax: <code>tf_bot_add [<''count''>] [<''class''>] [<''team''>] [<''difficulty''>]</code>
+
;Syntax: <code>tf_bot_add [<''ilosc''>] [<''klasa''>] [<''druzyna''>] [<''trudnosc''>]</code>
  
 
;Parameters:
 
;Parameters:
:<code><''count''></code>
+
:<code><''ilosc''></code>
::Specifies the number of bots to spawn.  If omitted, one bot is spawned.
+
::Ustawia ilość botów, które się zrespawnują.
::As of this writing, specifying a number greater than the maximum number of players, including any human players, causes the bots to freeze. Thus if you have a 24 player server (the default), and one human player, do not spawn more than 23 bots.
+
::Jeżeli ustawisz ilość botów większą niż maximum slotów na serwerze spowoduje to, że boty "zamarzną" (freeze). Jeżeli chcesz grać sam z botami ustaw 23.
 
+
:<code><''klasa''></code>
:<code><''class''></code>
+
::Nazwy ''klasa'' klas mogą być następujące: ''[[Demoman]]'', ''[[Engineer]]'', ''[[Heavy]]Weapons'', ''[[Medic]]'', ''[[Pyro]]'', ''[[Scout]]'', ''[[Soldier]]'', ''[[Sniper]]'', lub ''[[Spy]]''
::The ''classname'' of the class can be ''[[Demoman]]'', ''[[Engineer]]'', ''[[Heavy]]Weapons'', ''[[Medic]]'', ''[[Pyro]]'', ''[[Scout]]'', ''[[Soldier]]'', ''[[Sniper]]'', or ''[[Spy]]''
 
  
:<code><''team''></code>
+
:<code><''drużyna''></code>
::Specifies the team name to assign the bot, where ''team'' can be ''[[red]]'' or ''[[blue]]''.
+
::Ustawia drużynę, do której ma dołączyć bot, może to być ''[[red]]'' oraz ''[[blue]]''.
  
:<code><''difficulty></code>
+
:<code><''poziom trudności></code>
::Sets the difficulty level for the bot, where ''difficulty'' can be ''easy'', ''normal'', or ''hard''.
+
::Ustawia poziom trudności. Poziomy trudności są takie: ''easy'', ''normal'', i ''hard''.
  
;Example: <code>tf_bot_add red 3 heavyweapons easy</code> will add three Heavies to the RED team at the easy skill level.
+
;Przykład: <code>tf_bot_add red 3 heavyweapons easy</code> - doda trzech Grubych do drużyne RED z łatwym (easy) poziomem trudności.
 
|-
 
|-
 
|{{nw|<big>'''tf_bot_difficulty'''</big>}}
 
|{{nw|<big>'''tf_bot_difficulty'''</big>}}
|Defines the skill of bots joining the game.  
+
|Ustawia poziom trudności botów włączających się do gry (ich skill)  
  
;Syntax: <code>tf_bot_difficulty <''level''></code>
+
;Syntax: <code>tf_bot_difficulty <''poziom''></code>
  
 
;Parameters:
 
;Parameters:
 
:<code><''level''></code>
 
:<code><''level''></code>
::Sets the difficulty level for the bots. Values are: 0=easy, 1=normal, 2=hard, 3=expert. Default is "Normal" (1).
+
::Ustawia poziom trudności Botów - tak jak wyżj tylko wykorzystuje się cyfry. Można użyć następujących: 0=easy, 1=normal, 2=hard, 3=expert. Domyślne to "Normal" (1).
  
;Example: <code>tf_bot_difficulty 2</code> will set all bots created after this command to "Hard" difficulty.
+
;Przykład: <code>tf_bot_difficulty 2</code> - wszystkie zrespawnowane boty po użyciu tej komendy będą miały poziom trudności "Hard".
 
|-
 
|-
 
|{{nw|<big>'''tf_bot_force_class'''</big>}}
 
|{{nw|<big>'''tf_bot_force_class'''</big>}}
|If set to a class name, all TFBots will respawn as that class.
+
|Ta komęda ustawia klasę '''wszystkim''' botom.
  
 
;Syntax: <code>tf_bot_force_class <''class''></code>
 
;Syntax: <code>tf_bot_force_class <''class''></code>
  
;Parameters:
+
;Parametry:
:<code><''class''></code>
+
:<code><''klasa''></code>
::The ''classname'' of the class can be ''[[Demoman]]'', ''[[Engineer]]'', ''[[Heavy]]Weapons'', ''[[Medic]]'', ''[[Pyro]]'', ''[[Scout]]'', ''[[Soldier]]'', ''[[Sniper]]'', or ''[[Spy]]''. Default is "" (aka blank).
+
::Ustawia klasę, klasy są następujące: ''[[Demoman]]'', ''[[Engineer]]'', ''[[Heavy]]Weapons'', ''[[Medic]]'', ''[[Pyro]]'', ''[[Scout]]'', ''[[Soldier]]'', ''[[Sniper]]'', lub ''[[Spy]]''. Domyślne to "" (blank).
  
;Example: <code>tf_bot_force_class medic</code> will make all TFbots respawn as Medic.
+
;Przykład: <code>tf_bot_force_class medic</code> Wszystkie boty zrespią się jako Medycy.
 
|-
 
|-
 
|{{nw|<big>'''tf_bot_join_after_player'''</big>}}
 
|{{nw|<big>'''tf_bot_join_after_player'''</big>}}
|If nonzero, bots wait until a player joins before entering the game.
+
|Jeżeli liczba nie jest zerem to boty poczekają z wejściem do gry dopóki Gracz nie zacznie grać.
  
 
;Syntax: <code>tf_bot_join_after_player <''integer''></code>
 
;Syntax: <code>tf_bot_join_after_player <''integer''></code>
  
;Parameters:
+
;Parametry:
 
:<code><''integer''></code>
 
:<code><''integer''></code>
::Either 1 or 0. Default is 1 (enabled).
+
::Wybierz od 0 do 1 (domyślne to 1)
  
;Example: <code>tf_bot_join_after_player 0</code> will make TFBots join the game when added even if no players are on a team.
+
;Przykład: <code>tf_bot_join_after_player 0</code> spowoduje to, że boty wejdą do gry przed graczem nie czekając na niego.
 
|-
 
|-
 
|{{nw|<big>'''tf_bot_keep_class_after_death'''</big>}}
 
|{{nw|<big>'''tf_bot_keep_class_after_death'''</big>}}
|If zero, bots will always respawn as a different class.
+
|Jeżeli wartość wynosi 0 to boty zawsze się odrodzą z inną klasą.
  
 
;Syntax: <code>tf_bot_keep_class_after_death <''integer''></code>
 
;Syntax: <code>tf_bot_keep_class_after_death <''integer''></code>
  
;Parameters:
+
;Parametry:
 
:<code><''integer''></code>
 
:<code><''integer''></code>
::Either 1 or 0. Default is 0 (disabled).
+
::Od 0 do 1. Domyślne 0(Wyłączone)
  
;Example: <code>tf_bot_keep_class_after_death 1</code> will prevent TFBots from changing class.
+
;Przykład: <code>tf_bot_keep_class_after_death 1</code> Boty po śmierci nie zmienią klasy.
 
|-
 
|-
 
|{{nw|<big>'''tf_bot_kick'''</big>}}
 
|{{nw|<big>'''tf_bot_kick'''</big>}}
 
|
 
|
This command will remove one or all AI bots.
+
Wpisanie tej komendy wyrzuci jednego bota.
  
;Syntax: <code>tf_bot_kick <''name/all''></code>
+
;Syntax: <code>tf_bot_kick <''imię/all''></code>
  
;Parameters:
+
;Parametry:
:<code><''name/all''></code>
+
:<code><''Imię/all''></code>
::Specifies the name of bot to remove or all.
+
::Wpisujesz albo imię bota (nick) lub "all" żeby wyrzucić wszystkie.
  
;Example: <code>tf_bot_kick CEDA</code> will kick the TFbot named "CEDA" if one exists.
+
;Przykład: <code>tf_bot_kick CEDA</code> Wyrzuci bota o nicku "CEDA" jeżeli taki jest w grze.
 
|-
 
|-
 
|{{nw|<big>'''tf_bot_prefix_name_with_difficulty'''</big>}}
 
|{{nw|<big>'''tf_bot_prefix_name_with_difficulty'''</big>}}
|If nonzero, append the skill level of the bot to the bot's name
+
|Jeżeli różne od zera to doda poziom trudności bota do jego nazwy.
  
 
;Syntax: <code>tf_bot_prefix_name_with_difficulty <''integer''></code>
 
;Syntax: <code>tf_bot_prefix_name_with_difficulty <''integer''></code>
  
;Parameters:
+
;Parametry:
 
:<code><''integer''></code>
 
:<code><''integer''></code>
::Either 1 or 0. Default is 0 (disabled).
+
::Wpisz 0 lub 1. Domyślnie 0 (wyłączone).
  
;Example: <code>tf_bot_prefix_name_with_difficulty 1</code> will cause added bots to have names like "1 Aimbot" (normal) and "3 Saxton Hale" (expert).
+
;Example: <code>tf_bot_prefix_name_with_difficulty 1</code> Spowoduje to, że nicki botów będą zależne od poziomu trudności np: "1 Aimbot" (normal) and "3 Saxton Hale" (expert).
 
|-
 
|-
 
|{{nw|<big>'''tf_bot_quota'''</big>}}
 
|{{nw|<big>'''tf_bot_quota'''</big>}}
|Determines the total number of tf bots in the game. Only has effect is "tf_bot_quota_mode" = "fill" or "match".
+
|Określa całkowitą liczbę botów w grze. Działa tylko jeżeli "tf_bot_quota_mode" = "fill" albo "match".
  
 
;Syntax: <code>tf_bot_quota <''integer''></code>
 
;Syntax: <code>tf_bot_quota <''integer''></code>
  
;Parameters:
+
;Parametry:
 
:<code><''integer''></code>
 
:<code><''integer''></code>
::Whole number between 0 and how many players the server can hold. Default is 0.
+
::Numery powyżej 0. Określa ile graczy może umieścić serwer. Domyślnie 0.
  
;Example: <code>tf_bot_quota 2</code>, if tf_bot_quota_mode = match, will add two bots to the server for every one human.
+
;Przykład: <code>tf_bot_quota 2</code>, if tf_bot_quota_mode = match, Doda dwa boty do serwera za dwóch ludzi.
 
|-
 
|-
 
|{{nw|<big>'''tf_bot_quota_mode'''</big>}}
 
|{{nw|<big>'''tf_bot_quota_mode'''</big>}}
|Determines the type of quota.
+
|Określa typ części.
 
 
 
;Syntax: <code>tf_bot_quota_mode<''normal/fill/match''></code>
 
;Syntax: <code>tf_bot_quota_mode<''normal/fill/match''></code>
  
Line 154: Line 174:
 
|}
 
|}
  
==Puppet Bots==
+
==Boty Puppet==
Puppet bots have no AI code and cannot move or act on their own. These bots can be used like puppets though, players can manipulate them to follow the player's commands such as following the player around and firing their weapons. Puppet Bots are mainly used for testing purposes and can also create stunning visuals if manipulated accordingly.
+
Te boty nie mają kodu AI, nie mogą się ruszać ani atakować. Te boty mogą być używane jako lalki, gracze mogą nimi manipulować - kazać iść za sobą czy strzelać. Ten typ botów jest używany do róznych celów. Umiejętne manipulowanie nimi może stworzyć ładną scenkę.
 +
===Komendy Botów Puppet===
 +
Nie wszystkie poniższe komendy działają.
  
===Puppet Bot Commands===
+
''Notka: wpisywanie komend bez żadnych watości spowoduje wyświetlenie krótkiego opisu.''
Not all of the following commands work; for clarity, the complete list of commands is included.
 
 
 
''Note: entering the command without any values will display the command's current setting and a brief description.''
 
  
 
{| class="wikitable grid"
 
{| class="wikitable grid"
Line 274: Line 293:
 
|
 
|
  
===AI Bot Names===
+
===Imiona botów===
The AI Bots are programmed to have different names, with many of their names being references to Valve's other works. They also include some references to Team Fortress as well. Many of these names have been requested on the Steam forums. <!--If you encounter other names that aren't on the list, please add them-->
+
Boty mają zaprogramowane różne imiona, wiele z nich zostało nadane przez Valve. Zawierają zawsze trochę odniesień do TF2. ich imiona zostały także określone na forum Steam. <!--Jeżeli znalazłeś imiona, które nie występują na liście to je dodaj, dzięki-->
 
{|
 
{|
 
| valign="top" |
 
| valign="top" |
Line 400: Line 419:
 
;Example: bot_whack bot109
 
;Example: bot_whack bot109
 
|}
 
|}
 +
 +
[[User:Mikolaj9559|Mikolaj9559]] 20:26, 8 December 2010 (UTC)
  
 
==References==
 
==References==

Revision as of 20:26, 8 December 2010

File:Tr dustbowl0003.jpg
Bot Żołnierza(Solider) na mapie Trening Na Dustbowl
Moje pięści! Są zrobione ze stali!
Bot Grubego podczas samorealizacji.


Są dwa typy botów w TF2: AI Bots i Puppet Bots. Boty AI mają zakodowaną sztuczną inteligencję zaprojektowaną do naśladowania zachowań graczy w grze. Buppet Bots nie posiadają Sztucznej inteligencji, ale są za to przydatne do testów i treningów. Wymagają serwera z włączonymi cheatami oraz wyłączonymi osiągnięciami (achievements).

Spis treści

   * 1 Boty AI
         o 1.1 Obecny status botów AI
               + 1.1.1 Używanie botów na nieobsługiwanej mapie.
               + 1.1.2 Zachowanie botów AI
         o 1.2 Komendy do botów
   * 2 Puppet Bots
         o 2.1 Komendy do "Puppet Bots"
         o 2.2 Imiona botów
   * 3 Referencje

Boty AI

Boty AI są stworzone po to, aby naśladować ludzkich graczy i nie są bezpośrednio kontrolowane. Dodatkowo ich klasy są wybierane losowo. Używają wyrafinowanego kodu AI AI code, w oparciu o PlayerBot oraz infected AI występującym w serii Left 4 Dead. [1] Boty AI nie wymagają serwera z włączonymi oszustwami (cheats) w związku z tym Osiągnięcia są dostępne podczas gry z nimi.

Boty mogą być kontrolowane bezpośrednio w zakresie:

   * Każdy przyjazne Bot na którego najedziesz celownikiem podczas "Setupa" będzie Tauntować (eng. wyśmiewać)
   * Bot-Medyk będzie Cię leczyć gdy go zawolasz ( domyślnie klawisz E)
   * Gdy Bot-Medyk Cię leczy i ma gotowy ładunek ÜberCharge używając komendy głowowej "Go go go!" lub "Activate Charge!" spowoduje aktywację ÜberCharge.

Obecny status botów AI.

Boty AI są w fazie testów (BETA), będą bardziej "sprywni" gdy zrobisz Update. Obecnie nie wszyskie klasy mają wsparcie AI - na przykład Szpieg. Bot-Szpieg ucieka od gracza jeżeli zostanie zauważony i nigdy nie używają kamuflażu(cloak). Boty mogą grać jako szpieg w trybie Highlander, poprzez wpisanie "tf_bot_force_class Spy" w konsoli lub poprzez użycie innego programu. Boty AI działają poprawnie tylko na większości oficjalnych map King of the Hill, Payload, Dustbowl i Mann Manor (Boty mogą tylko być dodane poprzez komędę "tf_bot_add". Używanie Botów na niewspomaganych mapach jest możliwe po wykonaniu poniższych czynności; lecz nie będą dobrze "udawać" ludzkiego gracza tak dobrze.

PS: Gotowa paczka botów jest dostępna dla wielu popularnych map.

Używanie botów na niewspomaganej mapie.

  1. Wpisz "sv_cheats 1" w konsoli.
  2. Wpisz "nav_generate"
  3. Poczekaj dopóki gra nie stworzy "Ścierzek AI"
  4. Mapa się przeładuje, powyższe czynności nie będą musiały być wykonywane ponownie.
  5. Włącz konsole i wpisz "tf_bot_add <ilość>"

Note: Boty nie działają na mapach typu CTF(Zabierz Flage), nawet gdy powyższe kroki zostaną wykonane poprawnie.

Zachowanie botów.

   * Boty nie mogą obecnie użyć zawartości odblokowywanej - bronie, czapki etc.
   * Boty aktualnie nie potrafią skakać.
   * Gdy bot zabije gracza to losuje czy ma go "wyśmiać"(taunt), Bot będzie wyśmiewać gracza nawet podczas ostrzału.
   * Gdy bot zobaczy ukrytego wrogiego Szpiega to będzie oglądać jego ruchy. Bot niezaatakuje ukrytego szpiega dopóki Szpieg nie zaatakuje, albo nie wpadnie na wrogiego Bota.
   * Boty Pyro będą regularnie używać Strumienia Sprężonego Powietrza (Compression blast) przeciwko pociskami (rakiety).



Komendy do Botów.

Żeby używać botów na obsługiwanych mapach, administrator serwera musi wpisać te komendy w konsoli:

Command Description
tf_bot_add To polecenie stworzy dodatkowego bota losowej klasy oraz drużyny. Zostanie mu dodany nick.
Syntax
tf_bot_add [<ilosc>] [<klasa>] [<druzyna>] [<trudnosc>]
Parameters
<ilosc>
Ustawia ilość botów, które się zrespawnują.
Jeżeli ustawisz ilość botów większą niż maximum slotów na serwerze spowoduje to, że boty "zamarzną" (freeze). Jeżeli chcesz grać sam z botami ustaw 23.
<klasa>
Nazwy klasa klas mogą być następujące: Demoman, Engineer, HeavyWeapons, Medic, Pyro, Scout, Soldier, Sniper, lub Spy
<drużyna>
Ustawia drużynę, do której ma dołączyć bot, może to być red oraz blue.
<poziom trudności>
Ustawia poziom trudności. Poziomy trudności są takie: easy, normal, i hard.
Przykład
tf_bot_add red 3 heavyweapons easy - doda trzech Grubych do drużyne RED z łatwym (easy) poziomem trudności.
tf_bot_difficulty Ustawia poziom trudności botów włączających się do gry (ich skill)
Syntax
tf_bot_difficulty <poziom>
Parameters
<level>
Ustawia poziom trudności Botów - tak jak wyżj tylko wykorzystuje się cyfry. Można użyć następujących: 0=easy, 1=normal, 2=hard, 3=expert. Domyślne to "Normal" (1).
Przykład
tf_bot_difficulty 2 - wszystkie zrespawnowane boty po użyciu tej komendy będą miały poziom trudności "Hard".
tf_bot_force_class Ta komęda ustawia klasę wszystkim botom.
Syntax
tf_bot_force_class <class>
Parametry
<klasa>
Ustawia klasę, klasy są następujące: Demoman, Engineer, HeavyWeapons, Medic, Pyro, Scout, Soldier, Sniper, lub Spy. Domyślne to "" (blank).
Przykład
tf_bot_force_class medic Wszystkie boty zrespią się jako Medycy.
tf_bot_join_after_player Jeżeli liczba nie jest zerem to boty poczekają z wejściem do gry dopóki Gracz nie zacznie grać.
Syntax
tf_bot_join_after_player <integer>
Parametry
<integer>
Wybierz od 0 do 1 (domyślne to 1)
Przykład
tf_bot_join_after_player 0 spowoduje to, że boty wejdą do gry przed graczem nie czekając na niego.
tf_bot_keep_class_after_death Jeżeli wartość wynosi 0 to boty zawsze się odrodzą z inną klasą.
Syntax
tf_bot_keep_class_after_death <integer>
Parametry
<integer>
Od 0 do 1. Domyślne 0(Wyłączone)
Przykład
tf_bot_keep_class_after_death 1 Boty po śmierci nie zmienią klasy.
tf_bot_kick

Wpisanie tej komendy wyrzuci jednego bota.

Syntax
tf_bot_kick <imię/all>
Parametry
<Imię/all>
Wpisujesz albo imię bota (nick) lub "all" żeby wyrzucić wszystkie.
Przykład
tf_bot_kick CEDA Wyrzuci bota o nicku "CEDA" jeżeli taki jest w grze.
tf_bot_prefix_name_with_difficulty Jeżeli różne od zera to doda poziom trudności bota do jego nazwy.
Syntax
tf_bot_prefix_name_with_difficulty <integer>
Parametry
<integer>
Wpisz 0 lub 1. Domyślnie 0 (wyłączone).
Example
tf_bot_prefix_name_with_difficulty 1 Spowoduje to, że nicki botów będą zależne od poziomu trudności np: "1 Aimbot" (normal) and "3 Saxton Hale" (expert).
tf_bot_quota Określa całkowitą liczbę botów w grze. Działa tylko jeżeli "tf_bot_quota_mode" = "fill" albo "match".
Syntax
tf_bot_quota <integer>
Parametry
<integer>
Numery powyżej 0. Określa ile graczy może umieścić serwer. Domyślnie 0.
Przykład
tf_bot_quota 2, if tf_bot_quota_mode = match, Doda dwa boty do serwera za dwóch ludzi.
tf_bot_quota_mode Określa typ części.
Syntax
tf_bot_quota_mode<normal/fill/match>
Parameters
normal/fill/match
If 'normal', the server will never add/remove TFbots without explicit commands and bot_quota has no effect.
If 'fill', the server will adjust bots to keep N players in the game, where N is bot_quota.
If 'match', the server will maintain a 1:N ratio of humans to bots, where N is bot_quota.
Example
tf_bot_quota_mode fill will always keep (bot_quota - # of human players) bots in the game.

Boty Puppet

Te boty nie mają kodu AI, nie mogą się ruszać ani atakować. Te boty mogą być używane jako lalki, gracze mogą nimi manipulować - kazać iść za sobą czy strzelać. Ten typ botów jest używany do róznych celów. Umiejętne manipulowanie nimi może stworzyć ładną scenkę.

Komendy Botów Puppet

Nie wszystkie poniższe komendy działają.

Notka: wpisywanie komend bez żadnych watości spowoduje wyświetlenie krótkiego opisu.

Command Description
bot This command will create a bot on the given team with the specified class and name. If team or name is omitted, they will be assigned randomly.
Syntax
bot -team <teamname/number> -class <classname> -name <botname>
Parameters
-team teamname/number
Specifies the team name or number to assign the bot. Where name/number can be RED or 1, BLU or 0
-class classname
The classname of the class can be Demoman, Engineer, HeavyWeapons, Medic, Pyro, Scout, Soldier, Sniper, or Spy
-name botname
botname can be anything. If there is already someone with the same name, an incremental number (starting at 1) surrounded with parenthesis will be added to the beginning of the name. For example, joe, (1)joe, (2)joe, etc. If no name is given then the name will be "bot" followed by a number starting with 01; for example, the first bot will be bot01, the next bot02, and so on.
Example
bot -team red -class Engineer -name joe
bot_changeclass Force all bots to change to the specified class.

Does not seem to be implemented, nothing happens.

bot_changeteams

Make all bots change teams. This forces all the bots to switch teams. If a bot was on the RED team then it will now be on the BLU team and vice versa.

bot_command Sends specified command on behalf of specified bot.
Syntax
bot_command <botname> <console command>
botname is the name or id of the bot to send the command to.
console command can be any of the ones listed in Scripting#Console Commands.
Example 1
bot_command bot01 "voicemenu 0 0"
Example 2
bot_command bot01 "taunt"
The slot commands (slot1, slot2, etc.) do not work with bot_command, however with bot_forcefireweapon, you can make all bots in that class switch to that weapon and start firing, then make them stop. You can only make the entire group of bots in that class switch to that weapon, however.
bot_defend Set to a team number, and that team will all keep their combat shields raised.

For instance, Heavies will spin their miniguns.

bot_dontmove Bots are allowed or prevented from moving. When set to 1 the bots cannot move but they can still turn and jump. Note with a combination of this command and bot_mimic you can move bots to where you want them and leave them there.
Syntax
bot_dontmove <0/1>
Bot is allowed to move, or not.
Example
bot_dontmove 1
bot_forceattack This will make all the bots automatically fire whatever weapon they currently have selected. If bot_forceattack2 is set to 0, then the bots will execute primary_fire. If bot_forceattack2 is set to 1, then the bots will execute secondary_fire.

Note this does nothing if bot_mimic is active (set to 1).

Syntax
bot_forceattack <0/1>
Bot will not fire if set to 0 and fire repeatedly if set to 1.
Example
bot_forceattack 1
bot_forceattack2 This will make all the bots execute secondary_fire on whatever weapon they currently have selected when bot_forceattack is set to 1.
Syntax
bot_forceattack2 <0/1>
Bot will use its weapon's secondary_fire when set to 1, primary_fire when set to 0
Example
bot_forceattack2 1
bot_forceattack_down When firing, don't tap fire, hold it down. If this is set to 0 then the bot will act like they are continuously tapping the fire button (useful for the Pistol, but not for the Heavy's Minigun). If this is set to 1 then the bot will act as if it is holding down the fire button (useful for the Heavy).
Syntax
bot_forceattack_down <0/1>
On when set to 1, off when set to 0
Example
bot_forceattack_down 1
bot_forcefireweapon Forces all bots who have the specified weapon to switch to and fire it.

If a bot does not have this weapon, nothing happens to it (unless it is firing a different weapon, in which it stops)

Syntax
bot_forcefireweapon <weapon filename>
filename is usually tf_weapon_ <weapon name>.
Examples
bot_forcefireweapon tf_weapon_fists makes all Heavy bots switch to and repeatedly attack with their Fists, and all other bots stop attacking.

bot_forcefireweapon tf_weapon_shotgun_pyro makes all Pyro bots switch to and repeatedly fire their Shotguns, and all other bots stop attacking.

To make all bots stop attacking, simply specify a non-existent weapon filename. Anything without tf_weapon in it isn't a TF2 weapon, so the bots won't shoot it, for example bot_forcefireweapon ,,
Bots' loadouts cannot be changed, therefore you cannot make them fire unlockable weapons.
bot_kill

Kills the specified bot.

Syntax
bot_kill <bot name>
Makes the specified bot commit suicide.
Example
bot_kill bot01
bot_mimic Bot uses usercmd of player by index.

The bot will execute all keystrokes issued by a player, mimicking movements, turns, jumps, fire, etc.

Note this overrides bot_forceattack but does not override bot_dontmove.

Syntax
bot_mimic <0/1>
On when set to 1, off when set to 0
Example
bot_mimic 1
bot_mimic_yaw_offset

Offsets the bots' yaw. The bots will face in a direction this angle from the player. By default this is set to 180 so that all bots will face the player. Setting this to 0 will face the bots in the same direction as the player.

Syntax
bot_mimic_yaw_offset <0-360>
Set the direction by specifying angle in degrees
Example
bot_mimic_yaw_offset 180
bot_randomnames

Imiona botów

Boty mają zaprogramowane różne imiona, wiele z nich zostało nadane przez Valve. Zawierają zawsze trochę odniesień do TF2. ich imiona zostały także określone na forum Steam.

;Syntax: bot_randomnames <0/1>
On when set to 1, off when set to 0
Example
bot_randomnames 1
bot_refill Refills all bots' Ammo counts, including Metal for Engineers.

Syntax: bot_refill

bot_saveme This makes all the bots call for a Medic, equivalent to issuing bot_command <botname> "voicemenu 0 0" to every bot.

Syntax: bot_saveme <0/1>

On when set to 1, off when set to 0
bot_selectweaponslot This makes the first bot select weapon in specified weapon slot.

0 = primary; 1 = secondary; 2 = melee; 3 = special Note this only works for the first bot spawned. There doesn't seem to be a way to specify other bots.

Syntax
bot_selectweaponslot <n>
Set n to weapon slot that bots should switch to.
Example
bot_selectweaponslot 2
bot_teleport Teleports a specified bot to a given coordinate.

Map coordinates of where you are standing can be found by typing Status in the console.

Syntax
bot_teleport <botname> <X> <Y> <Z> <Pitch> <Yaw> <Roll>
Where botname is the bot name or id to teleport.
X Y Z are the map coordinates.
Pitch Yaw Roll is the direction the bot should face.
Example
bot_teleport bot01 -4815 1385 -447 0 0 0
bot_whack Delivers lethal damage from player to specified bot. This basically kills the bot with the currently selected weapon, probably used for testing during development.
Syntax
bot_whack <botname>
Where botname is the name of bot to "whack".
Example
bot_whack bot109

Mikolaj9559 20:26, 8 December 2010 (UTC)

References