Hello!This is my first released plugin, so I hope I won't get smashed to the ground.I think that there has already been similiar plugin developed, but not the same. At least, I hope.This simple plugin adds few effects, when you get shot by someone:• Your screen shakes a little.• Your screen is being covered with black-red, bloodlike fade.• You emit a random groan hitsound.The power of shake or fade is laying on the damage you've took.Cvars:- amx_hitsoundchance (0-100) Default: 50 - sets the percent chance of emitting sound on hit- amx_blinddamage (0-100) Default: 25 - sets the minimal damage you must take to make your screen be covered with bloodlike fade.- amx_shakedamage (0-100) Default: 50 - sets the minimal damage you must take to make your screen shakeSetting amx_hitsoundchance to 0 will disable hitsounds.Setting amx_blinddamage to 101 (or more) will disable fading.Setting amx_shakedamage to 101 (or more) will disable screen shaking.I posted this in Counter-Strike Addons sections. Since I never tried to do plugins for any other modifications, but I think it will work for other games too. Attached Files Get Plugin or Get Source (amx_hiteffect.sma - 2.9 KB) amx_hiteffect.amxx (4.7 KB) sound.zip (72.7 KB)
Wyświetl pełny artykuł
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse
Amx_Hiteffects
Temat rozp. Adminek AMXX.PL, 15.08.2012 10:06
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych