Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
You are free to:
Share — copy and redistribute the material in any medium or format
Adapt — remix, transform, and build upon the material
The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
NonCommercial — You may not use the material for commercial purposes.
No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
Long description
Important: this mod depends on Color Picker. You will have to download it together with this mod. Otherwise, this mod will not be enabled, because the color picker is the main feature of this mod.
Also, by default, it enables the option to let you copy-and-paste colors between wagons. You can turn off it in config.lua.
Version history
Version 0.2.1 (May 1, 2017):
Changed mod name from "Wagon Color" to "Color Picker - Wagon", for better mod grouping.
Mod ID is not affected.
Updated the button to use the new cargo wagon icon.
Version 0.2.0 (May 1, 2017):
Updated for Factorio 0.15.
Now requires Color Picker 0.3.0+ (From 0.1.1+)
Converted the also_paste_color option in config.lua to mod settings. Please access it in Options > Mods > Per player.
Version 0.1.1 (Oct 15, 2016): Fixed error when pasting from a wagon that doesn't have its color edited before.
Version 0.1.0 (Oct 15, 2016): The first version.
Known issues
Before the color of a cargo wagon is edited, the color picker shows that it is white, but in fact it is not. It is due to the limitation of the modding API. We can get wagon's color only after it is edited.
Re: [MOD 0.14+] Wagon Color 0.1.0
Posted: Fri Oct 14, 2016 4:15 pm
by Mooncat
Suddenly realized the color of cargo wagons can be changed in game, so I made this mod immediately.
Re: [MOD 0.14+] Wagon Color 0.1.0
Posted: Fri Oct 14, 2016 6:44 pm
by aubergine18
Nice work, and love the colorful pic of wagons, they look a bit like coloring crayons
Re: [MOD 0.14+] Wagon Color 0.1.1
Posted: Fri Oct 14, 2016 11:00 pm
by Mooncat
Woops, found a critical error that occurs when pasting from a wagon which doesn't have its color edited before.
Released the fix for that.
aubergine18 wrote:Nice work, and love the colorful pic of wagons, they look a bit like coloring crayons
Haha, I haven't thought of that until now.
Re: [MOD 0.14+] Wagon Color 0.1.1
Posted: Sat Oct 15, 2016 10:36 pm
by steinio
Can you enable the hex-code input also for locos please?
How does copying work?
Shift + right/left mouse button?
This copys the timetable of locos and probably the filters of wagons, isn't it?
Greetings steinio.
Re: [MOD 0.14+] Wagon Color 0.1.1
Posted: Sun Oct 16, 2016 8:10 am
by Mooncat
steinio wrote:Can you enable the hex-code input also for locos please?
How does copying work?
Shift + right/left mouse button?
This copys the timetable of locos and probably the filters of wagons, isn't it?
Greetings steinio.
ok, I will do the locomotive color. But you have been warned: it won't be perfect. It can't be used with the built-in UI. There is no way to synchronize it with my color picker.
Yes, shift + right/left button.
Without this mod, copy-and-paste between wagons will not apply to their colors, but only the filters. This mod makes it also apply to colors.
Re: [MOD 0.14+] Wagon Color 0.1.1
Posted: Sun Oct 23, 2016 6:05 pm
by hitzu
The mask of wagons is too dark. In combination with a pure color it produces greyish tint. Could it be changed?
Re: [MOD 0.14+] Wagon Color 0.1.1
Posted: Sun Oct 23, 2016 7:35 pm
by Mooncat
hitzu wrote:The mask of wagons is too dark. In combination with a pure color it produces greyish tint. Could it be changed?
I will investigate on it, but it seems that I will need to create another set of images and override the original mask images.
Re: [MOD 0.14+] Wagon Color 0.1.1
Posted: Mon Oct 24, 2016 7:48 pm
by Mooncat
Mooncat wrote:
hitzu wrote:The mask of wagons is too dark. In combination with a pure color it produces greyish tint. Could it be changed?
I will investigate on it, but it seems that I will need to create another set of images and override the original mask images.
Done. Brighter Wagon Color Mask
I make it into another mod so people can choose whether use it or not.
And it may be also useful for other mods that can change cargo wagon color.
Re: [MOD 0.14+] Wagon Color 0.1.1
Posted: Wed Oct 26, 2016 4:13 pm
by hitzu
Mooncat wrote:
Mooncat wrote:
hitzu wrote:The mask of wagons is too dark. In combination with a pure color it produces greyish tint. Could it be changed?
I will investigate on it, but it seems that I will need to create another set of images and override the original mask images.
Done. Brighter Wagon Color Mask
I make it into another mod so people can choose whether use it or not.
And it may be also useful for other mods that can change cargo wagon color.
You're awesome!
Re: [MOD 0.14+] Wagon Color 0.1.1
Posted: Fri Jan 13, 2017 4:34 pm
by Anson
hitzu wrote:You're awesome!
looking at all your mods, i have to agree :-)
Mooncat wrote:
hitzu wrote:The mask of wagons is too dark. In combination with a pure color it produces greyish tint.
Done. Brighter Wagon Color Mask
I make it into another mod so people can choose whether use it or not. ;)
And it may be also useful for other mods that can change cargo wagon color.
The mask of locomotives is too dark. In combination with a pure color it produces greyish tint.
since i started using mods for train management, i don't color wagons or locomotives myself any longer, but let it do by other mods, eg train ore color. but the resulting engine color is always only another shade of dark grey, and without having a very close look, it's difficult to see what kind of goods is transported (of course, i can enable icons and see directly what is in a wagon :-).
if you have too much spare time besides working on all your other nice mods,
maybe you could brighten them up, too ? :-)
wagon color :-) brighter wagon color mask :-) locomotive color :-) brighter locomotive color mask :-(
Re: [MOD 0.14+] Wagon Color 0.1.1
Posted: Sun Jan 15, 2017 12:39 pm
by Mooncat
Anson wrote:
hitzu wrote:You're awesome!
looking at all your mods, i have to agree
Mooncat wrote:
hitzu wrote:The mask of wagons is too dark. In combination with a pure color it produces greyish tint.
Done. Brighter Wagon Color Mask
I make it into another mod so people can choose whether use it or not.
And it may be also useful for other mods that can change cargo wagon color.
The mask of locomotives is too dark. In combination with a pure color it produces greyish tint.
since i started using mods for train management, i don't color wagons or locomotives myself any longer, but let it do by other mods, eg train ore color. but the resulting engine color is always only another shade of dark grey, and without having a very close look, it's difficult to see what kind of goods is transported (of course, i can enable icons and see directly what is in a wagon .
if you have too much spare time besides working on all your other nice mods,
maybe you could brighten them up, too ?
wagon color brighter wagon color mask locomotive color brighter locomotive color mask
Time is never enough. But I can try. (I do mods according to my interest. )
Edit: done! viewtopic.php?f=97&t=39904
Because the color mask of locomotive covers more areas, including those that are supposed to be dark. I couldn't simply brighten the images, but also need to increase the contrast. But if it is too much, they will not look good. It is the best combination I got. Hope it is bright enough.
Re: [MOD 0.15+] Wagon Color 0.2.0
Posted: Mon May 01, 2017 9:23 am
by Mooncat
Released v0.2.0. Updated for Factorio 0.15!
Also integrated the mod settings.
Edit: released v0.2.1, mainly for changing the mod name and button icon.