Jump to content

[Mod] Smart Mine


shadetheartist

Recommended Posts

Smart mine intends to add a smarter alternative to the current mining AI. The current AI spends a lot of time maneuvering for seemingly no reason. This causes the mining entity to be vastly ineffectual at its singular directive.

 

The smart mine option will fix this abhorrent behavior by:

  • orientating the ship so that the ships' mining lasers have a clear line of sight towards the asteroid
  • waiting until a chunk of the asteroid has been destroyed before moving on

 

Smart mine is a work in progress, and i have never really used Lua before, but that's not as big a deal as just getting a handle on the modding API. Development progress will be tracked here via edits.

 

Day 1: Not much

  • looked into modding api
  • got into a development flow to work on the mod
  • added a 'smart mine' option to the entity orders menu
  • made this post

 

Day 2: Stop right there criminal scum!

  • there seems to be no (non-hack) way to have a ship orbit an asteroid while looking at it.
  • as an alternative, i will implement a 'mining bubble' wherein the resources from the asteroid will all be mined at a steady rate

 

Questions & suggestions are welcome. If you have any modding experience let me know if i'm a complete fucking idiot and failing miserably.

Link to comment
Share on other sites

  • 10 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...