Jump to content
Korean Random
Sign in to follow this  
scyorkie

damageLog issues (build 6602)

Recommended Posts

1. The asterisk (*) for module damage does not show if there is a critical hit with no damage taken to HP. See screenshot here, where the enemy Super Pershing damaged my gun but otherwise did not reduce my HP. The replay is attached. The asterisk shows up if I actually take HP damage.

 

2. Can I create custom macros in damageLog.xc? In the attached damageLog.xc, I tried to create "c:costShell2" (line 117) and use that in "formatLastHit"(line 128), but it doesn't work. I have also attached battleLabelsTemplates.xc, just in case.

 

3. How do I make the shadow for "lastHit" red instead of black?

20161012_1624_usa-A80_T26_E4_SuperPershing_29_el_hallouf.wotreplay

damageLog.xc

battleLabelsTemplates.xc

Edited by scyorkie

Share this post


Link to post

Short link
Share on other sites
3. How do I make the shadow for "lastHit" red instead of black?

 

battleLabelsTemplates.xc

"lastHit": {
..
      "shadow": { "color": "0xFF0000", ... },
..
    },

 

 

create "c:costShell2" (line 117) and use that in "formatLastHit"

 

damageLog.xc

"lastHit": {
      "$ref": { "path":"damageLog.log" },
  
      // Color depending on received damage kind (macro {{c:dmg-kind}}).
      // Цвет в зависимости от вида полученного урона (макрос {{c:dmg-kind}}).
      "c:dmg-kind": {
        "shot": "#4B0082",
        "fire": "#FF6655",
        "ramming": "#998855",
        "world_collision": "#228855",
        "death_zone": "#CCCCCC",
        "drowning": "#CCCCCC",
        "gas_attack": "#CCCCCC",
        "overturn": "#CCCCCC",
        "art_attack": "#CCCCCC",
        "air_strike": "#CCCCCC"
      },
      // Color depending on shell kind (gold, credits) (macro {{c:costShell}}).
      // Цвет в зависимости от типа снаряда (золото, кредиты) (макрос {{c:costShell}}).
      "c:costShell":{
        "gold-shell": "#FF0000",
        "silver-shell": "#FF0000"
      },
     
..
    },

you may add one or few color sections, others should be taken via "$ref" from damageLog section

Edited by vlad_cs_sr
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Update: I've since had games where I was tracked for no damage, and the asterisk showed up. Screenshot here. Maybe the bug is only for a damaged gun? Will keep an eye on it.


Thanks vlad, everything works.

 

One more thing -- are my translations below correct?

 

"type-shell": {
        "armor_piercing": "AP",
        "high_explosive": "HE",
        "armor_piercing_cr": "APCR",
        "armor_piercing_he": "HESH",
        "hollow_charge": "HEAT"

},

Share this post


Link to post

Short link
Share on other sites

 

 

everything works.
:gawi:

 

One more thing -- are my translations below correct?
dont know for shure

Share this post


Link to post

Short link
Share on other sites

The default was:

 

"type-shell": {
        "armor_piercing": "бб",
        "high_explosive": "оф",
        "armor_piercing_cr": "бп",
        "armor_piercing_he": "хф",
        "hollow_charge": "кс"
},

 

vlad you're russian (server player)!

Share this post


Link to post

Short link
Share on other sites

Yeah I saw that too.

 

I tested in a training room, and still cannot figure out what this is: "armor_piercing_he": "хф"

Share this post


Link to post

Short link
Share on other sites

Update: I've since had games where I was tracked for no damage, and the asterisk showed up. Screenshot here. Maybe the bug is only for a damaged gun? Will keep an eye on it.

Thanks vlad, everything works.

 

One more thing -- are my translations below correct?

 

"type-shell": {

        "armor_piercing": "AP",

        "high_explosive": "HE",

        "armor_piercing_cr": "APCR",

        "armor_piercing_he": "HESH",

        "hollow_charge": "HEAT"

},

 

no, I believe it was HESH too but it's APHE, didnt' find which tank use this ammo, here the icon in gui.pkg\gui\maps\icons\ammopanel\ammo

 

post-29578-0-86652600-1476360933.png

Edited by panteror

Share this post


Link to post

Short link
Share on other sites

Ok thanks. Guess I will leave it as "APHE" for now.

 

Update 1: That is currently translated as "HESH": https://bitbucket.org/XVM/xvm/commits/fe2e78e666e3516047ed0e143698ab75a379212a

 

Update 2: The asterisk didn't show up when I took ammo rack damage in 2 recent games (build 6613): screenshot 1 & screenshot 2 (which also has orange track damage).

Edited by scyorkie

Share this post


Link to post

Short link
Share on other sites

As far as I know, APHE and HESH types exist in client, but are not used in any tank. All known HESH (FV183 for example) are tagged as HE.

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...