feat(hover): 悬浮底盘改为 raw 速度(参考炮塔做法,消除无端摆动)
- 位置:module_87072 的 Bmt.l36(悬浮底盘每帧速度推进) - 原逻辑:y12d_1/z12d_1 两个 vgt 平滑器按加速度 u143_1/v143_1 逐帧逼近目标 → 惯性来回摆 - 改为:直接 na0(w143_1) 把当前值锁成目标值(等同炮塔 qyr 的 i = this.azi_1) - 回退开关:window.__hornetHoverRaw__ = false
This commit is contained in:
1 parent
ab4c31311c
commit
f8502a0726
2 files changed
+8
No files matched your search
@@ -0,0 +1 @@
|
||||
{"version":"8aabf930abc7289b","base":"/play/static/js/unpacked/","count":127,"files":{"module_00806.js":"// ============================================================\n// Module ID: 806\n// ============================================================\n;(window.__modules__ = window.__modules__ || {})[806] = (t, n, i) => {\n \"use strict\";\n var r = i(19487),\n e = {\n childContextTypes: !0,\n contextType: !0,\n contextTypes: !0,\n defaultProps: !0,\n displayName: !0,\n getDefaultProps: !0,\n getDerivedStateFromError: !0,\n getDerivedStateFromProps: !0,\n mixins: !0,\n propTypes: !0,\n type: !0,\n },\n u = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 },\n s = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 },\n o = {};\n function _(t) {\n return r.isMemo(t) ? s : o[t.$$typeof] || e;\n }\n ((o[r.ForwardRef] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }),\n (o[r.Memo] = s));\n var a = Object.defineProperty,\n h = Object.getOwnPropertyNames,\n c = Object.getOwnPropertySymbols,\n l = Object.getOwnPropertyDescriptor,\n f = Object.getPrototypeOf,\n v = Object.prototype;\n t.exports = function t(n, i, r) {\n if (\"string\" != typeof i) {\n if (v) {\n var e = f(i);\n e && e !== v && t(n, e, r);\n }\n var s = h(i);\n c && (s = s.concat(c(i)));\n for (var o = _(n), w = _(i), p = 0; p < s.length; ++p) {\n var d = s[p];\n if (!(u[d] || (r && r[d]) || (w && w[d]) || (o && o[d]))) {\n var g = l(i, d);\n try {\n a(n, d, g);\n } catch (t) {}\n }\n }\n }\n return n;\n };\n};\n","module_00905.js":"// ============================================================\n// Module ID: 905\n// ============================================================\n;(window.__modules__ = window.__modules__ || {})[905] = (t) => {\n \"use strict\";\n t.exports = \"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED\";\n};\n","module_01510.js":"// ============================================================\n// Module ID: 1510\n// ============================================================\n;(window.__modules__ = window.__modules__ || {})[1510] = (t, n, i) => {\n !(function (t, n, i, r, e) {\n \"use strict\";\n var u,\n s,\n o,\n _,\n a,\n h,\n c,\n l,\n f,\n v,\n w,\n p,\n d,\n g,\n m,\n y,\n k = n.$_$.nb,\n b = n.$_$.w4,\n q = i.$_$.e,\n $ = n.$_$.ge,\n j = n.$_$.vj,\n x = n.$_$.h5,\n z = n.$_$.o1,\n S = n.$_$.fd,\n C = i.$_$.d,\n E = n.$_$.r5,\n T = n.$_$.td,\n I = i.$_$.f,\n A = n.$_$.mf,\n R = r.$_$.s1,\n P = e.$_$.n,\n N = n.$_$.qf,\n O = n.$_$.cd,\n M = n.$_$.qj,\n D = i.$_$.r,\n L = i.$_$.b,\n B = e.$_$.f,\n U = n.$_$.xb,\n F = n.$_$.c,\n G = e.$_$.f1,\n H = n.$_$.fe,\n W = e.$_$.l,\n V = n.$_$.lj,\n K = n.$_$.je;\n function Y(t) {\n var n = t.zur_1;\n if (null != n) return n;\n k(\"codec_appId\");\n }\n function X() {}\n function J() {}\n function Z(t) {\n var n = t.cus_1;\n if (null != n) return n;\n k(\"codec_questToAchievementMap\");\n }\n function Q() {}\n function tt(t) {\n var n = t.fus_1;\n if (null != n) return n;\n k(\"codec_itemIdMap\");\n }\n function nt() {}\n function it() {\n ((this.ius_1 = new R(A(I), null)), (this.jus_1 = new R(A(P), null)));\n }\n function rt() {\n (B.call(this),\n (this.nus_1 = new R(A(I), null)),\n (this.ous_1 = new R(A(P), null)),\n (this.qus_1 = new M(-621796162, 1132145095)),\n (this.rus_1 = new M(1635469714, 1785333818)),\n (this.sus_1 = new M(-773564903, 1989636776)),\n (this.tus_1 = new M(497901439, 366177258)),\n this.taw(),\n (this.uus_1 = this.qus_1));\n }\n function et(t) {\n var n = N;\n return t.xus_1.e2b(\n t,\n O(\n \"protocol\",\n 1,\n n,\n function (t) {\n return et(t);\n },\n null,\n ),\n );\n }\n function ut() {\n ((this.xus_1 = new R(A(I), null)), (this.zus_1 = new M(-1272608814, 1097348888)));\n }\n function st() {\n return ((t = H($(ot))), ot.call(t), t);\n var t;\n }\n function ot() {}\n function _t(t) {\n var n = N;\n return t.fut_1.e2b(\n t,\n O(\n \"protocol\",\n 1,\n n,\n function (t) {\n return _t(t);\n },\n null,\n ),\n );\n }\n function at(t) {\n var n = N;\n return t.gut_1.e2b(\n t,\n O(\n \"modelRegistry\",\n Line truncated
|
||||
@@ -67299,6 +67299,13 @@
|
||||
return this.z12d_1.x143_1;
|
||||
}),
|
||||
(m$(Bmt).l36 = function (t) {
|
||||
// HORNET-TAG: 悬浮底盘 raw 速度(默认开启)—— 参考炮塔「raw」做法:直接把当前值锁成目标值,
|
||||
// 跳过加速度追赶(vgt.x142 按 u143_1/v143_1 逐帧逼近目标,底盘会因惯性来回摆)。
|
||||
// 回退:window.__hornetHoverRaw__ = false
|
||||
if (window.__hornetHoverRaw__ !== false) {
|
||||
(this.y12d_1.na0(this.y12d_1.w143_1), this.z12d_1.na0(this.z12d_1.w143_1));
|
||||
return;
|
||||
}
|
||||
(this.y12d_1.x142(t), this.z12d_1.x142(t));
|
||||
}),
|
||||
(m$(Zmt).uyn = function () {
|
||||
|
||||
Reference in new issue
Block a user