|
1 | | -# ZombieDoorBreaking |
2 | | - |
3 | | - |
4 | | - |
5 | | -This Exiled plugin gives SCP-049-2 a new ability to work alongside other infected humans, improving on it's `"swarm"` thematic by allowing them to open doors that usually can't be open by normal SCPs if there's enough around. Overall, pretty simple! |
6 | | - |
7 | | -# Configs |
8 | | -```yml |
9 | | -is_enabled: true |
10 | | -debug: false |
11 | | -breakable_door_modifier: OpenThenLock |
12 | | -zombies_needed: 5 |
13 | | -ability_cooldown: 24 |
14 | | -max_distance: 24 |
15 | | -unlock_after_seconds: 3 |
16 | | -rate_limit: 2.5 |
17 | | -not_enough_zombies: "<color=red>There isn't enough zombies for this ability! You need {zombiecount} to open this door</color>" |
18 | | -on_cooldown: "<color=red>This ability is currently on cooldown!" |
19 | | -DisplayDuration: 5 |
20 | | -``` |
21 | | -
|
22 | | -# Breakable door modifiers |
23 | | -| Variable | Meaning | |
24 | | -| ------------- | ------------- | |
25 | | -| `OpenThenLock` | Opens the door, then it locks it based off the unlock_after_seconds value | |
26 | | -| `Open` | Opens the door, but does not lock it, unlock_after_seconds does nothing | |
27 | | -| `Break` | Breaks open the door, unlock_after_seconds does nothing | |
28 | | - |
29 | | -# String variables |
30 | | -| Variable | Meaning | |
31 | | -| ------------- | ------------- | |
32 | | -| `{zombiecount}` | Gets the required amount zombies needed to open/break the door | |
| 1 | +[](https://github.com/FrikandelbroodjeCommunity/ZombieDoorBreaking-LabAPI/releases/latest) |
| 2 | +[](https://github.com/northwood-studios/LabAPI) |
| 3 | +[](https://github.com/SnivyFilms/ZombieDoorBreaking) |
| 4 | +[](https://github.com/FrikandelbroodjeCommunity/ZombieDoorBreaking-LabAPI/blob/master/LICENSE) |
| 5 | + |
| 6 | +# About ZombieDoorBreaking |
| 7 | + |
| 8 | +This LabAPI plugin gives SCP-049-2 a new ability to work alongside other infected humans, improving on it's `"swarm"` |
| 9 | +thematic by allowing them to open doors that usually can't be open by normal SCPs if there's enough around. Overall, |
| 10 | +pretty simple! |
| 11 | + |
| 12 | +# Installation |
| 13 | + |
| 14 | +Place the [latest release](https://github.com/FrikandelbroodjeCommunity/ZombieDoorBreaking-LabAPI/releases/latest) in |
| 15 | +the LabAPI plugin folder. |
| 16 | + |
| 17 | +# Usage |
| 18 | + |
| 19 | +When playing as SCP-049-2 you can attempt to break/open a door/gate that normally requires keycard permissions by |
| 20 | +interacting with the door (default: E key). The door will then open if enough zombies, that no longer have a cooldown, |
| 21 | +are in the vicinity. |
| 22 | + |
| 23 | +Doors that are locked, or already open, cannot be broken or closed. |
| 24 | + |
| 25 | +# Config |
| 26 | + |
| 27 | +| Config | Default | Meaning | |
| 28 | +|---------------------------|----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------| |
| 29 | +| `debug` | `false` | When enabled, the plugin will show debug message. When using on a server it is recommended to keep this disabled. | |
| 30 | +| `breakable_door_modifier` | `OpenThenLock` | What should happen if the zombie succeed in opening the door (see [modifiers](#Breakable-door-modifiers)). | |
| 31 | +| `pryable_gate_modifier` | `Pry` | What should happen if the zombie succeed in opening a pryable gate (see [modifiers](#Pryable-gate-modifiers)). | |
| 32 | +| `zombies_needed` | `5` | The amount of zombies that need to be within the `MaxDistance` range of the door in order for it to open. | |
| 33 | +| `ability_cooldown` | `24` | The time in seconds before a zombie can attempt to open another door. During this time they cannot count towards the `ZombiesNeeded`. | |
| 34 | +| `max_distance` | `16` | The squared maximum amount of distance a zombie can have to the door. This means a value of 16 will represent a max distance of 4 meters (as `4^2 = 16`) | |
| 35 | +| `unlock_after_seconds` | `3` | When a modifiers is set to `OpenThenLock`, this determines the amount of time the doors will be locked for in seconds. | |
| 36 | +| `rate_limit` | `2.5` | The amount of time in seconds that needs to be between door open attempts, this rate limit affects <i>all</i> doors globally. | |
| 37 | +| `display_duration` | `7` | The amount of time in seconds the hints will be shown to players. Make sure this is long enough so players have time to read the messages. | |
| 38 | +| `not_enough_zombies_text` | ... | The message shown when a player attempts to open a door, but there are not enough zombies nearby. | |
| 39 | +| `on_cooldown_text` | ... | The message shown when a player attempts to open a door, but they are still on cooldown. | |
| 40 | +| `on_break_door_text` | ... | The message shown to all players that assisted in opening a door. | |
| 41 | + |
| 42 | +## Breakable door modifiers |
| 43 | + |
| 44 | +| Variable | Meaning | |
| 45 | +|----------------|------------------------------------------------------------------------------| |
| 46 | +| `OpenThenLock` | Opens the door, then it locks it based off the `unlock_after_seconds` value. | |
| 47 | +| `Open` | Opens the door, but does not lock it, `unlock_after_seconds` does nothing. | |
| 48 | +| `Break` | Breaks open the door, `unlock_after_seconds` does nothing. | |
| 49 | +| `Nothing` | Does nothing, effectively disabling the plugin for doors. | |
| 50 | + |
| 51 | +## Pryable gate modifiers |
| 52 | + |
| 53 | +| Variable | Meaning | |
| 54 | +|----------------|----------------------------------------------------------------------------| |
| 55 | +| `OpenThenLock` | Opens the door, then it locks it based off the unlock_after_seconds value. | |
| 56 | +| `Open` | Opens the door, but does not lock it, `unlock_after_seconds` does nothing. | |
| 57 | +| `Pry` | Pries open the door like SCP-096, `unlock_after_seconds` does nothing. | |
| 58 | +| `Nothing` | Does nothing, effectively disabling the plugin for doors. | |
0 commit comments