From 86aa8bd9bd6d648fee6845e8f7d15a88bb69d929 Mon Sep 17 00:00:00 2001 From: TermiNexus Date: Thu, 15 Oct 2026 13:35:39 +0800 Subject: [PATCH] =?UTF-8?q?feat(turret):=20=E7=82=AE=E5=A1=94=E7=B2=BE?= =?UTF-8?q?=E5=87=86=E8=B7=9F=E6=89=8B=E5=8A=A0=E6=AD=BB=E5=8C=BA=E6=B6=88?= =?UTF-8?q?=E6=8A=96=EF=BC=88=E6=BB=A4=E6=8E=89=E6=82=AC=E6=B5=AE=E5=BA=95?= =?UTF-8?q?=E7=9B=98=E7=9A=84=20micro-motion=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - module_87072 oxt.wak case 1/2:目标角变化小于死区(默认 0.5 度)时不搬动炮塔 - 死区可实时调:window.__hornetTurretDeadZone__ = 弧度值 --- .../play/static/js/unpacked/module_87072.js | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/3dtank.com/play/static/js/unpacked/module_87072.js b/3dtank.com/play/static/js/unpacked/module_87072.js index fa4457f..4d0e9ee 100644 --- a/3dtank.com/play/static/js/unpacked/module_87072.js +++ b/3dtank.com/play/static/js/unpacked/module_87072.js @@ -71687,11 +71687,13 @@ })(this, n); break; case 1: - // HORNET-TAG: 炮塔精准跟手(默认开启)—— 直接锁到目标角,不做速度追赶,杜绝"追过头再回摆" - // 回退:window.__hornetTurretPrecise__ = 'off'(或 false) - if (window.__hornetTurretPrecise__ !== false && window.__hornetTurretPrecise__ !== "off") - (Qjt(this).k15b(this.rzp_1), txt(this, 0)); - else ext(this, n, this.rzp_1); + // HORNET-TAG: 炮塔精准跟手 + 死区消抖(默认开启)—— 直接锁目标角,不做速度追赶;小于死区的目标漂移不搬动炮塔 + // 回退:window.__hornetTurretPrecise__ = 'off';死区:window.__hornetTurretDeadZone__ = 弧度(默认 0.5°) + if (window.__hornetTurretPrecise__ !== false && window.__hornetTurretPrecise__ !== "off") { + var TurretDz1 = typeof window.__hornetTurretDeadZone__ === "number" ? window.__hornetTurretDeadZone__ : 0.008726646; + if (Math.abs(gj(this.rzp_1, Qjt(this).azi_1)) >= TurretDz1) Qjt(this).k15b(this.rzp_1); + txt(this, 0); + } else ext(this, n, this.rzp_1); break; case 2: var TurretTarget2 = (function (t, n) { @@ -71710,11 +71712,13 @@ } else i.u24(sxt().n15b_1); return (sxt().n15b_1.l26(bj().k25_1, sxt().n15b_1), A.mzc(sxt().n15b_1)); })(this, this.qzp_1); - // HORNET-TAG: 炮塔精准跟手(case 2 相机跟随,默认开启)—— 直接锁到目标角 - // 回退:window.__hornetTurretPrecise__ = 'off'(或 false) - if (window.__hornetTurretPrecise__ !== false && window.__hornetTurretPrecise__ !== "off") - (Qjt(this).k15b(TurretTarget2), txt(this, 0)); - else ext(this, n, TurretTarget2); + // HORNET-TAG: 炮塔精准跟手 + 死区消抖(case 2 相机跟随,默认开启) + // 回退:window.__hornetTurretPrecise__ = 'off';死区:window.__hornetTurretDeadZone__ = 弧度(默认 0.5°) + if (window.__hornetTurretPrecise__ !== false && window.__hornetTurretPrecise__ !== "off") { + var TurretDz2 = typeof window.__hornetTurretDeadZone__ === "number" ? window.__hornetTurretDeadZone__ : 0.008726646; + if (Math.abs(gj(TurretTarget2, Qjt(this).azi_1)) >= TurretDz2) Qjt(this).k15b(TurretTarget2); + txt(this, 0); + } else ext(this, n, TurretTarget2); break; default: G$();