Jump to content
Korean Random
ktulho

totalEfficiency средствами XVM.

Recommended Posts

ktulho а можно в шапку добавить скриншоты этого мода, а также скриншоты и их конфиги других авторов (кто выкладывал конфиги в этой теме) Если можно конечно. Спасибо заранее.  

Share this post


Link to post

Short link
Share on other sites

Выкладывайте, я ссылки на сообщения помещу в шапку.

  • Upvote 5

Share this post


Link to post

Short link
Share on other sites

Поставил себе {{py:xvm.damageReceived}}, на СУ 112 44 получил ваншот на 843хп при 840хп, в дамаг логе всё нормально на 840хп.

Edited by Pensioner
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Поставил себе {{py:xvm.damageReceived}}, на СУ 112 44 получил ваншот на 843хп при 840хп, в дамаг логе всё нормально на 840хп.

Наверно исправил.

  • Upvote 3

Share this post


Link to post

Short link
Share on other sites

Hi,

Do you plan to include totalEfficiency.py in xvm build or Damagelog ? or it will stay like an addon.

 

Up :)

 

Lot of players want to disable damagelog only for keeping vanilla summary of blocked and assisted damages.

Thanks

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

@panteror,

 

 

Я не против. Надо конфиг сделать и наверно добавить комментарий в battleLablesTemplates.xc.
 

Share this post


Link to post

Short link
Share on other sites

 

@panteror,

 

 

 

 

ok ;)

 

i started english comments (needs to be improve, not my native tongue)

{{py:xvm.totalDamage}} - общий нанесенный урон игроком; // The total damage dealt
{{py:xvm.totalAssist}} - общий урон нанесенный с помощью игрока; // The total damage due to the player’s assistance (Track and Spot)
{{py:xvm.totalBlocked}} - общий заблокированный урон игроком; // The total damage blocked by armor
{{py:xvm.damageReceived}} - общий полученный урон игроком; // The total damage received
{{py:xvm.totalDamagesBlocked}} - сумма {{py:xvm.totalDamage}} и {{py:xvm.totalBlocked}} // The sum of {{py:xvm.totalDamage}} and {{py:xvm.totalBlocked}}
{{py:xvm.totalDamagesAssist}} - сумма {{py:xvm.totalDamage}} и {{py:xvm.totalAssist}} // The sum of {{py:xvm.totalDamage}} and {{py:xvm.totalAssist}}
{{py:xvm.totalDamagesBlockedAssist}} - сумма {{py:xvm.totalDamage}}, {{py:xvm.totalAssist}} и {{py:xvm.totalBlocked} // The sum of {{py:xvm.totalDamage}}, {{py:xvm.totalAssist}} and {{py:xvm.totalBlocked}
{{py:xvm.totalDamagesBlockedReceived}} - сумма {{py:xvm.totalDamage}}, {{py:xvm.totalBlocked}} и {{py:xvm.damageReceived}} // The sum of {{py:xvm.totalDamage}}, {{py:xvm.totalBlocked}} and {{py:xvm.damageReceived}}
{{py:xvm.totalBlockedReceived}} - сумма {{py:xvm.totalBlocked}} и {{py:xvm.damageReceived}} // The sum of {{py:xvm.totalBlocked}} and {{py:xvm.damageReceived}}
{{py:xvm.damagesSquad}} - нанесенный урон взводом (урон нанесенный игроком не учитывается); // The total damage dealt by a platoon (player not included)
{{py:xvm.totalDamagesSquad}} - общий нанесенный урон взводом. // The total damage dealt by a platoon
{{py:xvm.detection}} - количество обнаруженных противников (работает только если в игре включено событие  "Обнаружен противник" ) // Enemy vehicles spotted (only works if the game settings "enemy detected" event is checked)
{{py:xvm.frags}} - количество фрагов; // Enemy destroyed
{{py:xvm.assistTrack}} - урон нанесенный технике, обездвиженной игроком (сбитие гусеницы); // The total damage due to the player’s assistance when player immobilized enemies (shooting down tracks)
{{py:xvm.assistSpot}} - урон нанесенный по засвету игрока; // The total damage due to the player’s assistance (spotting)
{{py:xvm.crits}} - количество нанесенных критических попаданий. // Sum of critical hits

py:xvm.totalAssist = py:xvm.assistTrack + py:xvm.assistSpot ?

Edited by panteror
  • Upvote 4

Share this post


Link to post

Short link
Share on other sites

Hi, @ktulho

 

I found a problem with {{py:xvm.totalDamagesSquad}} if we are not in squad, this macro shows player damage.

 

I think if we play alone, this macro should be null and show 0 damage, not player damage, no ?

Maybe add a check if we are in squad or not ?

 

Thanks.

Edited by panteror
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

 

 

I think if we play alone, this macro should be null and show 0 damage, not player damage, no ?
(imho) no need to do so. the macro shows the damage sguad + player. if no squad - only player, and everything is logical. when you play alone just ignore this macro :))

Share this post


Link to post

Short link
Share on other sites
I think if we play alone, this macro should be null and show 0 damage, not player damage, no ? Maybe add a check if we are in squad or not ?

one player is a special case of a platoon of one person ,)

if you wanna to hide the squad damage, you have to add the following string in //attackSquad section

"alpha": "{{squad?100|0}}",

just f.e.

        {//attackSquad
          "$ref": { "path":"battleLabels.attackEfficiency" },
          "enabled": true,
          "visibleOnHotKey": false,
          "x": "{{pp.mode=4?{{py:math.sum({{pp.widthLeft}},280)}}|560}}",
          "alpha": "{{squad?100|0}}",
          "format": "<textformat tabstops='[70]'><img src='img://gui/maps/icons/library/qualifiers/16x16/all.png' width='20' height='18' vspace='-4'>{{py:xvm.damagesSquad}}<tab><img src='img://gui/maps/icons/library/friendshipIcon-1.png' width='20' height='18' vspace='-6'>{{py:xvm.totalDamagesSquad}}</textformat>"
        },
when you play alone just ignore this macro

what for, if we have the possibility to hide a results of these macros? ,)

Edited by Stepan371
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Thanks @Stepan371 for the tips with alpha, if i want to use I need to rewrite all my battletemplates for each efficiency macro :)

 

 

 

@Kapany3uk, I know it does not matter to play with it but in my point of view, squad macro should be null if we are not in platoon.

Edited by panteror

Share this post


Link to post

Short link
Share on other sites
Thanks Stepan371 for the tips with alpha, if i want to use I need to rewrite all my battletemplates for each efficiency macro :)

not at all, just throw solution. use your own judgement, what is better - it's up to you ,)

PS be so kind to take from me one more advice, please,  - do not use in the same sentence the Present Indefinite and Present Simple in place of Future Indefinite.

PPS I remember, that English is not your native "tongue" ,)

PPPS for me too ,)

Edited by Stepan371
  • Upvote 2

Share this post


Link to post

Short link
Share on other sites

yes :), thanks for the advice

most of french are not good in foreign languages, our school system is not good for the study of languages. ie. Look our politicians speak english in european meeting, it's hilarious but it's not an excuse ,)

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites
py:xvm.totalAssist = py:xvm.assistTrack + py:xvm.assistSpot ?
, да

в конце боя

py:xvm.totalAssist  показывал 71

py:xvm.assistTrack отображал  0

py:xvm.assistSpot  отображал  0

следующая игра

прожил долго, несколько событий "урон по разведданным" сразу (после сообщения "событий в бою") отображался py:xvm.totalAssist

py:xvm.assistSpot отображает урон не сразу. есть задержка

подобное поведение и py:xvm.assistTrack - отображен не сразу

сложилось мнение, что данные, отображаемые этими макросами, меняются после следующего ribbon урона/повреждения

"updateEvent": "PY(ON_TOTAL_EFFICIENCY), ON_PANEL_MODE_CHANGED",

Edited by Stepan371

Share this post


Link to post

Short link
Share on other sites

сложилось мнение, что данные, отображаемые этими макросами, меняются после следующего ribbon урона/повреждения

, потестируйте с этим файлом.  

totalEfficiency.rar

Share this post


Link to post

Short link
Share on other sites

@ktulho, доношу до сведения: есть два положительных и один отрицательный фактор
+ данные появляются сразу после появления ribbon.
- помимо py:xvm.assistSpot, возник урон py:xvm.assistTrack до моего первого выстрела
+ py:xvm.totalAssist просуммировал все данные правильно ,)

 

в бою: отображенный totalAssist=1000  assistTrack=123 assistSpot=877

итог боя: урон по разведданным 639+204+238=1081
урон после сбития трака в итоге отсутсвует
 

Edited by Stepan371

Share this post


Link to post

Short link
Share on other sites
в бою: отображенный totalAssist=1000  assistTrack=123 assistSpot=877 итог боя: урон по разведданным 639+204+238=1081

, трак сбит у не засвеченного противника? Или танк со сбитым траком пропал из засвета, и по нему кто-то нанес урон?

 

 

сложилось мнение, что данные, отображаемые этими макросами, меняются после следующего ribbon урона/повреждения
, вроде исправил, обновил шапку.  Edited by ktulho

Share this post


Link to post

Short link
Share on other sites

 

 

, трак сбит у не засвеченного противника? Или танк со сбитым траком пропал из засвета, и по нему кто-то нанес урон?

 

 

помимо py:xvm.assistSpot, возник урон py:xvm.assistTrack до моего первого выстрела 
урон после сбития трака в итоге отсутсвует

я не стрелял, ergo трак повредить не мог. это подтвеждено в итогах боя.
totalAssist во время нахождения в бою (1000) меньше, чем урон по разведданным (1081) в итогах боя.
это - урон по моим данным, то есть - я их должен видеть лично в момент нанесения урона.

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.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...