Hello, this mod request I would assume is simple to the more experienced but I'm not much of a coder to really know what to look for this one.
Basically, I'd like a mod that replaces the current way cars and other entities with a similar method are colored. Instead of having them change their color once you enter/place them, I would like to have the option to color them in a similar method that trains are colored with the color sliders. This way you can have the entities (That can be colored) in the color of your choice without needing to reset the color of it or overwrite the color you had it as, very much like how the train color is handled.
/Edit many months later
A mod has been made, I don't know if the mod author spotted this post and made it or not but regardless I'm happy.
The mod link is https://mods.factorio.com/mod/CustomColor
Coloring Cars (And other entities) Similar to Trains [Mod Found!]
Coloring Cars (And other entities) Similar to Trains [Mod Found!]
Last edited by Shakar on Sat Jan 28, 2023 2:03 am, edited 1 time in total.
Re: Coloring Cars (And other entities) Similar to Trains
Been a while since I messed with colors, but I don't believe it's possible to change the color of a car when someone is riding it - it's always the color of the driver. If the car is empty you can change it just fine, but it'll change once someone gets back in and stay that color until they get out and it's either forcibly changed or someone else drives it.
Re: Coloring Cars (And other entities) Similar to Trains
That is why I'm trying to request a mod that will change that behavior to be the same coloring behavior as trains.
Having the option to keep them certain colors you set like trains is what I'm aiming for with the request.
Having the option to keep them certain colors you set like trains is what I'm aiming for with the request.
Re: Coloring Cars (And other entities) Similar to Trains
This almost certainly isn't possible with the current API, you'd have to request the devs to add it.
Similar-ish request: viewtopic.php?f=28&t=97238
Similar-ish request: viewtopic.php?f=28&t=97238
My mods
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
Re: Coloring Cars (And other entities) Similar to Trains
I guess the current API does support it in some way as someone (about a month ago now at time of post) has made such a mod now! This makes me quite happy and here is the link to the mod in question for anyone else who is interested. https://mods.factorio.com/mod/CustomColor
Re: Coloring Cars (And other entities) Similar to Trains
Indeed, it isn't actually using anything new, just some very clever (and fairly complex) runtime scriptingShakar wrote: ↑Sat Jan 28, 2023 1:52 am I guess the current API does support it in some way as someone (about a month ago now at time of post) has made such a mod now! This makes me quite happy and here is the link to the mod in question for anyone else who is interested. https://mods.factorio.com/mod/CustomColor
My mods
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings