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] Vote difficulty (no black screen)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description:
This plugin replaces annoing black screen vote for difficulty by translucent menu.
Features:
- no black screen.
- vote announcement
- flexible configuration of access rights
- all actions are logged (who vote - ip/country/nick/SteamId, who tried to vote witout success, what difficulty ...)

Note: it is also technically easy to append here new difficulty level.
Logfile location:
- logs/vote_difficulty.log
Permissions:
- by default, vote can be started by everybody (adjustable) if immunity and player count checks passed.
- ability to set minimum time to allow repeat the vote.
- ability to set minimum players count to allow starting the vote.
- set #PRIVATE_STUFF to 1 to unlock some additional options - forbid vote by name or SteamID
Settings (ConVars):
- sm_votedifficulty_delay - def.: 60 - Minimum delay (in sec.) allowed between votes
- sm_votedifficulty_timeout - def.: 10 - How long (in sec.) does the vote last
- sm_votedifficulty_announcedelay - def.: 2.0 - Delay (in sec.) between announce and vote menu appearing
- sm_votedifficulty_minplayers - def.: 1 - Minimum players present in game to allow starting vote for kick
- sm_votedifficulty_accessflag - def.: "" - Admin flag required to start the vote (leave empty to allow for everybody)
- sm_votedifficulty_log - def.: 1 - Use logging? (1 - Yes / 0 - No)
Commands:
- sm_vd - Try to start vote for difficluty
- sm_veto - Allow admin to veto current vote (ADMFLAG_BAN is required)
- sm_votepass - Allow admin to bypass current vote (ADMFLAG_BAN is required)
Requirements:
- GeoIP extension (included in SourceMod).
Languages:
- Russian
- English
Installation:
- copy smx file to addons/sourcemod/plugins/
- copy phrases.txt file to addons/sourcemod/translations/

Attached Files
File Type: txt l4d_votedifficulty.phrases.txt (2.4 KB)
File Type: sp Get Plugin or Get Source (l4d_votedifficulty.sp - 14.9 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

×
×
  • Dodaj nową pozycję...