AnAkkk: Current TFTrue developer
Didrole: Retired developer (2.x)
Red Comet: Original TFTrue developer
The project can be built with qmake in Qt Creator. It can be built with gcc 9.x On Linux, and VS 2019 on Windows.
You will need to adjust SOURCE_DIR in TFTrue.pro to point to the source SDK 2013 "mp/src" directory (https://github.com/AnAkkk/source-sdk-2013).
ModuleScanner and FunctionRoute were made by Didrole. The source code is not available yet but should be soon. The libraries are part of the repository for now. jsoncpp (https://github.com/open-source-parsers/jsoncpp) is needed too and included in this repository.
Server owners can use this cvar to set specific text in the game description of their server. There is a 40 character max, and your text will appear after 'TFTrue'
Enables/disables the freeze cam. Default is 1 (enabled).
Sets the maximum fov the players will be able to set with the "!fov" chat command. Default is 90.
Enables/disables the hats. Default is 0 (hats enabled).
Enables/disables the misc items. Default is 0 (misc items enabled).
Enables/disables action items. Default is 0 (action items enabled).
Sets a whitelist id from whitelist.tf. Default is -1 (disabled).
Sets specific league configs. It will auto download the configs and execute them depending of the map type. If you use this, you do not need to set tftrue_whitelist_id as mp_tournament_whitelist is already set in the league configs. 0: None 1: ETF2L 6on6 2: ETF2L 9on9 Default is 1.
Turn on auto STV recording when both teams are ready in tournament mode. It will stops when the win conditions are reached. Default is 1 (enabled).
Turn on/off bunny hopping. The opening speed of the doors will be changed to the max value as well to prevent yourself getting stuck while bunny hopping. This also enables "pogo stick jumping", so you can just hold down space to bunny hop. It will let you jump while ducking as well to make bunnyhopping easier. Default is 0 (disabled).
Lets you define a folder inside "tf" where you want the demos recorded by tftrue_tv_autorecord to be stored. The folder will be automatically created if the CVar is set. They will be stored in "tf" by default.
Sets the prefix to add in the auto recorded demo names.
Sets the delay before someone can unpause the game after it has been paused. Default is 2.
Sets the API key to upload logs to logs.tf (requires mp_tournament). It will automatically flush the log before upload, so any content that is still in memory will be wrote to the log.
Sets the prefix to add in the log name when uploading to logs.tf.
Whether to upload logs at every round end or just when a team wins the map. Default is 0 (just when a team wins the map).
Keeps the player stats on disconnect (Score, Kills, Deaths, etc...) and restore them when he reconnects in both scoreboard and A2S_PLAYER queries (e.g. View Game Info in the Server Browser). Default is 1 (enabled).
Includes buffs within the player_healed event in the logs. Default is 1 (enabled).
Logs accuracy stats in the logs (shots fired/hit). It can potentially cause performance issues with some servers. Default is 0 (disabled).
In the chat, you can type !tftrue (or bind a key to say !tftrue), and it'll display informations about the TFTrue version and the current CVar values.
In the chat, you can type !fov xxx, where xxx is a value between 75 and tftrue_maxfov. This will set your fov to this value.
In the chat, you can type !log to view the last log which has been uploaded to logs.tf
Same as the chat command to set the fov, but you can set it in your config to automatically set the fov on server connection. Example: setinfo tftrue_fov 130
say !speedmeter [on/off]
In the chat, you can type !speedmeter [on/off] while tftrue_bunnyhop is enabled, this will print your bunny hopping speed in the middle of your screen.
- The map will now automatically be reloaded when sv_pure or tv_enable value is changed, as these CVars need a map change to work.
- While using rcon status/status, it will display the plugins currently loaded on the server (prevents server owners to cheat with plugins) when the tournament mode is enabled. status will display current TFTrue settings as well.
- Logs.tf support
- Tournament classlimits working without tournament mode (for pub servers)
- Tournament whitelists working without tournament mode (for pub servers)
- Changing mp_tournament_whitelist will automatically reload the whitelist without requiring mp_tournament_restart
- Console messages when allowing/removing whitelist items are removed to prevent spam
- You can write in the chat more than once when the game is paused
- Removes the block on plugin_load that prevents you from using it after a map has been loaded
NOTE: mp_tournament_whitelist will always be reset to TFTrue_item_whitelist.txt, this is perfectly normal. TFTrue will generate a new whitelist based on the whitelist that was set through mp_tournament_whitelist + TFTrue settings.