Planting Normalizer
Description:
With this plugin round end will not be forced , when bomb has been defused or it has exploded.. Also fixed bug when fake team bots get bomb and so until round end U can't use it. After bomb defused/expoded it's spawning again..
Note: it is not changing the whole Counter-Strike Planting system, but just the last few game events, so bots will equally use this system, and it's can be used with plugins like silly c4, plant anywhere and all others..
PLUGIN CAN WORK WITHOUT CSDM
Cvars:
plant_nonstop - Enables plugin
Default:1
defuse_message - Enable message "Bomb Has Been Defused"
Default:1
defuse_sound - if 1: sound when bomb defused would be "CT's win", if 2: "Bomb Has Been Defused", 0: Disabled
Default:1
plant_message - Enable message "Bomb Has Been Planted"
Default:1
plant_sound - Enable sound "Bomb Has Been Planted"
Default:1
defuser_frags - How many frags player get for defusing the bomb
Default
score_blowup - How many score points team get for Exploding the bomb
Default:1
score_defuse - How many score points team get for Defusing the bomb
Default:1
kill_crates - is breakable stuff destoyed by bomb explosion
Default:1
c4_damage - bomb expolosion max damage
Default:400.0
c4_radius - bomb explosion radius
Default:1000.0
Modules:
CSDM or
Hamsandwich <--------- It's not matter what
Cstrike
Fakemeta
Great Thx to VEN for "CS Bomb Scripting tutorial", to Alka for fakedamage stock code and to jim_yang for msghelper module.
Сhangelog:
Code:
*v1.0 - First relese
*v1.1 - Fixed Bug when after death, droping bomb and respawning
user couldn't see the bomb on radar.
- support "Roundend Blocker" fake team bots (by Nextra)
- fixed small bug in score attribute message code]
*v1.2 - fixed bug in fake team bots check code
*1.3 - added modules filter so now plugin can be used without csdm
- fixed error when player was disconnecting during respawn task
- added cvar amx_respawnbombed for non - respawn servers
- fixed bug when after giving bomb backpack wasn't showed
*v1.4 - optimized code ( very much )
*v1.5 - optimized checking for CSDM module
- added check is csdm_main.amxx loaded
- added extra check for csdm block objectives not to
cause gameplay bugs
- blocked message "You got the bomb" when just
respawned and got the bomb
- fixed some gameplay bugs when cvar
gg_block_objectives is 1
- added cvar nonstop_plant
- added cvar kill_crates
- removed cvar amx_respawnbombed
- removed prefix "amx_" from cvars
- added hud message "You have the bomb!
Find the target zone or DROP
the bomb for another Terrorist."
when user pickup the bomb
it's the same like default in CS
*v1.6 - bomb explosion can be hooked by Gungame
so players can recive level ups.
- when players defuse bomb they get level ups in Gungame
- now bomb explosion is much more realistic
- fixed time task bug ( some times round end was forced when was defusing)