In other languages: Deutsch Français 日本語 Русский Українська 简体中文

Blueprint: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added description of parameterisation. It's not perfect, but it's something for now.)
 
(73 intermediate revisions by 25 users not shown)
Line 1: Line 1:
{{Languages}}
{{Languages}}
[[Blueprint]]s are a smart way to 'copy & paste' parts of a factory with help of [[Construction robot]]s.
{{:Infobox:Blueprint}}


{| class="wikitable"
{{cleanup|2.0 changes, such as quality of life features and parameterization.}}
| ''' Recipe: ''' || {{icon|advanced-circuit|1|Advanced circuit}} + {{icon|time icon|1|Time}} => {{icon|blueprint|1|Blueprint}}
|-
| ''' Req. technology: ''' || {{icontech|automated-construction||Automated construction}} [[Automated construction]]
|}


== Craft a blank blueprint ==
'''Blueprints''' are items that contain building layouts. Blueprints are used to 'copy & paste' parts of a factory. Built areas can be selected for inclusion in a blueprint. When a blueprint is placed, a [[ghost]] of the layout appears on the ground. This can be used as a guide for manually placing factory pieces, or, more commonly, handed over to [[construction robot]]s for automated completion.


Blank blueprints can be crafted in the crafting menu in the top row of the production tab. The blank blueprint can now be used to 'copy' a set of buildings.
Blueprints can be stored in a [[blueprint book]] or [[blueprint library]] to prevent them occupying inventory space or for organization or sharing purposes.


For example we will copy this small laser defense setup: [[File:Blueprint-example-01.png‎]]
== Achievements ==
{{Achievement|automated-construction}}
{{Achievement|you-are-doing-it-right}}


== Create a blueprint ==
== Usage ==


To create a blueprint select it out of the toolbar or the inventory. With the blueprint icon shown next to the mouse cursor, click and hold the left mouse button and drag a box as large as needed. All buildings which will be included in the blueprint will be highlighted green. If everything to 'copy' is inside the drag box, release the mouse button, and the 'Blueprint icon setup' menu will open.
Blank blueprints can be crafted by clicking the ( [[File:Blueprint_button.png|20px]] ) button in the [[shortcut bar]]. The blank blueprint can now be used to 'copy' a set of buildings. For example, copying this small gun turret defense setup:
 
[[File:Blueprint-example-01.png]]
 
=== Create a blueprint ===
 
To create a blueprint select the blueprint item out of the toolbar or the inventory.
With the blueprint icon shown next to the mouse cursor, click and hold the left mouse button and drag a box as large as needed (which can be cancelled by pressing {{key|Q}}).
 
All player-placed entities which will be included in the blueprint will be highlighted with a green square.
Once everything you intend to 'copy' is inside the drag box, release the mouse button and the 'Blueprint icon setup' menu will open.


[[File:Blueprint-example-02.png‎]]
[[File:Blueprint-example-02.png‎]]


== Blueprint icon setup ==
=== Blueprint icon setup ===


On the top left of the 'Blueprint icon setup" menu there are four icon slots. The game chooses automatically the number of icons and which are pre-selected depending on the number of buildings that are included. This can be changed by simply clicking on the icons to choose the desired ones.  
On the top left of the "Setup new blueprint" menu there are four icon slots. These are displayed on the blueprint's icon and can be used to quickly identify a blueprint. When creating a new blueprint, the game automatically selects some of the icons representing the entities in the blueprint.  


On the top right there are two icons to 'create blueprint' and 'cancel blueprint'. The 'create blueprint' icon will also show a preview of how the blueprint icon will look after creation.
These default icons can be changed by simply clicking on the icons to choose the desired ones.


The 'Blueprint preview' just shows the preview of the blueprint.
On the left the 'Total' number of components included in the blueprint is shown.


On the bottom is shown the 'Total' number of buildings included in the blueprint.
The green "Create blueprint" button creates the blueprint. Additionally, blueprint creation can be cancelled by clicking the X in the top right corner. Canceling the blueprint does not consume the blueprint item. The created blueprint will replace the empty blueprint in the player's cursor.


Create the blueprint if everything is fine or cancel it. Canceling does not consume the blueprint item. The created blueprint will be in the toolbelt or the inventory (or dropped to ground if no toolbelt slot is available).
[[File:Blueprint-example-03.png‎]]


[[File:Blueprint-example-03.png‎]]
=== Placing the blueprint ===
 
To use/place the created blueprint select it from the tool belt or inventory. The process of placing a blueprint is very similar to that of using [[copy and paste]] functionality.
 
When you select a blueprint, the whole building setup of the blueprint will be shown at your mouse cursor. In this case the Blueprint was renamed to "Example blueprint".


== Place the blueprint ==
It is possible to place the blueprint rotated; this is done by using the {{keybinding|R}} key.


To use/place the created blueprint select it from your toolbelt or inventory. The whole building setup of the blueprint will be shown at your mouse cursor. It is possible to place it rotated. The blueprint can be placed anywhere inside the green (or orange) 100x100 area of a [[Roboport]].
Placing a blueprint creates [[ghost]] entities. If these are within the green (or orange) 110×110 tiles area of a [[roboport]], or within range of a [[personal roboport]] installed in [[modular armor]] or [[spidertron]], construction robots may be able to build them using available materials.


[[File:Blueprint-example-04.png‎]]
[[File:Blueprint-example-04.png‎]]


After the blueprint gets placed somewhere, the buildings are placed as ghost buildings. [[Construction robot]]s will now start to pick up the needed items from the construction network and place them at the ghost buildings. The required items need to be in the network in an [[Active Provider chest]], a [[Passive Provider chest]] or a [[Storage chest]].
After the blueprint gets placed somewhere, the buildings are placed as ghost buildings.
[[Construction robot]]s will now start to pick up the needed items from the construction network/the player inventory (if using a personal roboport) and place them at the ghost buildings.
 
The required items need to be in the network in an [[active provider chest]], a [[passive provider chest]], a [[buffer chest]] or a [[storage chest]].


[[File:Blueprint-example-05.png‎]]
[[File:Blueprint-example-05.png‎]]


== Deleting a blueprint ==
Blueprints can be placed from map view as long as the area has been explored.
 
[[File:Factorio_Blueprint_MapView.jpg|250px]]
 
=== Viewing and clearing a blueprint ===
 
Right clicking on a blueprint allows you to view, edit and clear it.
By clearing it, it will become blank so it can be set again.
 
=== Parameterisation ===
Any building that contains parameters can be customized in the blueprint tool, both when creating the blueprint, and when placing one. The following example will demonstrate parameterisation with a constant combinator:
[[File:parameterisation_example1.png]]{{clear}}
 
Note in the image, the values set for the iron plate, copper plate and the letter A. The paramaterisation button is a pink square, and once clicked for this example, we will get a screen like this. We can name different parameters, and can also select which ones can be changed later:
[[File:parameterisation_example2.png]]{{clear}}
 
In this example, we select two parameters, which is the iron plate and copper plate:
[[File:parameterisation_example3.png]]{{clear}}
 
Then we get this small screen when placing a blueprint with parameter checkboxes ticked. We change those two parameters to '1' and '2', which were the iron plate and copper plate:
[[File:parameterisation_example_sm.png]]{{clear}}
 
The end result is this, we have replaced two of those choices with '1' and '2', note that the value of 5 remained for those two signals:
[[File:parameterisation_example4.png]]{{clear}}
 
== Importing/Exporting blueprints ==
 
It is possible to export blueprints as a text string and import said text string to create a new blueprint. This makes sharing blueprints between players very easy.<br>
Clicking the '''Export to string''' button ( [[File:ExportToString.png|25px]] ) in the top right of the blueprint edit window will pop up a window containing the '''Blueprint string'''. This string can be copied to the operating system clipboard, from where it could be saved to a text file or uploaded to a website.
 
To import a blueprint, the player can click the '''Import string''' icon on the [[shortcut bar]] ( [[File:ImportString.png|25px]] ). A dialogue box will appear into which the string can be pasted. This will result in a blueprint appearing on the hand with the same setup as the one that was exported.
 
The text string itself is a base64 encoded, compressed JSON string which contains all the information of the blueprint. It is therefore possible to decode/decompress the text string, change attributes of the blueprint in the JSON text and finally re-encode/compress it back to the known text string format. This basically allows blueprint editing outside of the game itself.
 
A complete explanation of the blueprint JSON can be found on the [[blueprint string format]] page.
 
== Additional information ==
 
* Once a blueprint is created, it can be used an unlimited amount of times.
* To place a blueprint that is blocked by existing buildings, you can hold {{key|Shift}} to place the objects that aren't blocked.
* The above trick will also mark [[rock]]s and [[tree]]s for deconstruction.
* Buildings marked for [[Deconstruction planner|destruction]] will not block placing a blueprint. The blueprinted building cannot be placed if there are any buildings in the way. This can cause an item outside the construction zone to block construction of a 2×2 building on the edge of the zone.
* The maximum of size a blueprint is 10k by 10k [[Map_structure#Tile|tiles]].
 
== History ==
{{history|0.17.10|
* "Make blueprint" function is now accessible via keyboard shortcut.}}


Blueprints can be deleted by right clicking them, which requires one [[Electronic circuit]]. After that the blueprint will be blank again.
{{history|0.17.0|
* Trains can be blueprinted.}}


== Additional informations ==
{{history|0.15.24|
* In multiplayer, admins are allowed to modify other players' blueprints in the library, including deleting them.}}


* Once a blueprint is created it could be used unlimited times.
{{history|0.15.3|
* To place a blueprint that is blocked by existing construction you can hold shift to place the things that aren't blocked.
* Blueprints can be destroyed by clicking the trash can icon in the GUI.}}
* Buildings marked for destruction will not block placing a blueprint. The building cannot be placed until a construction bot can remove it. This can cause an item outside the construction zone to block construction of a 2x2 building on the edge of the zone.
 
* It is unknown if there is a limit about the size of a blueprint. But it could at least be bigger then one screen even when zoomed out max.
{{history|0.15.0|
* Placing very large blueprints can be problematic when parts of it are out of the roboport construction area. If roboports are part of the blueprint and are placed inside the construction area they will extend the logistics zone as soon as it is powered up.
* [[Blueprint library]] introduced: Allows for keeping player's blueprints between individual game saves and allows sharing blueprints in multiplayer games. Also serves as unlimited inventory space for blueprints.
* Ghost-buildings stay for 5 minutes, after that they get removed. So be sure to have all items needed to build in this time frame. You can refresh the time limit by placing the blueprint again.
* The build rotation of each blueprint is remembered independently of the general item build rotation.
* Alternative select with blueprints (shift + select) skips the blueprint setup GUI.
* Added ability to export and import blueprints, blueprint books, and deconstruction planners as strings.
* Blueprints, blueprint books and deconstruction planners are obtainable from the library GUI with no crafting cost.}}
 
{{history|0.14.15|
* Changed the clear blueprint icon to the trashcan icon and moved it to the left of the cancel button, to make it less confusing for users.}}
 
{{history|0.13.13|
* Added [[Types/EntityPrototypeFlags|entity prototype flags]] not-blueprintable and not-deconstructable, so these can be controlled by mod makers.}}
 
{{history|0.13.9|
* Added tips and tricks for pasting wagon slots and cycling in [[blueprint book]].}}
 
{{history|0.13.7|
* Rocks can be mined while holding blueprints.}}
 
{{history|0.13.5|
* Blueprints with labels will now show the label when holding them in the active hand.}}
 
{{history|0.13.0|
* Blueprints can now be edited.
* Added the [[blueprint book]] item, can hold multiple blueprints in one item.
* Modules are now supported by blueprints.
* Optimized drawing of connections between [[roboport]]s in blueprints.
* [[Circuit network#Virtual_signals|Virtual signals]] can be used in blueprint icons.
}}
 
{{history|0.12.2|
* Enabled swapping held blueprints with other blueprints directly.
* Force building blueprints will mark colliding trees for deconstruction.}}
 
{{history|0.12.0|
* Enabled mining trees/ghosts while holding blueprints to be built.
* Building blueprints over existing ghosts restores the ghost's life time.
* Proper blueprint centering.
}}
 
{{history|0.11.18|
* Blueprints can be built over things marked for deconstruction.
* Blueprints can be force built by shift clicking.
}}
 
{{history|0.11.10|
* Added [http://lua-api.factorio.com/latest/LuaItemStack.html Lua API] for reading/writing information from blueprints.}}
 
{{history|0.10.2|
* The rotation of turrets in blueprints no longer matters when testing for entity collision.}}
 
{{history|0.10.0|
* Blueprints can copy [[circuit network]] connections.
* Miners in blueprints are now ignored if they are non-functional.
* An [[inserter]]'s logistic conditions are copied when blueprinting.
}}
 
{{history|0.9.4|
* Limit the size of the blueprint preview, so it is usable for very large blueprints.}}
 
{{history|0.9.2|
* The [[train stop]] and [[lab]] built from blueprints are now given dedicated names.}}
 
{{history|0.9.0|
*Introduced}}


== See also ==
== See also ==
* [[Deconstruction planner]]
* [[Deconstruction planner]]
* [[Upgrade planner]]
* [[Blueprint book]]
* [[Logistic network]]
* [[Roboport]]
* [[Personal roboport]]
* [[Construction robot]]
* [[Blueprint string format]]
{{ProductionNav}}
{{C|Tools}}

Latest revision as of 00:51, 11 November 2024

Blueprint.png
Blueprint

Blueprint-example-03.png

Stack size

1

Prototype type

blueprint

Internal name

blueprint

Not-enough-repair-packs-icon.png
Page "Blueprint" has been recommended for clean-up. Reason: 2.0 changes, such as quality of life features and parameterization.
This may mean fixing grammar or broken links, providing better explanations, or removing incorrect/outdated info.
Further recommendations for this page's clean-up can be made at Talk:Blueprint.

Blueprints are items that contain building layouts. Blueprints are used to 'copy & paste' parts of a factory. Built areas can be selected for inclusion in a blueprint. When a blueprint is placed, a ghost of the layout appears on the ground. This can be used as a guide for manually placing factory pieces, or, more commonly, handed over to construction robots for automated completion.

Blueprints can be stored in a blueprint book or blueprint library to prevent them occupying inventory space or for organization or sharing purposes.

Achievements

Automated-construction-achievement.png Automated construction

Construct 100 machines using robots.

You-are-doing-it-right-achievement.png You are doing it right

Construct more machines using robots than manually.

Usage

Blank blueprints can be crafted by clicking the ( Blueprint button.png ) button in the shortcut bar. The blank blueprint can now be used to 'copy' a set of buildings. For example, copying this small gun turret defense setup:

Blueprint-example-01.png

Create a blueprint

To create a blueprint select the blueprint item out of the toolbar or the inventory. With the blueprint icon shown next to the mouse cursor, click and hold the left mouse button and drag a box as large as needed (which can be cancelled by pressing Q).

All player-placed entities which will be included in the blueprint will be highlighted with a green square. Once everything you intend to 'copy' is inside the drag box, release the mouse button and the 'Blueprint icon setup' menu will open.

Blueprint-example-02.png

Blueprint icon setup

On the top left of the "Setup new blueprint" menu there are four icon slots. These are displayed on the blueprint's icon and can be used to quickly identify a blueprint. When creating a new blueprint, the game automatically selects some of the icons representing the entities in the blueprint.

These default icons can be changed by simply clicking on the icons to choose the desired ones.

On the left the 'Total' number of components included in the blueprint is shown.

The green "Create blueprint" button creates the blueprint. Additionally, blueprint creation can be cancelled by clicking the X in the top right corner. Canceling the blueprint does not consume the blueprint item. The created blueprint will replace the empty blueprint in the player's cursor.

Blueprint-example-03.png

Placing the blueprint

To use/place the created blueprint select it from the tool belt or inventory. The process of placing a blueprint is very similar to that of using copy and paste functionality.

When you select a blueprint, the whole building setup of the blueprint will be shown at your mouse cursor. In this case the Blueprint was renamed to "Example blueprint".

It is possible to place the blueprint rotated; this is done by using the R key.

Placing a blueprint creates ghost entities. If these are within the green (or orange) 110×110 tiles area of a roboport, or within range of a personal roboport installed in modular armor or spidertron, construction robots may be able to build them using available materials.

Blueprint-example-04.png

After the blueprint gets placed somewhere, the buildings are placed as ghost buildings. Construction robots will now start to pick up the needed items from the construction network/the player inventory (if using a personal roboport) and place them at the ghost buildings.

The required items need to be in the network in an active provider chest, a passive provider chest, a buffer chest or a storage chest.

Blueprint-example-05.png

Blueprints can be placed from map view as long as the area has been explored.

Factorio Blueprint MapView.jpg

Viewing and clearing a blueprint

Right clicking on a blueprint allows you to view, edit and clear it. By clearing it, it will become blank so it can be set again.

Parameterisation

Any building that contains parameters can be customized in the blueprint tool, both when creating the blueprint, and when placing one. The following example will demonstrate parameterisation with a constant combinator:

Parameterisation example1.png

Note in the image, the values set for the iron plate, copper plate and the letter A. The paramaterisation button is a pink square, and once clicked for this example, we will get a screen like this. We can name different parameters, and can also select which ones can be changed later:

Parameterisation example2.png

In this example, we select two parameters, which is the iron plate and copper plate:

Parameterisation example3.png

Then we get this small screen when placing a blueprint with parameter checkboxes ticked. We change those two parameters to '1' and '2', which were the iron plate and copper plate:

Parameterisation example sm.png

The end result is this, we have replaced two of those choices with '1' and '2', note that the value of 5 remained for those two signals:

Parameterisation example4.png

Importing/Exporting blueprints

It is possible to export blueprints as a text string and import said text string to create a new blueprint. This makes sharing blueprints between players very easy.
Clicking the Export to string button ( ExportToString.png ) in the top right of the blueprint edit window will pop up a window containing the Blueprint string. This string can be copied to the operating system clipboard, from where it could be saved to a text file or uploaded to a website.

To import a blueprint, the player can click the Import string icon on the shortcut bar ( ImportString.png ). A dialogue box will appear into which the string can be pasted. This will result in a blueprint appearing on the hand with the same setup as the one that was exported.

The text string itself is a base64 encoded, compressed JSON string which contains all the information of the blueprint. It is therefore possible to decode/decompress the text string, change attributes of the blueprint in the JSON text and finally re-encode/compress it back to the known text string format. This basically allows blueprint editing outside of the game itself.

A complete explanation of the blueprint JSON can be found on the blueprint string format page.

Additional information

  • Once a blueprint is created, it can be used an unlimited amount of times.
  • To place a blueprint that is blocked by existing buildings, you can hold Shift to place the objects that aren't blocked.
  • The above trick will also mark rocks and trees for deconstruction.
  • Buildings marked for destruction will not block placing a blueprint. The blueprinted building cannot be placed if there are any buildings in the way. This can cause an item outside the construction zone to block construction of a 2×2 building on the edge of the zone.
  • The maximum of size a blueprint is 10k by 10k tiles.

History

  • 0.17.10:
    • "Make blueprint" function is now accessible via keyboard shortcut.
  • 0.17.0:
    • Trains can be blueprinted.
  • 0.15.24:
    • In multiplayer, admins are allowed to modify other players' blueprints in the library, including deleting them.
  • 0.15.3:
    • Blueprints can be destroyed by clicking the trash can icon in the GUI.
  • 0.15.0:
    • Blueprint library introduced: Allows for keeping player's blueprints between individual game saves and allows sharing blueprints in multiplayer games. Also serves as unlimited inventory space for blueprints.
    • The build rotation of each blueprint is remembered independently of the general item build rotation.
    • Alternative select with blueprints (shift + select) skips the blueprint setup GUI.
    • Added ability to export and import blueprints, blueprint books, and deconstruction planners as strings.
    • Blueprints, blueprint books and deconstruction planners are obtainable from the library GUI with no crafting cost.
  • 0.14.15:
    • Changed the clear blueprint icon to the trashcan icon and moved it to the left of the cancel button, to make it less confusing for users.
  • 0.13.7:
    • Rocks can be mined while holding blueprints.
  • 0.13.5:
    • Blueprints with labels will now show the label when holding them in the active hand.
  • 0.13.0:
    • Blueprints can now be edited.
    • Added the blueprint book item, can hold multiple blueprints in one item.
    • Modules are now supported by blueprints.
    • Optimized drawing of connections between roboports in blueprints.
    • Virtual signals can be used in blueprint icons.
  • 0.12.2:
    • Enabled swapping held blueprints with other blueprints directly.
    • Force building blueprints will mark colliding trees for deconstruction.
  • 0.12.0:
    • Enabled mining trees/ghosts while holding blueprints to be built.
    • Building blueprints over existing ghosts restores the ghost's life time.
    • Proper blueprint centering.
  • 0.11.18:
    • Blueprints can be built over things marked for deconstruction.
    • Blueprints can be force built by shift clicking.
  • 0.11.10:
    • Added Lua API for reading/writing information from blueprints.
  • 0.10.2:
    • The rotation of turrets in blueprints no longer matters when testing for entity collision.
  • 0.10.0:
    • Blueprints can copy circuit network connections.
    • Miners in blueprints are now ignored if they are non-functional.
    • An inserter's logistic conditions are copied when blueprinting.
  • 0.9.4:
    • Limit the size of the blueprint preview, so it is usable for very large blueprints.

See also