Skip to content

Plugin for SCP-SL game, that allows SCP-0492 to infect human players with SCP-008. Infected players gradually lose health. Depending on the config, infected players can have effects applied to them, heal the infection or become SCP-0492 upon death.

License

Notifications You must be signed in to change notification settings

Phineapple18/Scp008

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

Scp008

Plugin for the "SCP: Secret Laboratory" game, that allows Zombies (SCP-049-2) to infect human players with SCP-008, causing them to gradually lose health. Depending on the config, infected players can have effects applied to them, cure the infection or turn into Zombies upon death.

Features

  • Zombies have a configurable chance to infect human players with SCP-008.
  • Infected player can:
    • have effects applied to them
    • have hints displayed after their health drops below configurable threshold(s)
    • be hurt by players from the same faction after their health drops below configurable threshold (only on servers with Friendly Fire disabled)
    • become a Zombie upon death. Whether or not a player turns into a Zombie, depends on the cause(s) of death set in the config file (infection, SCP-049 attack, Zombie attack or any reason).
  • If infected player dies from SCP-049 attack and Scp049 is listed as death reason in the config, it will count as a revival.

Christmas Event Only

  • Flamingos (SCP-1507) can optionally be infected (except Alpha Flamingo) with SCP-008.
  • Zombie Flamingos (SCP-1507-049) can optionally infect others with SCP-008.
  • Flamingos can't hurt infected flamingo.
  • Infected Flamingos don't have any hints displayed to them.

Required plugins and dependencies (1.2.0)

Installation

Place Scp008 and NWAPIPermissionSystem dlls in "...\AppData\Roaming\SCP Secret Laboratory\PluginAPI\plugins\global OR port_number".

Place the Harmony dll (net48) in "...\AppData\Roaming\SCP Secret Laboratory\PluginAPI\plugins\global OR port_number\dependencies".

Config

Name Type Default value Description
is_enabled bool true Should the plugin be enabled?
debug bool false Should debug be enabled?
infection_chance int 50 Infection chance per Zombie attack. Set between 0-100.
infection_damage float 5f Damage per infection tick.
infection_interval float 5f Interval between infection ticks.
zombie_damage float 5f Damage of a Zombie attack leading to infection. Set below 0 to leave unchanged.
scp008_effects Dictionary<string, float> Bleeding, 90
Concussed, 50
Deafened, 20
Effect(s), that will be enabled once player health drops below certain values.
cure_items Dictionary<ItemType, int> SCP500: 100
Medkit: 50
Item(s), that can cure the infection and their cure chance. Set between 0-100.
ff_health_cutoff float 20f Health threshold of an infected player, below which they can be killed by a player from the same faction (only on servers with Firendly Fire disabled).
death_reasons List<string> - Infection
- Scp0492
- Scp049
- ZombieFlamingo
- Any
Cause(s) of death, that will cause an infected player to turn into a Zombie upon death. Leave empty to disable.
can_flamingo_be_infected bool false Can Flamingos (except Alpha Flamingo) be infected with SCP-008?
can_flamingo_infect bool false Can Zombie Flamingos infect with SCP-008?

Translation

The translation file is in the same folder as the config file and allows you to customize e.g:

  • hints displayed to infected players
  • command names, aliases, descriptons and responses

IMPORTANT: Make sure not to duplicate command names and/or aliases, if you translate them.

Remote Admin commands

scp008

Parent command for handling SCP-008. Subcommands:

  • cure - Cure chosen player(s) of Scp008. Separate entries with space. Usage: PlayerID/all
  • list - Print a list of all players infected with Scp008.
  • infect - Infect chosen player(s) with Scp008. Separate entries with space. Usage: PlayerId/all

Permissions

  • 008.infection - allows a player to use cure and infect commands
  • 008.list - allows a player to use list command

About

Plugin for SCP-SL game, that allows SCP-0492 to infect human players with SCP-008. Infected players gradually lose health. Depending on the config, infected players can have effects applied to them, heal the infection or become SCP-0492 upon death.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages