Aslain Posted October 20, 2018 Share Posted October 20, 2018 Ktuhlo I think all is ok, I was just asking without experiencing any problems. @ Quote Link to comment Short link Share on other sites More sharing options...
Slava7572 Posted October 20, 2018 Share Posted October 20, 2018 ktulho,а это никак не поправить? @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted October 20, 2018 Author Share Posted October 20, 2018 6 минут назад, Slava7572 сказал: ktulho,а это никак не поправить? А надо? Здесь, вроде, отображается скорость, которая участвует в расчетах. Могу умножать её 1,25. @ Quote Link to comment Short link Share on other sites More sharing options...
Slava7572 Posted October 20, 2018 Share Posted October 20, 2018 (edited) 3 часа назад, ktulho сказал: А надо? Здесь, вроде, отображается скорость, которая участвует в расчетах. Могу умножать её 1,25. Да можно и так в принципе,главное,чтоб показывало правду,а то я часто на эти цифры примерно ориентируюсь))) Повангую с вашего позволения,так дописать надо? def sight_shellType(): return int(shellType * 1.25) Edited October 20, 2018 by Slava7572 @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted October 20, 2018 Author Share Posted October 20, 2018 36 минут назад, Slava7572 сказал: Повангую с вашего позволения,так дописать надо? def sight_shellType(): return int(shellType * 1.25) Да. 1 @ Quote Link to comment Short link Share on other sites More sharing options...
Slava7572 Posted October 20, 2018 Share Posted October 20, 2018 (edited) 8 часов назад, ktulho сказал: Да. дел не в той колонке записал,вместо скорости в тип снаряда)) Edited October 21, 2018 by Slava7572 @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted October 21, 2018 Author Share Posted October 21, 2018 7 часов назад, Slava7572 сказал: не в той колонке записал,вместо скорости в тип снаряда)) @ Quote Link to comment Short link Share on other sites More sharing options...
Slava7572 Posted October 21, 2018 Share Posted October 21, 2018 7 часов назад, ktulho сказал: Вроде все нормально,скорость правильная,тип есть,единственное в логе ошибка идентичная вчерашней,возможно я лог не обнулил,перепроверю еще раз. @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted October 21, 2018 Author Share Posted October 21, 2018 1 минуту назад, Slava7572 сказал: ,единственное в логе ошибка идентичная вчерашней Какая? @ Quote Link to comment Short link Share on other sites More sharing options...
Slava7572 Posted October 21, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
ktulho Posted October 21, 2018 Author Share Posted October 21, 2018 @Slava7572 Надо так: return int(shellSpeed * 1.25) if shellSpeed is not None else None 1 @ Quote Link to comment Short link Share on other sites More sharing options...
Slava7572 Posted October 21, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
Heliomalt Posted October 26, 2018 Share Posted October 26, 2018 Is there a way to make the sphereDispersion more transparent? @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted October 26, 2018 Author Share Posted October 26, 2018 8 минут назад, Heliomalt сказал: Is there a way to make the sphereDispersion more transparent? 1 @ Quote Link to comment Short link Share on other sites More sharing options...
Heliomalt Posted October 26, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
ktulho Posted October 26, 2018 Author Share Posted October 26, 2018 @Heliomalt скрипт sight.py установлен? @ Quote Link to comment Short link Share on other sites More sharing options...
Heliomalt Posted October 26, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
伝説の Posted October 26, 2018 Share Posted October 26, 2018 В 08.09.2018 в 20:07, Legended сказал: А как центральный маркер в postmortem убирать? А то вот что получается P.S.Использую свой маркер. Так как всё-таки убрать? @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted October 26, 2018 Author Share Posted October 26, 2018 @Legended попробуйте добавить параметр: "flags": ["alive"] @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted October 26, 2018 Share Posted October 26, 2018 44 минуты назад, Legended сказал: Так как всё-таки убрать? допиши событие и используй макрос "updateEvent": "ON_CURRENT_VEHICLE_DESTROYED, ..." "alpha": "{{alive?100|0}}" флаг не всегда срабатывает, у затопленников вроде. 1 @ 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.