This repository has been archived by the owner on Feb 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aa39ce9
commit c93f652
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Tranquilizer Gun | ||
A custom weapon plugin for SCP:SL Smod2 servers that adds a tranquilizer gun. When a player is shot, they are temporarily ragdolled for the duration of the tranquilization. This gun has a configurable limited amount of uses and magazine size, as well as further configurations for weapon damage and fire rate. | ||
|
||
## Installation | ||
* **[Smod2](https://github.com/Grover-c13/Smod2) must be installed for this to work.** | ||
* **[ItemManager](https://github.com/probe4aiur/ItemManager) must be installed for this to work.** | ||
|
||
1. Grab the [latest release](https://github.com/NeonWizard/SCP-SCPSwap/releases/latest) of TranquilizerGun. | ||
2. Place TranquilizerGun.dll in your server's `sm_plugins` folder. | ||
|
||
## Commands | ||
Command | Description | ||
:---: | --- | ||
`IMSPAWN 105 <playerID>` | Gives a tranquilizer gun to the player identified by `playerID`. | ||
|
||
## Configuration | ||
Config Option | Value Type | Default Value | Description | ||
---: | :---: | :---: | --- | ||
tranqgun_enable | Bool | True | Whether TranquilizerGun should be enabled on server start. | ||
tranqgun_damage | Int | 0 | Damage dealt by the tranquilizer gun. | ||
tranqgun_firerate | Float | 3 | Time (in seconds) between each shot. Can be ignored with magazine size of 1. | ||
tranqgun_magazine | Int | 1 | Amount of shots per magazine. | ||
tranqgun_reserveammo | Int | 2 | Default reserve ammo for each player. | ||
tranqgun_duration | Float | 5 | Time (in seconds) the target is tranquilized for. | ||
|
||
*Note that all configs should go in your server config file, not config_remoteadmin.txt | ||
|
||
### Place any suggestions/problems in [issues](https://github.com/NeonWizard/SCP-TranquilizerGun/issues)! |