Stationeers

Stationeers

66 ratings
Rocket controller (Outdated)
2
3
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
249.327 KB
19 Mar, 2021 @ 7:52am
7 Apr, 2023 @ 7:05pm
5 Change Notes ( view )

Subscribe to download
Rocket controller (Outdated)

Description
Mining rocket controller.

NOTE: Don't have more than one rocket on the same data network.

Setup:
d0: fuel pump or mixer (H2 to input 1, O2 to input 2)
d1: Mode display (Optional)
d2: Fuel display (Optional)
d3: Minables display (Optional)
d4: Cargo display (Optional)
d5: Recall lever

This script will control the mining rocket to a fully automated state.
It will hold the rocket on the launch pad until the required fuel has been added and the cargo has been unloaded and the activation lever has been set then the rocket will launch and mine until it is running low on fuel or the recall lever has been set. Once back on the launchpad it will refuel and unload and relaunch and repeat until you tell it to stop.

If you use a mixer to fuel the rocket the code will make sure that the fuel mix is correct but you must have the H2 to miner input 1 and the O2 to mixer input 2 or it will not work.

Important !!: Isolate the data network for the rocket control circuit. The code uses batch commands for the control of the rocket so it will work for all configurations of mining modules, it can handle multiple mining modules and multiple storage silos with no changes to the code.

Note: There is a bug in the game where the rocket will only mine coal and water ice. Quit to OS and reload the game to fix this.

Update 28/9/2021: total rewrite adding automatic refuelling and automatic relaunch.
Update 29/9/2021: Fixed silos not opening. Fixed will now travel to more than two locations. Fixed errors if rocket has not been launched for the first time.
Update 8/4/2023: Added auto fuel mix balancing if using a mixer to fuel the rockets.
26 Comments
CTAKAHbI4 1 Oct, 2023 @ 4:05am 
Is this script still works? My rocket is normally launch and returns but doesn't mine ice and minerals.
Zarazek 5 Aug, 2023 @ 4:17pm 
after first run use labeler tool for setting gas mixer (66,7), this fix NaN Error
Widowmaker 4 Jul, 2023 @ 8:27am 
I think I figured out why it wasn’t working, when first hooking it up the fuel tank on the rocket is completely empty and it throws a NaN error. If you manually pump just a tiny bit of fuel into the rocket it will continue to work as intended.
Sparky 14 Jun, 2023 @ 11:26am 
Hi Mick, is this code now broken after recent IO update? can't get it to work now.
Th3Rust 21 May, 2023 @ 5:49pm 
[h1]hi there, thanks for the prog ![/h1]

i have a little issue, my rocket only does 2 travel step and after that, she wait to reach minimum fuel and she return, so i have to put high minimum fuel setting to avoid consuming any fuel for no reason. i have try every thing that i know and im a bit confuse too, so if you have any kind of solution, that will be appreciate ! thanks !
Kelvin 11 Mar, 2023 @ 6:51pm 
did we ever figure out the over pressurizing problem?
Chance Sarsis 7 Mar, 2023 @ 4:16am 
As BAW said, the code account for all tanks, ratheer than the engine tank, so harvesting gas end up forcing the rocket to fly on a dry tank and possibly getting lost.

furthermore, the gas from thee harvested tank does not empty out of the pipe either.
This work wonder for ice, mining, salvaging, but gas is not working properly
[PBS] Sniped2Death 3 Mar, 2023 @ 7:00am 
The Pipe Feeding the rocket has an imbalance of oxy and volatiles and will over pressure after a few launches.
lobster2b 24 Feb, 2023 @ 7:34am 
In regards to the rocket running out of fuel:
My rocket is from top down: Auto,Gasminer,fuelstorage,silo,oreminer,fuel,engine

As i have multiple launches where the fuel tank will just stop rapporting any change in the fuel tank, i have noticed that the rocket have drawn its vol and 02 from the gasmining tank rather then the fuel tank itself, it looks like it draws vol and o2 directly from the tank regardless of the fuel mix ratio and the precense of other gasses aswell.
My fuel is increasing as i have mined over 300 stacks on the rocket silo.

I have also noticed that the fueltanks are still "connected" to the launch ramp and you are able to refill while in flight, or draw from the tanks
B.A.W._Killer 25 Nov, 2022 @ 2:59pm 
I think I found a problem, when a gas-miner is added and gas is stored in a separate fuel-tank, the mined gas counts towards the total fuel so the rocket runs out of fuel thinking it has more fuel than it does. maybe we need an update from the codemaster :)