View Single Post
Plugin Info:     Modification:          Category:          Approver:   Hawk552 (427)
YKH =]
Senior Member
Join Date: Sep 2008
Location: Hong Kong
Old 02-20-2009 , 21:26   Damage & Death Effect v1.3.3 Updated : 1/14/2010
Reply With Quote #1

Description:

Just look at the plguin name, this is simple and easy plugin

It let your game more realistic

Effect :

Damage : If you are hit, your screen will also shake and go on a weird angle & flash red for a second.

Death : Your screen will trun black(control by cvar) when you are killed

Required Modules:

hamsandwich

CVAR:

PHP Code:
amx_damage_effect_on "1" on the damage effect
amx_killed_effect_on 
"1" on the death effect
death_color_r 
"0" Death colors
death_color_g 
"0" same
death_color_b 
"0" same
damage_num 
"60" number of damage enable the effect 
*if there are any bugs, plesae report.

Change log:

Quote:
1.0 : Release
1.1 : fixed actual cvar values
1.2 : fixed player get -1 damage, and he got shake
1.3 : removed useless code
1.3.1 : fixed can not show screen fade
1.3.2 : Changed the MSG_ONE to MSG_ONE_UNRELIABLE
1.3.3 : Add "damage_num" cvar
Attached Files
File Type: sma Get Plugin or Get Source (Damage_Killed_effect.sma - 12543 views - 2.2 KB)
__________________
Approved Plugins

[ZP] Effect Plugins :
Damage Effect
Real Death

Last edited by YKH =]; 01-14-2010 at 03:28.
YKH =] is offline