Left 4 Dead 2

Left 4 Dead 2

Speedrunner Tools
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
シェイディ♑  [udvikler] 5. dec. 2017 kl. 9:08
Commands
!restart
Restart the game. Command for console: "scripted_user_func restart".

!restart2
Restart the game. Restarts faster for RTA mode on the first maps, but won't reset in-game stats (use !restart instead to get campaign exact IGT from outro stats). Command for console: "scripted_user_func restart2".

!restart3
Restart the game and automatically restore Survivor bots in case kicks were used. Command for console: "scripted_user_func restart3".

!mode
Switching between modes. Type a keyword (like "!mode sp") to jump on specific.
  • Nerd – for creation of segmented and tool-assisted speedruns.
  • RTA – used for speedruns in real time for competitive.
  • SP – solo player mode without bots, for fun. Based on RTA mode.

!bhop
Activate or deactivate auto-bunnyhop on the server (for personal switching ON/OFF, use "scripted_user_func bhop" console command).

!bhop2
Activate or deactivate smoothed auto-bunnyhop on the server. Functional only for host player (lobby's leader), since used primitive client-side inputs.

!hud
Turn ON/OFF stopwatch HUD.
By the way, if you encounter wrong HUD displaying or need another help like removing it from the demo, please visit Troubleshoot HUD article.

Commands to manage HUD value:
  • !dbg start – starts/resets a HUD timer.
  • !dbg stop – stops a HUD timer.
  • !dbg set [value] – sets the value of HUD timer in seconds.
  • !dbg hud [value] – sets the static value of HUD timer in seconds.

!fdmg
Toggle the fall damage info in chat.

!picker
Show the sample string of entity spawning at player's picker. After entity picked, it creates a function in the chat for your script file (each entity has its own function). List of ST functions on the page Speedrunner Tools API.

!trigger
Show the sample string of trigger spawning in player's position.

!timer args
Set the countdown in seconds.

!rst
Restart the round without start a speedrun (all intros will be started normally).

!zdump
Dump zombies position and orientation to the text file (left4dead2/ems/st_config/zdump.txt).

!xclip args
Simulates SurvivorBot teleport. Required Speedrunner Tools[forums.alliedmods.net] plugin for this command.
  • set – creates the teleport point (use "!xclip" without args to teleport).
  • fast – makes shift back and uses auto-idle immediately.
  • exact – allows exact shift back, sensitive to x-axis (pitch).
  • double – makes max. shift back twice in a row, simulating double SurvivorBot teleport.

!dbg args
Command for debugging.
  • st – prints g_ST table and main variables in console.
  • lib – prints g_STLib table in console.
  • rta – prints g_RTA table in console.
  • start – starts/resets a HUD timer.
  • stop – stops a HUD timer.
  • set – sets the value of HUD timer in seconds.
  • hud – sets the static value of HUD timer in seconds.
  • event – sets custom event value for g_STLib.Funcs.Event() to load custom speedrun situations, for preliminary tests.
  • tp – shows the sample string of your position and orientation.
  • tp2 – shows the sample string for all survivors at once.
  • tp3 – similar to !tp, but adds the bind on X button for convenient teleport use.
  • events – checks the current events, that have been hooked.
  • do – prints in console current Director options.
  • trigger – displays the bounding box of a trigger entities.
  • clip – displays the bounding box of "env_player_blocker" entities.
  • legit – activates full legit mode, that disables ConVar changes and other ST hooks. Note that, don't need to enable this option for RTA mode, since it already includes all default game settings.
  • reset – used for debugging. Resets all ST session variables.
  • unpatch – unpatch the game how would it looked on the old versions, for trainings.
  • af – to practice Grenade Launcher boosts.
  • af2 – to practice Throwable boosts.
  • af3 – to practice Throwable boosts for RTA category (don't confuse this with AutoFire3 long boosts). Use keywords bile, molo, pipe to select certain throwable item.
  • nav – helper to mark NAV areas. Sets the bind to X button and when pressed, shows function samples in console.

!find args
Type classname or targetname of entity to find it on map. Use "!findex" command for an exact search by a certain name. To clear glowing objects, type "!find" without arguments. List of entities here.

!rd
Activate RocketDude mutation (for TLS only).
Sidst redigeret af シェイディ♑; 3. apr. 2024 kl. 21:00
< >
Viser 1-15 af 20 kommentarer
Gruffed 19. aug. 2019 kl. 15:03 
yes
TheKiller567 16. aug. 2020 kl. 17:51 
yeah
slipin 9. nov. 2020 kl. 7:16 
boi
EHKO 10. jan. 2021 kl. 2:25 
how to use this?
シェイディ♑  [udvikler] 11. jan. 2021 kl. 18:42 
Oprindeligt skrevet af Jericho Gaming:
how to use this?
Commands to chat
vsem poka 19. maj 2021 kl. 7:07 
I don't get how to restart a map not a whole campaign, pls help
vsem poka 19. maj 2021 kl. 7:51 
Also when I die, it doesn't restart, I am just stuck on my dead body, any way to fix?
シェイディ♑  [udvikler] 19. maj 2021 kl. 21:14 
Oprindeligt skrevet af vsem poka:
Also when I die, it doesn't restart, I am just stuck on my dead body, any way to fix?
Type !restart in chat

Oprindeligt skrevet af vsem poka:
I don't get how to restart a map not a whole campaign, pls help
You should to start any map each time via console "map c1m2_streets". Loaded map after level transition will lead to restart whole campaign if !restart is used.
λlex 28. feb. 2022 kl. 21:59 
How do I disable timer
シェイディ♑  [udvikler] 1. mar. 2022 kl. 22:24 
Oprindeligt skrevet af λlex:
How do I disable timer
!hud or !dbg stop
MrNoob 25. mar. 2022 kl. 8:29 
how can i play it with my friends?
シェイディ♑  [udvikler] 25. mar. 2022 kl. 14:19 
Oprindeligt skrevet af Impy:
how can i play it with my friends?
Host lobby with Listen Server (Local Server) and invite your friend in there
Blonkers 16. juni 2022 kl. 13:14 
How to get out of RTA mode?
алибаба +rep 21. juni 2022 kl. 10:24 
how to make idle in solo game?
シェイディ♑  [udvikler] 21. juni 2022 kl. 20:06 
Oprindeligt skrevet af Blonkers:
How to get out of RTA mode?
Type !mode in the chat
< >
Viser 1-15 af 20 kommentarer
Per side: 1530 50