scyorkie 50 Posted October 13, 2016 (edited) 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 October 13, 2016 by scyorkie Quote Share this post Link to post Short link Share on other sites
vlad_cs_sr 1,575 #358786 Posted October 13, 2016 (edited) 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 October 13, 2016 by vlad_cs_sr 1 Quote Share this post Link to post Short link Share on other sites
scyorkie 50 #358788 Posted October 13, 2016 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" }, Quote Share this post Link to post Short link Share on other sites
vlad_cs_sr 1,575 #358809 Posted October 13, 2016 everything works. One more thing -- are my translations below correct? dont know for shure Quote Share this post Link to post Short link Share on other sites
scyorkie 50 #358827 Posted October 13, 2016 The default was: "type-shell": { "armor_piercing": "бб", "high_explosive": "оф", "armor_piercing_cr": "бп", "armor_piercing_he": "хф", "hollow_charge": "кс"}, vlad you're russian (server player)! Quote Share this post Link to post Short link Share on other sites
vlad_cs_sr 1,575 #358831 Posted October 13, 2016 vlad you're russian (server player)! yes i am) and this how it is now in l10n files: https://bitbucket.org/XVM/xvm/commits/f9bc1543e2f54b21160c5fdafa62f6fd2e679031 Quote Share this post Link to post Short link Share on other sites
scyorkie 50 #358837 Posted October 13, 2016 Yeah I saw that too. I tested in a training room, and still cannot figure out what this is: "armor_piercing_he": "хф" Quote Share this post Link to post Short link Share on other sites
vlad_cs_sr 1,575 #358841 Posted October 13, 2016 (edited) I suppose its a like FV215b (183) gold HESH Edited October 13, 2016 by vlad_cs_sr Quote Share this post Link to post Short link Share on other sites
scyorkie 50 #358843 Posted October 13, 2016 Tested with charioteer HESH and it shows as "HE" but with gold shell color Quote Share this post Link to post Short link Share on other sites
vlad_cs_sr 1,575 #358848 Posted October 13, 2016 trying to ask @ktulho Quote Share this post Link to post Short link Share on other sites
panteror 54 #358882 Posted October 13, 2016 (edited) 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 Edited October 13, 2016 by panteror Quote Share this post Link to post Short link Share on other sites
scyorkie 50 #358907 Posted October 13, 2016 (edited) 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 October 13, 2016 by scyorkie Quote Share this post Link to post Short link Share on other sites
Jerryfer 2 #363114 Posted October 29, 2016 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. Quote Share this post Link to post Short link Share on other sites