Addon Details

Watch - Add Favorite


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

SwapWithVictim - Version 4

posted on 2007-04-17 20:58:59
by SuperDave



Description

Allows players to swap money, score, position, or team with their victims. Requires only ES 2.0+ Options:[syntax="es"]// SwapWithVictim release 4 options // ./addons/eventscripts/swapwithvictim/swapwithvictim.cfg // http://addons.eventscripts.com/addons/view/swapwithvictim // Load this addon with: es_load swapwithvictim // To configure language settings for SwapWithVictim please see swapwithvictim_languages.ini // ***** Trigger options ***** // To configure which kills trigger a swap use the following commands: // swapwithvictim_add -money/position/score/team- -kill type- -percent chance of swap- // swapwithvictim_remove -money/position/score/team- -kill type- // See below for a list of acceptable weapon names. // There are four properties a player can swap with his or her victim. // The following options are an example. Please alter them as desired. // *** Money *** // If the victim has more money than the attacker, the victim and attacker swap money. swapwithvictim_add money #all_headshot 50 // Players will swap money with their victims on 50% of headshot kills swapwithvictim_add money #secondary 50 // Players will swap money with their victims on 50% of secondary kills swapwithvictim_add money #rifle 75 // Players will swap money with their victims on 75% of rifle kills swapwithvictim_remove money awp // Players will not swap money with their victims from awp kills swapwithvictim_remove money awp_headshot // Players will not swap money with their victims from awp headshot kills // *** Position *** // The attacker will be transported to the location of the victim. swapwithvictim_add position #shotgun 100 // Players will swap position with their victims on every shotgun kills swapwithvictim_add position #smg 25 // Players will swap position with their victims on 25% of smg kills // *** Score *** // If the victim has a higher score than the attacker, the victim and the attack swap scores. swapwithvictim_add score knife 100 // Players will swap scores with their victims on every knife kill swapwithvictim_add score awp_headshot 75 // Players will swap scores with their victims on 75% of awp headshot kills swapwithvictim_add score #secondary_headshot 75 // Players will swap scores with their victims on 75% of secondary headshot kills // *** Team *** // The attacker is changed to the victim's team and model. A sound will be played and a text annoucement provided. // Players change teams only on the scoreboard so if all players that started on the same team die, the round will end. // DO NOT use mp_restartgame while this addon is loaded if you use the swap team feature! swapwithvictim_add team #all 90 // Players will swap teams with their victims on 90% of every kill swapwithvictim_add team #secondary 45 // Players will swap teams with their victims on 45% of secondary kills swapwithvictim_remove team hegrenade // Players will not swap teams with their victims on HE grenade kills // ***** Miscellaneous options ***** swapwithvictim_position_swapview 1 // 0 = no change, 1 = player swapping position will also swap view [default 1] swapwithvictim_team_dropc4 0 // 0 = when a player with the C4 is swapped to the Counter-Terrorist team the C4 will be randomly given to a Terrorist, // 1 = when a player with the C4 is swapped to the Counter-Terrorist team he or she will drop the C4 [default 0] swapwithvictim_team_sound 50 // Percent of the map that can heard the sound when a player changes teams--set to 0 for no sound [default 50] // The sound played when a player changes teams is the sound of turning on the night vision goggles. // ***** Announcement options ***** swapwithvictim_announce_money_center 2 // 0 = no change, 1 = players receive a center text message when they swap money with their victim, // 2 = players and victims receive a center text message when a player swaps money with his or her victim [default 2] swapwithvictim_announce_money_chat 3 // 0 = no change, 1 = players receive a chat area message when they swap money with their victim, // 2 = players and victims receive a chat area message when a player swaps money with his or her victim, // 3 = all players receive a chat area message when a player swaps money with his or her victim [default 3] swapwithvictim_announce_money_console 0 // 0 = no change, 1 = players receive a console message when they swap money with their victim, // 2 = players and victims receive a console message when a player swaps money with his or her victim, // 3 = all players receive a console message when a player swaps money with his or her victim [default 0] swapwithvictim_announce_position_center 1 // 0 = no change, 1 = players receive a center text message when they swap position with their victim, // 2 = players and victims receive a center text message when a player swaps position with his or her victim [default 1] swapwithvictim_announce_position_chat 3 // 0 = no change, 1 = players receive a chat area message when they swap position with their victim, // 2 = players and victims receive a chat area message when a player swaps position with his or her victim, // 3 = all players receive a chat area message when a player swaps position with his or her victim [default 3] swapwithvictim_announce_position_console 0 // 0 = no change, 1 = players receive a console message when they swap position with their victim, // 2 = players and victims receive a console message when a player swaps position with his or her victim, // 3 = all players receive a console message when a player swaps position with his or her victim [default 0] swapwithvictim_announce_team_center 0 // 0 = no change, 1 = players receive a center text message when they swap teams with their victim, // 2 = players and victims receive a center text message when a player swaps teams with his or her victim [default 0] swapwithvictim_announce_team_chat 0 // 0 = no change, 1 = players receive a chat area message when they swap teams with their victim, // 2 = players and victims receive a chat area message when a player swaps teams with his or her victim, // 3 = all players receive a chat area message when a player swaps teams with his or her victim [default 0] swapwithvictim_announce_team_console 0 // 0 = no change, 1 = players receive a console message when they swap teams with their victim, // 2 = players and victims receive a console message when a player swaps teams with his or her victim, // 3 = all players receive a console message when a player swaps teams with his or her victim [default 0] swapwithvictim_announce_score_center 2 // 0 = no change, 1 = players receive a center text message when they swap scores with their victim, // 2 = players and victims receive a center text message when a player swaps scores with his or her victim [default 2] swapwithvictim_announce_score_chat 3 // 0 = no change, 1 = players receive a chat area message when they swap scores with their victim, // 2 = players and victims receive a chat area message when a player swaps scores with his or her victim, // 3 = all players receive a chat area message when a player swaps scores with his or her victim [default 3] swapwithvictim_announce_score_console 0 // 0 = no change, 1 = players receive a console message when they swap scores with their victim, // 2 = players and victims receive a console message when a player swaps scores with his or her victim, // 3 = all players receive a console message when a player swaps scores with his or her victim [default 0] // The following options don't announce a swap but inform the player he or she has switched teams. swapwithvictim_announce_team_change_hud 1 // 0 = no change, 1 = players receive a HUD message when changing teams [default 1] swapwithvictim_announce_team_change_center 1 // 0 = no change, 1 = players receive a center text message when changing teams [default 1] swapwithvictim_announce_team_change_chat 2 // 0 = no change, 1 = players receive a chat area message when changing teams, // 2 = all players receive a chat area message when a player changes teams [default 2] swapwithvictim_announce_team_change_console 0 // 0 = no change, 1 = players receive a console message when changing teams, // 2 = all players receive a console message when a player changes teams [default 0] // ***** Acceptable weapon names ***** // Below are the weapon names acceptable as swap triggers along with their more common in-game names. // This is just a reference--these are not options. // The following weapon types are acceptable and allow headshots (some overlap): // #all // #primary // #rifle // #shotgun // #smg // #sniper // #secondary // #pistol // Headshots can be speficied for the following weapons: // deagle - Night Hawk .50C // ak47 - CV-47 // scout - Schmidt Scout // aug - Bullpup // g3sg1 - D3/AU1 // galil - IDF Defender // famas - Clarion 5.56 // m4a1 - Maverick M4A1 Carbine // sg552 - Krieg 552 // sg550 - Krieg 550 Commando // m249 - M249 // awp - Magnum Sniper Rifle // tmp - Schmidt Machine Pistol // mp5navy - KM Sub-Machine Gun // glock - 9x19mm Sidearm // elite - .40 Dual Elites // m3 - Leone 12 Gauge Super // xm1014 - Leone YG1265 Auto Shotgun // usp - KM .45 Tactical // mac10 - Ingram MAC-10 // ump45 - KM UMP45 // p228 - 228 Compact // fiveseven - ES Five-Seven // p90 - ES C90 // The following weapons do not support headshots: // hegrenade - HE Grenade // knife - Knife // team - Team // team_suicide - Suicide (Never triggers because there is no player to swap with) // other - Kill that isn't listed[/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: 2007-10-29 06:59:19 EST by SuperDave (View Zip Contents)
Updated to ES 2.0

( Previous Versions )