Allows players to create props which explode when players are near. Requires only ES 2.0.0.248+
Options:[syntax="es"]// IEDMod release 3 options
// ./addons/eventscripts/iedmod/iedmod.cfg
// http://addons.eventscripts.com/addons/view/iedmod
// Load this addon with: es_load iedmod
// To configure language settings for IEDMod please see iedmod_languages.ini
// ***** Detonation options *****
// IEDs will be detonated when a player is within this distance
iedmod_detonation_radius 150
// Number of seconds between checking the distance of players
iedmod_detonation_checkdelay 1
// 0 = only opposing team members can detonate an IED, 1 = any player can detonate an IED
iedmod_detonation_team 0
// ***** Explosion options *****
// Radius of IED explosion--HE grenade is 350
iedmod_explosion_radius 350
// Magnitude of IED explosion--HE grenade is 100
iedmod_explosion_magnitude 100
// Percent of the map that can hear an IED explode
iedmod_explosion_sound 40
// ***** IED purchasing options *****
// Cost of purchasing an IED--0 will give all players the maximum number of IEDs
iedmod_purchase_cost 2000
// Maximum number of IEDs a player can have--set to 0 for no limit
iedmod_purchase_max 3
// Command players must say to purchase an IED
iedmod_purchase_command "!buyied"
// 0 = IEDs can be puchased anywhere, 1 = IEDs can only be puchased in buy zones
iedmod_purchase_buyzone 1
// 0 = players keep IEDs that have not been planted when killed, 1 = players will lose IEDs that have not been planted when killed
iedmod_purchase_loseafterdeath 1
// ***** IED planting options *****
// IEDs will not start checking for near players until the player who created the IED moves out of the detonation radius.
// Command players must say to plant an IED
iedmod_create_command "!ied"
// Number of seconds a player must wait after creating an IED to create another--set to 0 for no delay
iedmod_create_delay 5
// 0 = players can create an IED with any active weapon, 1 = players are required to have the knife as active weapon to create an IED, 2 = players will be forced to use the knife when creating an IED
iedmod_create_knife 1
// Percent of the map that can hear an IED beep when activated--set to 0 for no sound
iedmod_create_sound 40
// ***** Bot options *****
// Bots will only purchase an IED if they have the cost of an IED plus bot_eco_limit.
// Number of IEDs bot will be allowed to buy or plant per round
iedmod_bot_allowied 2
// Percent chance a bot will purchase an IED if it has enough money
iedmod_bot_purchasechance 80
// Minumim number of seconds after spawning a bot will wait to create an IED
iedmod_bot_createdelay_min 5
// Maximum number of seconds after spawning a bot will wait to create an IED
iedmod_bot_createdelay_max 45
// Number of IED distance updates until an IED spawned by a bot is removed if that bot is stuck in the IED
iedmod_bot_iterationstoremove 4
// ***** Announcement options *****
// 0 = no change, 1 = announce to each player his or her IED count as well as how to purchase and create IEDs when the player spawns
iedmod_announce_spawn 1
// 0 = no change, 1 = announce IED purchasing feedback in chat area
iedmod_announce_purchase_chat 0
// 0 = no change, 1 = announce IED purchasing feedback in center text
iedmod_announce_purchase_center 1
// 0 = no change, 1 = announce IED purchasing feedback in a HUD message
iedmod_announce_purchase_hud 1
// 0 = no change, 1 = announce IED creation feedback in chat area
iedmod_announce_create_chat 0
// 0 = no change, 1 = announce IED creation feedback in center text
iedmod_announce_create_center 1
// 0 = no change, 1 = announce IED creation feedback in a HUD message
iedmod_announce_create_hud 1
// ***** IED model options *****
// NOTE: IEDs will be spawned as prop_physics entities. Some will move when shot and others will be destroyed.
// Destroyed models are no longer IEDs.
// IED models can be added with the following server command:
// iedmod_addmodel -"model relative to ./models/"-
// Models are marked for download automatically.
// Place your iedmod_addmodel commands below:
// Uncomment the following default options if you wish to use them:
// iedmod_addmodel props_c17/oildrum001.mdl
// iedmod_addmodel props_c17/oildrum001_explosive.mdl
// iedmod_addmodel props_junk/cardboard_box001a.mdl
// iedmod_addmodel props_junk/cardboard_box001b.mdl
// iedmod_addmodel props_junk/cardboard_box002a.mdl
// iedmod_addmodel props_junk/cardboard_box002b.mdl
// iedmod_addmodel props_junk/cardboard_box003a.mdl
// iedmod_addmodel props_junk/cardboard_box003b.mdl
// iedmod_addmodel props_junk/cardboard_box004a.mdl
// iedmod_addmodel props_junk/garbage_bag001a.mdl
// iedmod_addmodel props_junk/gascan001a.mdl
// iedmod_addmodel props_junk/metal_paintcan001a.mdl
// iedmod_addmodel props_junk/metal_paintcan001b.mdl
// iedmod_addmodel props_junk/MetalBucket01a.mdl
// iedmod_addmodel props_junk/metalgascan.mdl
// iedmod_addmodel props_junk/plasticbucket001a.mdl
// iedmod_addmodel props_junk/propane_tank001a.mdl
// iedmod_addmodel props_junk/PropaneCanister001a.mdl
// iedmod_addmodel props_junk/TrafficCone001a.mdl
// iedmod_addmodel props_junk/TrashBin01a.mdl
// iedmod_addmodel props_junk/watermelon01.mdl
// iedmod_addmodel props_junk/wood_crate001a.mdl
// iedmod_addmodel props_junk/wood_crate002a.mdl
// IED models can be removed with the following server command:
// iedmod_removemodel -"model relative to ./models/"-
// Due to the fact IED models can be added and removed above, this command will not be used by most users.
// ***** IED sound options *****
// IED sounds can be added with the following server command:
// iedmod_addsound -"sound relative to ./sound/"-
// Sounds are marked for download automatically.
// Place your iedmod_addsound commands below:
// Uncomment the following default options if you wish to use them:
// iedmod_addsound buttons/blip1.wav
// iedmod_addsound buttons/button14.wav
// iedmod_addsound buttons/button15.wav
// iedmod_addsound buttons/button16.wav
// iedmod_addsound buttons/button17.wav
// iedmod_addsound buttons/button18.wav
// iedmod_addsound buttons/button24.wav
// iedmod_addsound buttons/button3.wav
// iedmod_addsound buttons/button9.wav
// iedmod_addsound npc/roller/remote_yes.wav
// iedmod_addsound npc/turret_floor/ping.wav
// IED sounds can be removed with the following server command:
// iedmod_removesound -"sound relative to ./sound/"-
// Due to the fact IED sounds can be added and removed above, this command will not be used by most users.
// ***** Event documentation *****
// The following events will fire while IEDMod is loaded:
// ied_activated
// - An IED is "activated" when it begins checking for near players.
// event_var(userid) - Player whose IED was activated
// event_var(index) - Index of IED
// ied_exploded
// event_var(userid) - Player who triggered the IED
// event_var(attacker) - Player whose IED exploded
// event_var(index) - Index of IED that exploded (WARNING: Entity no longer exists when event fires)
// ied_planted
// event_var(userid) - Player who planted the IED
// event_var(index) - Index of IED
// ied_purchased
// event_var(userid) - Player who purchased an IED
// event_var(count) - Number of IEDs the player owns
// 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.
Installation
Install with:[syntax="es"]es_install iedmod[/syntax]Load once for [b]iedmod.cfg[/b] to appear:[syntax="es"]es_load iedmod[/syntax]Configure your options in [b]iedmod.cfg[/b] and then reload the addon.
Version Notes For 3
Updated on: 2008-09-14 21:28:12 EST by SuperDave (View Zip Contents)
- Updated to use cfglib