-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for adding crates at the end of the round
Split "sm_respawnunlocker_enable" console variable into "sm_respawnunlocker_walls" and "sm_respawnunlocker_crates".
- Loading branch information
1 parent
64e3215
commit b6c8347
Showing
4 changed files
with
157 additions
and
12 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 |
---|---|---|
@@ -1,17 +1,62 @@ | ||
# Respawn Unlocker | ||
|
||
Allows to unlock respawn at the end of the round. | ||
Allows you to remove invisible walls and add crates near the spawn zone at the end of the round. | ||
|
||
### Supported Games | ||
|
||
* Day of Defeat: Source | ||
|
||
### Installation | ||
|
||
* Download latest [release](https://github.com/Dron-elektron/respawn-unlocker/releases) (compiled for SourceMod 1.10) | ||
* Download latest [release](https://github.com/dronelektron/respawn-unlocker/releases) (compiled for SourceMod 1.10) | ||
* Extract "plugins" and "translations" folders to "addons/sourcemod" folder of your server | ||
|
||
### Console Variables | ||
|
||
* sm_respawnunlocker_enable - Enable (1) or disable (0) plugin [default: "1"] | ||
* sm_respawnunlocker_walls - Enable (1) or disable (0) walls removing [default: "1"] | ||
* sm_respawnunlocker_crates - Enable (1) or disable (0) crates adding [default: "1"] | ||
* sm_respawnunlocker_notifications - Enable (1) or disable (0) notifications [default: "1"] | ||
|
||
### How to add crates | ||
|
||
Create a file "addons/sourcemod/configs/respawn-unlocker.txt" with the following structure: | ||
|
||
``` | ||
"Crates" | ||
{ | ||
"dod_gan_games" // Map name | ||
{ | ||
"1" // Crate's number | ||
{ | ||
"position_x" "320" // Position of the center | ||
"position_y" "-128" // Position of the center | ||
"position_z" "64" // Position of the bottom | ||
} | ||
"2" | ||
{ | ||
"position_x" "320" | ||
"position_y" "-108" | ||
"position_z" "104" | ||
} | ||
"3" | ||
{ | ||
"position_x" "2300" | ||
"position_y" "-128" | ||
"position_z" "64" | ||
} | ||
"4" | ||
{ | ||
"position_x" "2300" | ||
"position_y" "-108" | ||
"position_z" "104" | ||
} | ||
} | ||
} | ||
``` | ||
|
||
This is how crates "3" and "4" will look like in the game: | ||
|
||
![dod_gan_games](https://i.imgur.com/uxp9rcY.png) |
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
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
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