Description
Allows player to instantly defuse the bomb at the risk of detonation. Requires only ES 2.1+ and CheapPopup
Options:[syntax="es"]// CheapWireCut release 5 options
// ./addons/eventscripts/cheapwirecut/cheapwirecut.cfg
// http://addons.eventscripts.com/addons/view/cheapwirecut
// Load this addon with: es_load cheapwirecut
// THIS ADDON REQUIRES CheapPopup TO FUNCTION: es_install cheappopup
// Or: http://addons.eventscripts.com/pages/cheappopup
// To configure language settings for CheapWireCut please see cheapwirecut_languages.ini
// Thanks to 7355608 for this script idea. CutWires can be found here:
// http://addons.eventscripts.com/addons/view/cutwires
// Thanks also to *X*Y*Z*SaYnt. HailMary can be found here:
// http://addons.eventscripts.com/addons/view/hailmary
// This addon is compatible with CheapBombTimer, which can be found here:
// http://addons.eventscripts.com/addons/view/cheapbombtimer
// ***** General options *****
// Percent chance pulling a wire detonates the bomb
cheapwirecut_pull 65
// Percent chance cutting a wire (defuse kit only) detonates the bomb
cheapwirecut_cut 28
// ***** BPS option *****
// Bomb beeps per second (x 10)
cheapwirecut_bps 83
// To test your cheapwirecut_bps setting load CheapWireCut, plant the bomb and let it explode.
// If your cheapwirecut_bps setting is incorrect you will be told the correct value when the bomb explodes.
// ***** Minigame options *****
// 0 = no change, 1 = players planting the bomb will be prompted to select menu items to increase detonation chance
cheapwirecut_minigame 1
// Digits possible in the minigame--only 1 through 9 will increase explosion chance, 0 will omit the selection
cheapwirecut_minigame_digits "0123456789"
// Percentage points added to the detonation chance of pulling a wire by pressing the correct digit in the minigame
cheapwirecut_minigame_pull 6
// Percentage points added to the detonation chance of cutting a wire by pressing the correct digit in the minigame
cheapwirecut_minigame_cut 12
// ***** Bot options *****
// Maximum chance of explosion allowed for a bot to pull or cut a wire--set to 0 to eliminate
cheapwirecut_bot_defuse_percent 85
// Maximum perceived chance of explosion for a bot to pull or cut a wire--set to 0 to eliminate
cheapwirecut_bot_defuse_perceived 50
// Percent chance a bot will pull or cut a wire if attacked while defusing--set to 0 to eliminate
cheapwirecut_bot_defuse_hurt 80
// Bomb time in seconds below which bots will prefer to pull or cut a wire rather than be defusing
cheapwirecut_bot_defuse_threshold 2
// Percent chance a bot will increase the chance of detonation with the minigame
cheapwirecut_bot_minigame_chance 70
// Maximum number of times a bot can increase the chance of detonation with the minigame--set to 0 to eliminate
cheapwirecut_bot_minigame_max 5
// ***** Announcement options *****
// 0 = no change, 1 = announce the percent chance of detonation from pulling or cutting wire on the console to Terrorists, 2 = announce the percent chance of detonation from pulling or cutting wire in chat area to Terrorists, 3 = announce the percent chance of detonation from pulling or cutting wire on the console to all players, 4 = announce the percent chance of detonation from pulling or cutting wire in chat area to all players
cheapwirecut_announce_percent_chat 2
// 0 = no change, 1 = announce the percent chance of detonation from pulling or cutting wire in center text to Terrorists, 2 = announce the percent chance of detonation from pulling or cutting wire in center text to all players
cheapwirecut_announce_percent_center 0
// 0 = no change, 1 = announce the percent chance of detonation from pulling or cutting wire in a HUD message to Terrorists, 2 = announce the percent chance of detonation from pulling or cutting wire in a HUD message to all players
cheapwirecut_announce_percent_hud 1
// 0 = no change, 1 = announce when a wire is cut or pulled on the console, 2 = announce when a wire is cut or pulled in chat area, 3 = announce when the bomb is defused normally and when a wire is cut or pulled on the console, 4 = announce when the bomb is defused normally and when a wire is cut or pulled in chat area
cheapwirecut_announce_result_chat 4
// 0 = no change, 1 = announce when a wire is cut or pulled in center text, 2 = announce when the bomb is defused normally and when a wire is cut or pulled in center text
cheapwirecut_announce_result_center 0
// 0 = no change, 1 = announce when a wire is cut or pulled in a HUD message, 2 = announce when the bomb is defused normally and when a wire is cut or pulled in a HUD message
cheapwirecut_announce_result_hud 2
// ***** Event documentation *****
// The following events will fire when CheapWireCut is loaded:
// bomb_wire
// - Fires when a player pulls or cuts a wire on the bomb BEFORE bomb_defused or bomb_exploded
// event_var(userid) - Userid of the player who pulled or cut a wire
// event_var(action) - Action performed ("PULL", "CUT")
// event_var(result) - Result of pulling or cutting the wire ("DEFUSED", "EXPLODED")
// cheapwirecut_minigame
// event_var(userid) - Userid of the player in the minigame
// event_var(action) - Action performed ("ADD_TO_CUT", "ADD_TO_PULL", "RESET", "FINISH", "CANCEL")
// event_var(pull) - Percent chance a pulled wire will explode
// event_var(cut) - Percent chance a cut wire will explode
// These events also provide 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.