/* ************************************************************* * Spawn kill slaying plugin - Version 1.0 * *************************************************************** * * * Name: plugin_ft_spawn_killing * * Author: mufasa@firetiger.net * * Web site: www.firetiger.net * * CS server: firetiger.net:27015 * * Released: 20th February 2003 * * Comment:Spawn kill slaying. To use with AdminMod plugin. * * * * Version 1.10: * * * * - Fixed kill_timer bug * * * * Version 1.01: * * * * - Added admin_slap to punishment type (val: 0) * * * * Version 1.0: * * * * - Initial release * * * * For more info: * * http://www.firetiger.net/cstrike/plugins.php * * http://www.firetiger.net/forums/ * *************************************************************** * * * NOTE: This plugin requires LogD! * * http://logd.sourceforge.net/ * * * * NOTE: The included binary is Linux only! * * It is suggested you recompile from source no matter * * what OS you use though. * *************************************************************** */ I was sick and tired of spawn killers in maps like awp_map, the fy_ series of maps, de_box, etc. Those maps were poorly designed so that some spawn points allow you to see your enemy right when you spawn. If you still have that sniper rifle from last round (or just get those lucky head shots), you can sit there during the freeze/buy time aiming directly at your opponents head and just keep pressing the fire button until the freeze time is over and everyone starts moving. Well, except for your enemy of course. You sniped him the exact instant anyone was allowed to fire preventing him from being able to put up any defense even the simple act of moving. Well, I wrote an AdminMod plugin so that any player who kills another within the set number of seconds since the round starts, gets punished (usually killed for that round) right then and there. Right now the default is set on two seconds, but you can always change that in the #define section and in-game via the admin_ft_sk_spawn_time cvar. (I know: long cvar name, but you have to keep it unique... :) Visit www.firetiger.net/cstrike/plugins.php for more information and the latest version of this plugin. *************************************************************** Installation: 1. Modify the #defines as you like. Their particular purposes are commented next to each of them. 2. Compile the plugin source as you would any other AdminMod plugin, copy the .amx file to your plugins directory, add it to your plugin.ini, and change maps. (Just like you would do for any other plugin.) *************************************************************** Plugin commands: admin_ft_sk_spawn_time - can be set from 0 (to disable the plugin) up to the max round time or the MAX_SPAWN_TIME define. admin_ft_sk_announce_time - if this is set to 1 (on) then a message will follow after any slaying stating why the person was slayed and how long spawn_time is set to. admin_ft_sk_type - Set this to 1 to use the admin_slay command on a spawn killer, 2 uses admin_kick, and 3 uses the good old Half-Life kick command. It is suggested to leave this set at 1. *************************************************************** Known Bugs - The usuall bots not responding with this because it asks to execute client commands which bot code is natorious for ignoring or screwing up. If this is a big problem for you, set admin_ft_sk_type to 3 to kick the bot from the server- side. (Although, if it's like most other bots, it'll just rejoin in a second anyway... I guess it will let the real players feel as if the bots aren't as cheap?) Suggestions & To Do - use the AdminMod vault for permanent settings - configurable/translatable text messages - invent map specific settings automatically - more customization? - tighter code/less bloat *************************************************************** License: The usual GPL. You can get a copy yourself if you don't know it already. *************************************************************** Advanced/Useless Knowledge: FireTiger runs JoeBot on the CS server so this plugin makes a small attempt to ignore bots to a degree because of so many flawed bots that don't accept client commands well. The plugin will let you know if it tried to kick a bot (or what it thinks is a bot). See the admin_ft_sk_type cvar documentation and Known Bugs section for more information if this is a problem for you. *************************************************************** Mufasa mufasa@firetiger.net www.firetiger.net