Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
| Last updated | 11 hours ago |
| Total downloads | 42 |
| Total rating | 1 |
| Categories | Mods Tools Weapons Monsters Client-side AI Generated |
| Dependency string | cn_xc-AssistedAim-0.1.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
# Assisted Aim
辅助瞄准模组 —— 当敌人进入 10 米范围内时自动瞄准目标,超出范围立即释放鼠标,不影响正常操作。
版本:0.1.0
## ✨ 功能
- 当敌人进入 **10 米** 范围内时,自动将视角瞄准在最近的敌人身上
- 超出 10 米自动释放鼠标,完全由玩家手动控制
- 锁定角度可自定义(默认 180°,1°~360°)
- 支持按键随时开关自瞄(默认 P 键)
- 默认关闭,需手动启用
## 🎯 瞄准逻辑
- **瞄准距离**:固定 10 米(不可配置)
- **瞄准角度**:默认 180°(可在配置中调整 1~360)
- **目标选择**:在 10 米内且处于角度范围内的敌人中,选择距离最近的
- **鼠标释放**:目标超出 10 米、死亡或手动禁用时,立即释放鼠标,玩家可自由转动视角
## ⚠️ 注意事项
- **默认关闭**:首次安装后需在配置文件中将 EnableAim 改为 true 才会生效
- **使用场景**:适合近战或室内战斗场景,远距离时完全由玩家手动瞄准
- 瞄准距离固定为 10 米,此为设计意图,不可调整
## ⚙️ 配置
配置文件位置:BepInEx/config/cnxc.assistedaim.cfg
| 配置项 | 默认值 | 说明 |
|---|---|---|
| EnableAim | false | 启用辅助瞄准(需手动改为 true) |
| ToggleKey | P | 游戏内开关按键 |
| AimCone | 180 | 锁定角度(1~360,整数) |
| DebugLog | false | 启用调试日志(每 5 秒输出状态) |
## 安装
1. 确保已安装 [BepInExPack](https://thunderstore.io/c/repo/p/BepInEx/BepInExPack/)
2. 将 AssistedAim.dll 放入 BepInEx/plugins 文件夹
3. 启动游戏,模组会自动生成配置文件
4. 编辑 BepInEx/config/cnxc.assistedaim.cfg,将 EnableAim 设为 true
## ❓ 常见问题
**Q:为什么锁定距离固定 10 米,不能改?**
A:这是作者的设计意图 —— 自瞄仅在近战范围内生效,远距离时完全由玩家手动瞄准,保证游戏平衡性和操作手感。
**Q:按下开关键后没有反应?**
A:请确认配置文件中 EnableAim = true,否则开关键无法启用辅助瞄准。
**Q:辅助瞄准开启后鼠标移动有延迟?**
A:当锁定时鼠标输入会被强制归零,这是正常行为。目标脱离 10 米后会自动释放。
**Q:如何确认辅助瞄准是否生效?**
A:将 DebugLog 设为 true,控制台会每 5 秒输出当前状态(目标名称、距离、角度)。
## 问题交流
QQ群:573485890
## 致谢
灵感来自各类 FPS 游戏的辅助瞄准机制。