Giter Site home page Giter Site logo

rayzerbrain / spectatorshootingrange Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 4.0 4.43 MB

An SCP:SL Exiled 5.0 plugin implementing a shooting range for spectators

License: Creative Commons Zero v1.0 Universal

C# 100.00%
exiled exiled-plugin scp-sl plugin scpsl scpsl-exiled scpsl-plugin

spectatorshootingrange's Introduction

Spectator-Shooting-Range

Github All Releases

An SCP:SL Exiled 5.0 plugin implementing a shooting range for spectators. The range is located outside of the wall perpendicular to the escape tunnel, that is, the wall the MTF helicopter flies over. This location can be changed inside of the configuration if deemed necessary

To install

If you are unfamiliar with installing Exiled plugins, do the following: on this page navigate to the releases link on the right side of the screen and download the latest .dll file. Then, Put this file in your Exiled\Plugins file with any other plugins you might have.

In-depth information

The shooting range can be accessed whenever someone that is spectating uses the .range command in their console. This teleports them as a tutorial class to the range and gives them one of each weapon (excluding the com-15, as it causes the inventory limit to exceed 8). They are constricted to within a fairly small boundary to practice shooting targets located at varying distances from the range starting area.

Commands to utilize-

.range (client console command)- as a spectator anyone can use this command to enter the shooting range

.spectate (client console command)- anyone in the shooting range can use this command to return to spectator (they will be returned automatically for respawn events)

Configuration

The configurations that will appear in your [port number]-config.yml file allows you to change the following (values already present are default values upon implementation) :

Config Name Data Type Description Default Value
is_enabled bool Determines whether the plugin is enabled or not true
force_specators bool Determines whether spectators will be AUTOMATICALLY transferred to the shooting range upon death true
use_primitives bool Determines if primitives will be used to form the boundaries of the shooting range (recommended) true
require_permission bool Determines if the ".range" permission is required to use the .range command (this will not affect automatically teleported players) false
range_location Vector4 Location of a possible non default shooting range. the "w" of the vector will determine the radius of the cube that forms the boundaries Vector4.zero
use_range_location bool Determines whether the alternative range location will be used or not. The default range location will be used if this is set to false false
ranger_inventory List<string> The list of items a player will spawn with on the range. You may use either the ItemType enum or the name of a CustomItem N/A
death_broadcast Broadcast The broadcast that will appear for a player when they die or join as a spectator N/A
range_greeting Broadcast The broadcast for when players enter the shooting range N/A
respawn_broadcast Broadcast The broadcast for when players are forced off the shooting range because they are respawning N/A
relative_target_distance int Distance (meters) that shooting targets will be from each other 24
absolute_target_distance int Distance (meters) that shooting targets will be from the range 7

spectatorshootingrange's People

Contributors

rayzerbrain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

spectatorshootingrange's Issues

Spawn Suggestion

Allow a config to set a specific coordinate to teleport to once a player types .range in their console. Also as an extra suggestion too, allow multiple spawn coordinates to be put in the config, and one random one is chosen when someone types .range . This way if server owners build their own shooting range as well, it will send the player to either the specified coordinate, or the shooting range that came with the plugin.

I know this is a little confusing, if you have questions DM me, DinoNuggets2#7163, I am in the EXILED discord.

[SUGGESTION] Quieter Weapons

Add a way to make gunshots from other people in the range quieter. It can be loud with multiple people shooting at the same time, so I think adding a way to make other people's guns quieter or completely silent would be cool.

best spawn suggestion

instead of the plugin taking you out of the shooting range and putting the player in the last few seconds when they are about to spawn. When spectators spawn the sniper would also spawn without having the plugin need to take the sniper to spectator mode. Reason: it's not difficult to get back into sniper mode even with 15 seconds left to appear, thus bypassing the spawn.
(possibly it must be difficult to understand my english. sorry he is horrible).

Boundries Dont Work

When someone tries to jump out of the shooting range, they don't die. Instead, they are stuck in the void unless they rejoin. They can also walk right out to the escape area and shoot people escaping and at Gate B

Removing Players -bug

When it gets to about 30 seconds before a respawn, it only puts one player back into spectator if there are multiple in the range. I also cannot find the debug option in the plugin's config.

Floor collisions enabled (11.1.1)

11.1.1 made the floor at the shooting range collidable, so people just fall through and never stop falling. Might need to make a floor with primitives or something else if you use map editor since the normal ground is collidable now.

Suggestion

Possibly make it in a future version so that about 30 seconds before a respawn wave, players can't teleport to the shooting range, and they still get set as a spectator. Also, an extra thing if possible, maybe make the RespawnTimer visible while in the shooting range?

Loadout Suggestion

Possibly allow owners to configure what people spawn with in the shooting ranges, and if possible, make compatible with CustomItems.

Respawns aren't always killing people

Randomly, the more the people, the lower amount of players get killed before a respawn. I'm not sure if it is a plugin interfering, or the plugin itself.

Auto kill before respawns

About 30 seconds before a respawn when players would normally be killed, they don't get killed at all before a respawn.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.