Thread: Dodgeball
View Single Post
Plugin Info:     Modification:          Category:         
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 08-26-2005 , 00:18   Dodgeball
Reply With Quote #1

Thanks to sub and pedro for the dodgeball models!!

Dodgeball 0.13 by Avalanche
Last updated 07/09/06 - currently only works in Counter-Strike

VERSION 0.13:
- Stops dodgeballs from stopping midair randomly?
- Added a first-person view model (thanks pedro). Check out city14rp.org

VERSION 0.12:
- Forces a round restart when dodgeball is turned on and a map restart when dodgeball is turned off so that everything goes smoothly
- Stops balls from being reset midround when players respawn, join, or because of anything else
- Forces players to drop a dodgeball if they had one and they weren't going to already (ie: pin pulled when they died), so the number of dodgeballs in play should stay the same all round
- If playing he_dodgeball2, the CT spawns are rotated to face the center correctly
- The cvar dodgeball_refresh now controls how often the dodgeballs reset, in seconds. Settings this to 0 will disable the feature. This is to prevent stalemates on maps that don't allow you to cross sides. Default is 60 seconds.

About
Dodgeball is a server-side modification that nearly replicates Dodgeball: Source, except on Half-Life 1. In short, HE grenades become dodgeballs. If you hit another player they die. There is currently no ball catching. If a ball hits a wall or the ground it becomes a dead ball (it will stop glowing) and you can now safely pick it up.

Maps
Incorporating preset dodgeballs into your map is easy: any entity with a targetname of "spawnball" or an HE grenade armoury_entity will become a spawn point for dodgeballs. For pure and utter enjoyment play this on he_dodgeball2 by NIPPER: download. This is what I tested it on so the plugin pretty much revolves around this map, but can still properly be used on other maps.

Commands
amx_db_on (requires ADMIN_BAN) <0|1> - enable or disable dodgeball, for best use sv_restartround should follow
amx_db_weapons (requires ADMIN_BAN) <0|1> - enable or disable other weapons with dodgeball
amx_db_respawn (requires ADMIN_BAN) <0|1> - enable or disable infinite respawn in dodgeball

CVars
dodgeball_on (default 0) - dodgeball on or off
dodgeball_followff (default 1) - 1: follow mp_friendlyfire, 0: no friendlyfire at all
dodgeball_antistick (default 0) - balls get stuck on certain brush entities, 1: instadrop to ground, 0: slide slowly
dodgeball_weapons (default 0) - players are allowed to use other weapons besides dodgeballs
dodgeball_respawn (default 0) - respawn infinitely in dodgeball
dodgeball_refresh (default 60.0) - how often balls reset

Changing any of these during a round is not recommended.

Models (unzip into your cstrike directory)
v_dodgeball.mdl: done by "pedro" -- check out city14rp.org
w_dodgeball.mdl: reskin of testsphere.mdl by Valve
p_dodgeball.mdl: reskin/resize of M617 Frag Grenade model by Dark Soul

Modules
Fun
Engine
FakeMeta
CStrike
CSX

Known Bugs
If you join in the middle of a game with respawn mode going, you won't respawn.

Troubleshooting
If it doesn't work, make sure all modules are enabled and that dodgeball_on is 1. If it still doesn't work, post here.

Screenshots
1 - 2 - 3 - 4 - 5 - 6

Sorry, the models have been removed indefinitely due to rights issues.
Attached Files
File Type: sma Get Plugin or Get Source (dodgeball.sma - 19265 views - 24.5 KB)
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS

Last edited by XxAvalanchexX; 06-15-2011 at 00:50.
XxAvalanchexX is offline