George: some questions about the mining order

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

I have been playing around with mining in the Syrtian War mod, and am having trouble making the 'mine order work.

I suppose the signature is: (shpOrder ship 'mine base)

Does base have to be a station? Can it be another ship? Do the mining ships need to have the ferian controller (if so, should I report this as a bug)? Do the mining ships have to be subordinates? How is the ore returned when a mining run is completed.

I could script a mining simulation manually, but if you already intended for the 'mine order to work for general purpose automated mining, then I would love to find out how it works.

Thanks in advance! ;)
george moromisato
Developer
Developer
Posts: 2998
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

Sorry for the late reply.

Unfortunately, the mining order only works with the ferian controller. And I'm sorry to say but the actual mining is fake (in other words, the ferians don't actually mine anything, they just happen to have some ore in their cargo hold).

In general I want to move away from these kinds of orders. I think it would be better to implement this as a series of orders controlled by script in a recurring timer or OnOrdersCompleted.

The only part of ferian behavior that cannot be done today is their avoidance behavior (they move away if any threat moves too close). This behavior should be implemented as an AI flag on the standard controller.
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

OK, that is good to know. Thanks for the reply.

I agree that it all can be implemented in script. Even the avoidance behaviour, if I am not mistaken. I will look into scripting something that handles this.
Post Reply