Description:
This plugin simulate a virus infection.
Idea by
https://forums.alliedmods.net/showthread.php?t=321894
Commands:
sm_givevirus <name> - for give the virus to someone (Required admin flag ban "d" for use).
sm_removevirus <name> - for remove the virus to someone (Required admin flag ban "d" for use).
Cvars:
Configure the file sm_virus.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_virus_quarantine_time "60.0"
// Chance of share virus.
// -
// Default: "10"
sm_virus_share_chance "10"
// Chance of share virus when you cough.
// -
// Default: "60"
sm_virus_share_chancecough "60"
// Seconds for have the blind effect.
// -
// Default: "5.0"
sm_virus_time_blind "5.0"
// Each X seconds for have the virus effects.
// -
// Default: "30.0"
sm_virus_time_effects "30.0"
// Each X seconds for share the virus.
// -
// Default: "5.0"
sm_virus_time_share "5.0"
// Seconds for start to know that you have virus.
// -
// Default: "60.0"
sm_virus_time_start "60.0"
// virus plugin version.
// -
// Default: "0.2 pre alpha"
sm_virus_version "0.2 pre alpha"
// Damage that produce virus when you have the effects.
// -
// Default: "5"
sm_virus_virus_damage "5"
// Distance min for share virus to someone.
// -
// Default: "100.0"
sm_virus_virus_distance "100.0"
Requeriment (optional):
Devzones plugin for create a zone with the prefix "safezone" that will be use as quarantine zone.
On TF2 it will detect the respawn room as quarantine zone.
Download:
Main repository
Direct download
Code changes
__________________