Yanyan_mod-StickHead icon

StickHead

Aim at a teammate, press R to ride their head. Stamina drops only on real HP loss. F shakes off riders. G fires a spirit orb that hunts and stuns enemies. Config zh/en.

CHANGELOG

Changelog

1.2.2

中文

新增

  • 甩人键(默认 F):别人挂在你头顶时按一下,演 0.7 秒「我倒了」——对面那套插件会主动松手。你自己血量一点不掉,只是给别的客户端发个假的血量归零,0.7 秒后自动把真实血量广播回去;这 0.7 秒里你要是真死了就不覆盖。前提是对方也装了本插件(「队友倒了就松手」这个判断老版本里没有),没装也不报错,只是甩不下来。
  • 灵球(G):从胸前射出一颗浅绿色光球,沿准星方向以 9 m/s 飞 5 米然后悬停 3 秒。从出膛那一刻就开始扫,球心 5 米内只要有敌人就立刻拐弯以 16 m/s 追过去,0.85 米算命中,命中后那家伙被定住 3 秒、在命中点附近每秒疯狂传送约 18 次(就是你看到的闪烁)。冷却 10 秒。特效全是运行时现搭的:亮白绿核心球、两层会呼吸的叠加光晕、三条翻滚的圆环线、每秒 110 颗的世界空间火花粒子(贴图程序生成)、外加一盏浅绿色点光源,着色器走回退链。这一整套数值全部写死,刻意不进配置菜单。
  • 灵球 HUD:右下角能量条左边一个常驻小方块。就绪=亮绿「G」+ 外框呼吸脉动;冷却=黄字剩余秒数(如 3.4),方块内部由下往上充能。只要在关卡里活着就一直显示,不依赖「挂在队友头顶」;死亡自动隐藏,复活回来接着显示。挂了人时能量条往左让一格,两块并排。
  • 挂着的队友掉血也算你挨了一下:以前能量条只盯自己的血,现在你黏着的那个人挨打掉血,同样掉一格能量。

改动

  • 输血改成一比一:原来的「自己扣血」和「给队友回血」两条合并成一条「扣多少=回多少」(默认 5)。扣自己 5 就给他补 5,屏上提示变成「输血:自己 -5 / 队友 +5」,两边数字必定相同。老配置里残留的「给队友回血」会被 BepInEx 归到孤儿项,不影响使用。
  • 死亡时按 G 静默无效:不再刷「还没认到自己的角色」那种误导提示。

修复

  • 被顶住、被撞翻滚不再白扣能量:以前被物品击打或被翻滚的队友撞到,即使没掉血也算挨了一下,白扣一格;现在只有真掉血才扣。
  • 顺带修了个反的毛病:那次拦截会占用 0.35 秒的挨打冷却,导致紧跟其后的真掉血反而不算 —— 现在两件事分开记,互不顶掉。

注意

  • 灵球 HUD 跟着「显示能量条」那个总开关走,关掉能量条它也不画。
  • 灵球的定身用的是本插件一贯那套搬怪手段(EnemyTeleported 加每帧硬写位置),所以目标看起来是在原地抖。怪的 AI 仍跑在房主端,客机上只是「看起来被钉住」。敌怪列表每 0.4 秒刷新一次。

English

Added

  • Shake-off key (default F) — when someone is riding your head, press it to fake a 0.7 s knockdown. Their plugin checks "is the teammate I'm riding dead / at 0 HP" and lets go on its own. Your real HP is untouched: this only broadcasts a spoofed UpdateHealthRPC (hp = 0) to other clients, and the true value is sent back 0.7 s later. If you actually die inside that window the restore is skipped. Requires the rider to also run this plugin — the "my ride went down, let go" check does not exist in older builds. Nothing breaks otherwise, you just stay stuck.
  • Spirit orb (G) — Press G to throw a pale-green orb from your chest along your crosshair. It travels 5 m at 9 m/s, then hovers for 3 s. It scans from the instant it is fired; the first enemy within 5 m of the orb makes it break off and chase at 16 m/s, and on contact (0.85 m) the target is stunned for 3 s, flickering around its hit position by fast-teleporting roughly 18 times a second. 10 s cooldown. Visuals are built at runtime: bright white-green core, two additive glow shells that pulse, three spinning ring line-renderers, a 110/s world-space spark particle system with a procedurally generated soft-dot texture, and a pale-green point light; shaders fall back through a chain. Every number in this feature is hard-coded and deliberately kept out of the config menu.
  • Spirit orb HUD — A small badge sits just left of the stamina bar. Ready: bright green G with a breathing outline. Cooling: amber countdown in seconds (e.g. 3.4) with the badge filling from the bottom. Visible the whole time you are alive in a level, not tied to riding a teammate; hidden while dead and back on revive. While riding someone the stamina bar shifts left so the two badges sit side by side.
  • Losing HP while someone rides you now costs the rider a pip too. The energy bar used to watch only your own health; the teammate you are attached to losing HP is just as much "you got hit".

Changed

  • Donation is now one-for-one — the two knobs ("your HP cost" / "HP given") are merged into a single slider, HP moved (default 5); whatever you lose is exactly what the teammate gains. The on-screen message reads "Donate: you -5 / mate +5" with both numbers always equal. The old "HP given" value is orphaned by BepInEx and ignored.
  • No casting while dead — pressing G when dead is silently ignored instead of showing a misleading "avatar not found" message.

Fixed

  • Shoves and bumps no longer cost stamina. Being blocked from a tumble (struck by an object, rammed by a rolling teammate) used to eat a pip even when you took no damage; now only real HP loss costs one.
  • That same block was also eating the 0.35 s hit cooldown, so a genuine damaging hit arriving right after could end up costing nothing. Fixed: gaining a shove and losing HP are now counted separately.

Notes

  • The orb HUD follows the "show stamina bar" master switch; turn that off and the badge goes with it.
  • The stun uses the mod's usual enemy-position trick (EnemyTeleported plus a per-frame position write), so the target visually jitters in place. Enemy AI still runs on the host, so on a guest client the enemy looks pinned but the host's copy is authoritative. The enemy list refreshes every 0.4 s.

1.2.1

Changed

  • Switching language now applies instantly — no restart. Each config entry is relabelled in place (section / name / description) instead of being re-bound, the cfg is saved, and an open config menu rebuilds itself on the spot.
  • Your tuned values are untouched by the switch: the entry objects themselves are never recreated.

语言切换改为立即生效,不用重启游戏。 做法是不再重新绑定,而是把每个配置项的「分组 / 条目名 / 说明」就地换掉再落盘;菜单要是正开着,会自己重开一次,当场变新语言。

你调过的值一个都不会动 —— 配置项对象本身没被重建。

1.2.0

Added

  • Interface language: 中文 / English. A new 0.Language section sits at the top of the config menu; pick English to get English section names, entry names and descriptions.
  • Switching language carries your values over: whatever you'd tuned under the old language's keys is written into the new ones, and the old keys are purged from the cfg, so the file only ever holds one language.
  • On-screen messages (attached / dropped / cooldown / donation) follow the language immediately — no restart.

新增:配置菜单中英双语。 菜单最上面多一段 0.Language,选 English 后分组名、条目名、说明全变英文。

切换语言不会丢设置:旧语言那套键里你调过的值会搬到新键上,旧键再从配置文件里清掉,文件里始终只有一种语言。

屏幕右下角的提示(挂上 / 落下 / 冷却 / 输血)即时跟随,不用重启。

Fixed

  • Old leftovers from 1.0.x (挂载 and 准星传送 under [1.热键]) are now cleaned out of the cfg on startup — their values are logged once, then the keys are dropped. They hadn't been read since 1.1.0 and only served to confuse anyone editing the file by hand.

修复:清掉 1.0.x 遗留的死键。 [1.热键] 段里那两个 挂载、准星传送 从 1.1.0 起就不读了,一直挂在配置里,手改也没用。现在启动时把原值记进日志再删掉,文件干净。

Note

  • The config menu is built once at launch, so restart after switching. Obsoleted by 1.2.1: switching applies instantly.

注意:换语言要重启游戏才会变。 1.2.1 起已改为立即生效。


1.1.0

Changed

  • Hotkeys consolidated into a single 准星挂载 (attach) key. The separate 挂载 and 准星传送 entries are no longer read.

热键合并成一个「准星挂载」键,原来的 挂载、准星传送 不再读取。


1.0.0

  • First public release.

首个公开版本。