Jump to content
Korean Random

Появились какие то тени на шрифтах.


Recommended Posts

Появились какие то тени на шрифтах.

Для настройки тени в текстовых/экстра полях нужно править интенсивность тени - "strength" - ранее были значения 100-600, менять, соответственно, на 1-6

    // Shadow options.
    // Параметры тени.
    "shadow": {
      // false - no shadow
      // false - без тени
      "enabled": true,
      "distance": 0,             // (in pixels)     / offset distance / дистанция смещения
      "angle": 0,                // (0.0 .. 360.0)  / offset angle    / угол смещения
      "color": "0x000000",       // "0xXXXXXX"      / color           / цвет
      "alpha": 70,               // (0 .. 100)      / opacity         / прозрачность
      "blur": 4,                 // (0.0 .. 255.0)  / blur            / размытие
      "strength": 2              // (0.0 .. 255.0)  / intensity       / интенсивность
    },
Edited by Kapany3uk
Link to comment
Short link
Share on other sites

Спасибо, помогло.

Позвольте еще немного обнаглеть. Никак не вкурю как в средних ушах сделать цвет техники в зависимости от рейтинга. В больших ушах то, что мне надо.

 

"playersPanel": {
  "startMode": "large",
  "medium2": {
   "fragsFormatLeft": "{{frags}}",
   "formatLeft": "<font alpha='{{alive?#FF|#80}}'><font color='{{c:eff}}'>{{vehicle}}</font></font>",
   "extraFieldsRight": [],
   "fragsFormatRight": "{{frags}}",
   "width": 60,
   "extraFieldsLeft": [],
   "formatRight": "<font alpha='{{alive?#FF|#80}}'><font color='{{c:eff}}'>{{vehicle}}</font></font>",
   "enabled": true
  },
  "clanIcon": {
   "y": 6,
   "x": 0,
   "w": 16,
   "h": 16,
   "yr": 6,
   "xr": 0,
   "show": true,
   "alpha": 90
  },
  "medium": {
   "fragsFormatLeft": "{{frags}}",
   "formatLeft": "<font alpha='{{alive?#FF|#80}}'>{{rating%2d~%|--%}} <font color='{{c:eff}}'>{{nick}}</font> {{e%s|-}}</font>",
   "extraFieldsRight": [],
   "fragsFormatRight": "{{frags}}",
   "width": 60,
   "extraFieldsLeft": [],
   "formatRight": "<font alpha='{{alive?#FF|#80}}'>{{e%s|-}} <font color='{{c:eff}}'>{{nick}}</font> {{rating%2d~%|--%}}</font>",
   "enabled": true
  },
  "altMode": null,
  "large": {
   "vehicleFormatRight": "<font alpha='{{alive?#FF|#80}}'><font color='{{c:eff}}'>{{vehicle}}</font></font>",
   "fragsFormatLeft": "{{frags}}",
   "vehicleFormatLeft": "<font alpha='{{alive?#FF|#80}}'><font color='{{c:eff}}'>{{vehicle}}</font></font>",
   "extraFieldsRight": [],
   "fragsFormatRight": "{{frags}}",
   "width": 170,
   "extraFieldsLeft": [],
   "nickFormatRight": "<font alpha='{{alive?#FF|#80}}'>{{nick}} <font color='{{c:rating}}'>{{rating%2d~%|--%}}</font></font>",
   "enabled": true,
   "nickFormatLeft": "<font alpha='{{alive?#FF|#80}}'><font color='{{c:rating}}'>{{rating%2d~%|--%}}</font> {{nick}}</font>"
  },

post-10454-0-88847500-1469620922_thumb.jpg

post-10454-0-82158300-1469620927_thumb.jpg

Link to comment
Short link
Share on other sites

 

 

как в средних ушах сделать
читайте ChangeLog-ru (новые имена :))
  * переименованы параметры:
      "playersPanel"/"medium"/"formatLeft" => "playersPanel"/"medium"/"nickFormatLeft"
      "playersPanel"/"medium"/"formatRight" => "playersPanel"/"medium"/"nickFormatRight"
      "playersPanel"/"medium2"/"formatLeft" => "playersPanel"/"medium2"/"vehicleFormatLeft"
      "playersPanel"/"medium2"/"formatRight" => "playersPanel"/"medium2"/"vehicleFormatRight"
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...