Source-checkedVehicles & ships

Stations set train colour

by ccooke · for Factorio

Set a trains colour when it stops at a station using R, G and B signals

291Downloads
6 yr agoLast updated
MITLicense
Factorio Mod PortalSource

About Stations set train colour

From Factorio Mod Portal

Set a trains colour when it stops at a station using R, G and B signals

Stations Set Train Colour

I couldn't find any mod doing exactly this, so I wrote my own

This mod allows you to set the colour of a train when it arrives (and waits) at a station. Note - nothing will happen unless the train actually stops.

Setting the colour

Connect a circuit network to a station and set the sstc-set-colour signal. When a train stops, the R, G, B and A signals will be read and used to set the colour and transparency. They default to 0,0,0,128.

Resetting the colour

Connect a circuit network to a station and set the sstc-reset-colour signal. When a train stops, the train's colour will be reset to the default.

You can also set the module option Default Reset, which causes all stations to reset colour unless the sstc-set-colour signal is set.

Precedence

If the sstc-reset-colour signal is set, the station will always reset the train's colour to default.

Module Options

  • Default Reset - Reset train colours by default
  • Default Red, Green, Blue and Alpha - The default colour for trains. Initially set to the vanilla standard of [234,17,0,128]
  • Debug - Generate debug messages
  • Red, Green, Blue and Alpha signals - The names of the signals to use for colour. Do not change these unless you know what you are doing

FAQ

Stations Set Train Colour

Setting the colour

Connect a circuit network to a station and set the sstc-set-colour signal. When a train stops, the R, G, B and A signals will be read and used to set the colour and transparency. They default to 0,0,0,128.

Resetting the colour

Connect a circuit network to a station and set the sstc-reset-colour signal. When a train stops, the train's colour will be reset to the default.

You can also set the module option Default Reset, which causes all stations to reset colour unless the sstc-set-colour signal is set.

Precedence

If the sstc-reset-colour signal is set, the station will always reset the train's colour to default.

Module Options

  • Default Reset - Reset train colours by default
  • Default Red, Green, Blue and Alpha - The default colour for trains. Initially set to the vanilla standard of [234,17,0,128]
  • Debug - Generate debug messages
  • Red, Green, Blue and Alpha signals - The names of the signals to use for colour. Do not change these unless you know what you are doing

Highlights

From source data

Footprint

Rated a light load on a server.

License

Published under MIT.

Last update

Its author last shipped an update 6 yr ago.

Stations set train colour on Nxeon

From our catalogue
One-click install
Supported on Nxeon Factorio servers. We download it from Factorio Mod Portal, place it, and restart the server.
Server side
Required on the server
Server load
light
Smallest plan we suggest
Factorio — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
0.0.5, released 2021-01-09

Recent builds

BuildReleasedGame versionsLoaders
0.0.52021-01-091.1n/a
0.0.42021-01-091.1n/a
0.0.32021-01-091.1n/a
0.0.22021-01-091.1n/a

Run Stations set train colour on a Factorio server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Factorio Mod Portal as “Mods”

Vehicles & ships

Cars, boats, aircraft, ships and other things to drive or fly.

Runs on your server

From source side support

Factorio Mod Portal lists Stations set train colour as required on the server. Check its Factorio Mod Portal page to see whether players need it too.

Compatibility

Game
Factorio
Runs on
Serverrequired on the server

Verified at the source

  • ✓Factorio Mod PortalOfficial listing, checked 2026-10-09Open ↗
  • ✓Authorccooke, as published on Factorio Mod Portal
  • ✓LicenseMITFree

Stations set train colour, answered

Generated from the mod’s own source data.

Do my players need to install Stations set train colour?

Factorio Mod Portal lists Stations set train colour as required on the server. Check its Factorio Mod Portal page to see whether players need it too.

Is it free?

Yes. Stations set train colour is free to download from Factorio Mod Portal. Its license is MIT.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Stations set train colour on a Factorio server.

Deploy in about a minute from $2.99 a month, then add Stations set train colour in one click.