Patch Notes

Pre-Greenlight

Patch 2.45

Generic / Misc Stuff

Added server command ff_setprematch that takes a value in seconds and sets prematch so that the given number of seconds remain until it ends (even if not currently in prematch)

Added grenades to the right side ammo pickup list

Added a much better class selection screen

Added SG barrel spinning animations

Auto selecting a team now takes into account team scores as well as how full teams are

Gibs now take the blast direction into consideration

Added cake's class switch suggestion: "Switch from 1 class to another, no delay. Do a second class switch in under 5 seconds from the first, 5 second respawn delay." (Made the respawn delay based on the last class change time instead of always being 5 seconds; for example, if you change class, wait 2.5 seconds, and then change class again, your respawn will only be delayed for 2.5 seconds; if you change class twice instantly you'll get the full 5 seconds)

Added cvars: hud_grenadetimers (when set to 0, turns off visual grenade timers) and hud_buildtimers (when set to 0, turns off visual buildable timers)

Added MOTD window and updated teammenu

Added command "serverinfo" that brings up the MOTD window

Modified the team menu server info section to have a button to view the MOTD and show a customizable small little banner (gets the URL from host.txt; only URLs are allowed)

MOTD can be text, HTML, or a URL

Scrollbars on HTML elements are apparently not working, so they have been disabled

Added default motd and host URL if none are found

Added server convar sv_motd_enable that determines if the MOTD window is shown to clients when they connect

Ragdolls now keep flames

Made changing cl_interpolate require sv_cheats

Spectator HUD top black bar removed and replaced with the normal HUD (the black bar didn't show any different information and obscured Lua HUD elements)

Made the spectator team color a bit darker so that text is more visible against a teamcolored HUD element background)

Made EMP explosions no longer shorten the fuselength of detpacks to 5 seconds (it was implemented poorly, is totally hidden functionality, and isn't even a desirable feature)

Made pipe trails grellow rather than red

Added default_fov and viewmodel_fov sliders to the Graphics page of Fortress Options

Encrypted player and weapon scripts

Bug Fixes / Optimizations

Fixed a typo that made it look like it was looking for lua files in maps/maps instead of just maps/ when the lua was missing

Fixed having no grenade timer sound set on a fresh install (hooray for Dexter fixing this!)

Made cl_spawnweapon_ convars actually work (the cvars used to be server-side and the server's settings were the only things that mattered)

Fixed concussion stars or tranq zzZ getting shown when cloaked

Fixed scrollbars not working in the teammenu

Fixed crosshair not drawing while spectating someone in first person mode

player:RemoveBuildables() // cancels any of the player's building or built buildables

player:RemoveProjectiles() // removes all of the player's projectiles

player:RemoveItems() // removes all of the player's projectiles and cancels all buildables

player:LockInPlace( bool lockState ) // either locks or unlocks a player in place depending on the parameter (sets velocity to zero and makes it so they can't move at all; no gravity, etc); does not affect anything except movement

Moved the flaginfo call in the spawn code so that it doesn't skip spectators (so joining a server and going spec doesn't mean you miss the Lua-based hud being drawn)