Natural Selection 2

Natural Selection 2

Nedostatek hodnocení
SH Disco - Powerpoint Light Handler - Command & Config
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Modification: Gameplay Tweak
Compatibility: Must be run on Server
Velikost souboru
Přidáno
Aktualizováno
2.970 KB
14. čvn. 2020 v 1.59
15. čvn. 2020 v 0.25
Poznámky ke změnám (4) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
SH Disco - Powerpoint Light Handler - Command & Config

Popis
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!!!
Počet komentářů: 4
Mine iga | TOP-CLAN.ru | 4G only 19. čvn. 2020 v 16.24 
Ohh, very fun mod! )))
Avoca  [autor] 14. čvn. 2020 v 4.11 
Warning 1.0 conflicts with Siege Zero. Untested with Siege One but may conflict.
Avoca  [autor] 14. čvn. 2020 v 3.05 
Note this version 1.0 only applies to "Normal" power - Power that is on / Not Damaged / Not Off ..whatever..
Avoca  [autor] 14. čvn. 2020 v 2.03 
7ef598e6