At any time after your level directory is created, open up the game console and enter the command dev_mode on . This will enable the component menu on the level map, as well as enabling all available components including those normally hidden during gameplay.
Adding the component to the map[edit | edit source]
For our current purposes, we want the component called Level component:

Place the component and rotate it until the lock icon is facing the correct direction, the pale pink pin is the input, the red one is the output:

Setting the component's name[edit | edit source]
The component will now display its name as Level ' 'not found (alongside the level ID), similar to:

To fix this, select your new component edit the Level textbox in the bottom panel.

Attaching the component to the campaign[edit | edit source]
You can now connect your component to the rest of the level map by drawing wires as normal. The component will automatically update its state to yellow (available but not yet completed) as soon as it receives an
signal from another component (a prior completed level, or any other component such as Constant ON). Of course, if you connect it to an incomplete level it will remain red (locked).
Saving your changes[edit | edit source]
Once you are satisfied with your level's position and connections, access the game console once more and run the command save_level . This command will overwrite the map's circuit.data.
dev_mode off after you've completed your updates. You will not be able to load the level directly from the map while dev_mode is enabled (it selects the component instead but you can use the Load button on the bottom panel instead).circuit.data is a binary file and automatic merging is generally not possible.
You will have to choose between the convenience of simply clicking your level to load it and dealing with potential conflicts when they arise, or waiting until the last minute to add your level to the map and stick with using the load button.Game Updates[edit | edit source]
Any game update (or Steam's Verify Files) will replace your custom level map with the default. It's recommended to make a backup copy of the campaign/main/ folder so you can recover your customizations after they get wiped.
