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

[ANY] CoronaVirus Infection (Covid19)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description:

This plugin simulate the coronavirus infection (covid19).

Idea by https://forums.alliedmods.net/showthread.php?t=321894


Commands:

sm_givevirus <name> - for give the coronavirus to someone (Required admin flag ban "d" for use).
sm_removevirus <name> - for remove the coronavirus to someone (Required admin flag ban "d" for use).


Cvars:
Configure the file sm_coronavirus.cfg generated on cfg/sourcemod on the first load.
Code:

// Seconds that you need to stay in a quarantine zone for be healed.
// -
// Default: "60.0"
sm_coronavirus_quarantine_time "60.0"

// Chance of share coronavirus.
// -
// Default: "10"
sm_coronavirus_share_chance "10"

// Chance of share coronavirus when you cough.
// -
// Default: "60"
sm_coronavirus_share_chancecough "60"

// Seconds for have the blind effect.
// -
// Default: "5.0"
sm_coronavirus_time_blind "5.0"

// Each X seconds for have the coronavirus effects.
// -
// Default: "30.0"
sm_coronavirus_time_effects "30.0"

// Each X seconds for share the coronavirus.
// -
// Default: "5.0"
sm_coronavirus_time_share "5.0"

// Seconds for start to know that you have coronavirus.
// -
// Default: "60.0"
sm_coronavirus_time_start "60.0"

// Coronavirus plugin version.
// -
// Default: "0.2 pre alpha"
sm_coronavirus_version "0.2 pre alpha"

// Damage that produce coronavirus when you have the effects.
// -
// Default: "5"
sm_coronavirus_virus_damage "5"

// Distance min for share coronavirus to someone.
// -
// Default: "100.0"
sm_coronavirus_virus_distance "100.0"


Requeriment (optional):

Devzones plugin for create a zone with the prefix "safezone" that will be use as quarantine zone.


Download:

Main repository
Direct download
Code changes

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

×
×
  • Dodaj nową pozycję...