KainKondraki-KainRogueProtocol icon

KainRogueProtocol

GTFO roguelite card system with integrated Chinese and English language support.

Last updated 19 hours ago
Total downloads 5
Total rating 0 
Categories
Dependency string KainKondraki-KainRogueProtocol-1.1.3
Dependants 0 other packages depend on this package

This mod requires the following mods to function

dakkhuza-MTFO-4.6.2 icon
dakkhuza-MTFO

The premier in GTFO DataBlock editing ;^)

Preferred version: 4.6.2
GTFOModding-InjectLib-1.1.0 icon
GTFOModding-InjectLib

Dauda wants to inject things

Preferred version: 1.1.0
BepInEx-BepInExPack_GTFO-3.2.2 icon
BepInEx-BepInExPack_GTFO

BepInEx pack for GTFO. Preconfigured and includes Unity Base DLLs.

Preferred version: 3.2.2
Dinorush-ModifierAPI-1.3.1 icon
Dinorush-ModifierAPI

API for plugin developers to modify certain values without conflicts.

Preferred version: 1.3.1
Amorously-AmorLib-1.2.2 icon
Amorously-AmorLib

My cool library mod for plugin developers

Preferred version: 1.2.2

README

KainRogueProtocol CHS&EN

该插件中包含了大量Ai辅助制作的内容,包括美术、翻译、编译等

KainRogueProtocol 是一个肉鸽化玩法系统的第0.001版本原型,目标是在流程中加入卡牌选择、局内成长(也许可能的将来我学会局外成长了会加局外成长系统)、全局腐化规则(如果你玩过B4B将会非常熟悉这个部分)与可扩展的战斗修正机制。

当前版本属于 技术原型阶段,主要用于验证系统框架、卡牌读取、调试 UI、事件分发与部分实时效果。此版本并非完整玩法成品,此处为抛砖引玉希望得到指导与教学。


当前已实现内容


1. JSON 卡牌数据库读取

可以在运行时加载 JSON 卡牌数据,并将其注册进内部卡牌数据库。

已支持:

  • JSON 卡牌文件加载
  • 卡牌数据库初始化
  • 调试状态下重新加载卡牌
  • 将已选择卡牌写入运行时状态

这为后续扩展大量肉鸽卡牌提供了基础结构。(可能吧)


2. RogueState 运行时状态

插件内置了基础 RogueState,用于记录当前局内玩家已经选择的卡牌。

当前状态系统可用于:

  • 保存已选择卡牌
  • 向 UI 显示当前状态
  • 配合调试命令输出运行时信息
  • 作为后续网络同步与效果计算的基础

4. 调试用腐化卡流程

房主可以通过调试热键抽取并应用腐化卡。

当前支持:

  • 房主端抽取腐化卡
  • 应用 PreGeneration 骨架逻辑
  • 显示当前激活的腐化卡
  • 输出腐化状态到日志

该功能主要用于验证后续“每局随机全局负面规则”的核心流程。

5. 简易覆盖层 UI

当前版本包含一个基础 Overlay UI,用于展示肉鸽系统的调试与交互内容。

已包含:

  • 奖励选择面板
  • Buff 显示栏(目前仅支持两个卡牌的使用)
  • 调试状态显示
  • 激活腐化卡面板

请注意,UI 目前以功能验证为主,后续会继续重构视觉表现与交互体验。


当前已接入的初始卡牌效果

当前版本已实装以下玩家卡牌与腐坏卡;游戏内会根据语言设置显示中文或英文文本:

玩家侧卡牌

  • 急速执刑 / Rapid Execution (Uncommon; Stealth / Melee): 近战蓄力速度 +100%;击杀睡眠敌人后下一次近战蓄力速度额外 +100%,持续 8 秒。该效果不影响武器蓄力后的自动释放时间。 / Melee charge speed +100%. After killing a sleeping enemy, your next melee charge speed gains an additional +100% for 8 seconds. This does not affect post-charge auto-release timing.
  • 稳定阵型 / Stable Formation (Uncommon; Scan / Team): 同一扫描圈内每多一名玩家,圈内玩家受到的伤害减少 5%。同时你的全伤害 +5%。 / For each additional player inside the same scan circle, players in that scan take 5% less damage. You also gain +5% all damage.
  • 防线校准 / Defense Calibration (Rare; Scan / Turret): 扫描圈内放置的炮台锁定速度 +20%、弹药消耗 -30%。 / Sentries placed inside scan circles lock on 20% faster and consume 30% less ammo.
  • 膛室 Prime / Chamber Prime (Legendary; Ammo / Weapon): 武器弹匣的第一发子弹伤害 +200%。 / The first shot in each weapon magazine deals +200% damage.
  • 子弹税 / Bullet Tax (Epic; Ammo / KillReward): 每击杀一名大型敌人,为所有玩家恢复 5% 武器弹药。 / Killing a large enemy restores 5% weapon ammo to all players.
  • 清算协议 / Settlement Protocol (Legendary; Ammo / KillStreak / RiskReward): 单个弹匣击杀敌人数大于等于 3 时,下一次换弹速度 +125%,换弹完成后消耗。 / After killing at least 3 enemies in one magazine, your next reload is 125% faster. Consumed when the reload finishes.
  • 强力黏胶 / Strong Glue (Uncommon; Foam / Control): 被泡沫命中的敌人结沫时间 +100%,且结沫强度增加 100%。 / Enemies hit by foam remain foamed 100% longer and foam strength is increased by 100%.
  • 封门专家 / Door Seal Expert (Rare; Foam / Door): 泡沫门承受攻击次数 +50%。 / Foamed doors can withstand 50% more attacks.
  • 追踪校验 / Tracking Calibration (Common; BioTracker / Weakspot): 被标记敌人受到的伤害 +10%。 / Tagged enemies take 10% increased damage.
  • 汲魂痛击 / Soul Siphon Strike (Common; Melee / Weakspot / Stack): 每次近战弱点击杀会增加 5% 的近战伤害,持续到本场游戏结束。 / Each melee weakspot kill increases melee damage by 5% until the end of the run.
  • 战地救护 / Field Rescue (Uncommon; Team / Revive): 扶起队友速度 +100%。救援完成后,你与被救者均获得 50% 伤害减免,持续 20 秒。 / Revive speed +100%. After a revive completes, both you and the revived teammate take 50% less damage for 20 seconds.
  • 背刺协议 / Backstab Protocol (Rare; Stealth / Melee / Positioning): 从敌人背后造成的所有伤害 +50%。正面或侧面造成的伤害不再降低。 / All damage dealt from behind an enemy is increased by 50%. Frontal or side damage is no longer reduced.
  • 精准回收 / Precision Recycle (Uncommon; Ammo / Precision / Weakspot): 命中弱点的子弹将被重新装填至弹匣中,每 0.75 秒最多触发一次。 / Bullets that hit weakspots are loaded back into the magazine. Triggers at most once every 0.75 seconds.
  • 数据回流 / Data Backflow (Rare; BioTracker / Resource): 击杀被标记敌人时,5% 概率返还 5% 工具资源,5% 概率返还 5% 武器弹药。 / Killing tagged enemies has a 5% chance to refund 5% tool resource and a 5% chance to refund 5% weapon ammo.
  • 交叉火力 / Crossfire (Uncommon; Team / Damage): 两名玩家在 3 秒内攻击同一目标时,该目标额外受到一次 10% 最大生命值的伤害,同一目标每 3 秒只能从这个效果中受到一次伤害。 / When two players damage the same target within 3 seconds, that target takes bonus damage equal to 10% of max health. Each target can take this bonus once every 3 seconds.
  • 应激反应 / Stress Response (Legendary; Health / Damage / Mobility / Stack / RiskReward): 每当你的生命值因受到伤害或资源包治疗而发生至少 1 点变化时,获得 1 层“应激”,持续 10 秒。每层提供 +1.5% 全伤害与 +1% 移动速度,最多 10 层。每 0.75 秒最多触发一次。 / Whenever your health changes by at least 1 point from damage or resource-pack healing, gain 1 Stress stack for 10 seconds. Each stack grants +1.5% all damage and +1% movement speed, up to 10 stacks. Triggers at most once every 0.75 seconds.
  • 互惠补给 / Mutual Supply (Rare; Resource / Team / Support / Economy): 当你对友军使用弹药包、工具包、医疗包或消毒包时,你自己获得 75% 的同类型效果。对自己使用资源包不会触发该效果。 / When you use ammo, tool, med, or disinfect packs on an ally, you gain 75% of the same effect. Using packs on yourself does not trigger this.
  • 缓冲衬垫 / Buffer Padding (Rare; Survival / Melee / Control / OnHit): 受到近战伤害时,强制周围 20 米内的敌人进入踉跄一次。此效果有 3 秒冷却时间。 / When you take melee damage, force enemies within 20 meters to stagger once. 3 second cooldown.
  • 脑机超频 / Neural Overclock (Rare; Terminal / Interaction / Speed): 终端响应速度 +100%。生命恢复上限提高 100%。 / Terminal response speed +100%. Healing limit is increased by 100%.
  • 慢性疗法 / Chronic Therapy (Common; Healing / Regen / Resource): 治疗包对你不会造成即时治疗,而是在 50 秒内每秒恢复 1% 生命值。 / Medipacks no longer heal you instantly. Instead, they restore 1% health per second for 50 seconds.
  • 死刑宣告 / Death Sentence (Rare; Mark / Tracking / Team): 被你命中的敌人将会被标记。 / Enemies you hit are tagged.
  • 灵化 / Etherealization (Epic; Health / Weapon / RiskReward / AutoAim): 你不再能接受来自治疗包的治疗,但你的武器获得 <color=#FF0000>自动瞄准</color>。 / You can no longer receive healing from medipacks, but your weapons gain <color=#FF0000>auto-aim</color>.
  • 静默协议 / Silent Protocol (Rare; Stealth / Crouch / Melee): 关闭手电筒时:+50% 蹲伏移动速度,+25% 近战武器伤害。 / While your flashlight is off: +50% crouch movement speed and +25% melee weapon damage.
  • 洞穿幽冥 / Penetration Protocol (Legendary; Weapon / Ammo / Pierce): 你的子弹现在会穿透一切。 / Your bullets now pierce everything.
  • 爆发制动 / Burst Brake (Rare; Movement / Active / Defense): 获得主动技能:爆发制动。按下 KRP 主动技能键(默认为 G)后,向当前移动方向短时间爆发移动。持续 0.25 秒,期间受到伤害 -50%。冷却 15 秒;每次击杀使冷却时间减少 1 秒。 / Gain the Burst Brake active skill. Press the KRP active skill key (G by default) to surge briefly in your current movement direction. Lasts 0.25 seconds and reduces incoming damage by 50%. Cooldown: 15 seconds; each kill reduces the cooldown by 1 second.
  • 刺骨印记 / Bone-Chill Mark (Uncommon; Mark / Control / BioTracker): 对已被标记的敌人施加新的标记时,强制踉跄;每敌人 3 秒独立冷却。 / Reapplying a mark to an already tagged enemy forces a stagger once. 3 second independent cooldown per enemy.
  • 紧急避险 / Emergency Evasion (Rare; Survival / Mobility / OnHit): 3 秒内受到超过最大生命 50% 的伤害时,恢复 25% 最大生命,并 5 秒内获得 50% 全移动速度。 / If you take more than 50% of max health as damage within 3 seconds, restore 25% max health and gain +50% movement speed for 5 seconds.
  • 娴熟巧手 / Skilled Hands (Epic; Weapon / Ammo / Reload): 收起武器自动装填,装填时间为原装填时间 2 倍,只装填弹匣,不增加弹药。 / Stowed weapons automatically reload their magazines after twice their original reload time. This refills the magazine only and does not add reserve ammo.
  • 应急脉冲 / Emergency Pulse (Epic; Active / Team / Survival / Control): 获得主动技能:应急脉冲。按下 KRP 主动技能键(默认为 G)后,立即对 30 米范围内的敌人施加一次强制踉跄,并为 30 米范围内友军施加 25 点临时生命值。临时生命值每秒衰减 1 点,受到伤害时优先消耗。冷却 20 秒。 / Gain the Emergency Pulse active skill. Press the KRP active skill key (G by default) to force enemies within 30 meters to stagger once and grant allies within 30 meters 25 temporary health. Temporary health decays by 1 point per second and absorbs incoming damage first. Cooldown: 20 seconds.
  • Kain重工 / Kain Heavy Industries (Legendary; Weapon / Heavy / Kain): 随机获得一把来自未来的尖端重型武器,它将会 <color=#FF0000>替换</color> 你的工具栏位。 / Randomly gain an advanced heavy weapon from the future. It will <color=#FF0000>replace</color> your tool slot.

腐坏卡

  • 血债循环 / Blood Debt Cycle: 所有玩家持续流失生命,参与击杀可恢复生命。 / All players continuously lose health. Participating in kills restores health.
  • 顽劣再生 / Bratty Regeneration: 战斗状态敌人每秒恢复最大生命 5%。 / Enemies in combat regenerate 5% of max health per second.
  • 诡毒异变 / Toxic Mutation: 敌人攻击使玩家获得 2% 感染,弱点击杀清除 2% 感染。 / Any enemy attack adds 2% infection to the damaged player. Weakspot kills remove 2% infection.
  • 迟缓神经 / Sluggish Nerves: 敌人硬直阈值翻倍,实际等价为玩家造成 stagger 伤害减半。 / Enemy stagger thresholds are effectively doubled. Implemented by halving player-caused stagger damage this run.

以上卡牌数值仍可能随后续版本继续调整。

默认调试热键

热键 功能
~ 检视当前卡池(此为开发阶段便利于测试的功能,会在后续正式版本移除)
F7 打开奖励选择面板
Tab 打开地图时查看当前已选择的卡牌
ESC 关闭已选择的卡牌界面
F8 切换常驻 UI
F11 重新加载 JSON 卡牌(用于hotreload,由于卡牌hook尚且未全部建立完毕,故未经测试,可用性存疑)
F9 RogueStateRogueRunState、替换项和 modifiers 输出到日志
F10 重置运行时状态

当前已知问题

仍有以下限制:

  • 当前网络同步仍是快照骨架,并非完整多人同步系统。(未经多人游戏测试,欢迎反馈)
  • 腐化卡系统目前主要用于调试验证,仅有“血债循环”实装了效果。
  • 因为没想好具体的方案,当前抽卡系统没有设计抽卡机会的分发,仅在游戏开始时发放3次抽卡机会。
  • 并未对抽卡系统做去重处理,你仍然会从卡池里抽出你已经拥有的卡牌,尽管重复的卡牌并不会叠加生效(预计下版本就会推进)。
  • UI 为早期功能验证版本,不代表最终视觉效果。(求一个美术)
  • 部分卡牌效果仅用于验证系统可行性,数值与机制可能会频繁调整。

许愿

  • 如果你:

  • 愿意参与测试或反馈问题

  • 对卡牌成长、局内随机强化、腐化异变玩法的思路建议

  • 或者:

  • 希望参与开发

  • 希望将这个Mod加入到你的rundown中

欢迎联系我:QQ群861074297 或者 KainKondraki on Discord


后续开发方向

后续版本计划继续扩展:

  • 更多可选卡牌
  • 更完整的 Buff / Debuff 系统
  • 更真实的 GTFO 战斗属性接入
  • 腐化卡对关卡、敌人、资源、目标的实际影响
  • 多人网络同步(我真的很快就能学会的!!
  • 更完整的奖励选择流程 (包括什么时候给出选卡机会等)
  • 更成熟的 UI 表现 (许愿美术)
  • 更适合正式游玩的肉鸽循环 (可能存在的局外成长系统