You are viewing a potentially older version of this package.
View all versions.
AutoPlaceMiner
按 Q 自动为大型采矿机寻找最佳位置与角度,支持水中矿脉自动地基。Press Q to auto-place the Advanced Mining Machine at the best position and angle, with automatic foundation for underwater veins.
| Date uploaded | 3 weeks ago |
| Version | 1.1.0 |
| Download link | Satroki-AutoPlaceMiner-1.1.0.zip |
| Downloads | 65 |
| Dependency string | Satroki-AutoPlaceMiner-1.1.0 |
This mod requires the following mods to function
README
AutoPlaceMiner
中文 | English
中文
建造大型采矿机时,按 Q 自动寻找能覆盖最多矿脉的位置和角度,并直接放下矿机。
功能
- 同时搜索大型采矿机的摆放位置和朝向,不再只旋转当前预览。
- 优先覆盖鼠标附近的“当前矿脉群”;相邻的同类型矿脉也会计入总覆盖数。
- 使用游戏原生建造规则检查碰撞、地形、建造范围、矿机间距和矿物类型。
- 默认开启自动地基:没有更好的陆地位置时,会为水中矿脉的落点铺设地基,消耗地基物品和沙土。
- 找不到合法位置时不会强行放置。
- 默认拦截
Q的相机横滚,避免自动摆放时镜头同时滚动;快捷键可配置。
使用
- 手持大型采矿机,进入建造模式。
- 把建造预览移动到矿脉群附近。
- 按
Q。
配置
配置文件:BepInEx/config/Satroki.dsp.AutoPlaceMiner.cfg
| 配置项 | 默认值 | 说明 |
|---|---|---|
General.Hotkey |
Q |
自动摆放快捷键 |
General.SuppressCameraRoll |
true |
手持大型采矿机时拦截 Q 的相机横滚 |
General.AutoFoundation |
true |
水中矿脉自动铺地基,消耗地基物品和沙土 |
General.ShowResult |
true |
显示结果提示 |
注意
- 只对大型采矿机生效。
- 摆放仍受建造范围、碰撞和地形限制;覆盖数可能小于矿脉群总数。
- 自动地基只在没有更好的陆地位置时尝试,最多尝试少数几个高覆盖水面候选;地基和沙土不足时会跳过并记录日志。
- 沙盒模式开启「无限沙土」后,不再检查/扣除沙土,沙土消耗按 0 处理;地基物品仍按正常规则检查。
- 已经是地基的格子不会重复消耗材料。铺地基会立即改变地形,即使后续建造失败也不会恢复。
- 大型采矿机一次只能开采一种固体矿;覆盖区内混入其他固体矿时,该位置会被原生规则拒绝。
- 油井不参与大型采矿机覆盖计算。
版本历史见 CHANGELOG.md。
English
While building an Advanced Mining Machine, press Q to automatically search for the position and angle that cover the most veins, then place the miner.
Features
- Searches both the placement position and the rotation of the Advanced Mining Machine.
- Prioritizes the current vein group near the cursor; adjacent groups of the same ore type also count toward total coverage.
- Uses the game's native build rules for collision, terrain, build range, miner spacing, and ore type checks.
- Auto foundation is enabled by default: when no better land position exists, it lays a foundation at a water position for underwater veins, consuming foundation items and soil.
- Does not force placement when no valid position exists.
- Suppresses the camera roll bound to
Qby default while holding an Advanced Mining Machine; the hotkey is configurable.
Usage
- Hold an Advanced Mining Machine and enter build mode.
- Move the build preview near a vein group.
- Press
Q.
Configuration
Config file: BepInEx/config/Satroki.dsp.AutoPlaceMiner.cfg
| Setting | Default | Description |
|---|---|---|
General.Hotkey |
Q |
Hotkey for automatic placement |
General.SuppressCameraRoll |
true |
Suppress the Q camera roll while holding an Advanced Mining Machine |
General.AutoFoundation |
true |
Lay foundation for underwater vein placements, consuming foundation items and soil |
General.ShowResult |
true |
Show result messages |
Notes
- Only works with the Advanced Mining Machine.
- Placement is still limited by build range, collision, and terrain; coverage may be lower than the total number of veins in the group.
- Auto foundation is tried only when there is no better land position, and only for a few high-coverage water candidates. It is skipped and logged if foundation items or soil are insufficient.
- With sandbox Infinite Sand enabled, the sand check and sand cost are skipped (treated as zero); foundation items are still required normally.
- Already-founded cells are not charged again. Paving changes terrain immediately and is not rolled back if the later build check fails.
- An Advanced Mining Machine can mine only one solid ore type at a time. A position that covers another solid ore type is rejected by the native build rules.
- Oil veins are not included in Advanced Mining Machine coverage.
See CHANGELOG.md for version history.
CHANGELOG
Changelog
v1.3.1
- 修复批量与单次建造逻辑不一致的问题。
- 优化批量建造性能。
v1.3.0
- 新增
Alt+Q批量放置当前及其它同类型矿脉群。 - 满覆盖不可行回退低覆盖位置。
v1.2.1
- 优化自动摆放的搜索与校验性能。
- 新增详细日志开关,并合并重复的校验失败日志。
- 修复高地落点、水下自动地基及材料不足提示。
v1.2.0
- 新增完全掩埋矿脉恢复与中英双语提示。
v1.1.0
- 新增水中矿脉自动地基。
- 支持沙盒无限沙土。