Microcontrollers & Logic

From Unofficial Stormworks Wiki
Revision as of 16:02, 17 March 2026 by Tictactoe1609 (talk | contribs) (Tictactoe1609 moved page Microcontrollers to Microcontrollers & Logic: Misspelled title: added "& Logic")
Jump to navigation Jump to search

Introduction

Microcontrollers are a way of condensing logic in Stormworks, they are programable processors that can be custom made to fulfil a wide array of tasks and use cases within Stormworks using Lua blocks, Logic Gates, mathematical functions, etc. With microcontrollers (MCs) you can use a variety of logic gates that are not accessible through the traditional parts menu within the vehicle builder, as a result not only are MCs good at condensing logic, but also give the player access to a wider variety of options and paths to take in order to fulfil the required task.

This page will go over how to create a microcontroller, and go through a majority of the logic blocks that are found within Stormworks and show you examples on how they are used with images.

Creating a Microcontroller

MC Tab Location

Properties Initial setup.

Parts Menu Example

Step 1 in any MC is creating one. At the top of your vehicle editor you will see 8 tabs, you want to select the final one labelled "Microcontroller Editor". Once in this mode, it will default you to the "Design" settings and you will see 3 tabs; "Properties", "Logic" and "Symbol".

  • Properties tab is where you will define a name and description for your microcontroller; this is what it will appear as in your parts menu. You also will have the opportunity to define the size of your microcontroller; with the smallest scale being 1 Block × 1 Block × 1 Block and the maximum being 6 Block × 6 Block × 1 Block. It is important to select the correct size however this can be edited at any time, you can make it as large as possible and condense later.
  • Logic tab is where you will set the various logic nodes.
  • Symbol Tab is where you will setup the symbol that will appear in the parts menu for your microcontroller. This is done by toggling each pixel from dark grey to light grey in a 16 × 16 grid.

Logic Nodes

Step 2 in creating a microcontroller is assigning your Logic Nodes. To do this, go to the "Logic" tab in the microcontroller designer and select the large blue addition symbol which is labelled "Add Node" when you hover your mouse over it. Once done, you will see a red on/off input node appear in the list, as well as a red circle appear on the microcontroller in the bottom left slot. From here, we can choose between various types of logic nodes;