Andyss Posted November 4, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
Slava7572 Posted November 4, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
Ress Posted November 5, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
Andyss Posted November 5, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted November 5, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
Andyss Posted November 5, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted November 5, 2018 Share Posted November 5, 2018 1 @ Quote Link to comment Short link Share on other sites More sharing options...
Andyss Posted November 5, 2018 Share Posted November 5, 2018 sorry I dont understand, what does that mean? need to add something? @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted November 5, 2018 Share Posted November 5, 2018 18 минут назад, Andyss сказал: sorry I dont understand, what does that mean? need to add something? • - это лишний символ. Его нужно удалять из кода! ---- тут готовый elements.xc . Скопировать с заменой в свой конфиг. @ Quote Link to comment Short link Share on other sites More sharing options...
Andyss Posted November 5, 2018 Share Posted November 5, 2018 I downloaded your file, there cant be any extra marks? elements.xc @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted November 5, 2018 Share Posted November 5, 2018 6 минут назад, Andyss сказал: I downloaded your file, there cant be any extra marks? 19 минут назад, HEKPOMAHT сказал: тут готовый elements.xc . Скопировать с заменой в свой конфиг. @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted November 5, 2018 Author Share Posted November 5, 2018 @Andyss может так станет понятней. @ Quote Link to comment Short link Share on other sites More sharing options...
Andyss Posted November 5, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted November 5, 2018 Share Posted November 5, 2018 @Andyss нужна ещё папка py_macro @ Quote Link to comment Short link Share on other sites More sharing options...
Andyss Posted November 5, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted November 5, 2018 Share Posted November 5, 2018 скопировать с заменой Ma7rix.rar @ Quote Link to comment Short link Share on other sites More sharing options...
Andyss Posted November 5, 2018 Share Posted November 5, 2018 thanks guys 1 @ Quote Link to comment Short link Share on other sites More sharing options...
Slava7572 Posted November 6, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
Andyss Posted November 6, 2018 Share Posted November 6, 2018 yeah I just checked that to show what extra markings there are in my file @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted February 3, 2019 Share 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 Link to comment Short link Share on other sites More sharing options...
Recommended Posts
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.