Grenade Enhancer Lite * Update v1.2 (Jan,22-2009)
2 Attachment(s)
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. |
Re: Grenade Enhancer Lite (Fixed)
Remove the .amxx and upload .zip instead of .rar...
Will try this when I can. :) |
Re: Grenade Enhancer Lite (Fixed)
remove the amxx file, you have the sma alredy. seems a nice plugin
|
Re: Grenade Enhancer Lite (Fixed)
AMXX file and SMA file removed from the RAR file. Please convert the RAR file to ZIP format.
|
Re: Grenade Enhancer Lite (Fixed)
Quote:
|
Re: Grenade Enhancer Lite (Fixed)
Quote:
- Add grenade_ehanancer_lite.amxx into your "addons/amxmodx/configs/plugins.ini" file. (Not plugins/configs, just amxmodx/configs) - You can add the cvars into your "addons/amxmodx/configs/amxx.ini" file. (Not plugins/configs, just amxmodx/configs) |
Re: Grenade Enhancer Lite (Fixed)
Some suggestions :
- You can merge all cvars in one. - Since the the damage event can be called often, you should cache the value of is_user_connected()/is_user_bot(). - Cache the value of ScreenFade/ScreenShake. - MSG_ONE -> MSG_ONE_UNRELIABLE - No need to 'copy' and 'replace', use SOUND directly. |
Re: Grenade Enhancer Lite (Fixed)
Nice plugin for realism , GJ ;)
|
Re: Grenade Enhancer Lite (Fixed)
Hi, thanks for reply.
I deleted the .amxx file and change the format to zip. Changed modification to counter-strike, general purpose. Corrected the directories in first post. (my bad) Quote:
Greetings. |
Re: Grenade Enhancer Lite (Fixed)
This plugin sounds cool. I gonna try it out :)
|
All times are GMT -4. The time now is 20:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.