Addon Details

Watch - Add Favorite


AssistedKills ScreenShot

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

AssistedKills - Version 4

posted on 2007-10-22 06:08:37
by SuperDave



Description

Fires a custom event when a player kills an opponent but did not cause the most damage to that opponent. Also fires when a player kills a blinded opponent but did not throw the flashbang. Requires only ES 2.0+ Options:[syntax="es"]// AssistedKills release 4 options // ./addons/eventscripts/assistedkills/assistedkills.cfg // http://addons.eventscripts.com/addons/view/assistedkills // Load this addon with: es_load assistedkills // To configure language settings for AssistedKills please see assistedkills_languages.ini // ***** General options ***** assistedkills_threshold 15 // Amount of damage a player must have more than the killing player to receive an assisted kill [default 15] assistedkills_flashbang 1 // 0 = no flashbang assisted kills, 1 = blinding a killed player is considered assisting in the kill [default 1] assistedkills_hegrenade 1 // 0 = no HE grenade assisted kills, 1 = killing a player who drops a grenade that kills another player is considered assisting in the latter kill [default 1] // WARNING: Setting this option to 1 will turn on eventscripts_noisy. More information on eventscripts_noisy can be found here: // http://www.eventscripts.com/pages/Eventscripts_noisy // ***** Rewards options ***** assistedkills_reward_money 150 // Money a player receives for an assisted kill [default 150] assistedkills_reward_killstopoints 2 // Number of assisted kills a player needs to receive points added to his or her score [default 2] assistedkills_reward_points 1 // Number of points a player will receive for the requisite number of assisted kills [default 1] // ***** Punishment options ***** assistedkills_punishment_money 150 // Money a player loses for a kill that was assisted [default 150] assistedkills_punishment_killstopoints 5 // Number of kills that can be assisted until player loses points from his or her score [default 5] assistedkills_punishment_points 2 // Number of points a player will lose for the requisite number of kills that are assisted [default 2] // ***** Announcement options ***** assistedkills_announce_console 2 // 0 = no change, 1 = announce assisted kills to involved players on the console, // 2 = announce assisted kills to all players on the console [default 2] assistedkills_announce_center 2 // 0 = no change, 1 = announce assisted kills to the player who made the assisted kill in center text, // 2 = announce assisted kills to players involved in the assisted kill in center text [default 2] assistedkills_announce_hud 0 // 0 = no change, 1 = announce assisted kills to the player who made the assisted kill in a HUD message, // 2 = announce assisted kills to players involved in the assisted kill in a HUD message [default 0] assistedkills_announce_chat 0 // 0 = no change, 1 = announce assisted kills to the player who made the assisted kill in chat area, // 2 = announce assisted kills to players involved in the assisted kill in chat area, // 3 = announce assisted kills to all players in chat area [default 0] // ***** Event documentation ***** // While loaded this addon will create and fire a custom event: // player_assisteddeath // event_var(userid) - Userid of the player who died // event_var(attacker) - Userid of the player who killed the victim // event_var(assistid) - Userid of the player who assisted in killing the victim // event_var(assisttype) - Type of assisted kill ("DAMAGE", "FLASHBANG", "HEGRENADE") // event_var(weapon) - Weapon used to kill the victim // event_var(damage) - Damage the assisting player gave to the victim (0 for grenade assists) // event_var(attackerdamage) - Damage the killing player gave to the victim // event_var(assistcount) - Number of assisted kills the assisting player has // event_var(assistedcount) - Number of kills that were assisted the attacker has // Each event also provides event_var(es_steamid), event_var(es_username), and all the other event_vars that accompany // event_var(userid). More information can be found here: http://www.eventscripts.com/pages/Extended_event_variables[/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.

Version Notes For 4

Updated on: 2008-04-19 03:27:50 EST by SuperDave (View Zip Contents)
- Added [b]assistedkills_hegrenade[/b] option for assisted HE kills (when you kill a player forcing him or her to drop a grenade that kills another player) - Optimized code

( Previous Versions )