night_dragon_on 5,601 #455847 Posted April 5, 2019 (edited) 05.04.2019 в 02:08, Alexx_Real сказал: логическую расшифровку расскажите 21.03.2019 в 16:47, night_dragon_on сказал: Да. <font face='xvm' size='15' color='#FF0000'>{{alive?ЖИВ|{{blownup?ВЗОРВАН|УНИЧТОЖЕН}}}}</font> Где взамен слов (ЖИВ, ВЗОРВАН, УНИЧТОЖЕН) подставляй символы из шрифта/картинки/текст и т.п. Edited January 5, 2020 by night_dragon_on Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #455852 Posted April 5, 2019 @extrime eXtrime.zip 1 Quote Share this post Link to post Short link Share on other sites
Slava7572 1,685 #455868 Posted April 5, 2019 15 часов назад, Alexx_Real сказал: нельзя создать строчку которая будет высвечиваться до первого попадания? Я же тебе прописал это {{py:xvm.totalDamage=0?<font color='#D8B32D'>Нанесённый урон</font> <font size='14'><font color='#FF0000'>(пока не нанесено ни одного)</font>|бла-бла}} 1 Quote Share this post Link to post Short link Share on other sites
crasovsky.a 4 #455870 Posted April 5, 2019 Доброго времени суток всем!!! Ребята подскажите пожалуйста как сделать не прозрачной ("alpha": "{{alive?100|0}}") Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #455871 Posted April 5, 2019 @crasovsky.a опишите, что вы хотите сделать? Quote Share this post Link to post Short link Share on other sites
crasovsky.a 4 #455872 Posted April 5, 2019 1 минуту назад, ktulho сказал: @crasovsky.a опишите, что вы хотите сделать? нужно альфа сделать не прозрачной Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #455873 Posted April 5, 2019 2 минуты назад, crasovsky.a сказал: нужно альфа сделать не прозрачной Это вы сверх подробно описали. Quote Share this post Link to post Short link Share on other sites
crasovsky.a 4 #455874 Posted April 5, 2019 (edited) 2 минуты назад, ktulho сказал: Это вы сверх подробно описали. //--------------Модули--------------// "deviceRepairCtrlItem": { "enabled": true, "width": 60, "height": 60, "alpha": "{{alive?100|0}}", "screenHAlign": "center", "screenVAlign": "center", "hotKeyCode": 29, "visibleOnHotKey": true, "onHold": true, "layer": "top" ремонт модулей Edited April 5, 2019 by crasovsky.a Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #455876 Posted April 5, 2019 А при чем здесь хитлог? Quote Share this post Link to post Short link Share on other sites
crasovsky.a 4 #455877 Posted April 5, 2019 2 минуты назад, ktulho сказал: А при чем здесь хитлог? да я просто спросил про альфа Quote Share this post Link to post Short link Share on other sites
Adios muchachos! 0 #455879 Posted April 5, 2019 18 часов назад, ktulho сказал: Вместо макроса {{hitlog.dead}}, нужно писать: <font face='Wingdings'>{{alive? |{{blownup?M|N}}}}</font> Это было бы лучше всего. Подскажите плз, как сделать, чтоб это работало в hitlogHeader, а то у меня раньше там было {{hitlog.dead}} и это работало, а макрос {{alive}} не работает. Вот как у меня сейчас в файле battleLabelsTemplates: "hitlogHeader": { "enabled": true, "updateEvent": "PY(ON_TOTAL_EFFICIENCY), ON_PANEL_MODE_CHANGED", "x": "10", "y": "448", "width": 500, "height": 500, "textFormat": { "color": "0xF4EFE8", "size": 15 }, "format": "{{py:xvm.totalDamage=0?{{l10n:Hits}}: <font size='13'>урон пока не нанесен</font>|<font color='#FFFFFF'>{{l10n:Hits}}:</font> <font size='13'> #{{py:xvm.numberHitsDealt}}:</font> <font color='#00A000'><b>{{py:xvm.totalDamage}}</b></font> <font color='#FFFFFF'>{{l10n:Last}}:</font> <font color='{{c:dmg-kind}}'><b>{{py:xvm.dmg}}</b> <font face='Wingdings'>{{alive? |{{blownup?M|N}}}}</font></font>}}" } Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #455880 Posted April 5, 2019 1 минуту назад, Adios muchachos! сказал: Подскажите плз, как сделать, чтоб это работало в hitlogHeader, а то у меня раньше там было {{hitlog.dead}} и это работало, а макрос {{alive}} не работает. Вот как у меня сейчас в файле battleLabelsTemplates: "hitlogHeader": { "enabled": true, "updateEvent": "PY(ON_TOTAL_EFFICIENCY), ON_PANEL_MODE_CHANGED", "x": "10", "y": "448", "width": 500, "height": 500, "textFormat": { "color": "0xF4EFE8", "size": 15 }, "format": "{{py:xvm.totalDamage=0?{{l10n:Hits}}: <font size='13'>урон пока не нанесен</font>|<font color='#FFFFFF'>{{l10n:Hits}}:</font> <font size='13'> #{{py:xvm.numberHitsDealt}}:</font> <font color='#00A000'><b>{{py:xvm.totalDamage}}</b></font> <font color='#FFFFFF'>{{l10n:Last}}:</font> <font color='{{c:dmg-kind}}'><b>{{py:xvm.dmg}}</b> <font face='Wingdings'>{{alive? |{{blownup?M|N}}}}</font></font>}}" } В шапке темы пример показан. Quote Share this post Link to post Short link Share on other sites
extrime 37 #455893 Posted April 5, 2019 (edited) @ktulho Спасибо огромное. Все работает только один вопрос, как сделать шрифт всего лога жирным, а не только верх? Напомню было вот так. Edited April 5, 2019 by extrime Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #455894 Posted April 5, 2019 @extrime попробуйте hitLog.xc 1 Quote Share this post Link to post Short link Share on other sites
extrime 37 #455901 Posted April 5, 2019 @ktulho Да, спасибо! Теперь все в точности как было раньше. Quote Share this post Link to post Short link Share on other sites
Alexx_Real 91 #455902 Posted April 5, 2019 6 часов назад, Slava7572 сказал: Я же тебе прописал это {{py:xvm.totalDamage=0?<font color='#D8B32D'>Нанесённый урон</font> <font size='14'><font color='#FF0000'>(пока не нанесено ни одного)</font>|бла-бла}} Да точно, извини не увидел сразу. Спасибо огромное Quote Share this post Link to post Short link Share on other sites
djgelius 4 #455927 Posted April 6, 2019 Здравствуйте, пробывал сделать по инструкции сделать ни чего не получилось может у меня не в тех файлах прописывать нужно, вот исходный мой конфиг без изменений, 2 дня уже ковыряю не пойму xvm_3dn_ru.zip Quote Share this post Link to post Short link Share on other sites
night_dragon_on 5,601 #455943 Posted April 6, 2019 (edited) @djgelius xvm_3dn_ru.zip Edited April 6, 2019 by night_dragon_on Quote Share this post Link to post Short link Share on other sites
djgelius 4 #455944 Posted April 6, 2019 36 минут назад, night_dragon_on сказал: @djgelius xvm_3dn_ru.zip Quote Share this post Link to post Short link Share on other sites
night_dragon_on 5,601 #455950 Posted April 6, 2019 @djgelius , перекачай архив. Секцию поправил, про ссылку на нее забыл. 1 Quote Share this post Link to post Short link Share on other sites