The Control Station is a control room for the whole base. It finds every logic device on the data network by itself – also behind the data bridges of the Power Regulator and the Substation –, shows their values on large screens and controls them through a terminal. On top come an IC10 editor and slots for real IC10 chips right in the control desk. All models are original designs. Labels, screens and device names appear in German or English, depending on the game language.
Overview
| Device | Size | Screens | IC10 chip slots | Power | POWER + DATA port |
|---|---|---|---|---|---|
| Control Desk | 2.5 × 1 m, 1.64 m high, desk top 0.55 m | 3 large ones in an arc at eye level (centre 1.14 m), 2 desk screens | 4 (IC10 chip 1–4) | 250 W | back |
| Wall Monitor | wall, 1 × 1 m | 1 | – | 40 W | bottom left |
| Wide Wall Monitor | wall, 2 × 1 m | 1 | – | 80 W | bottom |
| Terminal (Wall) | wall, 0.5 × 0.5 m | 1 | 1 | 30 W | bottom |
| Terminal Stand | floor, 0.5 × 0.5 m, desk 35° from 0.55 to 0.83 m | 1, sloped | 1 | 30 W | back of the base |
| Script Screen Small | wall, 0.5 × 0.5 m | 1, freely programmable | 1 | 20 W | bottom |
| Script Screen Medium | wall, 1 × 1 m | 1, freely programmable | 1 | 40 W | bottom |
| Script Screen Large | wall, 2 × 1.5 m | 1, freely programmable | 1 | 120 W | bottom |
| Script Desk | floor, 1 × 0.5 m, desk 0.55–0.83 m | 1, freely programmable | 1 | 40 W | back |
| Large Display | wall, 3 × 2 m | 1, freely programmable | 1 | 240 W | bottom |
Every running IC10 chip needs 10 W extra. Every device has a battery bay for backup power, the control desk two, see Battery operation. The control desk also has a main switch, an ACK button and an alarm bar. Wall monitors and terminals have PAGE buttons and a main switch.
Requirements
- Stationeers 0.2.6428, BepInEx 5.4.23.5, StationeersLaunchPad 1.0, see Installation
- Mod in the active mod pack
- In multiplayer: the server and all players
Building and recipes
| Kit | Machine | Cost | builds |
|---|---|---|---|
| Kit (Control Desk) | Electronics printer, tier 2 | 20 steel, 20 copper, 10 gold, 15 silicon, 5 electrum | Control Desk |
| Kit (Wall Monitor) | Electronics printer, tier 1 | 8 iron, 6 copper, 2 gold, 6 silicon | Wall Monitor or Wide Wall Monitor (mouse wheel) |
| Kit (Terminal) | Electronics printer, tier 1 | 6 iron, 6 copper, 2 gold, 3 silicon | Terminal (Wall) or Terminal Stand (mouse wheel) |
| Kit (Script Screen) | Electronics printer, tier 1 | 8 iron, 8 copper, 3 gold, 6 silicon | Script Screen Small, Medium, Large or Script Desk (mouse wheel) |
| Kit (Large Display) | Electronics printer, tier 2 | 15 steel, 15 copper, 6 gold, 20 silicon | Large Display |
The character sees from a height of about 1 m, and all sizes follow from that. The wall terminal is best placed in the wall cell 1 m above the floor (0.75 to 1.25 m); the screen is then at eye level. Several wall monitors side by side make a monitor wall. The costs are in GameData/kontrollstation.xml in the mod folder.
First steps
- Connect a control desk or terminal with power and data to the base's data network, main switch ON. After a few seconds every device appears.
- Put wall monitors on the same data line. They show overview, power, rooms and alarms right away. Set up your own pages in the terminal, tab Monitors.
- Networks behind a Power Regulator or Substation: switch on the data bridge there, then the station sees those devices too.
- Clicking a screen opens the terminal.
All stations on one data line form one system: the same devices, shared groups, scenes, alarms and monitor pages. The setup is saved with the game, in the two stations with the lowest ids.
Screens
Every page is made of large tiles with colour status, readable while standing. Alarms flash.
| Page | Content |
|---|---|
| Overview | the essentials of the system |
| Power | generation, demand, batteries, cable load per network |
| Rooms | pressure, temperature, oxygen, gas mix |
| Tanks | pressure, temperature and gas mix of the tanks |
| Doors | doors and airlocks |
| Alarms | open alarms, flashing until acknowledged |
| History | curves of any values |
| Favourites | devices marked as favourite |
| Custom tiles | device or group with value, unit, bar, warning and alarm limit |
| Device list | devices of one category |
| IC10 chips | state of the inserted chips |
Which pages a screen shows and in which order is set in the Monitors tab. Pages change with the PAGE buttons, automatically every n seconds or by IC10. Screens are only drawn within sight (default 35 m), further away the last picture stays.
Terminal
Clicking a screen with an empty hand opens a large window for the system of that station. With TerminalTaste you can also assign a key that opens the terminal of the nearest station within 4 m.
| Tab | Content |
|---|---|
| Overview | summary of the system |
| Devices | every logic device in categories (Power, Atmosphere & rooms, Tanks & pipes, Doors & airlocks, Lights, Production, Sensors & logic, Control system, Mods, Other). Read every value, set every writable one, rename, mark as favourite or critical |
| Groups & scenes | many devices with one click; scenes as a sequence of steps with waiting times |
| Alarms | open alarms, acknowledge, own rules, automatic alarms, log |
| Monitors | pages and tiles per screen |
| History | curves of any values, saved with the game |
| IC10 | editor with checker, instruction help, simulator, pins and station memory |
| Settings | name, lock, screen mode, permissions, backup |
Safety prompt: before critical actions the terminal asks first: power off, opening an airlock, groups of 5 or more devices, devices and scenes marked critical, overwriting code. Can be switched off with Sicherheitsabfrage.
Alarms
- Own rules: device or group, value, limit, hysteresis, delay and level.
- Automatic: pressure, temperature, oxygen and CO2 in rooms, battery level, cable load and device faults.
- Levels: 1 notice, 2 warning, 3 alarm.
- Open alarms sound at the stations, hearing distance 20 m. ACK on the control desk, in the terminal, by IC10 or
ks quittacknowledges all. - Since 1.0.3 there is exactly one sound per system. It stops at once when acknowledged, as soon as no alarm is active any more, when switched off, without power, when removed and out of hearing range; a new alarm starts it again. Other players get the acknowledgement immediately.
ks soundshows the running alarm sounds.
Permissions
In multiplayer every player has one permission level at all control stations:
| Permission | may |
|---|---|
| Ansehen (view) | look only |
| Bedienen (operate) | switch, acknowledge, start scenes |
| Einrichten (set up) | plus groups, alarms, monitors and IC10 code |
| Verwalten (manage) | plus assign permissions |
New players get the level from RechtMitspieler (default: Einrichten). It can be changed per player in the terminal. The server and single player may do everything.
IC10 chips in the control desk and terminal
The control desk has four slots IC10 chip 1–4, every terminal, terminal stand, script screen, script desk and the large display one each. The chip symbol "IC10" is printed at each slot.
- Insert an Integrated Circuit (IC10) from the electronics printer into a slot.
- Click a screen and open the IC10 tab in the terminal.
- Write the code and click Write to chip.
- Under Pins d0–d5 pick any devices of the system, without cables or screwdriver.
- Start.
| LED at the slot | Meaning |
|---|---|
| green | chip running |
| orange | error or hcf |
| off | empty or halted |
- The chips run on the game's original interpreter, 128 instructions per tick.
dbis the station itself. Batch instructions such aslbnandsbnreach the whole data network, also behind data bridges.l/s/get/putalso take a ReferenceId in a register – so a chip in the control desk can draw on any script screen.hcfhalts the chip and shows an error; the station is not damaged.- All chips of a station share the station memory
get/put db 0–511. System values start at address 512 (below). - The code lives on the chip. The Editor Tablet and the game's computer can read and write it. From the terminal, code can also be written to any IC housing on the network.
- With
ProzessorenAktivoff the slots only store chips.
In the editor, "25C" becomes 298.15 when you type space or enter, optionally with the comment # 25 C. The checker also shows style hints such as registers without alias or raw hash numbers.
Script screens
| Device | Size | Picture | Grid | Row | Power |
|---|---|---|---|---|---|
| Script Screen Small | wall 0.5 × 0.5 m | 0.42 × 0.27 m | 23 × 7 | 36 mm | 20 W |
| Script Screen Medium | wall 1 × 1 m | 0.94 × 0.82 m | 46 × 20 | 40 mm | 40 W |
| Script Screen Large | wall 2 × 1.5 m | 1.94 × 1.32 m | 77 × 26 | 50 mm | 120 W |
| Script Desk | floor 1 × 0.5 m, desk 0.55–0.83 m | 0.90 × 0.25 m | 55 × 7 | 33 mm | 40 W |
| Large Display | wall 3 × 2 m | 2.94 × 1.82 m | 78 × 24 | 75 mm | 240 W |
The Kit (Script Screen) builds the first four (electronics printer tier 1, mouse wheel switches the shape), the large display has its own kit (tier 2). Each has a slot for an IC10 chip, a battery bay, function keys F1/F2 and a main switch; POWER + DATA port at the bottom (desk: at the back). Rotate in build mode with C + mouse wheel.
Every screen of the system can show a script picture – control desk, wall monitors and terminals too: add the page "Script" in the Monitors tab (the Scripts tab offers a button). Script screens show the page by themselves.
The grid counts columns and rows from the top left, decimals are allowed. A row is never below 32 mm, so text of size 1 stays readable while standing; columns are half as wide as rows are tall.
Set up in the terminal (click a screen), tab Scripts: pick the screen on the left, choose the type, write the code, Check (translate only), Save and start. Errors appear with their line in the terminal and at the bottom of the screen, output and rejected commands next to it. Saving needs the right "Configure".
Screen description
One line per element. Elements: header "title", background colour, text x y "text", value x y expr, bar x y w h expr, gauge x y r expr, graph x y w h expr, rect x y w h, frame x y w h, line x0 y0 x1 y1, circle x y r, symbol x y name, warning "text" (German words work as well).
Options: size (1–8 rows), color (name, #RRGGBB, auto or (expr)), min, max, warn, alarm, format, unit, label, width, duration, points, level, blink=(…), if=(…). Flags: bold, blink, below, left, center, right, hollow.
Device values: "Name".LogicType is the average of all devices with that name on the data network (like lbn … Average), .sum, .min, .max, .count behind it. Functions: system("battery"), battery(), runtime(), grid(), key(1), memory(n), prefab("Prefab","Type"), id(n,"Type"), min, max, round, celsius, if(c,a,b) and more. Inside texts {expr:format} with device names in single quotes. Formats: 0–4, %, C, K, W, J, kPa, on, open, t.
Condition in front: if (expr): element.
IC10 draw list
Pick type "IC10 draw list" and the start address. A chip writes commands into the station memory with put, the server reads them up to command 0. Commands: 0 END, 1 TEXT x y size colour n w1…wn, 2 NUMBER x y size colour value decimals, 3 BAR x y w h ratio colour, 4 GAUGE x y r ratio colour, 5 RECT, 6 FRAME, 7 LINE, 8 SYMBOL x y size number colour, 9 GRAPH x y w h channel colour, 10 WARNING level n w…, 11 BACKGROUND colour, 12 CIRCLE x y r colour, 13 SCREEN n, 14 HEADER colour n w…. Texts as STR("…") (6 characters per word), colours Color.Blue … Color.Purple or $RRGGBB; size +10 centred, +20 right-aligned. put db 537 1 holds the picture until you write 0 – so you never see a half-written list.
LUA
Pick type "LUA". LUA 5.2 runs in a sandbox on the server, every player sees the same picture. Events: function tick(dt) every tick (0.5 s), key(n) on F1/F2, alarm(text, level, raised) for new and cleared alarms, start() after the start. All names exist in German and English (takt/tick, geraet.lesen/device.read …).
- Devices:
device.read(name, type[, "sum|min|max|count"]),device.write(name, type, value)(like sbn, takes effect at the end of the tick – areadright after it still returns the old value),device.read_id(id, type),device.write_id(id, type, value),device.read_type(prefab, type),device.count(name),device.list() - Screen:
screen.header(title),screen.text(x, y, text, {size, color, align, bold, blink}),screen.bar(x, y, w, h, value, {min, max, color}),screen.gauge(x, y, r, value, {min, max, color, label}),screen.graph(x, y, w, h, channel, {min, max, points, color}),screen.symbol(x, y, name, {size, color, blink}),screen.warning(text, level),screen.rect/frame(x, y, w, h, colour),screen.line(x0, y0, x1, y1, colour),screen.circle(x, y, r, {color, hollow}),screen.background(colour),screen.clear(),screen.columns(),screen.rows() - Other:
history.add(channel, value),memory.read(n),memory.write(n, value),station.battery(),station.runtime(),station.grid(),station.key(n),station.system(name),station.name,station.sound(name or sound number)(sound at the station: "signal", "ok", "error", "alarm", "warning" or a sound name like "PowerLow"; limited, returns true = played),time(),log(text),print(text)
Sandbox limits: no io, os, load, require, dofile, debug, pcall, no metatables or coroutines, source only (no bytecode). At most 4000 instructions per tick (setting "LuaAnweisungenJeTakt"); a tick call may run across up to 10 ticks, the main part and events must finish within one tick – otherwise the script stops with "endless loop?" and the line. This also applies inside comparison functions of table.sort and replacement functions of string.gsub. Also limited: memory growth per tick and table size, patterns (find, match, gmatch, gsub) on long texts, string.rep (65,536 characters), table.concat and gsub (4 million characters) and table.sort (2000 entries). At most 16 switching commands per tick.
LUA interpreter: MoonSharp 2.0 (shipped with the game), BSD 3-Clause licence, Copyright (c) 2014-2016 Marco Mastropaolo, parts from KopiLua Copyright (c) 2012 LoDC. The licence text is in the mod folder under Lizenzen\MoonSharp-LICENSE.txt.
Safety
Scripts only see the devices on the data network of their station and switch the same way as the terminal – with the right of whoever saved the script, at most 16 commands per tick. The screen description cannot switch anything. No access to files or other game objects. The server calculates, every player sees the same picture.
Script examples
All examples are in the terminal (tab Scripts → Examples) with an explanation and a "Use" button. Name devices like "Room" in game (labeller or terminal → Devices → Rename).
Base power and batteries (from the medium screen up):
header "Power"
text 1 2 "Generation" color=grey
value 1 3 system("generation") format=W size=2 color=green
text (columns/2) 2 "Demand" color=grey
value (columns/2) 3 system("demand") format=W size=2
bar 1 7 (columns-2) 1 system("battery") warn=0.3 alarm=0.1 below
graph 1 10 (columns-2) (rows-12) system("generation") duration=600 color=green
if (system("battery") < 0.1): warning "Batteries almost empty" level=2
Room climate with gauges (gas sensor "Room"):
header "Room {'Room'.Pressure:kPa}"
gauge 10 7 4 "Room".Pressure min=0 max=150 warn=110 alarm=130 format=kPa
gauge 30 7 4 "Room".Temperature min=253 max=333 warn=308 format=C
bar 12 12 (columns-13) 1 "Room".RatioOxygen min=0 max=0.4 warn=0.18 alarm=0.16 below
if ("Room".Pressure < 80): warning "Pressure too low" level=2
Backup power of this screen (fits the small one too):
header "Backup power"
bar 1 2 (columns-2) 1 battery() warn=0.3 alarm=0.1 below
value 1 3 battery() format=% size=2
text (columns-1) 3 "{runtime():t}" right color=grey
if (grid() == 0): warning "No grid – on battery" level=1
LUA: fan by key and pressure curve (fan "Fan", gas sensor "Room"; F1 toggles):
local on = false
function key(n)
if n == 1 then on = not on end
end
function tick(dt)
device.write("Fan", "On", on and 1 or 0)
local p = device.read("Room", "Pressure")
history.add("pressure", p)
screen.header("Ventilation")
screen.text(1, 2, "Pressure", {color = "grey"})
screen.text(1, 3, string.format("%.1f kPa", p), {size = 2})
screen.text(1, 6, on and "Fan ON" or "Fan OFF", {color = on and "green" or "grey"})
screen.graph(1, 8, screen.columns() - 2, screen.rows() - 9, "pressure")
end
LUA: base batteries with traffic light (switches nothing; without batteries on the network the value is nan, then a note appears):
function tick(dt)
local a = station.system("battery")
screen.header("Base batteries")
if a ~= a then
screen.text(1, 3, "no batteries on the network", {color = "grey"})
return
end
screen.bar(1, 2, screen.columns() - 2, 1, a)
screen.text(1, 4, string.format("%.0f %%", a * 100), {size = 2})
local x = screen.columns() - 4
if a < 0.1 then
screen.warning("Batteries almost empty", 2)
screen.symbol(x, 4, "warning", {color = "red", blink = true})
elseif a < 0.3 then
screen.symbol(x, 4, "battery", {color = "yellow"})
else
screen.symbol(x, 4, "ok", {color = "green"})
end
end
Battery operation (backup power)
Every Control Station device has a battery bay, the control desk two (on the right under the desk top). Any battery cell fits: small, large or nuclear.
- Grid present: the station runs on the grid and charges its cells – at most 500 W (setting "AkkuLadenW") and only from the grid's spare capacity (supply minus everyone else's demand, with a 5 % margin). Several stations on the same grid share this reserve evenly instead of overbooking it together. The weakest cable or fuse in the grid is a hard limit as well (normal cable 5 kW): charging never burns a cable and never tips a tight grid.
- Grid gone: if power is missing or not enough, the fullest cell covers the draw – station, screens and chips keep running. The draw is the same as on the grid (base draw per screen mode plus 10 W per running chip), energy counts 1:1.
- Empty: if the content no longer covers one tick, the station switches off and only restarts once the cells cover five ticks.
Display: on battery, screens show "BATT 64 % · 23 min" at the top right (on the small screens short "BATT 64 %"), the terminal shows the power supply in its header, the cursor at the device and at the bay shows charge, runtime and charging power. LED at the bay: green ready, yellow charging, orange flashing backup, red empty. The run LED flashes green on battery. IC10: 531–536, 552, 553 and Charge. Console: ks akku.
Tip: with Mode = 1 (dimmed) a screen needs 30 % less, with 2 (off) 70 % less – backup power lasts longer.
Sounds
The Control Station only uses the game's own sounds. They come in 3D from the device, follow the volume in the game settings and sound the same for every player (the server reports, every computer plays). It is silent when idle.
| Event | Sound |
|---|---|
| Buttons (ACK, page, F1/F2), clicking a screen | the game's button click |
| Main switch | the game's switch click |
| Station starts up / shuts down | power on/off sound (like the APC) |
| Power cut, battery takes over | announcement "Warning" |
| Grid power back | chime |
| Battery below 10 % (on backup) | announcement "Power low" |
| Station switches off without power | announcement "System failure" |
| IC10 chip error, script error | error beep |
| Script started / stopped | high / low beep |
| Alarm (level alarm / warning) | horn as continuous tone or a beep every 6 s – until ACK or until the cause is gone |
Many stations of one system report a power cut at the same time – you still only hear it once. Right after loading a save everything stays silent for a few seconds.
Scripts and IC10 chips: s db SoundAlert Sound.Warning plays one of the game's speaker sounds at the station (every Sound.… value 1–45 except music). As with the speaker a value plays once – s every tick makes no constant noise; to repeat, write s db SoundAlert 0 first. In LUA: station.sound("warning"), station.sound("ok"), station.sound(16). At most 12 sounds per minute per station (setting "ToeneJeMinute", 0 = off), at least 1 s apart; overly long sounds stop after 4 s.
Settings: "Geraeusche" (all station sounds on your computer), "AlarmTon" (the horn), "HoerweiteM" (how far announcements and the alarm can be heard). ks ton shows what is playing and which sounds the game knows.
IC10 of the station
| Device | Prefab | Hash |
|---|---|---|
| Control Desk | StructureKontrollstationLeitstand | 1656607069 |
| Wall Monitor | StructureKontrollstationMonitor | 647456991 |
| Wide Wall Monitor | StructureKontrollstationMonitorBreit | 1188684310 |
| Terminal (Wall) | StructureKontrollstationTerminal | 67252058 |
| Terminal Stand | StructureKontrollstationTerminalPult | -2069257461 |
| Script Screen Small | StructureKontrollstationSkriptKlein | 1519606468 |
| Script Screen Medium | StructureKontrollstationSkriptMittel | 188998258 |
| Script Screen Large | StructureKontrollstationSkriptGross | -249985859 |
| Script Desk | StructureKontrollstationSkriptPult | -1077661625 |
| Large Display | StructureKontrollstationGrossanzeige | -1862731593 |
| LogicType | Meaning |
|---|---|
On | main switch |
Error | error of an IC10 chip |
Setting | control desk and terminals: free to use; wall monitors: page, 0 = first (read and write) |
Maximum | wall monitors only: number of pages |
Mode | screens 0 normal, 1 dimmed, 2 off (read and write) |
Lock | 1 = terminal view only (read and write) |
Activate | read: 1 = open alarm; write 1 = acknowledge all |
Stress | highest open alarm level 0 to 3 |
Quantity | devices on the network |
Ratio | charge of all batteries 0 to 1 |
PowerGeneration | generation in W |
RequiredPower | demand of the station in W |
Charge | energy in the station's own batteries in J |
get and put access the station memory and the system values. Writable addresses are marked (W). clr clears the station memory.
| Address | Meaning |
|---|---|
| 0–511 | station memory, free (W) |
| 512 | devices on the network |
| 513 | active alarms |
| 514 | open alarms; any write acknowledges all (W) |
| 515 | highest open level |
| 516 | generation in W |
| 517 | demand in W |
| 518, 519 | batteries in J, batteries maximum in J |
| 520 | batteries 0 to 1 |
| 521 | highest cable load 0 to 1 |
| 522 | room sensors |
| 523 | rooms out of range |
| 524 | open doors |
| 525 | devices with a fault |
| 526 | write n = start scene n; read = last started (W) |
| 527 | write n = group n ON, -n = OFF (W) |
| 528 | page of all screens of this station (W) |
| 529 | IC10 chips with an error |
| 530 | running IC10 chips |
| 531 | own batteries 0 to 1 |
| 532 | runtime on battery in s |
| 533 | grid power |
| 534 | on battery |
| 535, 536 | own batteries in J, at most in J |
| 537 | hold picture: 1 = freeze the script picture, 0 = continue (W) |
| 538, 539 | keys F1, F2: counters of key presses (W) |
| 540, 541 | columns, rows of the script picture |
| 543 | script running |
| 544–551 | graph channels 0–7: put appends a point, get returns the last (W) |
| 552 | draw in W |
| 553 | charging power in W |
Scenes and groups count from 1 in the order of the terminal. 526 to 528 only trigger on a changed value, so a chip may write them in every loop. To start the same scene again, write 0 first.
Example: power saving by battery level
This chip sits in a slot of the control desk. Two scenes are set up in the terminal: scene 1 "power saving" switches consumers off, scene 2 "normal" switches them back on. If the batteries fall below 20 %, the chip starts scene 1, above 50 % scene 2. In between nothing happens.
# Control Station: chip in the desk, scene by battery level
define AKKU 520 # system value: batteries 0 to 1
define SZENE 526 # put n = start scene n
define SPAREN 1 # scene 1: power saving
define NORMAL 2 # scene 2: normal operation
define UNTEN 0.2 # below 20 % save power
define OBEN 0.5 # above 50 % back to normal
alias akku r0
alias szene r1
alias test r2
move szene 0
start:
yield
get akku db AKKU
slt test akku UNTEN
select szene test SPAREN szene
sgt test akku OBEN
select szene test NORMAL szene
put db SZENE szene
j start
If there are no batteries on the network, 520 returns 0 – power saving then starts.
Example: horn and flashing light on alarm
This chip runs in any IC housing on the same data network. The control desk is named "Leitstand", a klaxon speaker and a flashing light are named "Alarm". As soon as an alarm of level 3 is open, both switch on. After acknowledging they switch off again.
# Control Station: horn and flashing light at alarm level 3
define LEITSTAND 1656607069 # Control Desk
define HUPE -828056979 # Klaxon Speaker
define LICHT -1535893860 # Flashing Light
define ALARM 3 # highest alarm level
alias stufe r0
alias an r1
start:
yield
lbn stufe LEITSTAND HASH("Leitstand") Stress 0
bnan stufe start
sge an stufe ALARM
sbn HUPE HASH("Alarm") On an
sbn LICHT HASH("Alarm") On an
j start
Give the desk the name "Leitstand" with the labeller; the default name depends on the game language.
Console commands
Console with F3, as ks or kontrollstation. The commands act on the nearest station within 30 m, on a server without players on the first one. Switching goes through the server, as in the terminal.
| Command | Effect |
|---|---|
ks status | stations, systems, generation, demand, batteries, alarms, setup |
ks devices | devices of the nearest system, at most 80 |
ks devices power | filter by category or name |
ks alarms | alarms of the system |
ks ack | acknowledge all alarms |
ks sound | alarm sounds, played sounds and sound catalogue of this computer |
ks scene 1 | start a scene by name or number |
ks group Licht off | switch a group by name or number on or off |
ks set 1234 On 0 | set a value: device by name or id, LogicType, value |
ks memory | show the station memory; ks memory 5 reads address 5, ks memory 5 42 writes |
ks chips | every IC10 chip slot with its state |
ks terminal | open the terminal |
ks backup base | save the setup to a file |
ks restore base | load a saved setup |
ks battery | power supply of every station: grid with supply, demand and cable limit, cells, backup, runtime, charging |
ks script | all scripts with state and engines; ks script start 2, stop 2 or restart 2 switches one script |
ks selftest | build a test stand 30 m above you (host/single player, result in the log) |
ks hilfe | list of commands |
Backups are stored in BepInEx\config\Kontrollstation\<name>.json. The German words work too: geraete, alarme, quitt, ton, szene, gruppe, setze, speicher, sichern, laden, akku, skript, selbsttest.
Configuration
File: BepInEx\config\dominik1199.kontrollstation.cfg, or via the mod settings in LaunchPad. Reading values, alarms and permissions are handled by the server with its values.
| Key | Default | Meaning |
|---|---|---|
| TerminalTaste | empty | key that opens the terminal of the nearest station within 4 m; empty = by click only |
| Schriftgroesse | 1 | font size in the terminal, 0.6 to 2.5 |
| Sicherheitsabfrage | on | ask before critical actions |
| UmlauteUmschreiben | off | show ä, ö, ü as ae, oe, ue in the terminal |
| Bilder | on | device pictures in the terminal |
| CelsiusUmrechnen | on | "25C" in the IC10 editor becomes Kelvin |
| CelsiusKommentar | on | add "# 25 C" at the end of the line when converting |
| StilHinweise | on | the IC10 checker also shows style hints |
| SichtweiteM | 35 | up to this distance the screens are drawn live, 8 to 120 m |
| BilderJeSekunde | 2 | how often per second a screen is redrawn, 0.5 to 10 |
| Helligkeit | 1 | brightness of the screens, 0.3 to 1.6 |
| PixelJeMeter | 640 | resolution of the screen graphics, 320 to 1280 |
| AbfrageSekunden | 1 | server: how often all values are read and alarms checked, 0.5 to 10 s |
| VerlaufSekunden | 10 | interval between history points in s |
| VerlaufPunkte | 360 | points per channel (360 × 10 s = 1 hour), 30 to 2000 |
| MaxGeraete | 800 | maximum number of devices read per system, 50 to 5000 |
| AlarmTon | on | horn or beep at the stations while an alarm is active and not acknowledged |
| HoerweiteM | 20 | hearing distance of the alarm sound and announcements (power cut, battery almost empty, script sounds), 3 to 80 m |
| Geraeusche | on | station sounds on this computer: buttons, main switch, power cut, grid back, battery almost empty, start-up and shut-down, chip and script messages |
| RechtMitspieler | Einrichten | permission of new players: Ansehen, Bedienen, Einrichten or Verwalten |
| LeitstandW | 250 | power draw of the control desk in W |
| MonitorW | 40 | power draw per m² of screen in W: 1 × 1 m wall monitor once, wide one double; script screens small 0.5 times, medium once, large three times, desk once, large display six times |
| TerminalW | 30 | power draw of a terminal in W |
| ProzessorW | 10 | extra power per running IC10 chip in W |
| ProzessorenAktiv | on | run inserted IC10 chips in control desk, terminals and script screens; off = slots only store chips |
| AkkusAktiv | on | server: batteries power the station during a power cut and are charged from the grid; off = battery bays only store cells |
| AkkuLadenW | 500 | server: maximum charging power per station in W, only from the grid's spare capacity and below the cable limit |
| SkripteAktiv | on | server: run the scripts of the script screens; off = only IC10 draw lists and standard pages |
| LuaAnweisungenJeTakt | 4000 | server: at most this many LUA instructions per script and tick, 500 to 50,000 |
| SchreibenJeTakt | 16 | server: at most this many switching commands per script and tick, 1 to 256 |
| ToeneJeMinute | 12 | server: at most this many sounds from scripts and IC10 chips per station and minute, 0 = none |
Multiplayer
New devices: the server and all players need the mod. The server reads the values, checks alarms, records history, runs the IC10 chips and switches. Players only receive changes, plus a complete update every two minutes. Actions of players go to the server as a message; the server checks permission, power and lock. See Multiplayer.
Known limitations
- A system reads at most 800 devices (
MaxGeraete). - The station only sees devices on its own data network. Networks behind transformers need a data bridge.
- Values are read once per second. For fast control loops an IC10 chip is better than an alarm rule.
- Screens out of sight show the last picture drawn.
- The data bridge links devices, not the channels Channel0–7.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| No devices | no data cable, station off or without power | check the POWER + DATA port, main switch ON |
| Devices behind a Power Regulator or Substation missing | data bridge off | switch on the data bridge there |
| Screen frozen | out of sight distance | move closer or raise SichtweiteM |
| Terminal view only | station locked (Lock) or permission Ansehen | release the lock; in multiplayer check the permission |
| Slot LED orange | error in the code or hcf | IC10 tab: check the error line, restart |
| Slot LED off with a chip inserted | chip halted, station off or ProzessorenAktiv off | start it in the IC10 tab, switch the station on |
| Scene starts only once via IC10 | 526 only triggers on a changed value | write 0 first, then the number again |
| Alarm sound not audible | too far away, AlarmTon off or vacuum | move closer, check the setting |
| Alarm sound keeps going after acknowledging | bug before 1.0.3 | update to 1.0.3; ks sound shows the running sounds |
| Destroyed monitor or control desk cannot be removed | bug before 1.0.3 | update to 1.0.3, then take it down with the angle grinder, also in old saves |
| Player cannot switch anything | permission Ansehen | raise the permission in the terminal, Settings tab |
| Script picture stays empty or shows "NO SCRIPT" | no script saved yet; old wall monitors and the control desk need the page "Script" | terminal, tab Scripts: pick the screen, write a script, "Save and start"; on old screens add the page "Script" first (button in tab Scripts) |
| "SCRIPT ERROR line …" at the bottom | error in that line, the script stays stopped | fix the line in the editor, "Check", then "Save and start" |
| A value shows "-" | no device with that name on the data network (mind upper and lower case) or the LogicType cannot be read | check the labeller name and the LogicType |
| LUA: "Stopped: endless loop?" | a call needed too many instructions, usually while true do … end; in tick a call has up to 10 ticks, in the main part and in key, alarm and start only one | end the loop, spread big work over several ticks; the line is in the message |
| LUA: a written value only arrives one tick later | on purpose: device.write takes effect at the end of the tick, like the terminal | remember the new value in the script instead of reading it back right away |
| LUA: "pattern too costly" | patterns with many *, +, - or ? on long texts are limited | shorten the text, anchor the pattern with ^ or simplify it |
LUA: pcall, os or io are missing | the sandbox leaves them out on purpose | do without them; errors only stop this one script |
| LUA screen shows "engine missing" | MoonSharp could not be loaded at start (log: "LUA nicht nutzbar"), e.g. after a game update | until a mod update use the screen description or the IC10 draw list |
| Script does not switch anything | the screen description never switches; LUA switches with the right of whoever saved the script | a locked station needs "Administer"; rejected commands appear in the output |
| IC10 draw list flickers | the screen shows a half-written list | while writing use put db 537 1, afterwards put db 537 0 |
| Station switches off despite a battery | cell empty (LED red) or AkkusAktiv off | charge or swap the cell; after an empty battery the station only restarts once the cells cover five ticks |
| No sound | Geraeusche or AlarmTon off, effects volume, too far away or vacuum | check the settings, come closer (HoerweiteM, default 20 m; buttons about 12 m); script sounds at most 12 per minute, an IC10 value only plays once (write s db SoundAlert 0 first); ks sound shows the sound catalogue |
| Batteries do not charge | charging only uses the grid's spare capacity, shared between the stations and below the cable limit | more generation or heavy cable; ks battery shows supply, demand, limit and charging power |
| Unpainted after the update, colour only on the housing | old saves load unpainted; only the graphite housing is painted | paint with spray can or spray gun; screens and LEDs stay |