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[L4D2] Survivors Dead Bodies Spasm [v1.0.0 | 27-June-2021]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
L4D2 ONLY

Description

This plugin applies a constant shock to the survivors dead bodies. (same animation from defibrillator)

To see what this plugin does, slay some survivor and watch its body.

Features
  • Allow configuring the repeat interval.
  • Allow configuring the repeat count.

Cvars

A configuration file named "l4d2_dead_bodies_spasm.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder.

PHP Code:

// How many times should should apply a shock to the survivors deadbodies.
// 0 = Unlimited
// -
// Default: "0"
// Minimum: "0.000000"
l4d2_dead_bodies_spasm_count "0"

// Enable/Disable the plugin.
// 0 = Disable, 1 = Enable.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d2_dead_bodies_spasm_enable "1"

// How often (in seconds) should apply a shock to the survivors deadbodies.
// -
// Default: "1.0"
// Minimum: "0.100000"
l4d2_dead_bodies_spasm_interval "1.0" 

Admin Commands
  • sm_print_cvars_l4d2_dead_bodies_spasm => Print the plugin related cvars and their respective values to the console. (z flag required)

Change Log

Spoiler


Notes
  • survivor_death_model entity is only available in L4D2.
  • This plugin applies the Shock input to the survivor_death_model entities.

Post Reply
  • Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome.

Installation
  • Put the "l4d2_dead_bodies_spasm.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder.

Attached Files
File Type: sp Get Plugin or Get Source (l4d2_dead_bodies_spasm.sp - 10.3 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ę...