Forum

TFTrue - LogsTF / MedicStats / AccuracyStats / RestoreStats...

Created 6th March 2011 @ 18:03

Add A Reply Pages: 1 2 ... 61 Next »

AnAkkk

TFTrue Plugin 4.6
——————–

Description
———–
This plugin was originally created by Red Comet, and it allowed you to control Friendly Fire, Critical hits, Respawn time and Static Damage.
VALVe finally added CVars to control most of those features in the game, and TFTrue development was stopped.
The project was taken by AnAkkk, and TFTrue is currently aimed to be a competitive mod.

Installation
————
Create a directory in your tf folder of the SRCDS installation called addons (don’t worry if one already exists)
Copy all files from the addons folder of this archive into the addons folder of your server
An example directory would be orangebox/tf/addons/TFTrue.dll (or TFTrue.so if it’s a Linux server).
Restart the server and the plugin should automatically load.

CVars / CMDs
—–
Server:

tftrue_gamedesc
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’

tftrue_freezecam
Enables/disables the freeze cam. Default is 1 (enabled).

tftrue_maxfov
Sets the maximum fov the players will be able to set with the “!fov” chat command. Default is 90.

tftrue_no_hats
Enables/disables hats. Default is 1 (hats disabled).

tftrue_no_misc
Enables/disables misc items. Default is 0 (misc items enabled).

tftrue_no_action
Enables/disables action items. Default is 0 (action items enabled).

tftrue_whitelist
Sets specific league item whitelists. This can be useful for public servers.
0: None
1: ETF2L 6on6
2: ETF2L 9on9
Default is 0.

tftrue_whitelist_id
Sets a whitelist id from whitelist.tf. If this is set, tftrue_whitelist is ignored. Default is -1 (disabled).

tftrue_tournament_config
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 as mp_tournament_whitelist is already set in the league configs.
0: None
1: ETF2L 6on6
2: ETF2L 9on9
Default is 0.

tftrue_tv_delaymapchange
Delay the map change depending of tv_delay value when SourceTV is enabled. This way the spectators will not miss the end of the match.
You should use “changelevel” right after you finished the current map and the map will changes depending of tv_delay value.
A message will be printed in the chat every 30 seconds announcing in how much time the map will change. Default is 1 (enabled).

tftrue_tv_autorecord
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).

tftrue_bunnyhop
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).

tftrue_tv_demos_path
Let 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.

tftrue_tv_prefix
Sets the prefix to add in the auto recorded demo names.

tftrue_unpause_delay
Sets the delay before someone can unpause the game after it has been paused. Default is 2.

tftrue_logs_apikey
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.

tftrue_logs_prefix
Sets the prefix to add in the log name when uploading to logs.tf.

tftrue_logs_roundend
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).

tftrue_restorestats
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).

tftrue_logs_includebuffs
Includes buffs within the player_healed event in the logs.
Default is 1 (enabled).

tftrue_logs_accuracy
Log accuracy stats in the logs (shots fired/hit). It can potentially cause performance issues with some servers.
Default is 0 (disabled).

Client:

say !tftrue
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.

say !fov
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.

say !log
In the chat, you can type !log to view the last log which has been uploaded to logs.tf

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.

setinfo tftrue_fov
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

Other Features:

– 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.
– 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 enable sv_pure even if the server wasn’t started with -sv_pure or +sv_pure
– 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.

Credits
—–
AnAkkk: Current TFTrue coder
Red Comet: Original TFTrue coder
Didrole: Retired coder (2.x)
your_name_here: For fixing the no random damage feature on Linux (2.x)
voogru: For help with the items (3.x)
Evil, GeaR, atreides, Nightbox, AnimaL, Arie, hocz, m0re and many more people: Testing the plugin
redLine-hosting/eSport-tools.net: Hosting the files
sk: Coding help

Version History
—————
4.6 ( August 14, 2014 )
– Removed tftrue_scope_hsdelay
– Many improvements to the auto updater
– The auto updater will now check for updates every hour and update if the server has one player or less
– Fixed crash on plugin unload with some specific plugins
– Fixed crash when trying to change the map with the “map” command (never do this)
– Stop loading the plugin if anything fails, it prevents the plugin from crashing later while playing
– Fixed tftrue_restorestats keeping the stats after map changes

4.5 ( May 17, 2014 )
– Added tftrue_whitelist_id to set a whitelist from whitelist.tf
– The restriction on plugin_load added by the last TF2 update will be automatically removed for the auto updater to work correctly
– Fixed crashes after last TF2 update

4.4 ( February 1, 2014 )
– Support Logs.tf Spec v2.0 (Medic Stats, etc).
– Support Logs.tf Spec v2.1 (Weapon accuracies) with the tftrue_logs_accuracy cvar
– Changed download location for ETF2L whitelists to ETF2L site
– Added the plugin name to the “uploader” field for logs.tf
– Prevent from trying to upload the log twice when mp_winlimit is set (it fires twice the end round event)
– Added tftrue_tv_prefix to set a prefix to auto recorded STV demos
– Added etf2l_golden_cap.cfg to the list of configs to download

Website: http://tftrue.redline-utilities.net/

Download: http://tftrue.esport-tools.net/TFTrue.zip


Last edited by AnAkkk,

Daleth

ti.
[PG]

sick

AnimaL

tftrue_no_hats 1
+
tftrue_unlockables_weapons 1
=
tf2 at its finest

awesome plugin <3

Qun

GoT<3

I heard you like vanilla?

Mole

DCSB
Hey dats!

I don’t understand the need for this when, apart from the freezecam and fov settings, most of this can be done with the use of config, map config, and whitelist?

Edit: not that I am attacking the project, I do appreciate the effort for a pro mod of sorts. This just doesn’t seem needed as much as it previously was.

Casual

prtyboiz
T⑨

Quoted from Mole

I don’t understand the need for this when, apart from the freezecam and fov settings, most of this can be done with the use of config, map config, and whitelist?

It removes hats… What more do you want ._.

Also do realize that the development of this plugin started before Valve added some of those things.

AnAkkk

Sure you can control that through whitelist, but you’d need to change whitelist every time you want to change one of these settings. Here you can just change a cvar value and it’s done.

mvp.

marco
¤_¤

so where exactly is a plugin vanilla tf2?

Archy

guru
G-Yoda

1 plugin to make tf2 vanilla+medlocks, yes, also funny I asked about this just yesterday while talking in pixel channel on irc, amazing :)

Mole

DCSB
Hey dats!

Quoted from Casual

[…]
It removes hats… What more do you want

So does the whitelist, along with the misc items and hat sets. Unless I’m mistaken? And yeah I was there for the first release of TFTrue.

As for changing the whitelist, its just a list of cvars. No reason not to have more than one and still just type one command to execute it when you need to change.

AnimaL

Quoted from Mole

I don’t understand the need for this when, apart from the freezecam and fov settings, most of this can be done with the use of config, map config, and whitelist?

Edit: not that I am attacking the project, I do appreciate the effort for a pro mod of sorts. This just doesn’t seem needed as much as it previously was.

its just much more simpler, for instance tarmo hated hats so i put this only on nohats cvar and thats it, copy paste + single cvar… no need to customize whitelists for half an hour

M24_

won’t higher fov gimp something like spy or flanking?

Darn

rockit like

lets start using this on every server. fov ftw

Reload

BiG
BiG

Quoted from Casual

[…]
It removes hats… What more do you want ._.

Hats

Waster

No hats!

Add A Reply Pages: 1 2 ... 61 Next »