gamendegamer321 / RgbNuke

Small plugin that allows for the nuke to turn into a disco with a random chance each round.
3 stars 0 forks source link
nwapi scp-sl scpsl scpsl-plugin

RGB Nuke

Will turn all facility lights into a rainbow when the alpha warhead is activated and play a song.

By default, we expect the song to be a file named "warhead.ogg" located in the SCP Secret Laboratory/PluginAPI/Plugins/Global/Rainbow Nuke/Audio directory, the Audio directory is next to the config file.

Requirements

This plugin requires the following plugins to be installed on the server:

Config

You can change the directory to look for the "warhead.ogg" file in the config. Here {global} points to the SCP Secret Laboratory/PluginAPI/Plugins/Global directory and you can navigate from there if desired.

ColorChangeTime - this will change the time between color changes of the lights.

NukeChance - This is an integer from 0 to 100 that indicates the chance the warhead will be RGB during a round. 0 means never and 100 means always.

Volume - The volume at which the music will be played (as an integer).

Display name - The name that is being displayed by the fake player. The default is "Alpha warhead".

Command

You can start or stop the effect by using the commands:

For these commands to work NWAPIPermissionSystem needs to be installed and you need the rgbnuke.commands permission to use the commands.

Example video

https://github.com/gamendegamer321/RgbNuke/assets/74590966/1549019a-c9cd-477e-b428-c1ec82acff96