[CS:S] NadeShake
1 Attachment(s)
Video
----------- HERE Description ----------- Makes the screen of players that have been damaged by hegrenades shake. There are 2 possibilities, constant shake amount or shake by damage inflicted by changing sm_nadeshake_nadedmg This is my fist attempt at coding a plugin so be gentle... :D Configuration ------------- sm_nadeshake_enable 1 / 0 to enable/disable NadeShake - Defaults to on sm_nadeshake_nadedmg 1 / 0 to enable/disable NadeShake by damage inflicted - Defaults to on Plugin autocreates sm_nadeshake.cfg in cfg/sourcemod directory Requirements ------------ Counter-Strike: Source SourceMod 1.3 Installation ------------,9 Download the smx file and extract into your /cstrike/addons/sourcemod/plugins/ directory. Restart server or change map for plugin to activate and autocreate cfg/sourcemod/sm_nadeshake.cfg. Credits ------- Big thanks to Altex for his support and for showing me some stuff I was too noob to know. V0gelz for his shake stock. Bacardi for the damage inflicted code and for being Bacardi that is always there ;) |
Re: NadeShake
video?
|
Re: NadeShake
Will upload one as soon as possible.
|
Re: NadeShake
One suggestion, dont take it personal i just want to help :P.
this part of the code Code:
if(StrEqual(Weapon,"hegrenade")== true) Code:
if(StrEqual(Weapon,"hegrenade")) |
Re: NadeShake
Quote:
I never take it personal ;) thanks! |
Re: NadeShake
Also video added
|
Re: NadeShake
A simple and nice plugin, great!
|
Re: NadeShake
Yey, I'm gonna use it on my server, thanks for nice plugin.
|
Re: NadeShake
Hahaha, this look more realistic now. Have to try this also on server.
*edit So now, players what take any dmg from he-grenade take that same amount shake effect (50.0) Not big deal and works great. I edit and tested using dmg-amount to give that shake effect instead that default 50.0, I like it that way. - What bigger is damage, bigger is shake and vice versa, smaller damage, small shake :3 [out of topic] I manage to hurt myself with he-grenade 94dmg with no-kevlars :O and have disabled old grenade system Code:
"sv_legacy_grenade_damage" = "0" You sould start make other plugin about headshot shake :mrgreen: |
Re: NadeShake
Thx for the comments guys!
@Bacardi - The shaking based on damage is actually a good idea ;) |
All times are GMT -4. The time now is 08:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.