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

Left4TAS Wiki

All modules and various tools are described here

And some stuff also

Modules

Client

Server

Engine

VGUI

VScript

VSTDLib

Callbacks

See callbacks page here

Loading plugin

The binary file is Valve Server Plugin that can be loaded freerly in the game (it's recommended to use -insecure launch option, because game won't let you load the plugin)

There're two ways to load the plugin:

  1. Using the console command plugin_load <path>. Place the file in Left 4 Dead 2/left4dead2/ folder and type in console the following: plugin_load left4tas, or you can place that command in autoexec.cfg config for auto execution, also you can use it in launch options: +plugin load <path>

  2. Using the special file extension .vdf. Create the file with extension .vdf (name doesn't matter), open it and place the text below:

"Left4TAS"
{
	"file"	"left4tas"
}

After that place file in Left 4 Dead 2/left4dead2/addons/ folder and the plugin in Left 4 Dead 2/left4dead2/ folder

Example

In the project files you can see checkout folder, it contains tests for some maps. You can look at scripts/configs I wrote and use it

In file tas_load_plugin.cfg contained 2 binds: first to start script, second to stop all actions

Clone this wiki locally