Is anyone aware of a way to toggle a greyscale effect to the entire screen of a player? I want the player's screen to be black-and-white while they are dead and waiting to respawn in this project, but everything I've found so far has just been about greyscale to individual icons, but I want things to remain in color for everyone else.
May 11 2017, 10:49 am
|
|
You'll want to use
|
Something along the lines of:
client.color = list(0.30,0.30,0.30,0, 0.60,0.60,0.60,0, 0.10,0.10,0.10,0, 0,0,0,1, 0,0,0,0) Should do it, but I can't easily test it. Check out this topic for more information on color matrices. |
The exact values are the arguments in the grayscale example for icon.MapColors(), except you put them in a list for client.color (or a plane master).
|