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

RSS[ZR] Class Attribute (Humans) Hearbeat


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description:
Heartbeat for Zombie:Reloaded.

This plugin will start a heartbeat when a Human is below a given Health value.
This is the same thing from L4D2.

There is second plugin attached where heartbeat is turned of automatically when players' health is stable again.
However, I'm not a fan of it because it uses a timer interval of 3 seconds to check and disable.

Requirements:
Zombie:Reloaded
[ZR] Tools

Configuration:
This plugin, unlike plugins usually do, does not use any .cfg files and is purely configurable via playerclasses.txt.
This means you can change values per playerclass.

Available values:
Code:

// Heartbeat
"heartbeat_on"        "1"                                // Is Heartbeat enabled for this class? (1: Enabled, 0: Disabled)
"heartbeat_health"        "50"                        // When Player has this amount of health, heartbeat starts.
"heartbeat_speed"        "270"                        // New speed the Player has when heartbeat started (300 = disabled).
"heartbeat_overlay"        "overlays/zr/zvision"        // overlay to use on heartbeat ("" = disabled).
"heartbeat_sound"        "zr/heartbeatloop.wav"        // sound to play on heartbeat ("" = disabled).

Add these values to all Humans playerclasses you have, anywhere you want.

Put your file for the overlay in materials/overlays/zr and for the sound in sound/zr folder.
Don't forget to add them in zr/downloads.txt.

Credits:
- FrozDarK without ZR Tools natives never possible.


If you have inqueries, you may comment so.

Attached Files
File Type: sp Get Plugin or Get Source (zr_class_attribute_humans_heartbeat.sp - 3.6 KB)
File Type: sp Get Plugin or Get Source (zr_cahhb_w_timer.sp - 4.6 KB)
File Type: zip heartbeatloop.zip (51.7 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...