PDA

View Full Version : /li (the lighting command)



Blackfoot
January 18th, 2012, 00:05
Is there documentation for how this command works somewhere?
I've tried a variety of different arguments and get varied results.. but I can't seem to get too much control of it so I'm guessing I'm using it wrong.
/li 0 turns the screen blue... /li 10000000 turns the screen black.. numbers in between turn it a variety of other colors... but mostly very strong ones... I was trying to figure out how to use this in a subtle way.
Any suggestions?

Doswelk
January 18th, 2012, 00:16
I think I read it does it in reverse RGB with another option for alpha.

So I think it is ABGR but I could be wrong.

Callum
January 20th, 2012, 15:29
According to the built-in slash commands help, the structure is:

/lighting [RGB hex value]

Some quick experimentation seems to confirm this - typing "/li 00FFFF" gives you a nice aqua, while "/li 008000" turns everything green.

Tokuriku
January 21st, 2012, 09:10
Yeah, a few versions back it was BGR but it is now ARGB in the ruleset scripts.

With the small experimentation that I've done, it seems that in the command line,
the alpha doesn't affect anything.
So you could write: FF88DD88
and it would give you the same as: 88DD88

Doswelk
January 21st, 2012, 19:15
Had some fun today (Modern horror game) when the lights went out with a nice /li 000000 no-one could read a thing :P