Hi, welcome to this post, This Stationeers – Automated Rocket IC Code Guide was written to be of use to you, and it is our honest hope that you will find that to be the case.
This guide will show you the Automated Rocket IC Code.
Currently for Gas + Ice Mining.
Automated Rocket IC Code
To start, turn the IC housing on.
To stop, turn the IC housing off. But you will need some form of manual control, to send an activate 5 to the command module.
A simple dial + reader/writer will accomplish this.
Otherwise, turn the housing off, while the rocket is landed.
Make sure the devices are named properly. You will find the naming in the HASH(“NAME OF MODULE”)
lower fuel tank, needs to be named fueltank1 and so on.
you can change these names, but make sure you change them in the code. anywhere it says HASH(“NAME”) the name portion needs to be the exact name of the device, named with labeler.
Rocket setup (from ground up) = launch pad>engine>fueltank1>fueltank2>coupler down>gas miner>ice miner>coupler up>silo>automated command module
You will also need 1x refueling device. d0, which is a pump/regulator to refuel.
You will also need 1x unloading gas device. d1 which is a pump/regulator to unload
You will also need some form of chute system to unload the ice. or let it fall to the ground, that’s on you.
d0 = Regulator or Pump, to refuel “fueltank1”
d1 = Regulator or Pump, to Unload “fueltank2”
d2 = Ice mining module
Edit the following values in their “move” command line, to fit however you wish the rocket to function.
R1 = the amount of fuel you want the rocket to refuel up to, before launching (in moles)
R3 = The amount of gas in fueltank2 you want the rocket to stop mining and return to unload (in moles)
R5 = The amount of ice in the silo you want the rocket to stop mining and return to unload
R8 = the amount of fuel you want the rocket to stop mining and return to unload, if the rocket gets to this point (in moles – 500 required to land. I use 1200 as a safe point)
R15 = depending on how fast your gas unloading is, this is the value of moles you want to wait for it to unload to. I don’t like waiting for it to unload all the way to 0, so i put it to 10 for time purposes. you can set this to 0 to unload fueltank2 100%
************************
************************
define Command 1556756312
define GasMiner -1969723301
define IceMiner 74521920
define IceSilo 906210602
define FuelTank -505333199
alias RefuelPumpDevice d0
alias UnloadPumpDevice d1
alias UnloadIceDevice d2
alias CurrentFuel r0
alias MinimumLaunchFuel r1
alias CurrentGasStorage r2
alias MaximumGasStorage r3
alias CurrentIceStorage r4
alias MaximumIceStorage r5
alias CurrentMode r6
alias Mineables r7
alias MinimumReturnFuel r8
alias Refuelneeded r9
alias UnloadGasneeded r10
alias UnloadIceneeded r11
alias TravelMode r12
alias IdleMode r13
alias Landed r14
alias UnloadGasToThisPoint r15
PreLaunch:
sbn Command HASH(“Command1”) Activate 0
move r1 5000
move r3 20000
move r5 150
move r8 1200
move r12 2
move r13 4
move r14 0
move r15 10
Unload:
jal Checks
s d0 On r9
s d1 On r10
s d2 Open r11
PreLaunchCheck1:
beqz r9 PreLaunchCheck2
j Unload
PreLaunchCheck2:
beqz r10 PreLaunchCheck3
j Unload
PreLaunchCheck3:
beqz r11 Launch
j Unload
Checks:
lbn r0 FuelTank HASH(“Fueltank1”) Quantity 0
lbn r2 FuelTank HASH(“Fueltank2”) Quantity 0
lbn r4 IceSilo HASH(“Silo1”) Quantity 0
slt r9 r0 r1
sgt r10 r2 r15
sgtz r11 r4
j ra
MissionChecks:
lbn r0 FuelTank HASH(“Fueltank1”) Quantity 0
lbn r2 FuelTank HASH(“Fueltank2”) Quantity 0
lbn r4 IceSilo HASH(“Silo1”) Quantity 0
slt r9 r0 r8
bgtz r9 Land
sgt r10 r2 r3
bgtz r10 Land
sgt r11 r4 r5
bgtz r11 Land
j ra
Launch:
sbn Command HASH(“Command1”) Activate 1
j Travel
Travel:
jal MissionChecks
lbn r6 Command HASH(“Command1”) Mode 0
beq r6 r13 Mine
j Travel
Move:
jal MissionChecks
sbn Command HASH(“Command1”) Activate 1
yield
sbn Command HASH(“Command1”) Activate 2
j Travel
Mine:
jal MissionChecks
lbn r6 Command HASH(“Command1”) Mode 0
bne r6 r13 Mine
sbn GasMiner HASH(“GasMining”) Activate 0
sbn IceMiner HASH(“IceMining”) Activate 0
yield
yield
sbn GasMiner HASH(“GasMining”) Activate 1
sbn IceMiner HASH(“IceMining”) Activate 1
lbn r7 Command HASH(“Command1”) CollectableGoods 1
beqz r7 Move
yield
yield
yield
yield
yield
yield
j Mine
Land:
lbn r6 Command HASH(“Command1”) Mode 0
bne r6 r13 Land
sbn Command HASH(“Command1”) Activate 5
j Landing
Landing:
yield
lbn r6 Command HASH(“Command1”) Mode 0
yield
beq r6 r14 PreLaunch
j Landing
We hope you found it useful; it has been our pleasure to walk you through the Stationeers – Automated Rocket IC Code Guide. If you see any mistakes or have suggestions for how we can improve this page, do let us know in the comments. I appreciate your time and effort, and I wish you a wonderful day! I feel it’s important to give credit where credit is due, so I’d like to point out that this tutorial was inspired by a post that Wyatt Erpman published. If you liked this post, you should check back regularly because we publish new information every day.
- All Stationeers Posts List
Leave a Reply