Download
TFTrue Plugin 3.5
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 AnAkIn, and TFTrue is currently aimed to be a competitive mod.
Installation
Create a directory in your team fortress 2 folder 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
C:/srcds/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
This CVar enables/disables the freeze cam. Default is 1 (enabled).
tftrue_maxfov
This CVar sets the maximum fov the players will be able to set with the "!fov" chat command. Default is 90.
tftrue_no_hats
This CVar enables/disables the hats. Default is 1 (hats disabled).
tftrue_no_misc
This CVar enables/disables the misc items. Default is 0 (misc items enabled).
tftrue_unlockable_weapons
This CVar can be set to 4 different values:
0: Allow all unlockables weapons
1: Allow the Blutsauger, the Kritzkrieg and the Ubersaw
2: Allow the Blutsauger, the Kritzkrieg, the Ubersaw and the Original
3: Allow the Blutsauger, the Kritzkrieg, the Ubersaw, the Original and the Crusader's Crossbow.
Default is 0.
tftrue_tournament_mapconditions
This CVar will automatically sets mp_winlimit, mp_timelimit,
mp_windifference and mp_maxrounds to correct values depending of the map
type when mp_tournament is enabled. Default is 1 (enabled).
tftrue_tv_delaymapchange
This CVar will delay the map change depending of tv_delay value
when SourceTV is enabled in tournament mode. 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
This CVar will 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
This CVar will 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. Default is 0 (disabled).
tftrue_jumpducked
This CVar will turn on/off jumping while ducked, this is normally
not possible in TF2 and this is very useful when bunny hopping is
enabled to bunny hop while ducked. Default is 1 (enabled).
tftrue_scope_hsdelay
This CVar will turn on/off the 200ms Sniper Rifle headshot delay when scoping. Default is 1 (enabled).
tftrue_tv_demos_path
This CVar 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_tournament_insecure
This CVar let you disable the forcing of CVars to league config values. Default is 0 (CVars will be forced).
By default, TFTrue will force the CVars to league values when mp_tournament is enabled. You should no longer need to load the league config.
mp_winlimit, mp_timelimit, mp_windifference and mp_maxrounds are excluded (see tftrue_tournament_mapconditions).
tv_enable is excluded as SourceTV is not required in all leagues.
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 !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.
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.
- TF2Logs.com support
Credits
Red Comet : Original TFTrue coder
AnAkIn : Current TFTrue coder
Didrole : Coder, still helping the plugin development
your_name_here : For fixing the no random damage on Linux
AzuiSleet, Asherkin, Damizean, Wazz, MatthiasVance, yakbot : For the
TF2items extension
(http://forums.alliedmods.net/showthread.php?p=1050170)
voogru : For help with the items thing
Evil, GeaR and atreides : For helping me test
Nightbox : For providing a Linux server
redLine-hosting : Hosting the files
sk : Provided a great help
AnimaL, Arie, hocz and m0re : Testing 3.0 on their server
Version History
3.5 ( April 16, 2012 )
- Added tftrue_tournament_insecure to disable the forcing of CVars to league config values
3.4 ( April 12, 2012 )
- Added tftrue_tv_demos_path to specify a folder inside "tf" where you want your demos recorded by TFTrue to be stored
- Changed tftrue_unlockable_weapons 3 to allow the Original
- Changed demo names timestamps format from DD-MM-YYYY-HH-mm to YYYY-MM-DD-HH-mm
3.3 ( October 15, 2011 )
- Fixed all problems caused by the last TF2 update
- Fixed a crash on Windows which prevented TFTrue to work under some systems
- Modified tftrue_unlockable_weapons:
0: Allow all unlockables weapons
1: Allow the Blutsauger, the Kritzkrieg and the Ubersaw
2: Allow the Blutsauger, the Kritzkrieg, the Ubersaw and the Original
3: Allow the Blutsauger, the Kritzkrieg, the Ubersaw, and the Crusader's Crossbow.
- Added tftrue_scope_hsdelay to remove the Sniper Rifle 200ms headshot delay when scoping
3.2 ( August 15, 2011 )
- Added tftrue_bunnyhop to enable bunny hopping
- Added the ability to jump while ducked, useful for bunny hopping
- Added the !speedmeter chat command which prints your speed in the middle of your screen if bunny hopping is enabled
- Removed mp_disable_respawn_times from the list of protected cvars
- Fixed tftrue_unlockable_weapons not giving you new weapons if you are taunting while the cvar value is changed
- Fixed tftrue_unlockable_weapons not removing the Sniper and Demoman shields
3.1 ( August 02, 2011 )
- Changed tftrue_tv_delaymapchange to only work when tournament mode is enabled
- Added TF2Logs.com support
- Fixed tftrue_tournament_mapconditions not always working correctly with some game types
3.079 ( July 02, 2011 )
- Removed the fix for the CVars/STV being reported incorrectly on
Linux servers while querying the server infos, as it made Quickplay not
work
3.078 ( July 01, 2011 )
- The Auto Updater should now be more resistant to future updates
- Fixed tftrue_unlockable_weapons not working correctly after one of the last updates
- Fixed a crash with the Auto Updater on Linux
- Removed !plugins. The plugins will now show up when typing "status" in the console
- Fixed the CVars/STV being reported incorrectly on Linux servers while querying the server infos (Source Engine bug)
- Fixed a case where tftrue_tv_autorecord would record a demo with the wrong team names
3.0 ( March 06, 2011 )
- Removed tftrue_soldier_selfdamage, tftrue_tdh_mode, and tftrue_equalizer_damagebuff
- Added tftrue_no_hats to disable hats
- Added tftrue_no_misc to disable misc items
- Added tftrue_unlockable_weapons to control which unlockables weapons to allow
- Added tftrue_tournament_safe to force the server cvars to league values when mp_tournament is enabled
- Added tftrue_tournament_mapconditions to automatically set the
correct map conditions (winlimit/timelimit/windifference/maxrounds)
based on the map type when mp_tournament is enabled
- Added tftrue_tv_delaymapchange to delay the map change when the SourceTV is enabled
- Added the !plugins chat command to display the current plugins loaded on the server
- The map will now automatically be reloaded when sv_pure or tv_enable value is changed
- Added auto updater
2.8 ( January 16, 2010 )
- Changed tftrue_tdh_minicrits to tftrue_tdh_mode. Values are 0 (normal), 1 (no mini-crits) and 2 (no 25% damage buff)
2.7a ( January 14, 2010 )
- Fixed tftrue_tdh_minicrits after TF2 update
2.7 ( January 10, 2010 )
- Removed tftrue_hitbeeps, tftrue_hitbeeps_pitch and say !hitbeeps since VALVe added a hitbeeps feature to the game
- Fixed tftrue_soldier_selfdamage to work with TDH
- Added tftrue_tdh_minicrits to turn on/off TDH mini-crits on airbone targets
- Added tftrue_equalizer_damagebuff to turn on/off the damage buff depending on health
2.6a ( October 24, 2009 )
- Fixed hit beeps playing on ubered people
2.6 ( August 26, 2009 )
- Removed tickrate changing, it would just cause issues with
doors/trains and if we fixed that, it would causes issues with
grenades/sticky bombs speed.
2.5a ( August 14, 2009 )
- Fixed !fov crashing the server
2.5 ( August 13, 2009 )
- Re added tftrue_soldier_selfdamage
- Added tftrue_hitbeeps_pitch to modify the pitch of the hit beeps sound
2.4 ( August 12, 2009 )
- Removed tftrue_soldier_self_damage because it would crash the
server since an update (and it is possible that VALVe modify the self
damage themselves soon)
- Added tftrue_hitbeeps to allows/disallows the players to use the "!hitbeeps on" chat command to enable hit beeps
- Added tftrue_maxfov to set the maximum fov using the "!fov" chat command
- Added the !fov and !hitbeeps on/off chat commands
- Added tickrate.txt file to change the server tickrate
2.3 ( February 4, 2009 )
- Removed tftrue_no_random_damage, it was added in a TF2 update as tf_damage_disablespread (Thanks VALVe!)
- Fixed tftrue_soldier_selfdamage crashing servers
- Fixed the rocket "propulsion force" when modifying tftrue_soldier_selfdamage
2.2 ( January 4, 2009 )
- Added tftrue_soldier_selfdamage which is the coefficient for soldier self damage
2.1 ( January 2, 2009 )
- Added tftrue_freezecam to enable/disable the freeze cam
2.0 ( December 29, 2008 )
- Removed Critical hits, Friendly fire, and respawn cvars
- Fixed the no random damage code
- Added a chat command !tftrue to display informations about the plugin settings