View Single Post
Plugin Info:     Modification:          Category:          Approver:   HamletEagle (36)
Mario AR.
Senior Member
Join Date: May 2011
Location: Lima, Perú
Old 08-09-2014 , 04:42   Knife: Home Run Bat
Reply With Quote #1

Knife: Home Run Bat


Description
  • This plugin adds a new knife to the game: the Home Run Bat.
  • When you hit to a player with the Home Run Bat, he will fly like a ball going directly to the Home Run Zone. If you hit good enough to make the player fly more than <x> units (see CVARs), you'll get cheers; however, if you're not a good baseball batter, you'll be booed!

CVARs
  • homerunbat_strength <#> - The "strength" of the hits (Velocity multiplier). (Default: 2000)
  • homerunbat_height <#> - Custom height for the players hit by the Home Run Bat. Set to 0 to base the height on the aim. (Default: 1000)
  • homerunbat_min_distance <#> - If you hit someone with the Home Run Bat and get a distance lower than this num, you'll be booed. (Default: 200)
  • homerunbat_hr_distance <#> - Min distance that the hit player must fly to consider a home run. Get a distance higher than this num and you'll be cheered. (Default: 800)

Requirements
Credits
  • Backstabnoob - Main Knife API, suggestions.
  • Federicomb - Testing.
  • The creator of the model - Sadly, the page where I got it does not say his name.

Video
Attached Files
File Type: zip resources.zip (476.6 KB, 664 views)
File Type: sma Get Plugin or Get Source (homerunbat.sma - 1796 views - 6.4 KB)

Last edited by Mario AR.; 08-09-2014 at 23:53. Reason: Fixed: Mod and category.
Mario AR. is offline