Kaeptn Posted January 30, 2018 Share Posted January 30, 2018 угол работает, но не сбрасывается xvm.log @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted January 31, 2018 Author Share Posted January 31, 2018 12 часов назад, Kaeptn сказал: угол работает, но не сбрасывается исправил @ Quote Link to comment Short link Share on other sites More sharing options...
Kaeptn Posted February 5, 2018 Share Posted February 5, 2018 (edited) On 31/01/2018 at 12:01, ktulho said: amended hitAngle still shows last angle if not target in sight normHitAngle does not show anything anything hitAngle still shows the last angle, if not the target in the field of view normHitAngle does not display anything xvm.log Edited February 5, 2018 by Kaeptn @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted February 5, 2018 Author Share Posted February 5, 2018 @Kaeptn прикрепите python.log и папку с файлами конфигурации. @ Quote Link to comment Short link Share on other sites More sharing options...
Kaeptn Posted February 6, 2018 Share Posted February 6, 2018 (edited) 21 hours ago, ktulho said: @Kaeptn, attach python.log and the configuration files folder. xvm.zip python.log xvm.log 20180206_1821_ussr-R01_IS_73_asia_korea.wotreplay Edited February 6, 2018 by Kaeptn @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted February 6, 2018 Author Share Posted February 6, 2018 22 часа назад, Kaeptn сказал: normHitAngle does not show anything Исправил. @ Quote Link to comment Short link Share on other sites More sharing options...
Kaeptn Posted February 6, 2018 Share Posted February 6, 2018 (edited) hitAngle works again normHitAngle works, but no normalisation (returns same value as hitAngle) values are shown without target hitAngle снова работает normHitAngle работает, но нет нормализации (возвращает то же значение, что и hitAngle) значения отображаются без цели xvm.logpython.log Edited February 6, 2018 by Kaeptn @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted February 6, 2018 Author Share Posted February 6, 2018 (edited) @Kaeptn у вас повторяется макрос {{py:sight.normHitAngle~°}}: "format": "{{py:sight.normHitAngle~°}}<br>{{py:sight.normHitAngle~°}}" @Kaeptn попробуйте заменить: "format": "<font face='$TitleFont' color='{{py:sight.c_piercingChance}}'>{{py:sub({{py:sight.piercingActual}}, {{py:sight.armorActual}})%0d}}</font>" на это: "format": "<font face='$TitleFont' color='{{py:sight.c_piercingChance}}'>{{py:sight.piercingActual?{{py:sight.armorActual?{{py:sub({{py:sight.piercingActual}}, {{py:sight.armorActual}})%0d}}}}}}</font>" @Kaeptn @Mr 13 с телефона невозможно удалить код и ники. Сообщение отправилось два раза. Edited February 6, 2018 by ktulho @ Quote Link to comment Short link Share on other sites More sharing options...
Kaeptn Posted February 6, 2018 Share Posted February 6, 2018 fixed, my bad. > but still errors in the logs. 1 час назад, Kaeptn сказал: xvm.logpython.log > normHitAngle returns values of more than 5° / 2° difference? @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted February 6, 2018 Author Share Posted February 6, 2018 1 минуту назад, Kaeptn сказал: normHitAngle returns values of more than 5° / 2° difference? Да. 4 минуты назад, Kaeptn сказал: > but still errors in the logs. 59 минут назад, ktulho сказал: попробуйте заменить: "format": "<font face='$TitleFont' color='{{py:sight.c_piercingChance}}'>{{py:sub({{py:sight.piercingActual}}, {{py:sight.armorActual}})%0d}}</font>" на это: "format": "<font face='$TitleFont' color='{{py:sight.c_piercingChance}}'>{{py:sight.piercingActual?{{py:sight.armorActual?{{py:sub({{py:sight.piercingActual}}, {{py:sight.armorActual}})%0d}}}}}}</font>" @ Quote Link to comment Short link Share on other sites More sharing options...
Kaeptn Posted February 6, 2018 Share Posted February 6, 2018 Зачем? shell normalisation статическое значение: 5° AP, 2° APCR. или я что-то пропустил? @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted February 6, 2018 Author Share Posted February 6, 2018 2 минуты назад, Kaeptn сказал: shell normalisation статическое значение: 5° AP, 2° APCR. или я что-то пропустил? Да. @ Quote Link to comment Short link Share on other sites More sharing options...
Kaeptn Posted February 6, 2018 Share Posted February 6, 2018 не могли бы вы объяснить это? @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted February 6, 2018 Author Share Posted February 6, 2018 Я не увеличиваю hitAngle на 5 или на 2 градуса. Я расчитываю normHitAngle: normHitAngle = matInfo.armor / penetrationArmor @Kaeptn на русском языке. @ Quote Link to comment Short link Share on other sites More sharing options...
Kaeptn Posted February 6, 2018 Share Posted February 6, 2018 13 минут назад, ktulho сказал: @Kaeptn in Russian . we have almost the same video in english. 14 минут назад, ktulho сказал: I do not increase hitAngle by 5 or 2 degrees. I calculate normHitAngle: Почти всегда дает ожидаемую разницу что меня расстраивает: более чем на 5 ° нормализация должна быть невозможной в теории? @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted February 6, 2018 Author Share Posted February 6, 2018 1 минуту назад, Kaeptn сказал: более чем на 5 ° нормализация должна быть невозможной в теории? Там константы 5 и 2. @ Quote Link to comment Short link Share on other sites More sharing options...
Kaeptn Posted February 6, 2018 Share Posted February 6, 2018 Да. поэтому normHitAngle раздражает меня с разницей более чем на 5 °, как на картинке выше @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted February 7, 2018 Author Share Posted February 7, 2018 @Kaeptn Оказывается нормализация не обязательно 5 или 2 градуса. Здесь на русском. @ Quote Link to comment Short link Share on other sites More sharing options...
Kaeptn Posted February 7, 2018 Share Posted February 7, 2018 2 caliber rule,Я забыл об этом. теперь все имеет смысл, спасибо. Цитата OvermatchEdit If the AP or APCR shell's caliber is more than 2 times the nominal thickness of the armour (Such as a 130mm shell hitting a 60mm thick plate), projectile shell normalization is increased by the following formula: basic normalization * 1.4 * shell caliber / nominal armour thickness. Note that the shell is still capable of bouncing if it strikes the armor at an angle of 70° or more from normal. If the AP or APCR shell caliber is more than 3 times the nominal thickness of the armour (such as a 130mm shell hitting a 40mm thick plate), no ricochet will happen even if the impact angle is more than 70° from normal. The increased shell normalization described above will also occur. In cases involving HE shells or external module hits, overmatch does not occur. Я заметил, что {{normHitAngle}} указывает на riccochet - макрос ничего не возвращает, если вы находитесь под углом, который приведет к рикошету. вы могли бы сменить сценарий на a) return 'ric' вместо b) вернуть ничего, если никакой цели нет? i hope google translate doesn't butcher my messages to much. @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted February 7, 2018 Author Share Posted February 7, 2018 52 минуты назад, Kaeptn сказал: a) return 'ric' вместо Если возвращать 'ric', то будет ломаться форматирование макросов. Можно возвращать -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.