NUKE.mp4
Will turn all facility lights into a rainbow when the alpha warhead is activated and play a song.
Place the latest release in the LabAPI plugin folder.
You will need to provide the music that plays when the warhead is activated. The music file needs to be placed in the config folder created for this plugin, any of the following paths will work:
SCP Secret Laboratory/LabAPI/configs/global/Rainbow NukeSCP Secret Laboratory/LabAPI/configs/{port}/Rainbow NukeSCP Secret Laboratory/LabAPI/configs/global/Rainbow Nuke/AudioSCP Secret Laboratory/LabAPI/configs/{port}/Rainbow Nuke/Audio
Warning
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.
Make sure the audio files matches the file name from the config, default is warhead.ogg
When the round is started, it will determine whether RGB nuke will be activated based on the chance given in the config. If RGB nuke is activated during a round, each time the nuke countdown is started the facility will get disco lights and music will start playing.
You can also start or stop the effect by using the commands:
disco startdisco stop
For these commands you need the rgbnuke.commands permission.
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".