Raised This Month: $51 Target: $400
 12% 

Kickball


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Natural Selection        Category:   Fun Stuff        Approver:   EKS (166)
OneEyed
AMX Mod X Beta Tester
Join Date: Jun 2005
Old 08-22-2005 , 01:25   Kickball
Reply With Quote #1

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
Attached Thumbnails
Click image for larger version

Name:	kickball2.jpg
Views:	4628
Size:	41.9 KB
ID:	3669   Click image for larger version

Name:	kickball1.jpg
Views:	4097
Size:	42.2 KB
ID:	3670  
Attached Files
File Type: rar kickball.rar (576.1 KB, 3062 views)
File Type: sma Get Plugin or Get Source (kickball.sma - 4016 views - 49.8 KB)
File Type: amx kickball.amx (47.4 KB, 1404 views)
__________________
OneEyed is offline
OneEyed
AMX Mod X Beta Tester
Join Date: Jun 2005
Old 08-22-2005 , 01:27  
Reply With Quote #2

Test Map, originally called sm_oldtrafford , but i renamed it to coincide with the plugin, sorry but i forgot who created it. (Credits tho =)
Attached Files
File Type: rar co_kickball.rar (547.9 KB, 1421 views)
OneEyed is offline
mysticssjgoku4
Veteran Member
Join Date: Jan 2005
Location: Chicago Heights, IL
Old 08-22-2005 , 01:36  
Reply With Quote #3

This would be for Natural-Selection. Is there not a category for ns?
__________________

mysticssjgoku4 is offline
Send a message via AIM to mysticssjgoku4 Send a message via MSN to mysticssjgoku4
smeghead
Junior Member
Join Date: Sep 2005
Old 09-12-2005 , 20:50  
Reply With Quote #4

OneEyed can you please look here:

http://forums.alliedmods.net/showthread.php?t=17941

Thanks
smeghead is offline
EngineX
Junior Member
Join Date: Sep 2005
Location: US, California
Old 09-13-2005 , 01:45  
Reply With Quote #5

I suppose this works on MvM or AvA also right?
__________________
A Block of.
EngineX is offline
OneEyed
AMX Mod X Beta Tester
Join Date: Jun 2005
Old 09-13-2005 , 07:00  
Reply With Quote #6

Quote:
Originally Posted by EngineX
I suppose this works on MvM or AvA also right?
This mod is for Marine vs. Marine only.
OneEyed is offline
onosrider
Member
Join Date: Jul 2005
Old 10-09-2005 , 22:23  
Reply With Quote #7

sounds funny but does not compile for me with amxx 1.60 compiler

Quote:
kickball.sma(711) : error 017 undefined symbol "set user frags"
kickball.sma(779) : error 017 undefined symbol "set user frags"


does anyone get the same error?
onosrider is offline
Siessen
Junior Member
Join Date: May 2004
Old 11-08-2005 , 19:07  
Reply With Quote #8

Quote:
Originally Posted by onosrider
sounds funny but does not compile for me with amxx 1.60 compiler

Quote:
kickball.sma(711) : error 017 undefined symbol "set user frags"
kickball.sma(779) : error 017 undefined symbol "set user frags"


does anyone get the same error?
I am, using amxx1.6 on metamod-v1.18p26 and tryied both online and offline compiler...
Anyone? pls
__________________
Siessen is offline
Send a message via AIM to Siessen Send a message via MSN to Siessen
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 12-14-2005 , 00:23  
Reply With Quote #9

I know this is a bit old but...

This was fun to play thanks OneEyed, zT server, and those that helped to code it...


onosrider & Siessen
add:
#include <fun>
somewhere around line 50 of the code and it will compile fine.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
OneEyed
AMX Mod X Beta Tester
Join Date: Jun 2005
Old 03-11-2006 , 13:18  
Reply With Quote #10

Updated:
-Fixed ball blocking player.
-Added new command, kickball_bind <name> <key> - binds a users key to "kickball"
-Added a glow trail to ball for better visual effect.
-Raised the ball smack distance player gets pushed.
OneEyed is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:06.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode