Color sources:
- Items and entities: The most representative color for each item is hand-selected from its icon through a semi-automated process.
- Fluids and barrels: RGB values are pulled directly from each fluid prototype's flow_color (or, sometimes, base_color).
- Post processing: Because the color shade applied to train and wagon color masks is translucent, each selected item/fluid color is automatically saturated and brightened to keep their in-game appearance truer to their icon/fluid color. Using the extracted color alone would result in a duller appearance. I prefer not to mess with the alpha channel because it cannot be modified through the base game's train GUI. Thus all colors have a default 0.5 alpha value.
Custom colors:
User-added custom colors are now supported on the Map tab of the Mod Settings. Simply copy a table of the following format and paste into the "Input custom colors" setting field:
{
['item1']={r=000,g=000,b=000,a=000},
['item2']={r=255,g=255,b=255,a=255},
}
While there are several checks to prevent improper inputs from crashing the game, edge cases may exist. Please ensure the table conforms to the following rules:
- {Curly brackets} must be included at the start and end.
- Spaces, line breaks, and paragraphs are ignored. A vertically-arranged table like above will paste correctly into the single-line setting field.
- Each item name comes from the object's internal name. These can be found on the Factorio wiki, or in a mod's prototype and locale files. They must contain only alphanumeric characters, "-" or "_", and must be enclosed in both 'single quotes' and [square brackets].
- Each row must have values for all of r, g, b, and a, each separated by commas, and be wholly enclosed within another set of curly brackets, followed by a comma.
- "r", "g", "b", and "a" values must be between 0 and 255, inclusive. Please avoid using decimal values from 0 to 1; they will return a black color.
- Note: there is no practical limit to the number of rows that can be added.
Custom colors also have several ways to be enabled:
- Off. The default, this ignores any custom colors and instead uses the hardcoded color database to paint trains.
- Priority. This will use custom colors instead of hardcoded colors of the same item name when painting.
- Only. Hardcoded colors are ignored; only items included in the custom colors setting will be painted.
Mod support:
Supported mods are currently limited to the following list. Each mod, unless otherwise noted, has a color assigned to every new item, entity, and fluid within. As of version 2.0.0, there are 8755 items and 876 fluids supported with almost 3900 unique colors. If you notice some mod items are missing or icons have changed, please post to the discussion board and I'll update as needed.
Official Factorio mods
- Factorio: Space Age
- Elevated Rails
- Quality
User-created mods with new assets
- 5Dim's mod - Bot Recaller
- 5Dim's mod - New Automatization
- 5Dim's mod - New Battlefield
- 5Dim's mod - New Decoration
- 5Dim's mod - New Energy
- 5Dim's mod - New Equipment
- 5Dim's mod - New Logistic
- 5Dim's mod - New Mining
- 5Dim's mod - New Module
- 5Dim's mod - New Nuclear
- 5Dim's mod - New Resources
- 5Dim's mod - New Storage
- 5Dim's mod - New Trains
- 5Dim's mod - New Transport
- 5Dim's mod - Ores
- 5Dim's mod - Trade - This mod has been deprecated - legacy support only.
- 5Dim's mod - Vehicle - This mod has been deprecated - legacy support only.
- AAI Containers & Warehouses
- AAI Industry
- AAI Programmable Structures
- AAI Programmable Vehicles
- AAI Signal Transmission
- AAI Vehicles: Chaingunner
- AAI Vehicles: Flame Tank
- AAI Vehicles: Flame Tumbler
- AAI Vehicles: Hauler
- AAI Vehicles: Laser Tank
- AAI Vehicles: Miner
- AAI Vehicles: Warden
- AAI Zones
- Aluminum
- Angel's Addons - Storage Options
- Angel's Bio Processing
- Angel's Industries
- Angel's Petrochemical Processing
- Angel's Refining
- Angel's Smelting
- Bio Industries
- Bob's Assembling machines
- Bob's Electronics
- Bob's Enemies
- Bob's Greenhouse mod
- Bob's Logistics mod
- Bob's Metals, Chemicals and Intermediates
- Bob's Mining
- Bob's Modules
- Bob's Ores
- Bob's Power
- Bob's Revamp mod
- Bob's Tech
- Bob's Vehicle Equipment
- Bob's Warfare
- Dark Matter Replicators .18+
- Deadlock-Mod Integrations
- Deadlock's Stacking Beltboxes & Compact Loaders
- Dectorio - Includes Alien Biomes
- DirtyMining
- FactorioExtended-Armory
- FactorioExtended-Core
- FactorioExtended-Energy
- FactorioExtended-Equipment
- FactorioExtended-Logistics
- FactorioExtended-Machines
- FactorioExtended-Trains
- FactorioExtended-Transport
- Foundry
- Graphite & Diamonds
- Industrial Revolution 2 - This mod has been deprecated - legacy support only.
- Industrial Revolution 3
- Jetpack
- Krastorio 2
- Krastorio Legacy - This mod has been deprecated - legacy support only.
- Lead
- Liquify 3: Mining Edition
- MadClown01's AngelBob Nuclear Extension
- MadClown01's Extended AngelBob Minerals
- MadClown01's Nuclear Extension
- MadClown01's Processing
- MadClown01's Science
- Natural Gas
- Noble Metals
- Nullius
- Omnicrystal
- Omnienergy
- Omnifluid
- Omnimatter
- Omniscience
- Omniwood
- Pressurized fluids
- Pyanodons AlienLife
- Pyanodons Coal Processing
- Pyanodons Fusion Energy
- Pyanodons HighTech
- Pyanodons Industry
- Pyanodons Petroleum Handling
- Pyanodons Raw Ores
- Realistic Ores
- Realistic Reactor Glow
- Reverse Factory
- Salt & Chlorine
- ShinyAngelGFX
- ShinyBobGFX
- Silica & Silicon
- Space Exploration
- Tin
- Titanium
- Tungsten
- Xander Mod
- Yuoki Industries
- Zirconium
Mods with exemptions from painting: