Jump to content
Korean Random
Sign in to follow this  
nixxxie

{{ready?|}} syntax&usage question

Recommended Posts

New xvm doesn't like this color definition:

 

 

{ "x": 320, "y": 3, "format": "<font size='12' color="{{ready?'#CCCCCC'|'#000000'}}">{{hp%4.4d|____}}</font>", "alpha": "{{alive?100|0}}" },

 

 

How to do it right?  You surely know what i want to achieve, unlike my computer ;) .

Share this post


Link to post

Short link
Share on other sites

 

 

New xvm doesn't like this color definition

color='{{ready?#CCCCCC|#000000}}'

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Thanks, seems to work now.

 

BTW, it took me two days to find this bug, xvm totally refused to load the whole config on the very beginning - login screen. Seems, that now xvm loads whole config at once - it would be a good idea to display errors on login screen, or at least in notification center.

Share this post


Link to post

Short link
Share on other sites

Yea, only my xvm.log behaved strange and it took me a while to find out that the whole dump was after closing the game...

 

 

PS: i just noticed that it doesn't update on enemy tanks upon battle startup - all are white while some of my teammates aren't. Does it work only on rendered tanks, too?

Edited by nixxxie

Share this post


Link to post

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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...