Skip to content

gamendegamer321/RgbNuke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub release LabAPI Version License

About RGB Nuke

NUKE.mp4

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

Installation

Important

Required dependencies:

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 Nuke
  • SCP Secret Laboratory/LabAPI/configs/{port}/Rainbow Nuke
  • SCP Secret Laboratory/LabAPI/configs/global/Rainbow Nuke/Audio
  • SCP 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

Usage

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 start
  • disco stop

For these commands you need the rgbnuke.commands permission.

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages