Jump to content
Korean Random
sirmax

[Лог попаданий / Hit log]

Recommended Posts

а закрывать теги кто будет? добавляй </font> в конце того где должно заканчиваться применение шрифта.

<font face='vampire95'>{{dmg-total}}</font> {{dmg}} {{vehicle}} <font face='vampire95'>{{nick}}</font> {{dmg-kind}}

так шрифт поменяет для {{dmg-total}} и {{nick}}, а всё остальное останется нормальным шрифтом.

если б я еще знал что такое теги :ok: спасибо Edited by IGOREKWORD

Share this post


Link to post

Short link
Share on other sites

9Rcg7.jpg

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

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

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

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 by m4tr4

Share this post


Link to post

Short link
Share on other sites

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

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

если я правильно понял пример:

{{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 by Alastanka

Share this post


Link to post

Short link
Share on other sites

А ты последний урон в теге font и окрашивай по dmg-kind, А хочешь, окрашивай и сумму, каждый сам решает. =)

У нас в проекте, в отличии от ВГ, все-таки демократия. :gg:

Share this post


Link to post

Short link
Share on other sites

Не, у нас анархия, каждый делает что хочет. :)


9Rcg7.jpg

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}} - количество попаданий и общая сумма урона по игрокам

 

Скрин:post-5504-0-63167000-1351002518_thumb.jpg

Edited by sirmax
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

very good job iam already testing the new macros and its working almost perfect :P

 

i just need to format the columms

 

shot071om.jpg

Share this post


Link to post

Short link
Share on other sites
post-7554-0-68821700-1351024514_thumb.jpg приловчился спасибо Edited by Alastanka

Share this post


Link to post

Short link
Share on other sites

Вопрос:

Можно ли реализовать в логе попаданий последний дамаг идущий не снизу вверх как это сейчас, а сверху вниз?

Share this post


Link to post

Short link
Share on other sites

Вопрос:

Можно ли реализовать в логе попаданий последний дамаг идущий не снизу вверх как это сейчас, а сверху вниз?

"direction": "down", // Направление лога: up - строки добавляются сверху, down - снизу.

Share this post


Link to post

Short link
Share on other sites

"direction": "down", // Направление лога: up - строки добавляются сверху, down - снизу.

Все правильно у меня так и прописано в конфиге, но добавляющая новая строка выталкивает предыдущую и ставиться сверху, что для меня например не удобно, я бы хотел что бы новая строка прописывалась снизу

Edited by juricks

Share this post


Link to post

Short link
Share on other sites

post-5504-0-63167000-1351002518_thumb.jpg

 

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 by EngIand

Share this post


Link to post

Short link
Share on other sites

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

Придумаешь название опции, сделаю. :)

Эмм...Ну например, "Порядок добавления новой строки" или "Порядок отображения новой строки", как-то так))

1 - сверху вниз;

2 - снизу вверх.

Share this post


Link to post

Short link
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...