1.7 KiB
Welcome to TFScript
TFScript helps you manage all the customisations you make to your
Team Fortress 2 configurations. If you have custom
scripts in your cfg
files, then this will help you
automate that.
TFScript uses YAML to express how you want your keybindings to work. It helps you organize your bindings. It lets you put all the keybindings for all your classes into a single file. It lets you set some basic defaults that then get copied into every class so you can count on them all the time. Once you've got a good YAML file describing your favorite keybindings, you can manage all your bindings from that single file.
Basic overview
TFScript is meant to simplify the complexity of creating tf2 keybinds. While simple binds may be easy, more complex actions such as key combinations and toggles can be quite complex.
The basic process for creating a TFScript config file goes as such:
- Write your TFScript file according to the
syntax-page
guide - Run
TFScript <filename>
to generate code and write to game files - Play tf2 with your new binds!
A TFScript file is written in YAML and parsed by the program to
generate the apporpriate code, so if you know the YAML you can jump
straight to the syntax-page
page, otherwise, read the yaml-page
page first,
then read the syntax-page
page.
Known issues, problems, etc.
none everything is perfect and there are no problems it is all amazing