Jump to content
Korean Random

how to work in color macros in text shadows (carousel)?


Recommended Posts

New poster here. I'm working on a rather detailed information panel for my carousel tanks, and i'm using a {{v.premium?#DD8833|#DDEEDD}} macro for the text color, and it works just fine, but if i try and use something like {{v.premium?0x994400|0x558855}} for the shadow color, it simply turns black in both cases. Is this particular feature not implemented yet, or am i simply doing it wrong?

 

 

Here's a snippet of the line i'm trying to make it work in.

{ "x": 144, "y": 66, "format": "<font face='Roboto Condensed' size='15' color='{{v.premium?#DD8833|#DDEEDD}}'>{{v.fullname}}</font>", "align":"right", "shadow": { "distance": 0, "angle": 90, "color": "{{v.premium?0xDD8833|0xDDEEDD}}", "alpha": 0.7, "blur": 4, "strength":4 } }

And here's how it comes out: black outline/shadow instead of a darker variant of the text.

bLSL16z.png

 

If anyone could give me some insight on this particular quirk, that'd be might appreciative.

Link to comment
Short link
Share on other sites

i'm using a {{v.premium?#DD8833|#DDEEDD}} macro for the text color, and it works just fine, but if i try and use something like {{v.premium?0x994400|0x558855}} for the shadow color, it simply turns black in both cases. Is this particular feature not implemented yet, or am i simply doing it wrong?

Done, you can use macros in the shadow settings after next XVM release (for WoT 0.9.5).

  • Upvote 1
Link to comment
Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...