Modding:Colors & Object Rendering: Difference between revisions
Jump to navigation
Jump to search
m (minor formatting) |
|||
Line 42: | Line 42: | ||
Note that if a detail color is not specified, it will default to the background viridian color. | Note that if a detail color is not specified, it will default to the background viridian color. | ||
== | == Color Markup Language == | ||
Most default text in the game is colored grey (&y), so you'll often see an <code>&y</code> at the end of strings to reset the color back to normal. | Most default text in the game is colored grey (&y), so you'll often see an <code>&y</code> at the end of strings to reset the color back to normal. Because of this extremely confusing color bleed can happen when putting text strings together which use the simplified `&` and `^` color code schemes. Because of this there is new system which parses text in double curly braces: <code>{{color|text}}</code>. If you want to ensure colors "return" to what they were set to, you can leave out the color. <code>"{{|&RThis text is red}} and this will be whatever the color was before red"</code> | ||
== 2.0.200.0+ Modding == | == 2.0.200.0+ Modding == |