僵尸有耳朵
只有当你真正发出声音时,僵尸才能听到你。
这是一个服务端模组,它接入了 Simple Voice Chat,赋予僵尸(以及可选的其他怪物)真实的听觉能力:每当玩家说话时,附近的生物会捕捉到声音并走向声源进行调查。轻声细语、低语或躲在墙后——否则尸群就会来找你。
听觉规则
- 由语音驱动,而非距离驱动。 怪物不会魔法般地知道你在哪里——它们对来自 Simple Voice Chat 的真实语音数据包做出反应,并根据实际响度进行测量。
- 响度至关重要。 正常音量说话,你的声音只能在有限范围内被听到;对着麦克风尖叫,声音能传遍整个范围。小声说话的人更安全。
- 低语是真正的潜行。 Simple Voice Chat 的低语按键会大幅缩小你的听觉半径——当僵尸已经靠近时,这是首选方案。
- 墙壁会消音。 没有直接视线时,怪物只能听到正常范围的一部分声音。它们绝不会仅凭声音就穿墙产生仇恨。
- 怪物会调查,但不会瞬移仇恨。 听到你声音的怪物会走到声音位置附近搜索一段时间——它仍然需要真正看到你(或靠得很近)才会开始攻击。
- 正在追击的怪物忽略声音。 追逐目标的僵尸不会被其他地方的声音分心。
兼容模组
- Simple Voice Chat — 必需。这是一个语音聊天插件:它直接接入 SVC 的麦克风数据包来测量真实响度,因此听觉功能只对实际说话做出反应,而不会仅因距离接近而产生反应。
- Zombie Have Eyes — 作为其天然配套组件构建。耳朵让怪物前来调查声音;眼睛决定它们在到达后是否真的发现了你。同时安装两者,僵尸的行为就像它们既能看又能听一样。
- Zombie Awareness — 完全兼容,无冲突。ZA 的血迹/光线/声音感知仅对 Minecraft 原生声音事件做出反应;它完全无法检测 Simple Voice Chat 的音频,因此本模组的语音听觉是一个叠加在原有机制之上的全新检测来源,而非重复项。
- The Hordes — 开箱即用完全兼容。尸潮波次中的怪物会自动排除在语音警报之外,因此在即将到来的尸潮附近说话不会将怪物从其行进路线上引开——它们会继续按照 The Hordes 的设计追踪玩家。
- Enhanced AI — 无需特殊集成,也不需要:Enhanced AI 仅影响目标 获取(
Mob#setTarget),而本模组从不触碰该部分——它只引导无目标怪物走向听到的声音。两个模组的功能根本不相交。
安装
仅限服务端——在服务端安装即可,客户端只需安装 Simple Voice Chat 本身(无需额外客户端模组)。服务端需安装 Simple Voice Chat 2.5.0 或以上版本。上述所有机制均可在 config/zombiehaveears-common.toml 中调整:听觉范围、响度缩放、低语倍率、墙壁消音效果、搜索行为以及性能预算(采样率、每次警报的最大怪物数、射线投射预算)。
整合包与使用
允许免费包含在整合包中,无需事先询问。感谢署名,但非强制要求。商业用途(出售该模组,或将其捆绑在付费/ monetized 整合包或产品中)不在此许可范围内——请先联系讨论。
Zombie Have Ears
Zombies can only hear you if you're actually making noise.
This server-side mod hooks into Simple Voice Chat to give zombies (and optionally other monsters) real hearing: whenever a player talks, nearby mobs pick up the sound and walk over to investigate where it came from. Talk quietly, whisper, or stay behind a wall — or the horde will come find you.
Hearing rules
- Voice-driven, not proximity-driven. Mobs don't magically know where you are — they react to actual voice packets from Simple Voice Chat, measured for real loudness.
- Loudness matters. Speak at normal volume and you're heard at a fraction of the full range; scream into the mic and the sound carries the whole distance. Quiet talkers stay safer.
- Whispering is real stealth. Simple Voice Chat's whisper key drastically shrinks your hearing radius — the go-to option when a zombie is already close.
- Walls muffle sound. Without direct line of sight, mobs only hear a fraction of the normal range. They never aggro through walls from sound alone.
- Mobs investigate, they don't teleport-aggro. A mob that hears you walks to the sound's position and searches around for a while — it still needs to actually see you (or get close) to start attacking.
- Already-hunting mobs ignore sound. A zombie chasing a target isn't distracted by voices elsewhere.
Compatible mods
- Simple Voice Chat — required. This mod is a voice chat plugin: it hooks directly into SVC's microphone packets to measure real loudness, so hearing only ever reacts to actual talking, never to proximity alone.
- Zombie Have Eyes — built as its natural companion. Ears bring mobs to investigate a sound; eyes decide whether they actually spot you once they arrive. Install both for zombies that behave like they can genuinely see and hear.
- Zombie Awareness — fully compatible, no conflicts. ZA's blood/light/sound awareness only reacts to real Minecraft sound events; it has no visibility into Simple Voice Chat audio at all, so this mod's voice hearing is a genuinely new detection source layered on top, not a duplicate.
- The Hordes — fully compatible out of the box. Horde wave mobs are automatically excluded from voice alerts, so talking near an incoming wave doesn't pull mobs off their march — they keep tracking the player exactly as The Hordes intends.
- Enhanced AI — no special integration, and none is needed: Enhanced AI only affects target acquisition (
Mob#setTarget), which this mod never touches — it only walks targetless mobs towards a heard sound. The two mods simply don't intersect.
Installation
Server-side only — install on the server, and clients only need Simple Voice Chat itself (no extra client mod required). Requires Simple Voice Chat 2.5.0+ on the server. Every mechanic above is tunable in config/zombiehaveears-common.toml: hearing range, loudness scaling, whisper multiplier, wall muffling, search behavior, and performance budgets (sample rate, max mobs per alert, raycast budget).
Modpacks & usage
Free to include in modpacks, no need to ask first. Credit is appreciated but not required. Commercial use (selling the mod, or bundling it in a paid/monetized modpack or product) is not covered by this — reach out to discuss it first.
评论 0
登录后参与评分
还没有评论,来抢沙发吧