Raised This Month: $32 Target: $400
 8% 

Grenade/C4 Fixes & Hud Enhancement


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Technical/Development        Approver:   Arkshine (91)
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 11-11-2011 , 09:47   Grenade/C4 Fixes & Hud Enhancement
Reply With Quote #1

Description:
This plugin is designed to fix variety of grenade and c4 related bugs, while introducing some amount of hud improvements and editions.
Bomb Fixes:
  1. When bomb is planted in water it will explode if not defused, instead of resulting in an infinite round.
  2. Bomb cannot be moved by movable objects any longer.
  3. Bomb cannot explode and be defused at the same time anymore.
  4. Silent defuse by pressing use key twice, or using knife secondary attack, or activating flashlight is no longer possible.
  5. Defuse cannot be started from air - log stays clean.
  6. Bomb cannot squeeze itself through objects, to be planted outside the map.
  7. "Counter-Terrorists win" sound doesn't overwrite "Bomb has been defused" one.
  8. At new round reload isn't canceled if you have the bomb.
  9. When dropped from large distance, bomb location on radar is accurate.
  10. Secondary attack cancels the defuse.
Grenade Fixes:
  1. Grenades have reasonable velocities when breaking glass.
  2. Flash grenades exploded underwater can blind players on land, and the opposed way around.
  3. Underwater explosions have ability to damage players who are on land.
  4. Grenades cannot squeeze themselves out of map.
Other Fixes:
  1. When disconnecting from a server where bomb was planted, and connecting into your non-bomb objective server, round timer is present anyway.
  2. After playing a map with built-in echo system, echo glitch is fixed (however client must have s_eax set to 0 for it to work).
  3. BarTime (loading bar) is canceled for spectators when planter or defuser dies.
  4. BarTime (loading bar) is canceled when switching weapons during defuse or bomb plant.
HUD Changes:
  1. If bomb is planted, round timer shows seconds remaining until detonation.
  2. Condition-Zero style c4 scenario icon near round timer when bomb is planted.
  3. Silver defuse kit icon when bomb isn't planted, when planted - green.
  4. Defuse kit icon is blinking in red and green when defusing without a kit.
  5. Red defuse kit icon when defusing with a kit.
  6. While planting the bomb, c4 icon is red.
  7. Silver buyzone icon when buytime passed.
Other Features:
  1. Angle of planted bomb is the same as planter had when planting.
  2. Flashbangs and he-grenades have a light effect when exploding.


Requires:
FakeMeta
HamSandWich


Additional info:
Tested in Counter-Strike 1.6 with amxmodx 1.8.2 (dev build hg21). Should also work in Condition-Zero.


Credits:
Special thanks to Arkshine for Counter-Strike SDK, and for providing other useful information! Thanks to xPaw for method of fixing "bomb has been defused" sound as well - method taken from his "The bomb has been defused" plugin. Also thanks to FOUTA for providing help by testing the plugin on live public server.


Change-Log:

* 1.2
- Fixed: Crash when stopping the defuse.
- Fixed: Error log due to client message.
- Fixed: Custom team switching will now remove defuser kit icon at player hud update.
- Fixed: Freezetime was not added to buytime - grey buy icon earlier than it should be.
- Added: Compatibility with mission scenario plugin. Basically just auto-changes the cvar.

* 1.1
- Added: Secondary attack now cancels the defuse.
- Added: BarTime (loading bar) is canceled when switching weapons during defuse or bomb plant.
- Fixed: Pausing the plugin is now more friendly.

* 1.0
- First release.
Attached Files
File Type: sma Get Plugin or Get Source (grenade_c4_fixes_hud_enhancement.sma - 2644 views - 52.9 KB)
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.

Last edited by MPNumB; 01-08-2018 at 12:39.
MPNumB is offline
Send a message via Skype™ to MPNumB
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode