Skocz do zawartości

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.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[forums.alliedmods.net] HP damage sound bug fix


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
2 odpowiedzi w tym temacie

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 490
  • Lokalizacja:AMXX.PL
Offline

Napisano 24.02.2012 19:27

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 Dołączona grafika Get Plugin or Get Source (dmg_sound_bug_fix.sma - 395 Bytes)

Wyświetl pełny artykuł

#2 Drzanas

    Godlike

  • Power User

Reputacja: 329
Wszechpomocny

  • Postów:1 283
  • Steam:steam
  • Imię:Piotrek
  • Lokalizacja:Warszawa
Offline

Napisano 24.02.2012 22:18

A czy na mapach dd2, inferno, nuke train, mirage, forge, tuscan wie ktoś czy również gdzieś można taki bug zrobić?
  • +
  • -
  • 0

graphic.png


#3 ToRRent

    Czempion

  • Power User

Reputacja: 229
Wszechwidzący

  • Postów:861
  • Imię:Łukasz
  • Lokalizacja:Wrocław
Offline

Napisano 24.02.2012 22:37

ja na inferno jak skoczyłem z balkonu w piach usłyszałem dźwięk a hp zostało bez zmian
  • +
  • -
  • 0




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych