Stationeers

Stationeers

Not enough ratings
Automated Rocket IC
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
167.339 KB
Mar 29, 2021 @ 2:16pm
1 Change Note ( view )

Subscribe to download
Automated Rocket IC

Description
Based on "Automated Rocket IC" from Clean Karma with some cleaning, changes and improvements!

Rocket:
Launch pad, Rocket engine, Fueltank, Ore Mining Module, Coupling Module (up), Silo, Coupling Module (down), Ice Mining module, Automation module.

Ground setup:
IC Housing with IC (contaning this code), Led display (small), Button.

IC Housing setup:
d0 - Rocket Automation module
d1 - Rocket Ore Mining Module
d2 - Rocket Ice Mining module
d3 - Rocket Silo
d4 - Display
d5 - Button

How to use it:

Add fuel to your rocket. (On Venus, be sure to keep your fuel cool. The temperature rises quite fast and the fuel self-ignites at 32C).
Press Button to begin countdown for launch (Display shows 10, 9, 8....0)

The display will show the following rocket modes:
0 - Idle
1 - Launching
2 - Traveling
3 - Arrived
4 - Idle at destination
5 - Returning to launch
6 - Returned
7 - Lost in space (Ohh no!!!)
8.XX - Mining (XX = Silo content in %)
9.XX - Unloading (XX = Silo content in %)

Button can be used during mining to make the rocket return home.
Otherwize it will continue to mine, travel, mine, travel... until fuel is low or silo is full. Then it will automatically return home (If you are lucky =).
After landing it will begin to auto unload silo content. (add chutes or take cover).
28 Comments
engelofwar Mar 2, 2023 @ 1:32am 
@giorgiobusoni

The lines in question are line 70 and 118 (in the original) - I solved it by defining a quantityP in the register in the definition, changing the first quantity to quantityP in lines 79 and 128, and in the respective lines below have also replaced the quantity with quantityP.

Then the rocket worked flawlessly for me.

Wait a minute, I think I've just looked through the relevant part: In the original, he calculates the current load by the maximum load - e.g. 75 by 100 (100 is Silomax) - i.e. 0.75 - and checks against the maximum load - i.e. 100. Which is just wrong and I corrected with an additional variable.

Clearly explained?
giorgiobusoni Feb 26, 2023 @ 2:35am 
Hi @engelofwar

could you tell me what modifications you did in the code?

thanks

Also: can you run this only for ICE mining?
Odoiporos Oct 17, 2022 @ 12:37pm 
also is it possible to enable only ice mining with this setup?
Odoiporos Oct 17, 2022 @ 12:31pm 
hi i have sent it twice and returned.
has anyone concluded that at least for gasses (vol and O2) is it worth? when you use a mix of vol & o2 as fuel
i am not sure if i gain or its the same, what i spend to fuel it up, is what i receive at the return
Up2Dat3 Oct 17, 2022 @ 7:43am 
Hi. i need some help
I built everything according to the instructions, loaded the code and set it up.
If I send the rocket into space now, it will work as it should. It works in mode 8 to 8.99 and then immediately switches to mode 9.xx without returning to the station first. What am I doing wrong?
Holle Aug 9, 2022 @ 5:29am 
i have loaded it up with lots of fuel and ind worked perfectly also have enterd multiplier of 1.4 for secure return. But now, when it's full of fuel, i get (Status) "14" on the display. what does that mean?
PlasmaBlister Jul 28, 2022 @ 1:41pm 
worked at first try for me!
engelofwar May 16, 2022 @ 10:28am 
@MasterChief S117
Das ist merkwürdig, das bei dir die Zeilen nicht übereinstimmen... Wobei: Ich hab sie nicht im Spiel im Editor angeschaut, sondern extern in Notepad++, eventuell sind deswegen die Zeilen anders... Darauf hab ich nicht geachtet bzw nicht bedacht.
Stimmt, daran wird es gelegen haben, das "meine" Zeilennummern falsch sind. Sorry ^^
MasterChief S117 May 16, 2022 @ 10:05am 
edit

und der darauffolgenden Zeile natürlich auch^^
MasterChief S117 May 16, 2022 @ 10:03am 
@engelofwar

Danke für die schnelle Antwort du bist Top!!!!

Also meine Zeilen passen mit deinen überhaupt nicht überein.ich habe die erste quantity division bei Zeile 70 und die zweite bei Zeile 118.

Dann habe ich in Zeile 13 einen alias hinzugefügt für quantityP r6. Dann sind meine Zeilen auf 71 und 119 in denen ich jeweils so wie du vorgeschlagen hast das erste quantity in quantityP umbenannt und voile es funktioniert. Vielen dank nochmal :steamthumbsup: