RailBow


Lay tiles alongside your rails: rainbows, stripes, stone paths, up to ten tiles each side, following which way your trains go.

Utilities
a day ago
1.1 - 2.1
508
Trains Blueprints
Owner:
DemonicLaxatives
Source:
https://github.com/DemonicLaxatives/RailBow
Homepage:
N/A
License:
MIT
Created:
2 years ago
Latest Version:
1.3.0 (a day ago)
Factorio version:
1.1 - 2.1
Downloaded by:
508 users

RailBow

Select your rails and RailBow lays tiles alongside them: rainbows, hazard stripes, stone paths, whatever you put together from up to ten tiles on each side. It follows every straight, curve, diagonal and ramp, knows which way your trains go, and works on any amount of track in the background.

Rainbows, whichever way trains go

Crossings that know their sides

Clear the way with surgical precision

Remove existing tiles

Elevated rails

What it does

  • A tile for every distance from the rail, 1 to 10, on each side: leave gaps, mirror the sides, or make them different. "Remove tiles" takes away the floor at a distance instead.
  • Sides of travel: signals in your selection determine the directionality of the rails. The tool takes them into account, and lays the tiles respecting it.
  • Presets: as many as you like, picked from a drop-down, managed in a list; new players start with a few (Hazard edges, Stone path, and with Color Coding Rainbow, Port and starboard, RailBow and rainbows of coloured concrete and stone path); shared as exchange strings, or as blueprints (one preset, or all of them in a book).

  • One undo step per selection, however big.

  • Smooth: the work is spread over ticks within a budget ("Work per tick", a map setting), shared fairly between players; a small selection is done at once. The loading bar shows how far yours has got.
  • Every rail: straight, curved, half-diagonal, elevated rails and ramps (with Elevated Rails), and other mods' rails.

How to use

  1. Open the configuration window with the RailBow button at the top left.

  2. Pick the tiles. The row of pickers is the rail seen from above, trains going up: the arrow in the middle is the rail.

    • click a picker to choose its tile;
    • right click clears it;
    • Shift + right click copies its tile, Shift + left click pastes it;
    • click it holding a deconstruction planner for "Remove tiles": the floor at that distance is taken away;
    • click the arrow to swap the sides.

    "Where sides meet" below the pickers decides what happens where one rail's left side meets another's right.

    Clear trees, rocks and cliffs below it marks those on the preset's tiles for deconstruction. The tree button beside it opens its filters, every tree, rock and cliff in the game under its kind: tick the kinds, then press the ones to spare (blacklist; none pressed, it clears everything) or the only ones to clear (whitelist).

    Clear decoratives beside it removes the plants, small rocks and decals left on the preset's tiles, at once, ghosts or not (robots can't, and undo doesn't bring them back). The bush button opens its filters, every decorative in the game under each planet it grows on: press the ones to spare (blacklist) or the only ones to clear (whitelist).

  3. Presets are in the bar at the top: the drop-down switches between them, and the buttons add, rename, copy and delete. The list button opens the preset manager, to reorder them, hide the ones you don't use from the drop-down (the eye) and put them all in a blueprint book.

  4. Get the selection tool from the shortcut bar, or bind a key to "Get RailBow selection tool" in the controls settings.

  5. Select rails by dragging over them. Include the rail signals to tell RailBow which way trains go; without signals, the track counts as two-way. Shift + drag to also lay cover (landfill, foundation, ...) first where the ground can't take a tile, such as water.

Sharing presets

  • Exchange string: the export button shows the selected preset's string to copy; the import button takes one to paste.
  • Blueprint: "Export as blueprint" in the export window puts the selected preset in your cursor as a blueprint: a rail, a signal for the direction of travel, and the tiles around them. The preset manager's book button puts every preset in a blueprint book.
  • Importing a blueprint: hold it (or the book, from your inventory or the blueprint library) and click the import button: its presets are added at once.

Settings

  • Work per tick (map): how much RailBow does each tick. Higher is faster, but can cause lag.
  • Cover tiles (the settings window: the gear in the configuration window's title bar): which cover shift + drag lays, tried from left to right. Left empty, each ground gets its own (landfill on water, ...).

In cheat mode, the map editor and god mode, tiles are set at once instead of placed as ghosts.