let5sne.win10
d00ffa28f3
docs: 中文 README 并记录托管实现
...
将 README.md 翻译为中文,并补充本分支关键实现:开局交还控制权给传统人机(BotTakeoverManager)与托管时镜头防守热点跟随(BotTakeoverCameraFollower),同时给出相关入口/配置文件路径。
2026-01-11 23:39:03 +08:00
let5sne.win10
9d80847a9a
ra: 托管时镜头自动跟随防守热点
...
Continuous Integration / Linux (.NET 8.0) (push) Has been cancelled
Continuous Integration / Windows (.NET 8.0) (push) Has been cancelled
新增 BotTakeoverCameraFollower(Player trait):托管开启时通过 ViewportCenterProvider 自动跟随热点事件,默认偏防守(基地/矿区受击优先,建造落点次之),并使用热点衰减 + 最短驻留时间 + 切换阈值避免多处战斗时镜头抖动。
同时:
- mods/ra/rules/player.yaml 接入该 trait(仅 takeover 激活时生效)
- 修复 ingame-player.yaml 的 TooltipDesc/FTL 校验警告
- 小幅代码风格优化(不改行为)
2026-01-11 23:27:24 +08:00
let5sne.win10
ec3107e6e7
ra: 开局自动托管给传统人机(Bot Takeover)
...
Continuous Integration / Linux (.NET 8.0) (push) Has been cancelled
Continuous Integration / Windows (.NET 8.0) (push) Has been cancelled
背景
- OpenRA 的 Player 默认按‘人类’设计:不自动执行建造/展开/生产等,需要玩家输入。
- 为了实现全人机阵营交锋(后续再叠加 LLM 增强),需要在开局就把本地玩家控制权交还给传统人机。
改动
- 新增 BotTakeoverManager(Player trait):WorldLoaded 后自动为本地人类玩家激活传统 ModularBot(normal),并授予 nable-normal-ai,确保传统 AI 全链路模块从开局开始运行。
- 将右下角托管按钮逻辑改为切换 BotTakeoverManager,用于随时取消/恢复托管(避免直接激活 LLM bot 导致双 bot 并行与性能风险)。
- RA UI 增加托管按钮与中文提示文案。
影响
- 开局无需等待/点击即可展开 MCV 并开始传统 AI 运营;同时仍可通过按钮取消托管恢复手动操作。
2026-01-11 20:52:14 +08:00
let5sne.win10
2d5e58d5ce
Add Chinese localization support for Red Alert mod
...
Continuous Integration / Linux (.NET 8.0) (push) Has been cancelled
Continuous Integration / Windows (.NET 8.0) (push) Has been cancelled
- Add Chinese translation files (fluent/zh/) for common and ra modules
- Add simhei.ttf font to support Chinese characters
- Update mod.yaml to reference Chinese translation files and font
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-10 22:35:25 +08:00
let5sne.win10
9cf6ebb986
Initial commit: OpenRA game engine
...
Continuous Integration / Linux (.NET 8.0) (push) Has been cancelled
Continuous Integration / Windows (.NET 8.0) (push) Has been cancelled
Fork from OpenRA/OpenRA with one-click launch script (start-ra.cmd)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-10 21:46:54 +08:00