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] Fix Scavenge Issues


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
About
This plugin works only in scavenge mode.
It is designed to fix or manage some issues in general scavenge mode game play.

Functions
This plugin dose 3 things:

- Fixed the bug that there are no gascans produced in the first round of a new game. (Requies Left4DHooks 1.134 or above)

- Allows you select total game round number by cvar.

- Allows you to chosse whether do auto reset round number and scores in the end of match or not by cvar.

Cvars
PHP Code:

// Allow admins to use admin command to spawn gascans ?
// Default: 0
l4d2_scavenge_allow_enrich_gascan "0"

// Total number of rounds to set. Valid values are 1, 3, 5.
// Default: 5
l4d2_scavenge_rounds "5"

// Enable end match auto restart? (in case we use vanilla rematch vote)
// Default: 1
l4d2_scavenge_match_end_restart "1" 

Admin Commander
PHP Code:

// Enrich all gascans immediately. Need to turn on the cvar before use.
sm_enrichgascan 

Requiement
- Left4DHooks 1.134 or above
- A include file to compile.

Note
- This plugin is recommended to play with plugin readyup from L4D2 Competitive Rework (forward use). It is also compatiable with vanilla scavenge.

- The Missing-gascan issue can actually be resolved by Lux's L4D2_ChangeLevel when switching the map. But this issue also causes when the first client entering the server and the server being defaultly running the scavenge mode. The recent update of Left4DHooks provided a better solution (which is to spawn the gascan immediately).

- Part of code was from others. Credit to Eyal282, Lechuga16.

Attached Files
File Type: inc scavenge_func.inc (10.9 KB)
File Type: sp Get Plugin or Get Source (l4d2_fix_scav_issues.sp - 5.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ę...