Team Fortress 2

Team Fortress 2

Craft (Target Practice)
 This topic has been pinned, so it's probably important
> nobot < 5 Feb, 2023 @ 7:00am
bot spawn guide
i also made another script for Karma Summer, basically the same thing
https://steamhost.cn/steamcommunity_com/workshop/filedetails/discussion/2654409182/3758852249531719644/

Step 1:
navigate to
C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf\cfg
create a text document (tr_craft_9bots.txt) and change the file extension to .cfg

step 2:
copy paste this script
sv_cheats 1 mp_teams_unbalance_limit 0 mp_autoteambalance 0 cl_hud_minmode 0 mp_disable_respawn_times 1 alias "teleport_Sniper" "bot_teleport Sniper -786 1219 -91 0 -90 0" alias "addSniper" "kick Sniper; wait 100; bot -team red -class Sniper -name Sniper; wait 200; teleport_Sniper" alias "teleport_Heavy" "bot_teleport Heavy -456 -456 -91 0 -90 0" alias "addHeavy" "kick Heavy; wait 100; bot -team red -class Heavy -name Heavy; wait 200; teleport_Heavy" alias "teleport_Demoman" "bot_teleport Demoman -239 -456 -91 0 -90 0" alias "addDemoman" "kick Demoman; wait 100; bot -team red -class Demoman -name Demoman; wait 200; teleport_Demoman" alias "teleport_Scout" "bot_teleport Scout -456 -44 -91 0 -90 0" alias "addScout" "kick Scout; wait 100; bot -team red -class Scout -name Scout; wait 200; teleport_Scout" alias "teleport_Soldier" "bot_teleport Soldier -239 -44 -91 0 -90 0" alias "addSoldier" "kick Soldier; wait 100; bot -team red -class Soldier -name Soldier; wait 200; teleport_Soldier" alias "teleport_Pyro" "bot_teleport Pyro -175 -254 -91 0 -90 0" alias "addPyro" "kick Pyro; wait 100; bot -team red -class Pyro -name Pyro; wait 200; teleport_Pyro" alias "teleport_Medic" "bot_teleport Medic -496 -254 -91 0 -90 0" alias "addMedic" "kick Medic; wait 100; bot -team red -class Medic -name Medic; wait 200; teleport_Medic" alias "teleport_Engineer" "bot_teleport Engineer -796 -1305 -60 0 45 0" alias "addEngineer" "kick Engineer; wait 100; bot -team red -class Engineer -name Engineer; wait 200; teleport_Engineer" alias "teleport_Spy" "bot_teleport Spy -335 -254 -91 0 -90 0" alias "addSpy" "kick Spy; wait 100; bot -team red -class Spy -name Spy; wait 200; teleport_Spy" alias "teleport_all" "teleport_Sniper; teleport_Heavy; teleport_Demoman; teleport_Scout; teleport_Soldier; teleport_Pyro; teleport_Medic; teleport_Engineer; teleport_Spy" alias "placebots" "addSniper; addHeavy; addDemoman; addScout; addSoldier; addPyro; addMedic; addEngineer; addSpy" wait 10; placebots wait 500; bot_command Engineer "taunt"; loop alias loop "wait 500; bot_command Engineer "taunt"; loop"

Step 3:
load the map and type "exec tr_craft_9bots" in console

enjoy.

notes:
-the bots will always respawn outside so you will have to type the exec file or bind a key everytime you kill all of them,
there is no way to fix this except editing the map itself.

-this is based on the same bot spawn code for Karma Frontline
< >
Showing 1-1 of 1 comments
⛥ xira ⎆ 7 Jun, 2023 @ 6:14pm 
I'd say it's better to put custom scripts under
custom/[any-name]/cfg/thing.cfg
rather than the normal cfg dir, idk
< >
Showing 1-1 of 1 comments
Per page: 1530 50