[0.18.x] Cargo wagon has a mask layer, but doesn't seem to be used correctly

Bugs that are actually features.
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

[0.18.x] Cargo wagon has a mask layer, but doesn't seem to be used correctly

Post by bobingabout »

Cargo wagon has a mask layer, which has "apply-runtime-tint" set on it, however, it always seems to show up as a gold-ish colour, no matter what colour the player is set to.

The locomotive also has an apply-runtime-tint mask layer, but the player can change that to whatever they want from the locomotive's GUI.

In theory, it should be set to the player colour, and/or the player should have the option to change it in the wagon GUI.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
posila
Former Staff
Former Staff
Posts: 5448
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.18.x] Cargo wagon has a mask layer, but doesn't seem to be used correctly

Post by posila »

Hello, cargo wagons can be runtime tinted by changing LuaEntity.color. color defined in cargo wagon prototype is used as default tint https://wiki.factorio.com/Prototype/CargoWagon

Wagons are not supposed to be tinted by player color.
Initial plan was to make them player colorable, like locomotives are, but this was cancelled (so as a result, there exists colorable mask for cargo wagons, but not for fluid wagons nor artillery wagons - but they all have ability to apply a runtime tint set by LuaEntity.color)
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: [0.18.x] Cargo wagon has a mask layer, but doesn't seem to be used correctly

Post by bobingabout »

posila wrote: Sat May 16, 2020 4:36 am Hello, cargo wagons can be runtime tinted by changing LuaEntity.color. color defined in cargo wagon prototype is used as default tint https://wiki.factorio.com/Prototype/CargoWagon

Wagons are not supposed to be tinted by player color.
Initial plan was to make them player colorable, like locomotives are, but this was cancelled (so as a result, there exists colorable mask for cargo wagons, but not for fluid wagons nor artillery wagons - but they all have ability to apply a runtime tint set by LuaEntity.color)
Thanks for the feedback.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
Post Reply

Return to “Not a bug”