Awhile back I shut off metal mining on planets... and put it to the moons(as Titanium). I've now noticed the AI will build a mining station by the Titanium moon not the(closer) dilithium moon...then once the freighter comes out... it decomissions the station...then builds it again...then again decomissions it. It does this for at least 30 minutes in the game. Back and forth.
Oddly the Borg and Romulans DO NOT do this. They build the station and leave it alone, but the other races do this(feds,Klingons and Cards).
Is there any way to remove the decomission command from the mining stations? I looked around but don't see this command. I think it's hard coded.
I looked under the decommision command. They use decom for short so I tried can_decom = 0 in the mining station folder but it didn't work.
I'll keep playing around
It sounds to me like its a problem with the AI - as if it's being told to build one but none can be controlled. Unfortunately I have no experience in that area so can render practically no help, I'm afraid. I would have a look at the different AI's though - you may be able to get an idea of what causes it. :)
I've seen this before.
I think you'll probably find the problem is that the AI wants more freighters (it usually wants 3 per moon, or 5 per planet) but you don't have them in the AIP, so its creatively interpreting your build list by decommissioning the station and keeping the freighter, then building a replacement for the station for another miner.
Just tell it to build an extra bunch of freighters in the AIP and it'll stop doing it.
Oppps, you may have nailed it, recently I upped it to 4@moon in RTS_CFG.h . I thought it was a max limit... I didn't know it would try to get that amount.
Thanks, I moved it back.
Well, that's the thing, it IS a maximum limit and the AI doesn't immediately decommission its mining stations normally.
If I were taking a wild guess, i'd say what happens is that when the miner is no longer linked to the dilithium mining platform it decommissions it, because the times I remember it happening a lot is when the AI started using the freighters for mining latinum, which obviously goes to the starbase instead of the platform.
If this is in fact the case, then presumably the AI considers a mining station to be the station, plus a miner. If the miner then starts mining another resource and taking it somewhere else (i'm guessing at this point, in case you hadn't realised) then it considers the miner lost, which prompts it to decommission the now useless station so it can rebuild another one. This guess is partly based on the borg happily mining metal from their mining platform without it decommissing, and you've said you have a new resource.
So, the question is, where do your mined resources go? Somewhere other than the minnig station by any chance? Otherwise, i'd guess that the borg and romulans start off with enough titanium to not need to mine any initially with what they are building in the build list.
Hmmm...No luck other then dead ends.
I just now ran it again and it did the same thing.
Next: I put a stock RTS file in.... no change.
Next: I created another moon using the normal moon as a template(deleted my moon out)... the game didn't see it as a resource(unknown why, I copied the files ok). However there was a change. The affected races didn't see the stock dilithium moons(which seems the same as in my version) and built the mining stations on the other side of the planet however DID NOT decommission the stations. When running Romulans and Borg they still built the stations by the dilithium moons and everything was ok.
So, I would have to gather that the AI on Fed,Kling and Cards are not seeing the Dilithium moons when it comes time to build the stations, yet the freighter sees them and goes over there
I don't know anymore... I'm lost