ktulho 5,780 #512689 Posted December 11, 2021 (edited) 6 минут назад, Antoshkaaa сказал: @ktulho День добрый. Возможно как-то сделать привязку координат к центру экрана? Да. "screenHAlign": "center", "screenVAlign": "center", P.S. Хотя, наверное я вас не правильно понял. Что вы хотите привязать к центру? Edited December 11, 2021 by ktulho 1 Quote Share this post Link to post Short link Share on other sites
Antoshkaaa 534 #512691 Posted December 11, 2021 @ktulho именно это мне и нужно было, спасибо. Мысля появилась совместить с прицелом ) Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #515115 Posted January 27, 2022 Обновил battleDamageIndicatorApp.swf в шапке для WoT 1.15.0.2. 4 Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #517378 Posted May 5, 2022 Обновил battleDamageIndicatorApp.swf в шапке для WoT 1.16.1.0. 5 Quote Share this post Link to post Short link Share on other sites
teamon 3 #517900 Posted May 25, 2022 Приветствую А как в конфиги от Юши правильно вписать макрос? А то я как ни пробовал, что-то да ломаю. Последней попыткой было заменить параметры damageIndicator в markersAliveNormal.xc работает, но ломает много чего остального Quote Share this post Link to post Short link Share on other sites
Wild_RNB 114 #517960 Posted May 26, 2022 @teamon А зачем вы меняете параметры в "markersAliveNormal.xc", к данной теме он никакого отношения не имеет. Делайте все так, как написано в шапке. Если нет файла "battleLabelsTemplates.xc", то создаете его или берете этот. battleLabelsTemplates.xc 1 Quote Share this post Link to post Short link Share on other sites
teamon 3 #517996 Posted May 27, 2022 15 часов назад, Wild_RNB сказал: Делайте все так, как написано в шапке. Если нет файла "battleLabelsTemplates.xc", то создаете его или берете этот. battleLabelsTemplates.xc Создавал. Видимо, фигурных скобок маловато ставил. С вашим файлом всё робит как надо Quote Share this post Link to post Short link Share on other sites
xZirus 201 #519855 Posted June 18, 2022 05.05.2022 в 21:58, ktulho сказал: Обновил battleDamageIndicatorApp.swf в шапке для WoT 1.16.1.0. Приветствую! До сих пор без флэша не обойтись ? Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #519859 Posted June 18, 2022 1 час назад, xZirus сказал: Приветствую! До сих пор без флэша не обойтись ? Скорее всего не обойтись. Хотя я давно не смотрел. 2 Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #521716 Posted July 13, 2022 Обновил battleDamageIndicatorApp.swf в шапке для WoT 1.17.1.0. 3 Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #525220 Posted August 31, 2022 Обновил battleDamageIndicatorApp.swf в шапке для WoT 1.18.0.0. 3 Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #526990 Posted September 22, 2022 Обновил damage_indicator.py и battleDamageIndicatorApp.swf в шапке для WoT 1.18.0.2. 6 Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #527764 Posted October 10, 2022 (edited) Обновление скрипта для WoT 1.18.1.0 CT. damage_indicator.py Edited October 10, 2022 by ktulho 1 Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #527935 Posted October 12, 2022 Обновил damage_indicator.py и battleDamageIndicatorApp.swf в шапке для WoT 1.18.1.0. 2 Quote Share this post Link to post Short link Share on other sites
Aslain 399 #537114 Posted September 22, 2023 Broken in 1.22.0.1 WG 2023-09-22 08:34:14: [ERROR] Traceback (most recent call last): File "res_mods/mods/xfw_packages\xvm_pymacro\python\__init__.py", line 101, in __load_lib __execute(code, file_name, {'xvm': XvmNamespace}) File "res_mods/mods/xfw_packages\xvm_pymacro\python\__init__.py", line 93, in __execute raise ExecutionException("{} at file '{}' line {}: {}".format(error_name, file_name, line_number, message)) ExecutionException: ImportError at file 'res_mods/configs/xvm/py_macro\damage_indicator.py' line 4: cannot import name _DamageIndicator 2023-09-22 08:34:20: [X:000] [XFW/XfwComponent] loadMods: Loading swf mods: 2023-09-22 08:34:20: [X:001] xvm_battle/as_battle_classic/xvm_battle_classic.swf 2023-09-22 08:34:21: [B:002] [XFW/XfwComponent] onLibLoaded: ../res_mods/mods/xfw_packages/xvm_battle/as_battle_classic/xvm_battle_classic.swf 2023-09-22 08:34:21: [B:003] [XVM:BATTLE] processView: classicBattlePage 2023-09-22 08:34:21: [B:004] UI_fullStats 2023-09-22 08:34:21: [B:005] UI_PlayersPanel() 2023-09-22 08:34:21: [B:006] [XVM INFO] XVM_VERSION=10.7.0 #0056 for WoT 1.22.0.1 gameRegion=EU configVersion=6.1.0 autoReloadConfig=false markers.enabled=false servicesActive=true xmqp=true statBattle=true 2023-09-22 08:34:21: [B:007] [XFW/XfwComponent] onLibLoaded: Mod loaded: xvm_battle_classic.swf 2023-09-22 08:34:21: [ERROR] Traceback (most recent call last): File "res_mods/mods/xfw_packages\xvm_pymacro\python\__init__.py", line 156, in process (func, deterministic) = __get_function(arg) File "res_mods/mods/xfw_packages\xvm_pymacro\python\__init__.py", line 120, in __get_function (func, deterministic) = _container.get(func_name) TypeError: 'NoneType' object is not iterable arg='xvm.damageIndicator' 2023-09-22 08:34:21: [ERROR] Traceback (most recent call last): File "res_mods/mods/xfw_packages\xvm_pymacro\python\__init__.py", line 156, in process (func, deterministic) = __get_function(arg) File "res_mods/mods/xfw_packages\xvm_pymacro\python\__init__.py", line 120, in __get_function (func, deterministic) = _container.get(func_name) TypeError: 'NoneType' object is not iterable arg='xvm.damageIndicator_aim' Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #537144 Posted September 22, 2023 12 часов назад, Aslain сказал: Broken in 1.22.0.1 WG Обновил в шапке скрипт. Не проверял. 1 Quote Share this post Link to post Short link Share on other sites
Aslain 399 #537146 Posted September 22, 2023 40 minutes ago, ktulho said: Обновил в шапке скрипт. Не проверял. Seem to work now, thank you. No errors at least. Quote Share this post Link to post Short link Share on other sites
Aslain 399 #537337 Posted October 2, 2023 (edited) It seems that the indicator doesn't stay on screen for 12 seconds; instead, it appears to be around 6 seconds. I attempted to use the 'battleDamageIndicatorApp.swf' from the 1st post, but the game didn't load at all with that file. I also tried modifying the original SWF file by changing the frame rate from 24 to 10 using jpexes, but it doesn't appear to have made any difference. I've attached the original SWF file from the WG client if you'd like to take a look. original battleDamageIndicatorApp.zip modded battleDamageIndicatorApp_modded.zip Edited October 4, 2023 by Aslain Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #537348 Posted October 2, 2023 11 часов назад, Aslain сказал: Looks like the indicator doesn't stay 12 seconds on screen, more like 6. Исправил, обновил в шапке скрипт. 2 Quote Share this post Link to post Short link Share on other sites