Aslain 399 #443570 Posted October 20, 2018 Ktuhlo I think all is ok, I was just asking without experiencing any problems. Quote Share this post Link to post Short link Share on other sites
Slava7572 1,685 #443581 Posted October 20, 2018 ktulho,а это никак не поправить? Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #443584 Posted October 20, 2018 6 минут назад, Slava7572 сказал: ktulho,а это никак не поправить? А надо? Здесь, вроде, отображается скорость, которая участвует в расчетах. Могу умножать её 1,25. Quote Share this post Link to post Short link Share on other sites
Slava7572 1,685 #443604 Posted October 20, 2018 (edited) 3 часа назад, ktulho сказал: А надо? Здесь, вроде, отображается скорость, которая участвует в расчетах. Могу умножать её 1,25. Да можно и так в принципе,главное,чтоб показывало правду,а то я часто на эти цифры примерно ориентируюсь))) Повангую с вашего позволения,так дописать надо? def sight_shellType(): return int(shellType * 1.25) Edited October 20, 2018 by Slava7572 Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #443605 Posted October 20, 2018 36 минут назад, Slava7572 сказал: Повангую с вашего позволения,так дописать надо? def sight_shellType(): return int(shellType * 1.25) Да. 1 Quote Share this post Link to post Short link Share on other sites
Slava7572 1,685 #443620 Posted October 20, 2018 (edited) 8 часов назад, ktulho сказал: Да. дел не в той колонке записал,вместо скорости в тип снаряда)) Edited October 21, 2018 by Slava7572 Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #443641 Posted October 21, 2018 7 часов назад, Slava7572 сказал: не в той колонке записал,вместо скорости в тип снаряда)) Quote Share this post Link to post Short link Share on other sites
Slava7572 1,685 #443719 Posted October 21, 2018 7 часов назад, ktulho сказал: Вроде все нормально,скорость правильная,тип есть,единственное в логе ошибка идентичная вчерашней,возможно я лог не обнулил,перепроверю еще раз. Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #443720 Posted October 21, 2018 1 минуту назад, Slava7572 сказал: ,единственное в логе ошибка идентичная вчерашней Какая? Quote Share this post Link to post Short link Share on other sites
Slava7572 1,685 #443723 Posted October 21, 2018 2 минуты назад, ktulho сказал: Какая? Вот такая: 2018-10-21 16:31:09: [ERROR] Traceback (most recent call last): File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 157, in process_python_macro return (func(), deterministic) File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 150, in <lambda> return (lambda: func(*args), deterministic) File "res_mods/configs/xvm/py_macro\infoChargedShell.py", line 125, in sight_shellSpeed return int(shellSpeed * 1.25) TypeError: unsupported operand type(s) for *: 'NoneType' and 'float' arg='sight.shellSpeed' несколько раз,но это пока непотвержденная информация,надо перепроверить,вроде обнулял логи....В питоне вроде норм,только ивентные ошибки,но они и вчера были.В скрипте только умножение вписал. infoChargedShell.py Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #443724 Posted October 21, 2018 @Slava7572 Надо так: return int(shellSpeed * 1.25) if shellSpeed is not None else None 1 Quote Share this post Link to post Short link Share on other sites
Slava7572 1,685 #443736 Posted October 21, 2018 (edited) 18 часов назад, ktulho сказал: @Slava7572 Надо так: return int(shellSpeed * 1.25) if shellSpeed is not None else None Ок,спасибо,перепишу сразу. П.С:теперь все нормально,логи девственно чистые,показания верные. П,П,С:прилеплю наверное,может тоже кому то критичны верные значения......Может в дефолт добавить?Хоть и костыль своего рода(насколько я понимаю),главное работает))) infoChargedShell.py Edited October 22, 2018 by Slava7572 Quote Share this post Link to post Short link Share on other sites
Heliomalt 52 #444058 Posted October 26, 2018 Is there a way to make the sphereDispersion more transparent? Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #444059 Posted October 26, 2018 8 минут назад, Heliomalt сказал: Is there a way to make the sphereDispersion more transparent? 1 Quote Share this post Link to post Short link Share on other sites
Heliomalt 52 #444065 Posted October 26, 2018 Many Thanks. I wanted to test it now with a friend in the practice room, while I noticed that the sphereDispersion is no longer displayed, with or without dds file. I never play Arty, that's why I did not notice, but have not changed anything on the sight.xc since some patches. Does anyone else have a problem with sphereDispersion? xvm.log sight.xc python.log Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #444069 Posted October 26, 2018 @Heliomalt скрипт sight.py установлен? Quote Share this post Link to post Short link Share on other sites
Heliomalt 52 #444070 Posted October 26, 2018 (edited) Yes, everything else work fine, except the sphere. And it work before a few patches with my config, Edited October 26, 2018 by Heliomalt Quote Share this post Link to post Short link Share on other sites
伝説の 15 #444071 Posted October 26, 2018 В 08.09.2018 в 20:07, Legended сказал: А как центральный маркер в postmortem убирать? А то вот что получается P.S.Использую свой маркер. Так как всё-таки убрать? Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #444072 Posted October 26, 2018 @Legended попробуйте добавить параметр: "flags": ["alive"] Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,158 #444073 Posted October 26, 2018 44 минуты назад, Legended сказал: Так как всё-таки убрать? допиши событие и используй макрос "updateEvent": "ON_CURRENT_VEHICLE_DESTROYED, ..." "alpha": "{{alive?100|0}}" флаг не всегда срабатывает, у затопленников вроде. 1 Quote Share this post Link to post Short link Share on other sites