Andyss 16 #444615 Posted November 4, 2018 sorry english how do I hide original counter I have tried 2 methods "battleTimer": { "$delay": 100, "alpha": 0 }, or "battleTimer": { "y": -30 } neither seems to work, last one worked earlier, but timer was seen sometimes in replays, now I cant get it working at all, so I have double counter Quote Share this post Link to post Short link Share on other sites
Slava7572 1,685 #444616 Posted November 4, 2018 (edited) 11 минут назад, Andyss сказал: sorry english how do I hide original counter I have tried 2 methods "battleTimer": { "$delay": 100, "alpha": 0 }, or "battleTimer": { "y": -30 } neither seems to work, last one worked earlier, but timer was seen sometimes in replays, now I cant get it working at all, so I have double counter It works fine for me: elements.xc "elements": [ { "$delay": 100, "battleTimer": { "y": -30 } } It's strange that it does not work for you, maybe where is the error in elements.xc? Edited November 4, 2018 by Slava7572 Quote Share this post Link to post Short link Share on other sites
Ress 21 #444643 Posted November 5, 2018 @Andyss "battleTimer": { "$delay": 100, "alpha": 0 } works fine. Like Slava7572 said, there must be issue inside elements.xc { "elements": [ { "battleTimer": { "$delay": 100, "alpha": 0 }, "debugPanel": { "$delay": 100, "alpha": 0 }, "epicRandomScorePanel": { "alpha": 0 }, "fragCorrelationBar": { "alpha": 0 }, "prebattleTimer": { "$delay": 100, "alpha": 0 }, "questProgressTopAnimContainer": { "$interval": 1000, "x": "{{py:sub({{py:xvm.screenWidth}},450)}}", "y": 27 }, "questProgressTopView" : { "$interval": 1000, "x": "{{py:sub({{py:xvm.screenWidth}},450)}}", "y": 27 } } ] } Make sure you separate them correctly or post your elements.xc Quote Share this post Link to post Short link Share on other sites
Andyss 16 #444662 Posted November 5, 2018 (edited) this is my latest try elements file , is there something wrong? just tested this with replay and there is double timer, elements.xc Edited November 5, 2018 by Andyss Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,165 #444665 Posted November 5, 2018 (edited) 3 часа назад, Andyss сказал: this is my latest try elements file , is there something wrong? just tested this with replay and there is double timer, Edited November 5, 2018 by HEKPOMAHT ✂ удаление вложений Quote Share this post Link to post Short link Share on other sites
Andyss 16 #444666 Posted November 5, 2018 (edited) tested that file and still double, maybe error somewhere else? or does it work in replays? or some else mod /macro interferencing it... Edited November 5, 2018 by Andyss Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,165 #444667 Posted November 5, 2018 1 Quote Share this post Link to post Short link Share on other sites
Andyss 16 #444668 Posted November 5, 2018 sorry I dont understand, what does that mean? need to add something? Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,165 #444670 Posted November 5, 2018 18 минут назад, Andyss сказал: sorry I dont understand, what does that mean? need to add something? • - это лишний символ. Его нужно удалять из кода! ---- тут готовый elements.xc . Скопировать с заменой в свой конфиг. Quote Share this post Link to post Short link Share on other sites
Andyss 16 #444672 Posted November 5, 2018 I downloaded your file, there cant be any extra marks? elements.xc Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,165 #444674 Posted November 5, 2018 6 минут назад, Andyss сказал: I downloaded your file, there cant be any extra marks? 19 минут назад, HEKPOMAHT сказал: тут готовый elements.xc . Скопировать с заменой в свой конфиг. Quote Share this post Link to post Short link Share on other sites
ktulho 5,790 #444675 Posted November 5, 2018 @Andyss может так станет понятней. Quote Share this post Link to post Short link Share on other sites
Andyss 16 #444676 Posted November 5, 2018 (edited) I havent copy pasted any texts, I copied that whole config file from HEKPOMAHT, how does that can change when I download it? here is my wh0le config Ma7rix.zip Edited November 5, 2018 by Andyss Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,165 #444678 Posted November 5, 2018 @Andyss нужна ещё папка py_macro Quote Share this post Link to post Short link Share on other sites
Andyss 16 #444679 Posted November 5, 2018 (edited) py_macro.zip here is my py macro edit: hey I got it working now copied the elements file from 1st post by ktulho , thanks for you help guys. Edited November 5, 2018 by Andyss Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,165 #444680 Posted November 5, 2018 скопировать с заменой Ma7rix.rar Quote Share this post Link to post Short link Share on other sites
Andyss 16 #444681 Posted November 5, 2018 thanks guys 1 Quote Share this post Link to post Short link Share on other sites
Slava7572 1,685 #444692 Posted November 6, 2018 16 часов назад, Andyss сказал: I downloaded your file, there cant be any extra marks? elements.xc These are end of line characters, you can turn them off in Notepad ++ Quote Share this post Link to post Short link Share on other sites
Andyss 16 #444721 Posted November 6, 2018 yeah I just checked that to show what extra markings there are in my file Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,165 #449449 Posted February 3, 2019 Таймер до начала боя был в ранних версиях игры 1) копируем скрипты в C:\Games\World_of_Tanks\res_mods\configs\xvm\py_macro battleTimer.py beginBattle.py 2) добавляем RU или EN блок в battleLabelsTemplates.xc RU: "prebattleTimer": { "enabled": true, "updateEvent": "PY(ON_BATTLE_TIMER), PY(ON_BEGIN_BATTLE)", "x": 0, "y": 120, "width": 400, "height": 130, "screenHAlign": "center", "shadow": { "alpha": 45, "angle": 90, "blur": 4, "color": "0x000000", "distance": 1, "strength": 1.5 }, "textFormat": { "align": "center", "color": "0xFFFFFF", "font": "$FieldFont", "size": 51 }, "format": "{{py:isBattle? |<font size='35'>{{py:xvm.secondsBT=0?Бой начинается!|{{py:xvm.secondsBT>0?До начала боя:|Ожидание игроков...}}</font>\n{{py:xvm.minutesBT%02d~:}}{{py:xvm.secondsBT%02d}}}}}}" }, EN: "prebattleTimer": { "enabled": true, "updateEvent": "PY(ON_BATTLE_TIMER), PY(ON_BEGIN_BATTLE)", "x": 0, "y": 120, "width": 400, "height": 130, "screenHAlign": "center", "shadow": { "alpha": 45, "angle": 90, "blur": 4, "color": "0x000000", "distance": 1, "strength": 1.5 }, "textFormat": { "align": "center", "color": "0xFFFFFF", "font": "$FieldFont", "size": 51 }, "format": "{{py:isBattle? |<font size='35'>{{py:xvm.secondsBT=0?Battle starts!|{{py:xvm.secondsBT>0?Battle starts in:|Awaiting players...}}</font>\n{{py:xvm.minutesBT%02d~:}}{{py:xvm.secondsBT%02d}}}}}}" }, 3) добавляем ссылку в battleLabels.xc ${ "battleLabelsTemplates.xc":"def.prebattleTimer" }, 4) скрываем таймер клиента в elements.xc { "elements": [ { "prebattleTimer": { "$delay": 100, "alpha": 0 } // скрыть таймер до начала боя в клиенте } ] } 5 Quote Share this post Link to post Short link Share on other sites