Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
Sw1ft edited this page Aug 13, 2021 · 5 revisions

Functionality

When round will start, will be automatically executed VScript file left4tas.nut depending on enabled cvar tas_autorun_vscripts

If timer_auto is enabled, plugin will start timer when round was (re)started, map was loaded, intro was finished or transition to next level was finished, timer will be stopped if transition to the next level was started or survivors were escaped during finale

Console Variables

ConVar Default value Type Description
category_no_director 0 bool No Director category
category_no_survivor_bots 0 bool No Survivor Bots category. Modes: 0 - disabled; 1 - one player; 2 - splitscreen
tas_autojump 1 bool Player automatically re-jumps while holding jump button
tas_timescale 1.0 float Set server's timescale
tas_autoexec_configs 1 bool Autoexec the following files from cfg/left4tas/ directory: tas_round_start.cfg, tas_map_load.cfg, tas_intro_finish.cfg, tas_segment_finish.cfg, tas_server_transition.cfg, tas_map_transition.cfg
tas_autorun_vscripts 1 bool Autorun left4tas.nut file before round will start
tas_vscript_callbacks 1 bool Call VScript callbacks in function Left4TAS_Callbacks
tas_im_tp 1 bool Teleport player to beginning position when use Input Manager
timer_auto 0 bool Auto start/end the timer, sum up previous segments when transit to next level
timer_print_to_chat 1 bool Print time/ticks to chat, otherwise in console

Console Commands

ConVar Usage Description
autojump_enable autojump_enable [index] Enable autojump for a specified player
autojump_disable autojump_disable [index] Disable autojump for a specified player
tas_im_record tas_im_record [filename] [index] Start recording player's inputs in a file (output in ..cfg/left4tas/inputs/)
tas_im_play tas_im_play [filename] [index] Playback player's inputs from a file
tas_im_split tas_im_split [index] Split playback of player's inputs
tas_im_stop tas_im_stop [index] Stop record/playback player's inputs
tas_im_stop_all Stop record/playback inputs of all players
tas_tp tas_tp [x] [y] [z] [optional: pitch] [optional: yaw] Teleport local client to the given position, optional: snap eye angles
tas_tp_player tas_tp [index] [x] [y] [z] [optional: pitch] [optional: yaw] Teleport player to the given position, optional: snap eye angles
tas_setcvar tas_setcvar [cvar_name] [value] Set a value of the given ConVar, if no value then it prints current value
tas_setname tas_setname [mode: 0 - index, 1 - character] [index/character] [name] Set client's name. Characters: 0 - Nick/Bill, 1 - Rochelle/Zoey, 2 - Coach/Louis, 3 - Ellis/Francis
tas_fake tas_fake [optional: name] [optional: team] Create a fake client
tas_idle tas_idle [mode: 0 - index, 1 - character] [index/character] Go to IDLE mode. Characters: 0 - Nick/Bill, 1 - Rochelle/Zoey, 2 - Coach/Louis, 3 - Ellis/Francis
tas_take tas_take [mode: 0 - index, 1 - character] [index/character] Take over a bot. Characters: 0 - Nick/Bill, 1 - Rochelle/Zoey, 2 - Coach/Louis, 3 - Ellis/Francis
timer_set_segment_time timer_set_segment_time [in-game time] [precise time] Set the time from previous segment
timer_start Start the timer
timer_stop Stop the timer
timer_reset Reset the timer
timer_print_time Print the current/total time
timer_print_ticks Print the current/total ticks
dump_netprops Dump in the file 'netprops.txt' network properties of all classes
dump_netprops_class dump_netprops_class [classname] Dump in the file 'netprops.txt' network properties of a given class
Clone this wiki locally