Is there a simple way to stylize names of players in game? I would like to stylize names in dialog and possibly on leader board based on account. I would like to make admins names bold when they type in chat. Is this possible?
In general, you can stylize any string/text value by using combine text, and putting the style before the text (see screenshot). There are other ways, too. For your purposes, I'd use the mod styles. All you'd need to do is use an if-then-else, if player has admin status, put the style as ModCenterSize20Bold and then the players name, if not, put the style as ModCenterSize20 (you don't need to use size 20).
Information about text/fonts (styles):
Your own font styles can be made in the text module. You use either a font that comes default with the editor (my favorite is ChatBar, I use it for almost everything) or import one. The editor accepts the two most popular font formats (TTF and OTC? I think). They can be downloaded from a bunch of sites, like fontstruct.com, google fonts, and tons of other sites. In the text module, you can give them properties, such as italicization, underlined, bold, size, color, shadow, etc.
Because color can be included in a font style, if you want to apply a color in particular that's different from the color specified in the font style, it needs to be applied after the font style code. Example:
<s val="ChatBar"><c val="FFFFFF">Hello
A label dialog item's font and color can be set with Set Dialog Item Color/Set Dialog Item Style, but I don't think too many people use those.
Is there a simple way to stylize names of players in game? I would like to stylize names in dialog and possibly on leader board based on account. I would like to make admins names bold when they type in chat. Is this possible?
@CaptainIndustry: Go
In general, you can stylize any string/text value by using combine text, and putting the style before the text (see screenshot). There are other ways, too. For your purposes, I'd use the mod styles. All you'd need to do is use an if-then-else, if player has admin status, put the style as ModCenterSize20Bold and then the players name, if not, put the style as ModCenterSize20 (you don't need to use size 20).
Information about text/fonts (styles):
<s val="ChatBar"><c val="FFFFFF">Hello
Thanks for the reply. It looks simple enough to do and I will try to accomplish this when I get home.