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.
This plugin requires the following plugins to be installed on the server:
- SCPSLAudioApi
- (optional) NWAPIPermissionSystem for commands
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".
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.
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.