When I was younger I used to hang out on Mario_Kart and try to hit back sandman baseballs slung towards me with a bat, but to no avail. Now, this is possible! Only instead, you can return any projectile back with a swing of the ol' wood.
It's a straight up can-o'-corn: you swing your bat, and any projectiles (within a cvar-determinant range and FOV) get beanball'd right back. Really helps cover one's bases if you get cornered by a Soldier or Demoman.
Any of these baseball idioms getting to ya?
Professionally edited showcase video
CVars
Code:
"sm_tfbaseball_velmult", "1.15", "Speed multiplier for a bat'd projectile."
"sm_tfbaseball_fov", "70.0", "FOV range for bat swing to register as a valid hit."
"sm_tfbaseball_range", "150.0", "Max range (hu) a projectile can be for it to be in swing range."
"sm_tfbaseball_taunt_scale", "1.5", "When a scout does his swing taunt, how much should its range scale for projectiles?"
"sm_tfbaseball_enabled", "1", "Enable TF2Baseball."
Requirements
SM 1.10+
DHooks with Detours
DOWNLOAD
Installation
Extract
gamedata,
plugins, and
scripting to your SM directory.
Restart your server and play ball!
__________________