Fhpslime-Zombiemod icon

Zombiemod

Zombiemod

Last updated a week ago
Total downloads 211682
Total rating 16 
Categories Mods
Dependency string Fhpslime-Zombiemod-1.2.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack_TABS-5.4.16 icon
BepInEx-BepInExPack_TABS

BepInEx pack for TABS. Preconfigured and ready to use.

Preferred version: 5.4.16
Fhpslime-SLMACore-1.1.2 icon
Fhpslime-SLMACore

SLMACore

Preferred version: 1.1.2

README

Zombiemod / 僵尸派系

A TABS zombie faction mod rebuilt on the SLMACore framework, originally transplanted from fern's zombie mod. 基于 fern 原版移植, 在 SLMACore 框架上重做的 TABS 僵尸派系模组。

Faction Contents / 派系内容

The Zombie faction includes 6 units / 派系 Zombie 包含 6 个兵种:

Unit / 兵种 Cost / 价格 Trait / 特性
僵尸 / Zombie 100 Basic zombie, bite infects enemies / 基础僵尸, 撕咬感染敌人
疾行僵尸 / Fast Zombie 150 High speed, low health / 高移速, 低血量
飞行僵尸 / Fly Zombie 200 Can fly, with zombie wings / 可飞行, 带僵尸之翼
巨型僵尸 / Giant Zombie 1000 2x size, smash causes infection ice explosion / 2 倍体型, 重拳范围感染冰爆
僵尸母体 / Zombie Mother 7000 Summons a normal zombie every 5s in combat (8 max alive) / 战斗中每 5 秒召唤一只普通僵尸 (上限 8 只存活)
飞行僵尸母体 / Fly Zombie Mother 7000 Mother + flight / 母体 + 飞行能力

3 weapons, 2 abilities, and 1 faction icon are all registered in the Unit Editor, grouped under a standalone Zombie category branch in the weapon/ability lists. 3 种武器、2 种技能、1 个派系图标均注册进兵种编辑器, 在武器/技能列表中归入独立的 Zombie 分类分支。

Core Mechanics / 核心机制

  • Bite Infection / 撕咬感染: A zombie bites when close to an enemy's head, applying infection with 100% chance; the enemy turns into a same-team zombie 2~5s after death. 僵尸靠近敌人头部时撕咬, 100% 附加感染效果; 敌人死亡后 2~5 秒转化为同队僵尸。
  • Mother Summon / 母体召唤: The mother summons a normal zombie every 5s while an enemy is within 30m (8 max alive), no longer relying on the unstable vanilla RangeWeapon.unitToSpawn chain. 母体检测到 30 米内有敌方单位时, 每 5 秒召唤一只普通僵尸, 存活上限 8 只, 不再依赖原版 RangeWeapon.unitToSpawn 的不稳定链路。
  • Multilingual / 多国语言: Faction/unit/weapon/ability names support 8 languages (Chinese / English / Japanese / German / French / Russian / Spanish / Italian), injected via reflection into Localizer.m_localization. 派系/兵种/武器/技能名称支持 8 种语言 (中/英/日/德/法/俄/西/意), 通过反射注入 Localizer.m_localization
  • Self-contained / 自包含: Icons are embedded in the DLL via EmbeddedResource, read at runtime from GetManifestResourceStream; no external asset files needed. 图标通过 EmbeddedResource 嵌入 DLL, 运行时从 GetManifestResourceStream 读取, 无需额外资源文件。

Dependencies / 依赖

  • BepInEx (TABS) >= 5.4.16
  • SLMACore >= 1.1.2

Installation / 安装

Place this folder into BepInEx/plugins/. 将本文件夹放入 BepInEx/plugins/ 即可。

Changelog / 更新日志

v1.2.0

  • Fixed infection / 修复感染机制: Fixed ZombieBite.targetData never being assigned; bites now trigger infection 100% of the time and dead enemies always convert. 修复 ZombieBite.targetData 从未赋值的 bug, 撕咬现在 100% 触发感染, 敌人死亡 100% 转化为僵尸。
  • Fixed mother summon / 修复母体召唤: Switched to a code-driven MotherSummon component (5s interval, 8 max alive), replacing the unstable RangeWeapon.unitToSpawn chain. 改用代码驱动的 MotherSummon 组件, 母体战斗中每 5 秒召唤一只僵尸 (上限 8 只), 不再依赖原版 RangeWeapon.unitToSpawn 的不稳定链路。
  • Fixed lag (log spam) / 修复性能卡顿 (日志刷屏): Stripped CollisionWeapon / MoveCollisionWeapon / CollisionSound inherited from Vampirebite (vanilla logged Vampire_Damage_Head on every hit; dozens of zombies × 60fps flooded the log). 销毁撕咬技能继承自 Vampirebite 的 CollisionWeapon/MoveCollisionWeapon/CollisionSound 子组件 (原版每次命中刷日志 Vampire_Damage_Head, 同场几十只僵尸 × 60fps 导致日志爆炸卡顿)。
  • Fixed lag (GetComponent) / 修复性能卡顿 (组件查找): Zombification.Update no longer calls GetComponentInParent every frame; unit reference is cached. Zombification.Update 不再每帧调用 GetComponentInParent, 改为缓存 unit 引用。
  • Fixed lag (physics) / 修复性能卡顿 (物理查询): MotherSummon enemy detection throttled from every-frame OverlapSphere to once per 0.5s. MotherSummon 敌方检测从每帧物理查询节流到 0.5 秒一次。
  • Renamed assets / 资产重命名: Weapons/abilities/units now use proper names (was "2"/"3"/"4"/"zombiebite" etc.). 武器/技能/兵种全部使用正式中文名 (原 "2"/"3"/"4"/"zombiebite" 等内部代号)。
  • Unit Editor registration / 兵种编辑器注册: All weapons & abilities registered in the Unit Editor, grouped under a standalone Zombie category via CharacterItem.Tag(Faction, "Zombie"). 所有武器、技能注册进兵种编辑器, 通过 CharacterItem.Tag(Faction, "Zombie") 归入独立分类分支。
  • Embedded icons / 图标嵌入 DLL: 12 icons embedded via EmbeddedResource, read from GetManifestResourceStream; mod is fully self-contained. 12 张图标通过 EmbeddedResource 嵌入程序集, 运行时从 GetManifestResourceStream 读取, mod 完全自包含。
  • Multilingual system / 多国语言系统: Injected into Localizer.m_localization via reflection; 12 names × 8 languages. 通过反射注入 Localizer.m_localization, 为 12 个名字注册 8 种语言翻译。
  • Fixed Init early return / 修复 Init 提前 return: Original UManager.Init exited early when Humanoid root had TeamColor, preventing mother/faction creation. 原 UManager.Init 在 Humanoid 根有 TeamColor 时会提前退出导致母体/派系不创建。
  • Fixed fast zombie speed / 修复疾行僵尸速度: Original movementSpeedMuiltiplier = 1f overwrote the intended 3f; now fixed. 原 movementSpeedMuiltiplier = 1f 覆盖了 3f, 现已修正。

v1.1.2

  • Transplanted the original zombie mod onto the SLMACore framework. 在 SLMACore 框架上移植原版僵尸 mod。
  • 6 units: zombie / fast zombie / fly zombie / giant zombie / zombies'mother / fly zombies'mother.

v1.0.6

  • Original version (fern), more zombies. 原版 (fern) 更多僵尸。

Credits

  • Original author / 原作者: fern
  • Port & rework / 移植与重做: Fhp史莱姆
  • Framework / 框架: SLMACore