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

Grenade Enhancer Lite * Update v1.2 (Jan,22-2009)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose        Approver:   Hawk552 (427)
HiSS
Member
Join Date: Nov 2008
Location: Celtic Gallaecia
Old 01-16-2009 , 19:52   Grenade Enhancer Lite * Update v1.2 (Jan,22-2009)
Reply With Quote #1

Hi, I was boring and decide to customize and fix and already made plugin accorded to my needs.

Updated v1.2 Released (Jan,22-2009)
Changes: Code optimization.

This plugin simply adds new effects and sounds to the grenade explosions like the original.

I've done nothing new, I know, simply reorganized the code, removed some features and fixed a little bug with the sound, it still sound if you hurt someone though you're far. I added a new cvar for sound and edited the sound file (volume, time and equalized).

* Features:

- Red screenflash
- Screen shake
- Annoying sound

* Cvars (All cvars: 1 = Enabled | 0 = Disabled):

grenade_enhancer 0/1 Default: 1 - Enable/Disable the plugin.
grenade_enhancer_screenflash 0/1 - Default: 1 Enable/Disable red screenflash effect.
grenade_enhancer_sound 0/1 Default: 1 - Enable/Disable the sound.
grenade_enhancer_shake 0/1 Default: 1 - Enable/Disable screen shake.

I attached the plugin, source code and sound file (added the plugin file too for the webcompiler issues):

Put the file into your "./addons/amxmodx/plugins/" folder.
Add grenade_ehanancer_lite.amxx into your "./addons/amxmodx/configs/plugins.ini" file.
You can add the cvars into your "./addons/amxmodx/configs/amxx.ini" file.
Place the sound "player_he_damage.wav" into "sounds/player/" folder.

- Credits:

- anakin_cstrike - The Original Plugin
- ilham92-cc-sakura - plugin with sound
- arkshine - help optimizing code
- HiSS - it's me!

- Modules required:

-csx

Tested in Counter-Strike 1.6 AMXX 1.8.1 and works fine, please report any bug/error.
Compiled with 0 errors/0 warnings.
No compatibility issues with another plugin reported yet.

I am totally noob scripting/coding, so I don't expect this be approved.

Sorry for my english.

Greetings.
Attached Files
File Type: zip sound.zip (139.1 KB, 3731 views)
File Type: sma Get Plugin or Get Source (grenade_enhancer_lite.sma - 5063 views - 1.7 KB)
__________________
[IMG]http://img227.**************/img227/3148/celeritasetsubtilitasuw0.jpg[/IMG]

Last edited by HiSS; 01-22-2009 at 14:03. Reason: Update v1.2
HiSS is offline
 


Thread Tools
Display Modes

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 12:23.


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