Description
This plugin fixes a bug when you fall from a particular height and you can hear the damage sound but your health doesn't change.
1.What actually happends is that the collision model is to late to being with the real character itself (~4 units away). (Unsure).
2.The rounding is wrong in the hl engine which do for ex. Round 0.9 to 0 instead of 1.0, so the bug does less than 1 damage but it rounds it to 0 damage which will just play the sound.
So this plugin fixes the damage sound bug, you won't hear the sound anymore and health will not change either.
Modules
-amxmodx
-hamsandwich
Credits
protoN - Told me that health isn't an float, about the collision model and found a good place to test the bug on (video below).
Bla^ - Told me the rounding bug. (New info).
Other info
As from beginning by myself I thought health was an float and you could jump 10 times and it would change hp, but that wasn't true it was actually a bug as I wrote above, what happends.
I made a fast video where the bug is shown.
Tested with amxmodx 1.8.1 in Counter-Strike 1.6.
Attached Files Get Plugin or Get Source (dmg_sound_bug_fix.sma - 395 Bytes)
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
[forums.alliedmods.net] HP damage sound bug fix
Temat rozp.
Adminek AMXX.PL
, 24.02.2012 19:27
2 odpowiedzi w tym temacie
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych