Skip to content

Small plugin that allows for the nuke to turn into a disco with a random chance each round.

Notifications You must be signed in to change notification settings

gamendegamer321/RgbNuke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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).

File name - The name of the audio file to use. The default is "warhead.ogg".

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

Audio file

For the SCP:SL Audio API to work the audio file needs to be a .ogg file with mono audio and a refresh rate of 48000hz.

The plugin will search for the audio file in the same folder as the config is located (SCP Secret Laboratory/PluginAPI/Plugins/Global or SCP Secret Laboratory/PluginAPI/Plugins/{port}), as well as an Audio subfolder (SCP Secret Laboratory/PluginAPI/Plugins/Global/Audio or SCP Secret Laboratory/PluginAPI/Plugins/{port}/Audio). In both cases {port} will be replaced with the port of the server running the plugin.

Command

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

  • disco start
  • disco stop

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

Example video

NUKE.mp4

About

Small plugin that allows for the nuke to turn into a disco with a random chance each round.

Topics

Resources

Stars

Watchers

Forks

Languages