Deathtype Effects
1 Attachment(s)
Deathtype Effects v1.0 Description: Effects for: headshot,knife and grenade kill. They're applied to victim.
There is a sound for every effect. (no download needed) Credits: d3n14 Cvars: hs_effect 1/0 - enable/disable headshot effect (default 1) kn_effect 1/0 - enable/disable knife effect (default 1) he_effect 1/0 - enable/disable hegrenade effect (default 1) |
Re: Deathtype Effects
Suggestions.
- read_data(3) <= cache the value. - Use the define name for tempentity message, not the number. - Extend the cvar to be able to choice what effect should be enabled/disabled. |
Re: Deathtype Effects
Quote:
Code:
if(read_data(3) <= 1)) |
Re: Deathtype Effects
read_data(3) is used severals times. So, cache the value one time like 'victim'.
|
Re: Deathtype Effects
Quote:
|
Nice Plugin
Death effect sound good ! |
Re: Deathtype Effects
and for 'Use the define name for tempentity message, not the number.' ?
You seem to not understand. eg : instead of '21', you should write 'TE_BEAMCYLINDER' . It's more readable. #define exists for this purpose, use it :P. ( message_const.inc ) EDIT : Thanks your comment/-k for this post ( don't know who ) : "Shut up you jackass" ; though I'm not sure to understand why. :) |
Re: Deathtype Effects
Ok, done !
|
Re: Deathtype Effects
You forget one.
0 = TE_BEAMPOINTS |
Re: Deathtype Effects
I'm not very good at sending this kind of messages.
|
All times are GMT -4. The time now is 19:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.