Jump to content
Korean Random
Sign in to follow this  
shmutz

настройка шрифта для winChance

Recommended Posts

А можно ли использовать какие то конструкции типа <font  size =+1>  в файле battleLabelsTemplates.xc

для {chancesStatic}

 

хочу чтоб циферки шанса на победу были покрупнее

 

или там надо типа "font": "default_medium.font"  как в battle.xc  ?

Share this post


Link to post

Short link
Share on other sites

добавите <font size='XX'></font>

 

на примере из дефолтного конфига

"format": "<font size='XX'>{{xvm-stat?{{l10n:Chance to win}}: {{chancesStatic}}{{chancesStatic? / |}}{{chancesLive}}}}</font>"

Share this post


Link to post

Short link
Share on other sites

Я прописал себе так, только значения положения у меня под 1650

"winChance": {
      "enabled": true,
      "updateEvent": "ON_VEHICLE_DESTROYED",
      "x": 1575,
      "y": 20,
      "width": 50,
      "height": 20,
      "autoSize": "left",
      "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 5, "strength": 1.5 },
      "currentFieldDefaultStyle": { "name": "Arial Black", "color": "0xF4EFE8", "size": 15 },
      "format": "{{chancesStatic}}{{chancesStatic? / |}}{{chancesLive}}"
    },
  • Upvote 1

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...