Antoshka_Rus Posted May 1, 2014 Share Posted May 1, 2014 (edited) Обновил шапку по теме от Omegaice. А какая версия мода с конфигом от Meddio в шапке, 1.9 или 2.0 ? Edited May 1, 2014 by Antoshka_Rus @ Quote Link to comment Short link Share on other sites More sharing options...
evil_rrock Posted May 1, 2014 Share Posted May 1, 2014 А какая версия мода с конфигом от Meddio в шапке, 1.9 или 2.0 ? оба @ Quote Link to comment Short link Share on other sites More sharing options...
Zelenogorec Posted May 1, 2014 Author Share Posted May 1, 2014 А какая версия мода с конфигом от Meddio в шапке, 1.9 или 2.0 ? Переделанная версия 1.9 до 2.0, с нашими дополнениями. @ Quote Link to comment Short link Share on other sites More sharing options...
Antoshka_Rus Posted May 1, 2014 Share Posted May 1, 2014 (edited) Переделанная версия 1.9 до 2.0, с нашими дополнениями. Эта версия так же немного неадекватно работает с новыми версиями XVM т.е. мы при первой установке мода и входе в ангар видим обзор в системном канале, а в бою нет. Чтобы увидеть нормальное отображение получается нужно войти в бой на том же танке 2 раз, либо перезапустить клиент чтобы XVM подхватил данные об обзоре. Я правильно все понял почитав эту тему. Edited May 1, 2014 by Antoshka_Rus @ Quote Link to comment Short link Share on other sites More sharing options...
Zelenogorec Posted May 1, 2014 Author Share Posted May 1, 2014 Да, все так. Пока это неисправимо. Позже, все поправят, но не сейчас. @ Quote Link to comment Short link Share on other sites More sharing options...
Meddio Posted May 1, 2014 Share Posted May 1, 2014 (edited) Meddio can you help me pls again!? I have translated the newest version from Omegaice to german and make it to the multilined version with your version as a model! but i dont know to build a xml config file! Maybe you are so friendly and build me again a config file????? 'Screenshot' DOWNLOAD Adler, I'm sorry, I saw your message earlier (but I was busy at the time), saved it for later, and then forgot to answer. :-( I see that you were able to decompile and compile Python. In that case you can add the XML-part yourself after each update. 'How to add XML?' 1) Decompile currentvehicle.pyc 2) Open the decompiled file (currentvehicle.py). 3) Add the following code to any line starting with "include": , ResMgr For example, change this line: import io, os, json, codecs, math to this: import io, os, json, codecs, math, ResMgr 4) Locate the line starting with: xvm_configuration_file = 'For example:' xvm_configuration_file = os.getcwd() + os.sep + 'res_mods' + os.sep + 'xvm' + os.sep + 'tankrange.xc' 5) and add the following code after the line: 'XML-part code' xml = ResMgr.openSection('scripts/client/currentvehicle.xml') if xml is not None: xml_userpath = xml.readString('ConfigPath') if xml_userpath: xml_fullpath = os.path.normpath(os.getcwd() + os.sep + xml_userpath) if os.path.exists(xml_fullpath): xvm_configuration_file = xml_fullpath 'the RESULT should look like this' xvm_configuration_file = os.getcwd() + os.sep + 'res_mods' + os.sep + 'xvm' + os.sep + 'tankrange.xc' xml = ResMgr.openSection('scripts/client/currentvehicle.xml') if xml is not None: xml_userpath = xml.readString('ConfigPath') if xml_userpath: xml_fullpath = os.path.normpath(os.getcwd() + os.sep + xml_userpath) if os.path.exists(xml_fullpath): xvm_configuration_file = xml_fullpath 6) Save the file and compile it. 7) Create the text file currentvehicle.xml next to currentvehicle.pyc \res_mods\0.9.0\scripts\client\currentvehicle.pyc \res_mods\0.9.0\scripts\client\currentvehicle.xml 8) Add the following content to this file: <TankMinimapRanges> <ConfigPath>res_mods\xvm\configs\tankrange.xc</ConfigPath> </TankMinimapRanges> You can change the path (res_mods\xvm\configs\tankrange.xc) as you see fit. That's all. If you have any problems adding XML-part, feel free to PM me, and I'll do It myself. Edited May 1, 2014 by Meddio @ Quote Link to comment Short link Share on other sites More sharing options...
deutscher_Adler Posted May 1, 2014 Share Posted May 1, 2014 Ok thx Meddio for your answer! Tommorow i try out this! big thx! @ Quote Link to comment Short link Share on other sites More sharing options...
Jen1ok Posted May 4, 2014 Share Posted May 4, 2014 Подскажите какой из этих путей будет правильным в конфиг файле, расположенном в \res_mods\xvm\configs "circles": ${"../tankrange.xc":"circles"}, "circles": ${"tankrange.xc":"circles"}, @ Quote Link to comment Short link Share on other sites More sharing options...
evil_rrock Posted May 4, 2014 Share Posted May 4, 2014 Подскажите какой из этих путей будет правильным в конфиг файле, расположенном в \res_mods\xvm\configs "circles": ${"../tankrange.xc":"circles"}, "circles": ${"tankrange.xc":"circles"}, а tankrange.xc где живёт? @ Quote Link to comment Short link Share on other sites More sharing options...
Jen1ok Posted May 4, 2014 Share Posted May 4, 2014 (edited) а tankrange.xc где живёт? res_mods\xvm\tankrange.xc Edited May 4, 2014 by Jen1ok @ Quote Link to comment Short link Share on other sites More sharing options...
Meddio Posted May 4, 2014 Share Posted May 4, 2014 (edited) Подскажите какой из этих путей будет правильным в конфиг файле, расположенном в \res_mods\xvm\configs "circles": ${"../tankrange.xc":"circles"}, "circles": ${"tankrange.xc":"circles"}, Если я правильно понял, конфиг - однофайловый, и структура файлов такая: res_mods\xvm\config.xc - конфиг, из которого нужно сделать ссылку (вместо config.xc может быть любое имя, например, @xvm.xc) res_mods\xvm\tankrange.xc - файл, на который нужно сделать ссылку (в той же папке) Ссылка на файл в той же папке выглядит так: "circles": ${"tankrange.xc":"circles"}, Edited May 4, 2014 by Meddio @ Quote Link to comment Short link Share on other sites More sharing options...
teleboy555 Posted May 6, 2014 Share Posted May 6, 2014 Доброго времени суток!!!! Подскажите а можно ли настроить tankrange.xc или какой другой файл, чтоб при каждом выборе танка в ангаре, выскакивал его обзор с учетом рогов и тд. потому что один раз показал и все. заранее благодарю!!!! @ Quote Link to comment Short link Share on other sites More sharing options...
deutscher_Adler Posted May 7, 2014 Share Posted May 7, 2014 Thats a nice quest teleboy! I know a other mod ProView, with this mod you can show with a hotkey all time your sightrange but i know know way to see my sight again with the currentvehicle.pyc! @ Quote Link to comment Short link Share on other sites More sharing options...
Meddio Posted May 9, 2014 Share Posted May 9, 2014 (edited) Свершилось чудо! XVM 2849 Тестим динамические круги на миникарте. дальность обзора (динамически изменяется при включении стереотрубы) - прямо во время боя?А что насчёт просветлёнки? да, во время боя просветленка учитывается, так же как и навыки экипажа и т.д. Я взял за основу код XVM Tank Minimap Ranges (http://forum.worldoftanks.eu/index.php?/topic/284919-xvm-tank-minimap-ranges-v20-090/) Спасибо ув. sirmax. В XVM (minimapCircles) теперь достаточно настроить параметры трех динамических окружностей (арта, пулеметчики, обзор) - и они будут динамически отображаться для каждого танка, учитывая реальный обзор и дальность стрельбы. Никакие дополнительные скрипты и манипуляции с конфигами (и конфигами для конфигов) не нужны =) Стереотруба работает вообще круто. Едешь - показывается только круг базового обзора. Останавливаешься на три секунды - круг увеличивается на 25%. Edited May 9, 2014 by Meddio @ Quote Link to comment Short link Share on other sites More sharing options...
evil_rrock Posted May 9, 2014 Share Posted May 9, 2014 Свершилось чудо! XVM 2849 Спасибо ув. sirmax. В XVM (minimapCircles) теперь достаточно настроить параметры трех динамических окружностей (арта, пулеметчики, обзор) - и они будут динамически отображаться для каждого танка, учитывая реальный обзор и дальность стрельбы. Никакие дополнительные скрипты и манипуляции с конфигами (и конфигами для конфигов) не нужны =) Стереотруба работает вообще круто. Едешь - показывается только круг базового обзора. Останавливаешься на три секунды - круг увеличивается на 25%. круть =) @ Quote Link to comment Short link Share on other sites More sharing options...
freeman440 Posted May 9, 2014 Share Posted May 9, 2014 XVM 2849 я так понимаю это ночной билд? @ Quote Link to comment Short link Share on other sites More sharing options...
evil_rrock Posted May 9, 2014 Share Posted May 9, 2014 я так понимаю это ночной билд? правильно понимаете @ Quote Link to comment Short link Share on other sites More sharing options...
StranikS_Scan Posted May 9, 2014 Share Posted May 9, 2014 Ну, вот, я как чуял что надо с бурной деятельностью повременить... и вот оно, вуаля и всё само разрулилось. Осталось только ковырнуть билд и проверить как оно там и где. @ Quote Link to comment Short link Share on other sites More sharing options...
ddar Posted May 9, 2014 Share Posted May 9, 2014 встроенный и модифицированный tankrange — очень круто, спасибо @ Quote Link to comment Short link Share on other sites More sharing options...
freeman440 Posted May 9, 2014 Share Posted May 9, 2014 Ну, вот, я как чуял что надо с бурной деятельностью повременить... и вот оно, вуаля и всё само разрулилось. Осталось только ковырнуть билд и проверить как оно там и где. слишком долго барин собирались @ 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.