Kickball Plugin v1.0 - MvM ONLY
Comments:
Kickball, each team, must fight for control of the "ball" and kick it to the enemy Command Chair. The ball can and will do damage to the enemy, if going fast enough and randomly, according to the CVARs. Upon scoring, the team will receive a cheerleader for their team's goal, only one team may have the cheerleader at one time. At the end, of match, a Top Statistics of the game will be displayed.
Note:
The plugin requires an entity added to maps manually, view command below for details.
Command:
kickball_spawn - TYPE AS IS, with NO parameters, adds <mapname> <origin> of ball spawn location to kickball.ini , if none exists plugin will create one automatically. To use, simply enter map, stand where you want ball to spawn. And type command, requires RCON access. After you have created a location, after restarting map, ball will spawn where you typed command.
kickball_bind <name> <key> - Binds a users key to "kickball".
kickball - Kicks the ball.
Adding Ball Spawn by Ripent:
To add entity into the .bsp, make sure it is like this. Only experts use this, all else, use my command above.
{
"origin" "-227 -6 1604"
"targetname" "kickball"
"classname" "info_target"
}
CVARs:
amx_ball - CVAR for determining if kickball is activated, (from another plugin).
- These CVARS can be changed at any time during round!
kickball_kick (default: 1000) - Kicking velocity without meter.
kickball_meter (default: 0) - Disable/Enable kicking meter.
kickball_dmg (default: 0.13) - Damage multiplier for when ball hits enemy.
kickball_dmgpct (default: 40) - Percentage chance for taking damage by ball. (If it goes to fast.)
kickball_knife (default: 0) - Make the round knife only.
kickball_jetpack (default: 0) - Disable/Enable jetpack buying.
kickball_score (default: 6) - Scores needed to win a round.
kickball_reset (default: 30.0) - Ball reset time, to respawn at ball spawn location.
kickball_goalsafety (default: 300) - Distance around Comm Chair, that does damage to enemy.
Version : 1.0
Requires: AMXX 1.01 or 1.5 with NS module
Also Requires: Sound files and models (found below)
Author: OneEyed
Date: 08-21-2005
Email:
[email protected]
IRC: #zT (gamesurge.net)
Tested :
Kickball plugin was tested on a win32 machine. Linux untested.
Credits:
theqizmo - Helped with alot of ideas and things in this plugin.
WhitePanther - Knife Knockback Effect
Twilight Suzuka - For snippet on keeping a model in front.
CheesyPeteza - For his impulse handler.
zeroTolerance server - For helping test it on live server. ip: 209.75.97.8:27015