Yet another widget to fix teamcolors!

Yet another widget to fix teamcolors!

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Yet another widget to fix teamcolors!

Post by zwzsg »

- Pick bright evenly hue-spaced random new team colors when turned on.
- Reset team colors to original when turned off.

Contains HSL<->RGB lua functions.
Attachments
gui_redo_teamcolors.lua
(3.06 KiB) Downloaded 35 times
User avatar
very_bad_soldier
Posts: 1397
Joined: 20 Feb 2007, 01:10

Re: Yet another widget to fix teamcolors!

Post by very_bad_soldier »

Would you give that baby a name? I will add it to SpringDownloader's Widget database then if you dont mind :wink:

EDIT:
Nevermind, I will use the one from the widget header.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: Yet another widget to fix teamcolors!

Post by zwzsg »

I wanted to change enabled to false before.
User avatar
very_bad_soldier
Posts: 1397
Joined: 20 Feb 2007, 01:10

Re: Yet another widget to fix teamcolors!

Post by very_bad_soldier »

Sorry & Fixed!
Post Reply

Return to “Lua Scripts”