-
Content Count
10,750 -
Joined
-
Last visited
-
Days Won
402
Everything posted by ktulho
-
А меня всегда интересовал один вопрос: Почему, чем человек тупее, тем больше у него гонора?
-
Прицел (без сведения) средствами XVM
ktulho replied to ktulho's topic in Components of XVM and Addons (py_macro)
Модуль utils.py используется в макросах динамической раскраски. Если вы их не используете, то он ни как не должен влиять на производительность. То что вы вывели под спойлером, это импорт объектов из других модулей. Удаляя эти строки вы нарушаете функционирование мода. -
Динамические макросы в Python
ktulho replied to goodman's topic in Components of XVM and Addons (py_macro)
Не должны. -
Прицел (без сведения) средствами XVM
ktulho replied to ktulho's topic in Components of XVM and Addons (py_macro)
, вроде все нормально. За секунду до перезарядки: Через секунду: -
Прицел (без сведения) средствами XVM
ktulho replied to ktulho's topic in Components of XVM and Addons (py_macro)
, не воспроизводится. , в какой момент времени не правильно считается? -
Прицел (без сведения) средствами XVM
ktulho replied to ktulho's topic in Components of XVM and Addons (py_macro)
, повторяю вопрос: -
На два поста выше посмотрите.
-
Прицел (без сведения) средствами XVM
ktulho replied to ktulho's topic in Components of XVM and Addons (py_macro)
, можно, например так: "textFormat": { "align": "left", "valign": "top", "color": "0xCCCCCC" }, "format": "<font size='16' color='#FF0000'>{{py:sight.shellType}}: <font color='#00FF00'>{{py:sight.quantityShells}}</font></font> шт." -
Прицел (без сведения) средствами XVM
ktulho replied to ktulho's topic in Components of XVM and Addons (py_macro)
Это мешает? -
Прицел (без сведения) средствами XVM
ktulho replied to ktulho's topic in Components of XVM and Addons (py_macro)
Примерно так, не проверял: "distance": { "enabled": true, "updateEvent": "PY(ON_MARKER_POSITION), PY(ON_CAMERA_MODE), PY(ON_TARGET)", "x": 100, "y": "{{py:math.sum({{py:sight.sight_y}}, 60)}}", "rotation": 9, "width": 130, "height": 35, "screenHAlign": "center", "screenVAlign": "center", "alpha" : "{{py:sight.nameTarget?100|0}}", "format": "{{py:sight.distance%4.0f}}" }, -
Прицел (без сведения) средствами XVM
ktulho replied to ktulho's topic in Components of XVM and Addons (py_macro)
, тут. , добавил макрос: {{py:sight.goldShell}} - возвращает 'gold' если снаряд можно купить за золото, иначе - пусто. , добавил нормализацию для макроса {{py:sight.leftTime(norm)}}. -
Динамические макросы в Python
ktulho replied to goodman's topic in Components of XVM and Addons (py_macro)
@night_dragon_on, я бы еще добавил пару строчек: @overrideMethod(SniperAimingSystem, '_SniperAimingSystem__clampToLimits') def clampToLimits(base, self, turretYaw, gunPitch): if config.get('battle/camera/enabled') and config.get('battle/camera/sniper/noSniperCameraLimit'): if self._SniperAimingSystem__yawLimits is not None: turretYaw = mathUtils.clamp(self._SniperAimingSystem__yawLimits[0], self._SniperAimingSystem__yawLimits[1], turretYaw) pitchLimitsMin = -1 pitchLimitsMax = 1 gunPitch = mathUtils.clamp(pitchLimitsMin, pitchLimitsMax, gunPitch) return (turretYaw, gunPitch) return base(self, turretYaw, gunPitch) -
Динамические макросы в Python
ktulho replied to goodman's topic in Components of XVM and Addons (py_macro)
, а если так: @overrideMethod(SniperAimingSystem, '_SniperAimingSystem__clampToLimits') def clampToLimits(base, self, turretYaw, gunPitch): if config.get('battle/camera/enabled') and config.get('battle/camera/sniper/noSniperCameraLimit'): pitchLimitsMin = -1 pitchLimitsMax = 1 gunPitch = mathUtils.clamp(pitchLimitsMin, pitchLimitsMax, gunPitch) return (turretYaw, gunPitch) return base(self, turretYaw, gunPitch) -
Прицел (без сведения) средствами XVM
ktulho replied to ktulho's topic in Components of XVM and Addons (py_macro)
, добавил в шапку темы файл crosshairControls.swf. @H_E_K_P_O_M_A_H_T_, на риплее не воспроизводится? -
Обсуждение ночных сборок (НЕ для багрепортов)
ktulho replied to sirmax's topic in Testing, Bug Reports
, подтверждаю. P.S. В своем fork тоже не зайти. -
Прицел (без сведения) средствами XVM
ktulho replied to ktulho's topic in Components of XVM and Addons (py_macro)
, нужен риплей. -
Динамические макросы в Python
ktulho replied to goodman's topic in Components of XVM and Addons (py_macro)
Название файла "cam-ra.py"? Название папки "Новая папка"? -
Динамические макросы в Python
ktulho replied to goodman's topic in Components of XVM and Addons (py_macro)
Какие-то странные файлы и папки у тебя: extra file res_mods/mods/packages/xvm_battle/python/came-ra.py hash mismatch in file: res_mods/mods/packages/xvm_battle/python/camera.py extra file res_mods/mods/packages/xvm_battle/python/Новая папка/camera.py -
TankIconMaker - программа для создания иконок танков.
ktulho replied to ktulho's topic in Mods and Software
На экране загрузки иконки из атласа. -
Прицел (без сведения) средствами XVM
ktulho replied to ktulho's topic in Components of XVM and Addons (py_macro)
Пока не используй этот параметр, там надо флэшку править. -
Динамические макросы в Python
ktulho replied to goodman's topic in Components of XVM and Addons (py_macro)
, я смогу только послезавтра запулить (или уже завтра). -
Прицел (без сведения) средствами XVM
ktulho replied to ktulho's topic in Components of XVM and Addons (py_macro)
, исправил. -
Прицел (без сведения) средствами XVM
ktulho replied to ktulho's topic in Components of XVM and Addons (py_macro)
, логи? @H_E_K_P_O_M_A_H_T_, а у тебя: // false - отключить мод "enabled": true,