Natural Selection 2

Natural Selection 2

Ei tarpeeksi arvosteluja
SH Disco - Powerpoint Light Handler - Command & Config
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Modification: Gameplay Tweak
Compatibility: Must be run on Server
Tiedostokoko
Julkaistu
Päivitetty
2.970 KB
14.6.2020 klo 1.59
15.6.2020 klo 0.25
4 muutosilmoitusta ( näytä )

Tilaa ladataksesi
SH Disco - Powerpoint Light Handler - Command & Config

Kuvaus
Hello,

*IMPORTANT* Required is a "Disco.json" file inside Shine/Plugins for the sake of not getting an error :P
//Setting to true will have the disco lights always enabled
{
"discoEnabled": false,
"__Version": "1.0"
}

Roundstart checks for the above setting.

This version only supports the "sh_disco" console command and the configruation change.

How this is done:

Powerpoint has a new toggle "isDisco"
Why I take this approach?
The powerpointlighthandler is client sided. Uses powerpoint_client.
sh_disco is server / shared and tricky with client.
Easiest way from writing perspective is to have a setting on powerpoint which light handler checks
So this is written to be a toggle by shine command to toggle the powerpoint variable which the light handler reads
sh_disco toggles between true and false
if true - the lights will change to a random color when power is ON between every 4 to 16 seconds

Enjoy!!!
4 kommenttia
Mine iga | TOP-CLAN.ru | 4G only 19.6.2020 klo 16.24 
Ohh, very fun mod! )))
Avoca  [tekijä] 14.6.2020 klo 4.11 
Warning 1.0 conflicts with Siege Zero. Untested with Siege One but may conflict.
Avoca  [tekijä] 14.6.2020 klo 3.05 
Note this version 1.0 only applies to "Normal" power - Power that is on / Not Damaged / Not Off ..whatever..
Avoca  [tekijä] 14.6.2020 klo 2.03 
7ef598e6