Vlad87 1 Posted April 8, 2020 Ребята подскажите как сделать папку или где взять что бы поставить Лампочку и сделать таймер на 10секунд при засвете Или скиньте ссылку где это написано! 1 Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,168 #480556 Posted April 8, 2020 для xvm: https://koreanrandom.com/forum/topic/39885-сборник-py_macro/#timer_sixth_sense Quote Share this post Link to post Short link Share on other sites
Vlad87 1 #480588 Posted April 9, 2020 15 часов назад, HEKPOMAHT сказал: для xvm: https://koreanrandom.com/forum/topic/39885-сборник-py_macro/#timer_sixth_sense спасибо,,, но я что что скопировал тот скрипт, занёс в папку куда сказано и результата 0,,, может в скрипте всё очистить и скопировать то что там написано,, или как быть? Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,168 #480635 Posted April 9, 2020 @Vlad87 порядок установки: - удалить папки mods и res_mods - установить мод https://modxvm.com/скачать-xvm/ - папку res_mods из архива скопировать с заменой в папку с игрой C:\Games\World_of_Tanks - настройка положения таймера в battleLabelsTemplates.xc строка 14 xvm_таймер_лампочки.zip Quote Share this post Link to post Short link Share on other sites
Heliomalt 53 #480637 Posted April 9, 2020 (edited) battleLabelsTemplates.xc "sixthSenseTimer": { "enabled": true, //sixthSenseTimer eingeschaltet "updateEvent": "PY(ON_SIXTH_SENSE_SHOW)", "x": 0, "y": "{{py:sub(-{{py:div({{py:xvm.screenHeight}}, 4)}}, 14)}}", "width": 60, "height": 50, "screenHAlign": "center", "screenVAlign": "center", "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 5, "strength": 1.5 }, "textFormat": {"align": "center", "size": 40 }, "format": "{{py:xvm.sixthSenseTimer(10)}}" }, Edited April 9, 2020 by Heliomalt Quote Share this post Link to post Short link Share on other sites
Vlad87 1 #480638 Posted April 9, 2020 3 минуты назад, Heliomalt сказал: battleLabelsTemplates.xc "sixthSenseTimer": { "enabled": true, //sixthSenseTimer eingeschaltet "updateEvent": "PY(ON_SIXTH_SENSE_SHOW)", "x": 0, "y": "{{py:sub(-{{py:div({{py:xvm.screenHeight}}, 4)}}, 14)}}", "width": 60, "height": 50, "screenHAlign": "center", "screenVAlign": "center", "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 5, "strength": 1.5 }, "textFormat": {"align": "center", "size": 40 }, "format": "{{py:xvm.sixthSenseTimer(10)}}" }, спасибо Quote Share this post Link to post Short link Share on other sites
Heliomalt 53 #480639 Posted April 9, 2020 but use the zip from @HEKPOMAHT this is just an example for automatic position, if you use the config on different screen resolution. you really need the script and all the other stuff in the zip file, otherwise is not working. Quote Share this post Link to post Short link Share on other sites
Vlad87 1 #480640 Posted April 9, 2020 4 минуты назад, Heliomalt сказал: but use the zip from @HEKPOMAHT this is just an example for automatic position, if you use the config on different screen resolution. you really need the script and all the other stuff in the zip file, otherwise is not working. не занаю у меня открывается через блокнот и там куча иэроглифов, как выглядят скрипты чуть понимаю 15 минут назад, Heliomalt сказал: battleLabelsTemplates.xc "sixthSenseTimer": { "enabled": true, //sixthSenseTimer eingeschaltet "updateEvent": "PY(ON_SIXTH_SENSE_SHOW)", "x": 0, "y": "{{py:sub(-{{py:div({{py:xvm.screenHeight}}, 4)}}, 14)}}", "width": 60, "height": 50, "screenHAlign": "center", "screenVAlign": "center", "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 5, "strength": 1.5 }, "textFormat": {"align": "center", "size": 40 }, "format": "{{py:xvm.sixthSenseTimer(10)}}" }, Quote Share this post Link to post Short link Share on other sites
Heliomalt 53 #480642 Posted April 9, 2020 follow his instruction, and it will work, for sure. Quote Share this post Link to post Short link Share on other sites
Vlad87 1 #480643 Posted April 9, 2020 1 час назад, HEKPOMAHT сказал: @Vlad87 порядок установки: - удалить папки mods и res_mods - установить мод https://modxvm.com/скачать-xvm/ - папку res_mods из архива скопировать с заменой в папку с игрой C:\Games\World_of_Tanks - настройка положения таймера в battleLabelsTemplates.xc строка 14 xvm_таймер_лампочки.zip 35 kB · 1 скачивание я всё сделал но такого там не могу ни где найти - настройка положения таймера в battleLabelsTemplates.xc строка 14 1 минуту назад, Heliomalt сказал: follow his instruction, and it will work, for sure. Thank you, I did just that, right now, about 10 minutes I will play the battle and see it, and I'll write right away Quote Share this post Link to post Short link Share on other sites
Heliomalt 53 #480644 Posted April 9, 2020 (edited) in the file battleLabelsTemplates.xc change the value in line 14 file is located in this folder: \res_mods\configs\xvm\default edit the xc files with notepad++, NOT with the Windows standard editor. Edited April 9, 2020 by Heliomalt Quote Share this post Link to post Short link Share on other sites
Vlad87 1 #480645 Posted April 9, 2020 7 минут назад, Heliomalt сказал: in the file battleLabelsTemplates.xc change the value in line 14 file is located in this folder: \res_mods\configs\xvm\default edit the xc files with notepad++, NOT with the Windows standard editor. wow, everything works and everything is great 1 час назад, HEKPOMAHT сказал: @Vlad87 порядок установки: - удалить папки mods и res_mods - установить мод https://modxvm.com/скачать-xvm/ - папку res_mods из архива скопировать с заменой в папку с игрой C:\Games\World_of_Tanks - настройка положения таймера в battleLabelsTemplates.xc строка 14 xvm_таймер_лампочки.zip 35 kB · 1 скачивание спасибо огромнейшее, работает супер 9 минут назад, Heliomalt сказал: in the file battleLabelsTemplates.xc change the value in line 14 file is located in this folder: \res_mods\configs\xvm\default edit the xc files with notepad++, NOT with the Windows standard editor. I understand, thank you very much, I didn’t know that 1 час назад, HEKPOMAHT сказал: @Vlad87 порядок установки: - удалить папки mods и res_mods - установить мод https://modxvm.com/скачать-xvm/ - папку res_mods из архива скопировать с заменой в папку с игрой C:\Games\World_of_Tanks - настройка положения таймера в battleLabelsTemplates.xc строка 14 xvm_таймер_лампочки.zip 35 kB · 6 скачиваний - настройка положения таймера в battleLabelsTemplates.xc строка 14 А что это значит настройка положения??? Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,168 #483596 Posted June 9, 2020 10.04.2020 в 01:34, Vlad87 сказал: А что это значит настройка положения??? в смысле настройка положения (выше/ниже) циферок относительно картинки. Quote Share this post Link to post Short link Share on other sites
ZloyYurich 225 #483604 Posted June 9, 2020 А вот эта координата у как должна работать? "{{py:sub(-{{py:div({{py:xvm.screenHeight}}, 4)}}, 14)}}" Написал так, счетчик куда то уехал... Quote Share this post Link to post Short link Share on other sites
Prosubaru 354 #483607 Posted June 9, 2020 (edited) @ZloyYurich // Таймер для лампы. "sixthSenseTimer": { "enabled": true, "updateEvent": "PY(ON_SIXTH_SENSE_SHOW)", "x": 0, "y": 240, Х и Y крути как тебе нужно Edited June 9, 2020 by Prosubaru Quote Share this post Link to post Short link Share on other sites
ZloyYurich 225 #483608 Posted June 9, 2020 7 минут назад, Prosubaru сказал: Х и Y крути как тебе нужно Это я знаю. Просто там, в координате у , видимо, есть возможность привязывать расположение в зависимости от разрешения экрана, вот я и пробовал. Ток оно не работает как надо, или я не понял как эту команду применить Quote Share this post Link to post Short link Share on other sites