aster 53 #468067 Posted October 2, 2019 А полностью копировать базовые картошкины маркеры не получится? Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,165 #468069 Posted October 2, 2019 @aster правильно было бы иметь настройку в маркерах xvm "отображать хп... отбражать урон клиента", но: 3 часа назад, HEKPOMAHT сказал: думаю этим заниматься ни кто не станет. а так написал сюда, думал наименьшими затратами это получиться сделать ---- хотя можно в предложения написать, мало ли. Quote Share this post Link to post Short link Share on other sites
night_dragon_on 5,601 #468078 Posted October 2, 2019 4 часа назад, HEKPOMAHT сказал: думал наименьшими затратами это получиться сделать Маркеры завязаны в основном на флеше, обычные скрипты тут ничего не дадут. 4 часа назад, HEKPOMAHT сказал: хотя можно в предложения написать, мало ли Максим с малой долей вероятности будет совмещать дефолтный код маркеров и кастомный, т.к.: Это тот еще геморой будет с технической стороны вопроса Этим будут пользоваться незначительная часть пользователей 5 часов назад, aster сказал: А полностью копировать базовые картошкины маркеры не получится Можно скопировать по максимуму внешний вид клиентских, только урон не будет отображаться одним числом. Да и сами клиентские маркеры не особо то глазу приятны. Quote Share this post Link to post Short link Share on other sites
Heliomalt 53 #468867 Posted October 12, 2019 I'm trying to make the timer's position dynamic for the sixthsense, depending on the screen resolution, for example, for 1080p "y": 230, for 1440p "y": 320. Is there a way without me having to adjust that each time, so that it is automatically in the right position. Thanky in advance. "sixthSenseTimer": { "enabled": true, "updateEvent": "PY(ON_SIXTH_SENSE_SHOW)", "x": 0, "y": 320, "width": 60, "height": 50, "screenHAlign": "center", "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 5, "strength": 1.5 }, "textFormat": {"align": "center", "size": 40 }, "format": "{{py:xvm.sixthSenseTimer(10)}}" }, Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #468869 Posted October 12, 2019 @Heliomalt , вы хотите вручную, для каждого разрешения экрана, задать "y"? Или есть формула для расчета "y"? 1 Quote Share this post Link to post Short link Share on other sites
Heliomalt 53 #468870 Posted October 12, 2019 @ktulho Sorry, I don't understand your question, maybe bad translation. I try to make y coordinate dynamic, depending on the screen resolution. I try it like this way with x coordinate for example: "x": "-{{py:sum(50,{{py:xvm.screenHCenter}})}}", of course for y like "y": "-{{py:sum(240,{{py:xvm.screenHCenter}})}}", (just an example), but it don't work. Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #468872 Posted October 12, 2019 @Heliomalt Нужно так: "x": "{{py:sum(-50,{{py:xvm.screenHCenter}})}}" "y": "{{py:sum(-240,{{py:xvm.screenHCenter}})}}" 1 Quote Share this post Link to post Short link Share on other sites
Heliomalt 53 #468873 Posted October 12, 2019 @ktulho So there is no way that the timer is automatically at the position of the lamp, no matter if I now use my XVM config with a 1920x1080 or a 2560x1140 screen resolution? So I always have to set a value, 240 or 320? Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #468874 Posted October 12, 2019 @Heliomalt у меня сделано так: "sixthSenseTimer": { "enabled": true, "updateEvent": "PY(ON_SIXTH_SENSE_SHOW)", "x": 0, "y": "{{py:sub(-{{py:div({{py:xvm.screenHeight}}, 4)}}, 14)}}", "width": 60, "height": 50, "screenHAlign": "center", "screenVAlign": "center", "textFormat": {"align": "center", "size": 40}, "format": "{{py:xvm.sixthSenseTimer(10)}}" }, 1 Quote Share this post Link to post Short link Share on other sites
Heliomalt 53 #468879 Posted October 12, 2019 (edited) @ktulho thx it works. Drive me nuts for weeks. Will this also work for higher resolution like 4K or for example 1920x1200? Edited October 12, 2019 by Heliomalt 4K resolution Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #468885 Posted October 12, 2019 1 час назад, Heliomalt сказал: Will this also work for higher resolution like 4K or for example 1920x1200? У меня 1920х1200. 1 Quote Share this post Link to post Short link Share on other sites
Sergei Nik 78 #468923 Posted October 13, 2019 Всем доброе утро.Подскажите этот ( infoPremium.py ) скрипт выводит только в ангаре информацию или и в бою тоже? Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #468941 Posted October 13, 2019 1 час назад, Sergei Nik сказал: Подскажите этот ( infoPremium.py ) скрипт выводит только в ангаре информацию или и в бою тоже? Информация должна отображаться, но обновляется во время боя не будет. Quote Share this post Link to post Short link Share on other sites
Sergei Nik 78 #468943 Posted October 13, 2019 @ktulho спасибо. Quote Share this post Link to post Short link Share on other sites
Sergei Nik 78 #469320 Posted October 20, 2019 Здравствуйте@ktulho ,а не подскажите как правильно прописать,что бы информация о премиум дне отображалась во время боя.Заранее спасибо! Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #469730 Posted October 28, 2019 Обновил "Маркер над своим танком". Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #469960 Posted November 1, 2019 20.10.2019 в 12:12, Sergei Nik сказал: Здравствуйте@ktulho ,а не подскажите как правильно прописать,что бы информация о премиум дне отображалась во время боя.Заранее спасибо! По идее также как и в ангаре. Проверять мне не хочется. На реплее не проверить. А играть и тем более покупать прем у меня нет желания. 1 Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,165 #469973 Posted November 1, 2019 20.10.2019 в 12:12, Sergei Nik сказал: как правильно прописать,что бы информация о премиум дне отображалась во время боя всё как обычно: в battleLabels.xc добавляешь блок, в battleLabelsTemplates.xc ссылку ---- на аккаунте 8ч према. От болды вставил макросы: "updateEvent": "PY(ON_INFO_PREMIUM)", "format": "ТЕСТ дней: {{py:prem.timeLeft|-}}, часов: {{py:prem.timeLeftMinutes|-}}, па: {{py:prem.timeLeftDays|-}}" бой: 1 Quote Share this post Link to post Short link Share on other sites
Sergei Nik 78 #469989 Posted November 1, 2019 @ktulho, @HEKPOMAHT спасибо. Quote Share this post Link to post Short link Share on other sites
krok65 79 #470533 Posted November 10, 2019 @ktulho , здравствуйте!!!Подскажите пожалуйста, а можно или как сделать фильтр в чате сообщения в данном случае именно ко мне.Чтоб все сообщения нормально отображались, а "именные" нет.Просто в ранговых это как у Летова : понос-апофеоз.Было б хорошо если б функция вкл-откл была.В ЧС на время боя одного-двух напостой как-то не резон уже.Заранее спасибо!!! Quote Share this post Link to post Short link Share on other sites