-
-
Notifications
You must be signed in to change notification settings - Fork 311
Custom Light Colors
ClassicUO supports custom light colours in the form of RGB lights and Hue lights, configured by text files. This feature is intended for shards who wish to distribute ClassicUO without modifying the lighting code.
Item assignment is done in ClassicUO\Data\Client\lights.txt
. You can assign either an RGB light or a Hue light.
# FORMAT
# ITEM_ID LIGHT_SHADER_ID
0xE31 H2731 <-- Hue 2731
0xEFA 35 <--- RGB light 35
Example of a hue light:
RGB lights are defined by an RGB colour and a set of curves, same as the original lights. https://roxya.github.io/CUOLightShaderTester/ shows how they work.
RGB lights are defined in ClassicUO\Data\Client\lightshaders.txt
:
# FORMAT
# ID RGB R_CURVE G_CURVE B_CURVE
# HARD LIMIT IS 63
1 00FF00 Standard A Standard
2 7F7FFF Standard Standard Standard
6 FF00FF B
10 3F3FFF
The curve definition can be omitted, or a single curve can be specified to apply to each colour channel (red, green, and blue).
Example of a custom RGB light BDFFD6 A A E
The following standard RGB lights are hard coded into the client but can be overridden if desired.
ID | Type |
---|---|
1 | Green (small) |
2 | Blue |
6 | Blue (dark) |
10 | Blue (bright) |
20 | Green |
30 | Orange |
31 | Orange (small) |
32 | Purple |
40 | Red |
50 | Yellow |
60 | Yellow (small) |
61 | Yellow (medium) |
62 | White (small) |
63 | White (small, solid) |
64 | White (halo) |
Please support the developers and thank them for their tireless work, that they do for the love of the UO community.
A BIG thanks goes out to KaRaShO' and Jaedan for spearheading this project.
The development team of dissident, Fwiffo, roxya, and Stalli.
The consultant team of Degelo, DarkLotus, DreadLordChase, JimmyTheHand, Punkte, Quick, Vospire.
And everyone else that has tested, submitted commits, commented, or brainstormed to move this project forward.