Jump to content
Korean Random
Sign in to follow this  
Vava

Лог нанесённого урона.

Recommended Posts

Народ, помогите пожалуйста убрать ники игроков в логе. Давно хотел это сделать, не критично, но хорошо бы. 

shot_149_cr.jpg.5ecd368d5ad25baaa3c44d5a990116c7.jpg

Share this post


Link to post

Short link
Share on other sites

@Vava , в:

  • hitLog.xc > "log" > "formatHistory"

Замени:

<textformat leading='-4' tabstops='[20,50,90,190]'><font size='12'>\u00D7{{n-player}}:</font><tab><font color='{{c:dmg-kind}}'>{{dmg}}</font><tab>| {{dmg-player}}<tab>|<font color='{{c:vtype}}'>{{vehicle}}</font> <font face='xvm' size='15' color='#FF0000'>{{alive? |{{blownup?&#x7C;|<font size='19'>&#x77;</font>}}}}</font><tab>|{{name%.15s~..}} <font alpha='#A0'>{{clan}}</font></textformat>

На:

<textformat leading='-4' tabstops='[20,50,90]'><font size='12'>\u00D7{{n-player}}:</font><tab><font color='{{c:dmg-kind}}'>{{dmg}}</font><tab>| {{dmg-player}}<tab>|<font color='{{c:vtype}}'>{{vehicle}}</font> <font face='xvm' size='15' color='#FF0000'>{{alive? |{{blownup?&#x7C;|<font size='19'>&#x77;</font>}}}}</font></textformat>
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites
33 минуты назад, night_dragon_on сказал:

@Vava , в:

  • hitLog.xc > "log" > "formatHistory"

Замени:


<textformat leading='-4' tabstops='[20,50,90,190]'><font size='12'>\u00D7{{n-player}}:</font><tab><font color='{{c:dmg-kind}}'>{{dmg}}</font><tab>| {{dmg-player}}<tab>|<font color='{{c:vtype}}'>{{vehicle}}</font> <font face='xvm' size='15' color='#FF0000'>{{alive? |{{blownup?&#x7C;|<font size='19'>&#x77;</font>}}}}</font><tab>|{{name%.15s~..}} <font alpha='#A0'>{{clan}}</font></textformat>

На:


<textformat leading='-4' tabstops='[20,50,90]'><font size='12'>\u00D7{{n-player}}:</font><tab><font color='{{c:dmg-kind}}'>{{dmg}}</font><tab>| {{dmg-player}}<tab>|<font color='{{c:vtype}}'>{{vehicle}}</font> <font face='xvm' size='15' color='#FF0000'>{{alive? |{{blownup?&#x7C;|<font size='19'>&#x77;</font>}}}}</font></textformat>

Благодарю! Заменил.
Но, ник остался. Раза три перепроверил. Файл отредактированный! Не понимаю...

hitLog.xcshot_155_cr.jpg.40a85c7aadf95ed94fac4421f2b890ec.jpg

Share this post


Link to post

Short link
Share on other sites

@Vava , у тебя старый файл.

В этом обновлении в нем полностью переработаны настройки.

 

Прикрепи файлы:

  • battleLabels.xc
  • battleLabelsTemplates.xc
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites
42 минуты назад, night_dragon_on сказал:

Как поделано! )) Вообще исчез лог. 

Share this post


Link to post

Short link
Share on other sites

Прикрепи лог:

  • xvm.log

После закрытия клиента, дабы он записался и не был пустым.

Share this post


Link to post

Short link
Share on other sites

@Vava , тебе необходимо обновить XVM.

А конкретно, папку "py_macro"

 

Я тебе вписал новые макросы которые будут использоваться после выхода стабильной версии мода.

У тебя до этог были вписаны так скажем промежуточные с которыми ты бы дальше получал ошибки и пропадание лога.

Share this post


Link to post

Short link
Share on other sites

Ставлю уже готовый модпак Амвея. Закидываю несколько своих хотелок, всё устраивает. Не думал, что такой гембель с этими никами получится. Спасибо!

Share this post


Link to post

Short link
Share on other sites
4 минуты назад, Vava сказал:

Ставлю уже готовый модпак Амвея.

 

У него в паке устаревшая ночная сборка мода.

 

4 минуты назад, Vava сказал:

Закидываю несколько своих хотелок, всё устраивает.

 

Если не хочешь сейчас все менять, тебе достаточно скачать архив свежей версии.

Из него взять папку:

  • res_mods \ configs \ xvm \ py_macro

Ну и ей заменить то что у тебя сейчас по этому же пути размещено в клиенте.

Edited by night_dragon_on
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Благодарю за участие!
Загадочным образом, ники исчезли: тупо переустановил модпак и "а вдруг" вставил самую первую редакцию изменения в hitLog.xc .
Всё получилось, спасибо!
shot_156_cr.jpg.70d078aed78a0bcdcb7df2d47067bdd6.jpg

Share this post


Link to post

Short link
Share on other sites
2 минуты назад, Vava сказал:

Загадочным образом, ники исчезли

 

Ничего загадочного тут нет.

Ты скачал более свежую версию пака в которой добавили новую сборку XVM.

В которой были внесены изменения которые я тебе прописал выше.

:smile:

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Уважаемый night_dragon_on нужна ВАША авторитетная помощь.

 

У меня проблема с хитлогом - ну тот что в левом верхнем углу - сделайте чтоб он заработал. А полученный лог (тот что в левом нижнем углу - оставить как на скриншоте.  Хит лог был он у меня в одну строчку - кол-во выстрелов, сумма уронов, последний урон и танчики беленькие такие ну когда убил дуло у него на пол шестого, когда боеуклад он показывает что от боеуклада взорвался. К сожалению нету скрина с работающим хитлогом. Приклепляю свой Raevsky77 - помогите :-(

 

shot_001.jpg

Raevsky77.rar

Share this post


Link to post

Short link
Share on other sites

У меня вопрос попроще. Как убрать подробности урона и оставить только суммарный + последний нанесенный?

(см. скрин - выделенное оставить, всё что ниже не отображать)

 

Безымянный.png

Share this post


Link to post

Short link
Share on other sites
2 минуты назад, KomatozNick сказал:

всё что ниже не отображать

 

battleLabelsTemplates.xc

    "hitLogBody": {
      "enabled": false,

Share this post


Link to post

Short link
Share on other sites
1 минуту назад, Raevsky77 сказал:

коматоз и мне тоже самое нуно

 

Такой же вид как на скрине, в выделенной части скрина?

Share this post


Link to post

Short link
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...