Jump to content
Korean Random
chuuddo

Маркеры: масштабирование vehicleIcon в зависимости от расстояния

Recommended Posts

Сначала думал, что это баг, но проверив на чистом клиенте убедился, что xvm тут не причем.

Мне кажется что маркеры слишком сильно уменьшаются при увеличении расстояния (скриншоты с модами и на чистом клиенте).

Поэтому предлагаю добавить параметр minScale, если конечно это можно реализовать.

 

"vehicleIcon": {
    "visible": true,
    "showSpeaker": false,
    "x": 0,
    "y": -16,
    "alpha": 100,
    "color": null,
    "minScale": 75, // минимальный масштаб маркера
    "maxScale": 100,
    "scaleX": 0,
    "scaleY": 16,
    "shadow": {"alpha": 100, "color": "0x000000", "angle": 0, "distance": 0, "size": 3, "strength": 500}
}

post-10937-0-21999200-1362673881_thumb.jpg

post-10937-0-97848800-1362673882_thumb.jpg

post-10937-0-14723700-1362674685_thumb.jpg

post-10937-0-92267700-1362674686_thumb.jpg

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.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...