Addon Details

Watch - Add Favorite


Does this version work for you?
27
w00ts
w00t!2

CheapDeathmatch - Version 7

posted on 2007-03-28 18:46:17
by SuperDave



Description

Creates fast, deathmatch-style gameplay with only ES 2.0.0.248+. Spawn points are created automaticially so CheapDeathmatch is compatible with most maps without setup. Options:[syntax="es"]// CheapDeathmatch release 7 options // ./addons/eventscripts/cheapdeathmatch/cheapdeathmatch.cfg // http://addons.eventscripts.com/addons/view/cheapdeathmatch // Load this addon with: es_load cheapdeathmatch // To configure language settings for CheapDeathmatch please see cheapdeathmatch_languages.ini // ***** General options ***** // Health players receive each spawn cheapdeathmatch_health 100 // Number of lives players receive at the start of each round--set to 0 for infinite lives cheapdeathmatch_lives 2 // 0 = players do not receive an extra life for kills, 1 = players receive an extra life for every opponent killed cheapdeathmatch_lives_steal 1 // Amount of cash players receive for killing an opponent cheapdeathmatch_kill_cash 150 // ***** Respawn options ***** // Maximum number of attempts to respawn players cheapdeathmatch_respawn_attempts 50 // If no spawn point is found players will respawn at the place of death. // Distance a spawn point must be from opponents for a player to spawn on it cheapdeathmatch_respawn_distance 600 // Debug level of error message displayed when no spawn point is found for a player cheapdeathmatch_respawn_debug 0 // Respawn error messages will only be visible if eventscripts_debug is greater than or equal to cheapdeathmatch_respawn_debug. // You can find more information on eventscripts_debug here: http://www.eventscripts.com/pages/Eventscripts_debug // Number of seconds between creating spawn points at living player locations--set to 0 to use predefined map spawn points only cheapdeathmatch_respawn_create_step 10 // NOTE: This value _must_ be 0 if the map changes in layout each round (such as cs_havana). // ***** Spawn protection options ***** // This addon should be compatible with most deathmatch-compatible spawn protection addons if third-party spawn protection is desired. // Number of seconds after spawning players will be invincible cheapdeathmatch_protection_duration 6 // Alpha (visibility) of players at spawn--255 is fully visible cheapdeathmatch_protection_alpha_start 75 // Number of steps to fade invincible players to full visibility--set to 1 for no fade cheapdeathmatch_protection_alpha_steps 3 // ***** Anouncement options ***** // Say command to display personal lives, kills, deaths information--set to "none" to remove cheapdeathmatch_announce_lkd_trigger "!dmlkd" // 0 = no change, 1 = announce command to trigger deathmatch lives, kills, deaths information on the console each round, 2 = announce command to trigger deathmatch lives, kills, deaths information in chat area each round cheapdeathmatch_announce_lkd_trigger_roundstart 2 // 0 = no change, 1 = announce lives, kills, and deaths to players on the console each spawn, 2 = announce lives, kills, and deaths to players in chat area each spawn cheapdeathmatch_announce_lkd_chat 0 // 0 = no change, 1 = announce lives, kills, and deaths to players in center text each spawn cheapdeathmatch_announce_lkd_center 1 // 0 = no change, 1 = announce lives, kills, and deaths to players in a HUD message each spawn cheapdeathmatch_announce_lkd_hud 1 // Say command to display deathmatch statistics--set to "none" to remove cheapdeathmatch_announce_stats_trigger "!dmstats" // 0 = no change, 1 = announce command to trigger deathmatch statistics on the console each round, 2 = announce command to trigger deathmatch statistics in chat area each round cheapdeathmatch_announce_stats_trigger_roundstart 2 // 0 = no change, 1 = announce command to trigger deathmatch statistics on the console to players who lose their last life, 2 = announce command to trigger deathmatch statistics in chat area to players who lose their last life cheapdeathmatch_announce_stats_trigger_rounddeath 2 // 0 = announce deathmatch statistics on the console, 1 = announce deathmatch statistics in a menu, 2 = announce deathmatch statistics on the console and in a menu cheapdeathmatch_announce_stats 2 // Number of seconds to display menu of deathmatch statistics--set to 0 for no time limit cheapdeathmatch_announce_stats_menu 15 // ***** Command documentation ***** // The following server command can be used to respawn _LIVING_ players: // cheapdeathmatch_respawn -userid/name/"Steam ID"- [attacker userid/name/"Steam ID"] [weapon] [headshot] // attacker - the attacker to credit for the death of the respawning player // - If omitted, attacker defaults to 0 // weapon - the weapon used to kill the respawning player // - If omitted, weapon defaults to "world" // headshot - 0 = player was not killed with a headshot, 1 = player was killed with a headshot // - If omitted, headshot defaults to 0 // In addition to the server command CheapDeathmatch offers a Python command. In order to utilize the Python command CheapDeathmatch must be loaded // before your addon and your addon must contain the import line: // from cheapdeathmatch import cheapdeathmatch // You may then use the following command: // cheapdeathmatch.respawn(int_userid, int_attacker=0, str_weapon='world', int_headshot=0) // - Respawns a living player // int_userid - integer containing the userid of the player to respawn // int_attacker - integer containing the userid of the player to credit for the death of the respawning player // str_weapon - string containing the weapon used to kill the respawning player // int_headshot - 0 = player was not killed with a headshot, 1 = player was killed with a headshot [/syntax] Please see the forum link below for more translations or if you have a translation to add. Please also post general questions or comments.

Installation

Install with:[syntax="es"]es_install cheapdeathmatch[/syntax]Load once for [b]cheapdeathmatch.cfg[/b] to appear:[syntax="es"]es_load cheapdeathmatch[/syntax]Configure your options in [b]cheapdeathmatch.cfg[/b] and then reload the addon.

Version Notes For 7

Updated on: 2008-08-13 16:39:21 EST by SuperDave (View Zip Contents)
- Updated to ES 2.0

( Previous Versions )