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

[L4D & L4D2] Difficulty Adjuster


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Introduction

Phoenix0001 suggested a plugin like this so Tak (Chaosxk) wrote a short one. Unfortunately, it wasn't properly checking for the amount of players on the server after every map transition. Lux then revised the code but the plugin still didn't work reliably. I then decided to revise his revision and made this.

Description

Adjusts difficulty based on the number of clients on the server. The requirement for each difficulty can be set via cvars.

Difficulty is adjusted by updating (resetting and checking) the client count each time a player joins or leaves. The client count is also updated on round start, round end, map transition, and map start. This will ensure that the client count is monitored throughout the game to keep an accurate representation of the difficulty rate.

Cvars

Spoiler


Credits

Tak (Chaosxk) - For the original code found here.
Lux - For revising the original code found here.
phoenix0001 - For the idea, original post here and new post here.

Changelog

Spoiler


Installation

1. Place l4d_difficulty_adjuster.smx in addons/sourcemod/plugins folder.

Upgrading to Newer Versions

1. Delete l4d_difficulty_adjuster.smx from addons/sourcemod/plugins folder.
2. Delete l4d_difficulty_adjuster.cfg from cfg/sourcemod folder.
3. Follow the Installation guide above.

Attached Files
File Type: sp Get Plugin or Get Source (l4d_difficulty_adjuster.sp - 4.0 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
 Udostępnij

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

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