I have seen this in a workshop BP, most cargo boxes colored in red, green, yellow etc. I know that you must put a code in brackets before the name, like "- [xxxx]Neodynium". But where do you get these codes? Thanks,
It's a hex code for colors. Here is a cool little tool if you want to create your own and don't know the code. https://www.w3schools.com/colors/colors_picker.asp So if you wanted your ammo box to show up red in the menu, you'd type: [c][ff0000]Ammo So "[c][colorcode]Name"
I normally use the Texture Color Tool and place the Color Code into the appropriate boxes and get so my color Scheme. But I think you want to achieve something different.
The [c] tag before the [rrggbb] changes the color slightly. Without the [c] everything gets a slight blue tint to it. For example, try with white: "[c][ffffff]Cargo" vs just "[ffffff]Cargo". There are some other tags that work, though you are very character limited. Copied this from the Discord so it can be searched on the forum. --- Code: Supported markup tags for container names. Leave out closing tags for brevity if you don't need them. [b][/b] = Bold [i][/i] = Italic [u][/u] = Underline [s][/s] = Strikethrough [sup][/sup] = Superscript [sub][/sub] = Subscript [c][/c] = Sets text base color to white instead of default light-blue [######][-] = Color (replace #'s with 6- or 8-digit hex color. The 8-value hex supports transparency. "[-]" is the closing tag.) [##] = Set alpha (replace #'s with 2-digit hex value) [c] and [######] will interact with each other. The hex color seems to multiply against the base color, so if you use a hex color without [c] it will be tinted the default light-blue color. For example, "[c][FFFFFF]" is required for pure white. Skipping the [c] tag can save characters if you don't mind the tint.
That's all very interesting, I thank you all for taking your time and elaborating on this. It's good to know that I can take the LCD mechanics as a base for the code syntax.
It's only a limited subset of the LCD commands that works. For example: pos, voffset, size, and rotate do not work if I recall. I believe the list I posted was all the commands I tried that actually had an effect.