Fix 63 #17495 Posted October 21, 2012 (edited) а закрывать теги кто будет? добавляй </font> в конце того где должно заканчиваться применение шрифта. <font face='vampire95'>{{dmg-total}}</font> {{dmg}} {{vehicle}} <font face='vampire95'>{{nick}}</font> {{dmg-kind}} так шрифт поменяет для {{dmg-total}} и {{nick}}, а всё остальное останется нормальным шрифтом. если б я еще знал что такое теги спасибо Edited October 21, 2012 by IGOREKWORD Share this post Link to post Short link Share on other sites
Alastanka 282 #17551 Posted October 21, 2012 (edited) http://www.koreanrandom.com/forum/index.php?showtopic=1384&view=findpost&p=16860 Updated 21/10/2012 config XVM color XVM.xvmconf English Edited October 21, 2012 by Alastanka Share this post Link to post Short link Share on other sites
sirmax 5,499 #17598 Posted October 22, 2012 Sorry for crude display, What if you hit to one player, then another and again to the first? You want to see 3 lines or 2? In other words, I can make linear grouping, or full grouping. In first case you'll have more lines, in second - it is hard to understand what hit was last (or prevoius). Both solutions are not very good, but what is the worse? Also take in mind that i'll add macro {{dmg-player}}, that will have total damage for this player. Русскоязычные тоже могут отвечать :) Share this post Link to post Short link Share on other sites
EngIand 11 #17600 Posted October 22, 2012 What if you hit to one player, then another and again to the first? You want to see 3 lines or 2? In other words, I can make linear grouping, or full grouping. In first case you'll have more lines, in second - it is hard to understand what hit was last (or prevoius). Both solutions are not very good, but what is the worse? Also take in mind that i'll add macro {{dmg-player}}, that will have total damage for this player. Русскоязычные тоже могут отвечать :) I think that having 3 lines would be worse. I think 2 would be better. You can have {{dmg-player}} macro for total and also {{dmg}} to show the last hit. Litterally only having 1 line of damage text per individual damaged. This would be my preference and was what i was talking about earlier. I could see that some may prefer to have it as 3 lines like in your description and so maybe if its an option you could include different options for config. But if you can only have it one way or the other id prefer 1 line of text per individual damaged. Share this post Link to post Short link Share on other sites
sirmax 5,499 #17605 Posted October 22, 2012 Ok, I'll use full grouping, and resort list every hit, so players will be always sorted according order of your hits. Also I'll add {{n-player}} macro for count of hits for each player. I need replay with big number of hits for different targets and complex order. Share this post Link to post Short link Share on other sites
m4tr4 0 #17609 Posted October 22, 2012 (edited) Ok, I'll use full grouping, and resort list every hit, so players will be always sorted according order of your hits. Also I'll add {{n-player}} macro for count of hits for each player. I need replay with big number of hits for different targets and complex order. i really admire your work.... and those new 2 macros you are planning seem to me that are going to be very usefull. {{n}} : {{n-player}} -- {{dmg}} : {{dmg-player}} {{player}} {{vehicle}} {{dmg_kind}} {{dead}} is it possible to create a {{dmg-ratio}} for player total hits? Edited October 22, 2012 by m4tr4 Share this post Link to post Short link Share on other sites
sirmax 5,499 #17611 Posted October 22, 2012 is it possible to create a {{dmg-ratio}} for player total hits? Possible, but does it really needed in hit-log? Absolute value is more useful than relative. Share this post Link to post Short link Share on other sites
m4tr4 0 #17619 Posted October 22, 2012 this is whata have in mind maybe i cant explain myself correctly {{n}} : {{n-player}} -- {{dmg}} : {{dmg-player}} {{dmg-ratio}} {{player}} {{vehicle}} {{dmg_kind}} {{dead}} {{dmg-ratio}} --- the total hp ratio that i have taken from the player Share this post Link to post Short link Share on other sites
Alastanka 282 #17695 Posted October 22, 2012 (edited) если я правильно понял пример: {{n}}: {{dmg-player}}/{{n-player}} {{dmg}} {{dmg-kind}} {{vehicle}} {{nick}} {{dead}} получим 1: 1500/2 500 атака КВ-3 Alastanka ~|~ соответственно 2 выстрела в КВ-3, последний выстрел на 500, и сами отнимаем 1500-500 вопрос каким образом мы нанесли первый выстрел{{dmg-kind}} и каким цветом отметится дамаг, так как к примеру первый был тараном второй выстрелом Edited October 22, 2012 by Alastanka Share this post Link to post Short link Share on other sites
sirmax 5,499 #17708 Posted October 23, 2012 dmg-kind будет по последнему Share this post Link to post Short link Share on other sites
mrDontes 4 #17713 Posted October 23, 2012 А ты последний урон в теге font и окрашивай по dmg-kind, А хочешь, окрашивай и сумму, каждый сам решает. =) У нас в проекте, в отличии от ВГ, все-таки демократия. Share this post Link to post Short link Share on other sites
sirmax 5,499 #17714 Posted October 23, 2012 (edited) Не, у нас анархия, каждый делает что хочет. :) Done: XVM-3.0.4.pre1: * added possibility to group hits by players in hit-log * added macros {{n-player}} and {{dmg-player}} - count of hits and sum of damage by players XVM-3.0.4.pre1: * добавлена возможность группировки попаданий по игрокам в логе попаданий * добавлены макросы {{n-player}} и {{dmg-player}} - количество попаданий и общая сумма урона по игрокам Скрин: Edited October 23, 2012 by sirmax 1 Share this post Link to post Short link Share on other sites
m4tr4 0 #17741 Posted October 23, 2012 very good job iam already testing the new macros and its working almost perfect :P i just need to format the columms Share this post Link to post Short link Share on other sites
Alastanka 282 #17769 Posted October 23, 2012 (edited) приловчился спасибо Edited October 23, 2012 by Alastanka Share this post Link to post Short link Share on other sites
juricks 1 #17796 Posted October 24, 2012 Вопрос: Можно ли реализовать в логе попаданий последний дамаг идущий не снизу вверх как это сейчас, а сверху вниз? Share this post Link to post Short link Share on other sites
VicKing 650 #17797 Posted October 24, 2012 Вопрос: Можно ли реализовать в логе попаданий последний дамаг идущий не снизу вверх как это сейчас, а сверху вниз? "direction": "down", // Направление лога: up - строки добавляются сверху, down - снизу. Share this post Link to post Short link Share on other sites
juricks 1 #17798 Posted October 24, 2012 (edited) "direction": "down", // Направление лога: up - строки добавляются сверху, down - снизу. Все правильно у меня так и прописано в конфиге, но добавляющая новая строка выталкивает предыдущую и ставиться сверху, что для меня например не удобно, я бы хотел что бы новая строка прописывалась снизу Edited October 24, 2012 by juricks Share this post Link to post Short link Share on other sites
EngIand 11 #17799 Posted October 24, 2012 (edited) Im trying to set my log up in the way sirmax has here, with slight changes but my lack of knowledge for this stuff is annoying. I found the <br/> but for some reason when i simply try to display the same info after the <br/> as what ive got in the format history. It doesnt work. }, "hitLog": { "enabled": true, "x": 25, "y": 440, "w": 450, "h": 400, "lines": 20, "direction": "down", "align": "left", // Substitution for {{dead}} macro when tank is dead "deadMarker": "<font face='Wingdings'size='17'>\N</font>", //"deadMarker": "<font face='Arial Unicode MS' size='15'>\u2626</font>" "blowupMarker": "<font face='Arial Unicode MS'size='15'>\u272a</font>", //"deadMarker": "<font face='Arial Unicode MS' size='15'>\u2626</font>" "format": "<font color='#CCCCCC'>Hits:</font> <font size='13'>#{{n}}</font> | <font color='#EB0000'>{{dmg-total}}</font> - {{dmg}}<br/>"{{n-player}}: <font color='#EB0000'>{{dmg-player}}</font> {{dmg}} | {{vehicle}} | {{nick}} | <font color='{{c:dmg-kind}}'>{{dmg-kind}}</font> <font color='#EB0000'>{{dead}}</font>", "formatHistory": "{{n-player}}: <font color='#EB0000'>{{dmg-player}}</font> {{dmg}} | {{vehicle}} | {{nick}} | <font color='{{c:dmg-kind}}'>{{dmg-kind}}</font> <font color='#EB0000'>{{dead}}</font>", "groupHitsByPlayer": true // group hits by players name }, Whats wrong with what im using here ? Edited October 24, 2012 by EngIand Share this post Link to post Short link Share on other sites
sirmax 5,499 #17801 Posted October 24, 2012 Sirmax can i please see the macro sode setup you used to display like http://www.koreanran...&attach_id=2484 ? This is my config, it is included to mod package (User configs/sirmax2) Все правильно у меня так и прописано в конфиге, но добавляющая новая строка выталкивает предыдущую и ставиться сверху, что для меня например не удобно, я бы хотел что бы новая строка прописывалась снизу Придумаешь название опции, сделаю. :) Share this post Link to post Short link Share on other sites
juricks 1 #17802 Posted October 24, 2012 Придумаешь название опции, сделаю. :) Эмм...Ну например, "Порядок добавления новой строки" или "Порядок отображения новой строки", как-то так)) 1 - сверху вниз; 2 - снизу вверх. Share this post Link to post Short link Share on other sites