Cosmoteer: 星舰设计师

Cosmoteer: 星舰设计师

73 个评价
Mining Autopilot
4
3
2
4
2
2
2
2
2
2
2
2
2
2
2
2
   
奖励
收藏
已收藏
取消收藏
标签: Mods
文件大小
发表于
更新日期
1.921 MB
9 月 17 日 下午 9:16
9 月 18 日 下午 3:47
3 项改动说明 ( 查看 )

订阅以下载
Mining Autopilot

描述
Mining Autopilot adds an in-game controller that lets you set up your ships to automatically mine nearby asteroids inside a circle you define. It integrates with Cosmoteer’s own Salvage/crew systems and stays out of your way.

Requirements
- Enhanced Mod Loader (EML): https://steamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3453984043
- Cosmoteer .NET 9 builds (tested working on v0.30.1b)

How To Use
1) Open the Mining Autopilot window (HUD): press Ctrl+Shift+M (toggle).
2) Select a ship (ideally with mining lasers, haven't tested other scenarios as much), toggle “Auto-Mine” on.
3) Click “Set Area” to place the center at the mouse; adjust the radius with the slider. If Auto-Mine is turned on and ship is inside the set area it will start mining.
4) Optional: configure asteroid types to mine (e.g., Iron, Copper) and pick an Offload target ship. The offload ship is used to auto-dump mining resources when the miner is full. Use “Offload Now” to transfer immediately. The offload ship must be in the green circle mining area.

Installation
- If you don't see the green miner button or the CTRL - SHIFT - M hotkey doesn't work, you likely didn't follow the EML mod loader installation instructions properly.

What It Does
- Picks targets automatically and moves to mine it, trying to avoid getting stuck in obstacles by changing the target if needed due to in-game pathing issues.
- Capacity-aware: if your ship has no capacity for the nearby asteroid mix, it keeps scanning/retargeting. Absolute full cancels mining and (if set) offloads.
- Area gating: new scans/targets only start when the miner is inside its configured circle.
- Approach unscanned: if valid targets are out of radar range but exist in the circle, it queues a short move toward the nearest unscanned rock to warm the cache.

Controls & UI
- Window: Ctrl+Shift+M toggles the Mining Autopilot window.
- Area: “Set Area” at cursor, radius slider 250–20000.
- Filters: pick asteroid resource types, per ship.
- Offload: select target ship, “Offload Now” to transfer immediately.
- Debug: Mainly for me to debug issues, which there are likely a bunch still.

Known issues
- Set Area & Radius controls don't seem to show the mining area overlay until you've used the mod once, saved, and (full) restarted the game. [Pending Investigation]
- Reports of multiplayer desync issues, not confirmed but current code rewrite in progress will ensure all commands are routing through only multi-player compatible commands to ensure there are no lingering issues here [In Progress]
- Performance issues, some users report lag spikes. Current code rewrite will focus heavily on performance pathways for high use code paths to ensure maximum performance, additional performance tuning settings will be exposed in settings so users can tweak the addon to use less processing per frame in exchange for slower miner reactivity [In Progress]

In Development
- Enemy awareness and engagement reaction modes: Flee (hyperjump), Ignore, Attack, Auto-Pause
- Asteroid Selection strategies, closest first, biggest first
- Range slider, improve granularity for smaller radius, easier to select reasonable size areas
- Open source, code is published and fully open source and instructions on open source page for how to submit bug reports with logs is added
- Logging improvement, log system gets a deep overhaul for rich insights into internal logic to improve bug report analysis and highlight performance issues with more accuracy
- Additional salvage modes, so that ship graveyard fields can be targeted by the miner. Collect free floating resources in radius if matching resource filters.
- Deeper testing of edge case bugs and non-fatal issues to polish mod further.

Notes
- Auto-miners have ZERO awareness of enemies, there is no logic to handle what happens if attacked by an enemy. Watch out! :D
- I generally use this in small areas or asteroid fields, I haven't tested how well it works if you make a giant mining area.
- Active development: this mod is under very active development, large codebase changes, and bug squashing. Expect bugs and occasional breaking changes while it gets stabilized; feedback welcome but support bandwidth is limited or in some cases non-existant. Feel free to report bugs but without reproducible steps or logs I probably won't be able to do much.
- Due to the nature of how this mod works, it is very likely updates will break this mod. Update the game at your own risk.
- Due to how this mod works, it can be added or removed from a game at any time and should have zero risk from doing so as it stores no state, adds no custom ship parts.
- Minimal testing has been done regarding interactions with other mods, it may not work properly with mods that add new resources.

Buy Me a Coffee: https://ko-fi.com/xceled
58 条留言
Eviltoon 11 月 17 日 上午 10:16 
Ill buy you a coffee when you fix the mod for sure my guy. Time for crew to pick up the harvested or before recall.
unlikeaboss 11 月 13 日 上午 8:51 
and after some more testing, it also gives the crew 0 time to offload resources
unlikeaboss 11 月 13 日 上午 8:47 
yeah, the ai gives the crew 0 time to pickup resources, or even finish mining the asteroid?
Marmota Caolha 11 月 8 日 上午 9:23 
Could you please make the mod work without needing storage in the miner? Thank you!
Mr. Clean Himself 11 月 6 日 下午 2:39 
One of the biggest issues I noticed this mod has, is that it tells the ship to recall its crew the second it's finished mining, giving them no time to pick up the dropped resources. Otherwise, looking forward to improvements; the potential is definitely there :PEAKpoint:
Funky 11 月 5 日 下午 5:14 
I 2nd that =)
Drakengard2099 11 月 1 日 下午 2:30 
Please update this mod for the current version of the game.
Funky 10 月 30 日 下午 3:33 
Has this been updated?
Stormbox 10 月 26 日 上午 7:23 
I agree with @relliken. :lunar2024dragoninablanket:
A very good foundation for an automatic mod, especially for mining.
Just requires lots of fine tuning, especially on how it handles the logic to whereas it will not interrupt normal gameplay due to "stutters/lag". Alongside a few QoL changes.

Only used this mod briefly, it was worked as intended. But as mentioned earlier, the stutter/lag just ruins it for me. :scWitch:
relliken 10 月 20 日 下午 10:27 
if you fix these, this mod will easly become a massive QOL and a must have for any playthru

PS: i love the idea of this mod and look forward to seeing it and using it when its 100% working