PDA

View Full Version : DoD GrenadeFun ( v0.6beta )


Firestorm
07-09-2006, 09:49 AM
// DESCRIPTION:
// ============
//
// DoD GrenadeFun makes your map a grenade arena!
//
// - unlimited grenades for every player
// - definable time for grenade "refill"
// - it's possible that only "full-impact"-grenades
// kill players
// - ability for players to start a vote to
// enable/disable the plugin
// - players can be made glow in their team's color
// - DoD's standard grenade fuse time can be replaced by
// two different fuse times, one for normal thrown
// grenades and another for pre-cooked thrown grenades
// - players only have grenades, no other weapons available,
// weapons that are being picked up will be removed again
// - works for all maps, players that joined after it was
// enabled and can be enabled by default from server startup on
//
// CREDITS:
// ========
//
// Big thanks to SidLuke for the original idea!

// USAGE:
// ======
//
//
// CVARs (for amxx.cfg):
// ---------------------
//
// dod_grenadefun_enabled <1/0> = enable/disable GrenadeFun
// by default
//
// dod_grenadefun_refilldelay <time> = time (in seconds) a player
// has to "wait" for a new
// grenade after throwing one
//
// dod_grenadefun_onlydeathnade <1/0> = enable/disable the feature
// that will give players the
// health back which they lost
// due to close grenade impact,
// so that only grenades which
// are close enough to do 100+
// damage will kill the player
//
// dod_grenadefun_votings <1/0> = allow/disallow public players
// to start a vote to start/stop
// GrenadeFun.
// (Admins with "ADMIN_VOTE" can
// always start a vote!)
//
// dod_grenadefun_glowplayers <1/0> = enable/disable making players
// glow in their team's color when
// GrenadeFun is running
//
// dod_grenadefun_customfuse <1/0> = enable/disable overwriting the
// standard DoD fuse times.
// this feature will replace the
// normal 6 seconds fuse of a
// grenade and will split it into
// two definable times
//
// dod_grenadefun_freshfuse <time> = time (in seconds) a normal
// thrown grenade takes to blow
// (0.1 -> 20.0 are valid times)
//
// dod_grenadefun_primefuse <time> = time (in seconds) a pre-cooked
// thrown grenade takes to blow
// (0.1 -> 20.0 are valid times)
//
//
//
// ADMIN COMMANDS:
// ---------------
//
// amx_grenadefun <1/0> = enable/disable GrenadeFun
//
//
//
// PLAYER COMMANDS:
// ----------------
//
// say /votegrenadefun = start a vote to enable/disable
// GrenadeFun Mode

// CHANGELOG:
// ==========
//
// - 30.01.2005 Version 0.5beta
// Initial Release
//
// - 08.04.2005 Version 0.6beta
// Bugfix:
// * british soldiers get the mills bomb
// instead of a stickgrenade now.
// thanks to SidLuke for the fix!