Guide: Rocket Circuitry: Difference between revisions

From Space Exploration
Jump to navigation Jump to search
No edit summary
Line 24: Line 24:


Capsules and Cargo rocket parts are well suited for bot transport, since they are required in very few quantities. If you use Packed cargo rocket parts, you can build an entire rocket with only 21 bot trips (1 for the capsule, 20 for the parts).
Capsules and Cargo rocket parts are well suited for bot transport, since they are required in very few quantities. If you use Packed cargo rocket parts, you can build an entire rocket with only 21 bot trips (1 for the capsule, 20 for the parts).
== Which rocket system to choose? ==
This guide will go over Single-item rockets and Multi-item rockets. Here is a quick comparison:
'''Single-item rockets:'''
* + Very simple circuitry
* + Can make N-to-N delivery systems easily
* - Can only launch 500 stacks at a time.
* - You will need at least 1 launch pad and landing pad for every type of item you request.
* - Big buffer sizes: Each landing pad will keep 500 stacks of an item. Good for raw resources but not for manufactured products.
* Common use case: Delivering raw resources created from outposts (e.g. ingots or plates)
'''Multi-item rockets:'''
* + More flexible
* + Only buffer is 500 stacks for all items sent, not 500 stacks per item type. Convenient for expensive items or items you don't need that many of.
* - More complicated circuitry, and needs signal transmitters.
* - Only for 1-to-1 delivery
* - Need to handle items running out before the next rocket is full (see "Multi-item rockets" below)
* Common use case: Resupplying outposts with complicated products (e.g. rocket parts, meteor ammo, or mall items)


== Single-item rockets ==
== Single-item rockets ==
Line 43: Line 63:
Rocket launch pads are smart, and will wait for the target landing pad to empty before launching. Thanks to this, you can simply set your rocket to "Launch on Cargo Full", and you are done!
Rocket launch pads are smart, and will wait for the target landing pad to empty before launching. Thanks to this, you can simply set your rocket to "Launch on Cargo Full", and you are done!


In addition, another very convenient thing you can do is to target "Any landing pad with name X". This can be used for multiple-launch-pads to multiple-landing-pads delivery systems with no hassle.  
In addition, another very convenient thing you can do is to target "Any landing pad with name X". This can be used for multiple-launch-pads to multiple-landing-pads delivery systems with no hassle. If several rockets are ready, and one landing pad becomes empty, one of the rockets will be chosen at random to deliver to it.


By naming several landing pads the same name and targeting that name, your launch pad will launch to any empty landing pad. If there isn't any, it will wait. This is similar to how you can name multiple train stations the same name to have a train go to "any free station".
By naming several landing pads the same name and targeting that name, your launch pad will launch to any empty landing pad. If there isn't any, it will wait. This is similar to how you can name multiple train stations the same name to have a train go to "any free station".
Line 53: Line 73:
Your cargo will arrive at the destination mixed with any Cargo rocket parts that have survived (based on your re-usability tech) as well as the Capsule.
Your cargo will arrive at the destination mixed with any Cargo rocket parts that have survived (based on your re-usability tech) as well as the Capsule.


Make sure not to mix those with your cargo, by using filter inserters.
Make sure not to mix those with your cargo, by using filters (e.g. filter inserters, or filters on splitters).


== Multi-item rockets ==
== Multi-item rockets (or "mixed" rockets) ==
The idea behind Multi-item rockets (or "mixed rockets") is to check what you have at your destination, and fill the next rocket with what you are missing. This is a little more complex in terms of circuitry than single-item rockets, and needs signal transmitters. But compared to single-item rockets, it is more flexible and can let you have smaller buffer sizes of single-item rockets.
The idea behind multi-item rockets is to check what you have at your destination, and fill the next rocket with what you are missing. This is a little more complex in terms of circuitry than single-item rockets, and needs signal transmitters. But compared to single-item rockets, it is more flexible and can let you have smaller buffer sizes than single-item rockets.


=== Destination circuit ("I need this") ===
=== Destination circuit ("I need this") ===

Revision as of 19:29, 2 February 2022

by Wiwiweb#7381 as of 0.5.103

The first few rockets you will launch will be manual. But eventually, you're going to want rockets to be sent without your help at all. Depending on what setup you want, this can range from very simple circuitry requiring no combinators, to very complex ones.

This guide assumes you are a circuit beginner, and will guide you through the steps by explaining how they work. The goal is to show you various rocket setups, but also to teach you a little more about Factorio circuitry.

Preparing the rocket

How to insert capsule and parts without overflowing into cargo.

Regardless of what items you want in your rocket and what kind of logistic setup you want to design, first you need your rocket to be made.

Each rocket needs 1 Capsule, 100 Cargo rocket parts, and some rocket fuel (amount depends on destination). The rocket fuel can be filled with a pipe attached to any of the 8 connections of the rocket pad, and doesn't need any circuitry, so this guide will ignore it. The Capsule and Cargo rocket parts are inserted in the rocket like any assembler.

However, you can't simply put a requester chest and an inserter without any circuitry, because inserters will continue inserting even once the rocket is ready. They will start inserting capsules and rocket parts as part of your cargo!

To prevent this, the launch pad provides two signals indicating how many Capsules and Cargo rocket parts are in the rocket, including the ones used to prepare the rocket itself, and the ones in cargo.

Use each of these two signals with an inserter. One inserter to insert capsules, wired to work only when the rocket has less than 1 capsule. One inserter to insert parts, wired to work only when the rocket has less than 100 parts. See the picture on the right for an example.

Packed or unpacked rocket parts?

Note that instead of requesting cargo rocket parts directly, the setup on the right requests packed cargo rocket parts, and has an assembler to unpack them. This allows you to have 5 times fewer bot trips, which will save you bots from dying to attrition in the long run. If you prefer dealing in rocket parts directly, you can simply have 2 requester chests.

Capsules and Cargo rocket parts are well suited for bot transport, since they are required in very few quantities. If you use Packed cargo rocket parts, you can build an entire rocket with only 21 bot trips (1 for the capsule, 20 for the parts).

Which rocket system to choose?

This guide will go over Single-item rockets and Multi-item rockets. Here is a quick comparison:

Single-item rockets:

  • + Very simple circuitry
  • + Can make N-to-N delivery systems easily
  • - Can only launch 500 stacks at a time.
  • - You will need at least 1 launch pad and landing pad for every type of item you request.
  • - Big buffer sizes: Each landing pad will keep 500 stacks of an item. Good for raw resources but not for manufactured products.
  • Common use case: Delivering raw resources created from outposts (e.g. ingots or plates)

Multi-item rockets:

  • + More flexible
  • + Only buffer is 500 stacks for all items sent, not 500 stacks per item type. Convenient for expensive items or items you don't need that many of.
  • - More complicated circuitry, and needs signal transmitters.
  • - Only for 1-to-1 delivery
  • - Need to handle items running out before the next rocket is full (see "Multi-item rockets" below)
  • Common use case: Resupplying outposts with complicated products (e.g. rocket parts, meteor ammo, or mall items)

Single-item rockets

How to prevent the rocket pad from being blocked by cargo.

Single-item rockets are very simple and barely need any more circuitry than what we did to prepare the rocket.

Preventing the rocket pad from being blocked by too much cargo

If you simply use inserters to insert your cargo, you may run into an unexpected problem: Your rocket setup will work perfectly fine at first, but if you ever run out of capsules or rocket parts at some point, your cargo inserters will completely fill the rocket with cargo before the rocket is built, which will prevent your capsule/rocket part inserters from building the rocket once the materials are available again! You would need manual intervention to remove some cargo and get the rocket pad unblocked.

To prevent this, you can wire your inserters to only insert cargo when the rocket is fully built. Conveniently, the rocket pad has a signal that does exactly that. If the "rocket" signal is 1, the rocket is fully built, and you can let your inserters bring in the cargo.

Setting up your destination

Naming your landing pad and targeting the name.

Rocket launch pads are smart, and will wait for the target landing pad to empty before launching. Thanks to this, you can simply set your rocket to "Launch on Cargo Full", and you are done!

In addition, another very convenient thing you can do is to target "Any landing pad with name X". This can be used for multiple-launch-pads to multiple-landing-pads delivery systems with no hassle. If several rockets are ready, and one landing pad becomes empty, one of the rockets will be chosen at random to deliver to it.

By naming several landing pads the same name and targeting that name, your launch pad will launch to any empty landing pad. If there isn't any, it will wait. This is similar to how you can name multiple train stations the same name to have a train go to "any free station".

For example, by making a rocket full of iron ore that targets any landing pad named "Iron Ore", you will be able to place a landing pad anywhere you need iron ore, without worrying about which rocket needs to go where. As soon as you rename your landing pad to "Iron Ore", a rocket will arrive to fill it. This is very powerful.

Taking care of the capsule and rocket parts at the destination

Your cargo will arrive at the destination mixed with any Cargo rocket parts that have survived (based on your re-usability tech) as well as the Capsule.

Make sure not to mix those with your cargo, by using filters (e.g. filter inserters, or filters on splitters).

Multi-item rockets (or "mixed" rockets)

The idea behind multi-item rockets is to check what you have at your destination, and fill the next rocket with what you are missing. This is a little more complex in terms of circuitry than single-item rockets, and needs signal transmitters. But compared to single-item rockets, it is more flexible and can let you have smaller buffer sizes than single-item rockets.

Destination circuit ("I need this")

Source circuit

Advanced additions