HEKPOMAHT Posted October 9, 2016 Share Posted October 9, 2016 dl. () - убрали - проще выглядеть стало @ Quote Link to comment Short link Share on other sites More sharing options...
0kosmo Posted October 10, 2016 Share Posted October 10, 2016 А есть красивый способ привязать это все к левому нижнему углу? (без подбора координат) @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted October 10, 2016 Share Posted October 10, 2016 "screenVAlign" вертикальное выравнивание поля на экране ("top" [по-умолчанию], "center", "bottom") @ Quote Link to comment Short link Share on other sites More sharing options...
Slava7572 Posted October 10, 2016 Share Posted October 10, 2016 А есть красивый способ привязать это все к левому нижнему углу? (без подбора координат) "screenHAlign" и так по дефолту к левому углу привязан,достаточно "screenVAlign": "bottom". @ Quote Link to comment Short link Share on other sites More sharing options...
0kosmo Posted October 12, 2016 Share Posted October 12, 2016 "screenHAlign" и так по дефолту к левому углу привязан,достаточно "screenVAlign": "bottom". Некорректно сформулировал. Чтобы поместить строку данных над панелью с модулями. То есть необходимо знать размер этой панели. Так вот, можно ли относительно просто получить этот размер. ps. в принципе уже разместил где хотел (но подбором). @ Quote Link to comment Short link Share on other sites More sharing options...
Szulson Posted October 12, 2016 Share Posted October 12, 2016 (edited) Ktulho http://www.koreanrandom.com/forum/topic/35169-damagelog-%D1%81%D1%80%D0%B5%D0%B4%D1%81%D1%82%D0%B2%D0%B0%D0%BC%D0%B8-xvm/page-9?do=findComment&comment=358618 Edited October 12, 2016 by Szulson @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted October 12, 2016 Author Share Posted October 12, 2016 @Szulson, попробуйте так:В файл battleLabels.xc добавить: ${ "battleLabelsTemplates.xc":"def.DamagesSquad" }, В файл battleLabelsTemplates.xc добавить: "DamagesSquad": { "enabled": true, "updateEvent": "PY(ON_TOTAL_EFFICIENCY)", "hotKeyCode": 56, "visibleOnHotKey": false, "onHold": true, "x": 450, "y": 0, "width": 200, "height": 40, "alpha": "{{squad?100|0}}", "screenHAlign": "center", "screenVAlign": "top", "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 5, "strength": 3 }, "textFormat": { "color": "0xE3E3E3", "size": 16 }, "format": "<img src='cfg://Szulson/icons/Sguad-1.png' width='22' height='22' align='baseline' vspace='-4'> <b>{{py:xvm.damagesSquad()}}<b>" }, 3 @ Quote Link to comment Short link Share on other sites More sharing options...
Szulson Posted October 12, 2016 Share Posted October 12, 2016 @Szulson, попробуйте так: В файл battleLabels.xc добавить: ${ "battleLabelsTemplates.xc":"def.DamagesSquad" }, В файл battleLabelsTemplates.xc добавить: "DamagesSquad": { "enabled": true, "updateEvent": "PY(ON_TOTAL_EFFICIENCY)", "hotKeyCode": 56, "visibleOnHotKey": false, "onHold": true, "x": 450, "y": 0, "width": 200, "height": 40, "alpha": "{{squad?100|0}}", "screenHAlign": "center", "screenVAlign": "top", "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 5, "strength": 3 }, "textFormat": { "color": "0xE3E3E3", "size": 16 }, "format": "<img src='cfg://Szulson/icons/Sguad-1.png' width='22' height='22' align='baseline' vspace='-4'> <b>{{py:xvm.damagesSquad()}}<b>" }, Большое спасибо. Он работает. Ты великолепен. @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted October 12, 2016 Author Share Posted October 12, 2016 дружище, не раз в бою встречал игроков на ЛТ , у которых по 1-3...к боёв на одном танке (причём не обязательно это лт 8-го лвл) . Обращаюсь к тебе с просьбой и хотел бы спросить у сообщества,стоит ли : Для любителей ЛТ ввести макрос , могу сделать, но работать будет только, если включено событие в бою "Обнаружен противник". 4 @ Quote Link to comment Short link Share on other sites More sharing options...
hat3k Posted October 12, 2016 Share Posted October 12, 2016 (edited) А для староверов нельзя ли придумать формат отображения ровно такой же как в послебоевой статистике? (Разумеется, после внедрения соответствующих маркеров макросов.) Иконки клиентские, подложку утащил с wotreplays. Edited October 12, 2016 by hat3k @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted October 12, 2016 Share Posted October 12, 2016 (edited) , могу сделать, но работать будет только, если включено событие в бою "Обнаружен противник". Считаю обнаружение и передача разведданных одними из основных риббонов из всего прелдоженного списка . Так что если сделашь макрос на количество обнаруженных танков - мы будем только рады. Edited October 12, 2016 by H_E_K_P_O_M_A_H_T_ 1 @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted October 12, 2016 Author Share Posted October 12, 2016 Добавил: {{py:xvm.detection()}} - количество обнаруженных противников (работает только если включены событие "Обнаружен противник" ) 4 @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted October 12, 2016 Share Posted October 12, 2016 (edited) Добавил: {{py:xvm.detection()}} - количество обнаруженных противников (работает только если включены событие "Обнаружен противник" ) спс Edited October 12, 2016 by H_E_K_P_O_M_A_H_T_ @ Quote Link to comment Short link Share on other sites More sharing options...
refaol Posted October 12, 2016 Share Posted October 12, 2016 Добавил: Спасибо! @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted October 12, 2016 Share Posted October 12, 2016 (edited) {{py:xvm.detection()}} Протестировал - не суммирует обнаруженных . Пишет последнее событие Edited October 12, 2016 by H_E_K_P_O_M_A_H_T_ @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted October 12, 2016 Author Share Posted October 12, 2016 {{py:xvm.detection()}} Протестировал - не суммирует обнаруженных . Пишет последнее событие Значит я не правильно, понял это сообщение: Каждое обнаружение - новый риббон с кол.-вом обнаруженных {{py:xvm.detection()}} Протестировал - не суммирует обнаруженных . Пишет последнее событие Исправил, шапку обновил. 2 @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted October 12, 2016 Share Posted October 12, 2016 Теперь норм - можно пользоваться . Ещё раз + @ Quote Link to comment Short link Share on other sites More sharing options...
hat3k Posted October 12, 2016 Share Posted October 12, 2016 За засвет отдельное спасибо, а криты и фраги из того же места можно попросить в макросы запилить? (для моего сообщения выше будет полный комплект) @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted October 12, 2016 Share Posted October 12, 2016 (edited) Для информации, есть xvm макрос {{my-frags}} но он не считает фраги без засвета . Да фраги в ушах есть. Зачем дублировать ... Edited October 12, 2016 by H_E_K_P_O_M_A_H_T_ @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted October 12, 2016 Author Share Posted October 12, 2016 @hat3k, мониторчик у вас охренительный, если не секрет какая диагональ?. А зачем криты в бою? @ Quote Link to comment Short link Share on other sites More sharing options...
Recommended Posts
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.