View Single Post
Plugin Info:     Modification:          Category:          Approver:   Xanimos (85)
VEN
Veteran Member
Join Date: Jan 2005
Old 07-15-2006 , 18:44   Dropped Bomb Defuse v0.3.1
Reply With Quote #1

Dropped Bomb Defuse


Description
Plugin allows to CTs defuse the dropped bomb. Once bomb is defused CT team will win
the round (can be disabled) and CT defuser will gain 1 frag (configurable). Plugin
emits standard sounds like defuse start/end/denied, draws progress bar, plays/shows
"Bomb has been defused" audio/text. Defuser kit requirement can be forced with a CVAR.


Installation
1. Update your AMX Mod X to the latest version
2. Compile and install "Force Team Win" plugin
3. Unzip and put ftw.inc file into your "amxmodx/scripting/include" folder
4. Compile and install "Dropped Bomb Defuse" plugin
5. Change the map or restart the server
Note: you can skip the steeps #2 and #3, but then you should disable(comment) the FORCE_TEAM_WIN option.
This will prevent CT-team win on dropped bomb defuse.

CVARs
dbd_time (N: seconds, default: 10, 0: disable the plugin) - defuse time
dbd_defkit_required (0: OFF, 1: ON, default: 0) - controls defkit requirement
Below with an examples is explained how CVARs works, remember it's just an examples.
By default defuse time is 10 seconds, but with defuser kit it will be 5 seconds.
If defuser kit requirement is forced with the CVAR, defuse time with a defkit will be
not 5 but 10 seconds. If you still want 5 seconds, comment IGNORE_MULTIPLIER option.
If dbd_defkit_required CVAR is 0 multiplier will not be ignored anyway.
So if you want to ignore the multiplier completely see below.
You can alter 5 seconds defuse w/ a defkit time by the DEFKIT_TIME_MULTIPLIER option.
So if multiplier is 0.4 and dbd_time is 15, you will get 0.4 * 15, i.e. 6 seconds.


Options
The following options can be altered at the top of the plugin's source code.
Bomb map check, defuse with a defkit time multiplier, ignore multiplier on defkit
requirement, frags bonus, player/bomb max. distance/view angle diff. and a few more.

Versions
See the source code of the droppedbombdefuse.sma.
Attached Files
File Type: sma Get Plugin or Get Source (droppedbombdefuse.sma - 5045 views - 11.7 KB)

Last edited by VEN; 11-15-2006 at 09:11. Reason: Better installation instructions
VEN is offline