RSSy MYGO.pl Opublikowano Lipiec 8, 2022 o 07:44 RSSy Udostępnij Opublikowano Lipiec 8, 2022 o 07:44 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 Get Plugin or Get Source (zr_class_attribute_humans_heartbeat.sp - 3.6 KB) Get Plugin or Get Source (zr_cahhb_w_timer.sp - 4.6 KB) heartbeatloop.zip (51.7 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi