(Created page with "{{Breadcrumbs|Alpha Branch|Custom level creation}} The <code>circuit.data</code> file contains the default layout of the level. It is the same file format as the <code>circuit.data</code> associated with player schematics, and is created and modified in-game in much the same way as regular play. The two biggest differences are that we want to allow and utilize indelible (red) components to pre-defined required components (currently only the various styles of input and...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{Breadcrumbs|Alpha Branch|Custom level creation}} | {{Breadcrumbs|Alpha Branch|Custom level creation}} | ||
{{Early-access-version|0|1346}} | |||
The <code>circuit.data</code> file contains the default layout of the level. It is the same file format as the <code>circuit.data</code> associated with player schematics, and is created and modified in-game in much the same way as regular play. The two biggest differences are that we want to allow and utilize indelible (red) components to pre-defined required components (currently only the various styles of input and output pins, delay lines and registers are available as indelible components), and that we need to use a command to write our changes back to the level directory. | The <code>circuit.data</code> file contains the default layout of the level. It is the same file format as the <code>circuit.data</code> associated with player schematics, and is created and modified in-game in much the same way as regular play. The two biggest differences are that we want to allow and utilize indelible (red) components to pre-defined required components (currently only the various styles of input and output pins, delay lines and registers are available as indelible components), and that we need to use a command to write our changes back to the level directory. | ||
Latest revision as of 00:45, 15 January 2025
The circuit.data
file contains the default layout of the level. It is the same file format as the circuit.data
associated with player schematics, and is created and modified in-game in much the same way as regular play. The two biggest differences are that we want to allow and utilize indelible (red) components to pre-defined required components (currently only the various styles of input and output pins, delay lines and registers are available as indelible components), and that we need to use a command to write our changes back to the level directory.
To do that, first create your level directory as described under Getting Started. Once you have level directory, you can load your level by opening the game console and running the load my_level
command (if your new level directory is named my_level
).
load
command performs a normal game level load, including the last opened schematic. Make sure to create a new schematic before proceeding, if necessary.After your level is loaded, open the game console again and run the dev_mode on
command to enable the DEV
component menu where the indelible components are located. Place and adjust components as necessary. You can include pre-defined bit (blue) and word (green) components as well as wiring if you desire, but keep in mind the player will be able to modify or delete such components and wiring. Only the indelible (red) components are locked and cannot be removed during normal gameplay.
Once you are satisfied with your level layout, open the game console once more and run the save_level
command to store your changes in the level's circuit.data
.
circuit.data
in your save directory, and it will load and save as normal. However, that will not update the circuit.data
in the game directory, so be sure to run the save_level
command separately.