Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

[L4D2] Consistent Client-sided Survivor Ragdolls


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
First plugin released into the public. :P

This is like Mr. Zero's Restore Ragdoll plugin, except it functions on ALL deaths, including suicides.
You can also choose to make the static death model invisible, remove it, or do nothing to the body.

It also comes with manually spawning the ragdolls yourself, for funsies.

There's a toggleable function to disable m_isFallingFromLedge deaths, but it hooks a think function to a player when they grab a ledge.
This was because hooking the player_ledge_release event didn't work for me.

-= ConVars =-
sm_custom_survivor_ragdoll [0/1] = Toggle usage of non-ledge based ragdoll deaths.
sm_c_survivor_ragdoll_staticbody [0/2] = 0 - Make static body invisible. 1 - Remove static body. 2 - Do nothing.
sm_c_survivor_ragdoll_ledge [0/1] = Toggle preventing ledge deaths from making victims unrevivable.

sm_ragdoll = Spawn a client ragdoll on yourself.

-= Further Info =-
- The plugin automatically adds a function to the admin menu called 'Test ragdoll' (I failed to change the name, sorry) that lets you manually spawn a ragdoll on a chosen player from it's list.
- <BUG> Manually spawning a ragdoll on an infected makes them invisible. I have no idea why it does that.

-= Releases =-
Version 1.0.0
- Initial release.

Attached Files
File Type: sp Get Plugin or Get Source (L4D2CSRagdoll.sp - 13.4 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
 Udostępnij

×
×
  • Dodaj nową pozycję...