Knife: Home Run Bat

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Knife: Home Run Bat

Post by greenie »

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
Knife API v2.2 or higher.
Download and install the custom resources.

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.

resources.zip
plugin
source
Post Reply

Return to “Gameplay”