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] Finale Stage fix (finale tank fix)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Authors: Dragokas & dr lex

Description:
This should be installed only when needed. Plugin written at pre-TLS time, and bug may be already patched / or not.

Sometimes tanks are not appearing on finale map, because "Panic" stage get stucked.
This plugin allows to set timeout (see ConVar) for Panic stage waiting the tank to appear. If that doesn't happen, plugin forcibly call the next stage and director automatically spawns the tank as it normally should.

Plugin code has heavily logging, which can be activated by changing this line to 1: #define DEBUG 1
Log location: addons/sourcemod/logs/stage.log
Commands:
They are only available by recompiling plugin with #define DEBUG 1

PHP Code:

// Prints current stage index and time passed.
"sm_stage"

// Forcibly call the next stage.
"sm_nextstage" 

Settings (ConVars):

PHP Code:

// Timeout (in sec.) for finale panic stage waiting for tank to appear, otherwise stage forcibly changed
l4d_finale_stage_fix_panicstage_timeout "60" 

Dependency:
- Left 4 DHooks Direct by SilverShot
Compatibility
L4D2 only (no stage change forwards for L4D1).
Respect
- cravenge - for providing finale stage enum
Donate
Donates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often:
- Patreon
- BitCoin
- Ю.Money

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