Page 1 of 2

[MOD 0.15+][Deprecated] Color Picker - Locomotive 0.2.1

Posted: Sun Oct 16, 2016 8:54 am
by Mooncat
Important: This mod has been deprecated. Its functionality has been combined into Color Picker. You can delete it from your mod list.

Type: Mod
Name: Color Picker - Locomotive (a.k.a. Locomotive Color)
Description: When used together with Color Picker, this mod provides an additional option to change the colors of your locomotives.
License: Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
Version: 0.2.1
Release: 2017-05-01
Tested-With-Factorio-Version: 0.15.5
Category: (Helper Mod)
Tags: color, locomotive, color picker
Download-Url: https://mods.factorio.com/mods/Mooncat/locomotive-color
Website: viewtopic.php?f=97&t=34403
License
Long description
Version history
Known issues

Re: [MOD 0.14+] Locomotive Color 0.1.0

Posted: Sun Oct 16, 2016 8:55 am
by steinio
You are the best :)

Re: [MOD 0.14+] Locomotive Color 0.1.0

Posted: Sun Oct 16, 2016 8:59 am
by Mooncat
Thanks. ;)

Re: [MOD 0.14+] Locomotive Color 0.1.0

Posted: Sun Oct 23, 2016 11:43 am
by steinio
In addition with wagon color i tried some colors of famous ores:

Code: Select all

coal			040404	
stone		D2BE97
iron ore		8CA4C1
copper ore	F68651

Saphirite		566186
Jivolite		FBFF7B
Stiratite		86D2EA
Crotinnium	E8E8E8
Rubyte		9D4B00
Bobmonium	8C5E35

Uraninite		338D40
Fluorite		EFA6CA
Color Picker.png
Color Picker.png (841.49 KiB) Viewed 8020 times
Greetings steinio

Re: [MOD 0.14+] Locomotive Color 0.1.0

Posted: Sun Oct 23, 2016 4:53 pm
by Mooncat
steinio wrote:In addition with wagon color i tried some colors of famous ores:
That's great! Thanks for sharing. I will add links to your post. ;)

Re: [MOD 0.15+] Color Picker - Locomotive 0.2.1

Posted: Mon May 01, 2017 3:31 pm
by Mooncat
Released v0.2.1 with a new mod name (ID is not affected, so you can safely update).
Also updated the button icon.

Re: [MOD 0.15+] Color Picker - Locomotive 0.2.1

Posted: Mon Jul 03, 2017 8:38 pm
by Mooncat
It is known that this mod is causing error in 0.15.27.
But I need some time to fix it. Please disable the mod for now if you are playing 0.15.27.

PS: same as other color picker sub-mods.

Re: [MOD 0.15+] Color Picker - Locomotive 0.2.1

Posted: Wed Jul 05, 2017 9:05 pm
by Phasma Felis
Mooncat wrote:It is known that this mod is causing error in 0.15.27.
But I need some time to fix it. Please disable the mod for now if you are playing 0.15.27.

PS: same as other color picker sub-mods.
Thanks for the status report!

Re: [MOD 0.15+] Color Picker - Locomotive 0.2.1

Posted: Sun Jul 09, 2017 1:14 am
by abordoli
Rec'd an error during the load of my save:

Notice
Attempt to remote call outside of an event.
stack traceback:
[]__locomotive color__/control.lua:107:in
main chunk

If not a known issue, let me know and I can go deeper with details.
Regards,
~B

P.S. I do have all 5 "color picker" mods installed.

Re: [MOD 0.15+] Color Picker - Locomotive 0.2.1

Posted: Sun Jul 09, 2017 6:33 pm
by Mooncat
abordoli wrote:Rec'd an error during the load of my save:

Notice
Attempt to remote call outside of an event.
stack traceback:
[]__locomotive color__/control.lua:107:in
main chunk

If not a known issue, let me know and I can go deeper with details.
Regards,
~B

P.S. I do have all 5 "color picker" mods installed.
This is the error I was talking about.
I'm working on combining the mods into Color Picker, so you can delete it for now and wait for the new version of Color Picker. ;)

Re: [MOD 0.15+] Color Picker - Locomotive 0.2.1

Posted: Sun Jul 09, 2017 8:39 pm
by abordoli
Mooncat wrote:
abordoli wrote:Rec'd an error during the load of my save:

Notice
Attempt to remote call outside of an event.
stack traceback:
[]__locomotive color__/control.lua:107:in
main chunk

If not a known issue, let me know and I can go deeper with details.
Regards,
~B

P.S. I do have all 5 "color picker" mods installed.
This is the error I was talking about.
I'm working on combining the mods into Color Picker, so you can delete it for now and wait for the new version of Color Picker. ;)
Cool! Thanks! Should I delete these mods completely or will the current ones notify me of updates?

Also, how long ago did you notice this was broken? Reasons I ask is because I was a witness to seeing a dev in a large MP stream notice it and RGB manipulation got immediately fixed. I'm wondering if THIS is also byproduct of their fix.

Re: [MOD 0.15+] Color Picker - Locomotive 0.2.1

Posted: Mon Jul 10, 2017 6:33 am
by Mooncat
abordoli wrote:Cool! Thanks! Should I delete these mods completely or will the current ones notify me of updates?

Also, how long ago did you notice this was broken? Reasons I ask is because I was a witness to seeing a dev in a large MP stream notice it and RGB manipulation got immediately fixed. I'm wondering if THIS is also byproduct of their fix.
Just delete them except the Color Picker mod. I think by the time when I finish the update, no one will still keep the Color Picker sub-mods because they are causing error now.

What fix do you mean? The error is caused by a change in 0.15.27
Fixed that mods could do remote calls outside of events when the game isn't in a valid state. (50509)
The workflow that has already been here since 0.12 (when I started playing Factorio) is suddenly broken in this update. :|

Re: [MOD 0.15+] Color Picker - Locomotive 0.2.1

Posted: Mon Jul 10, 2017 4:18 pm
by abordoli
Thanks! I delete all but the Color Picker mod. I assume the later quote/statement was for another user so I'll ignore.
Regards,
~B

EDIT: Have you considered a "Color Picker for Cars/Tanks" (and, possibly, any other sort of mod vehicles that might be brought into the game)?

Re: [MOD 0.15+] Color Picker - Locomotive 0.2.1

Posted: Tue Jul 11, 2017 6:17 am
by Mooncat
abordoli wrote:Thanks! I delete all but the Color Picker mod. I assume the later quote/statement was for another user so I'll ignore.
Regards,
~B

EDIT: Have you considered a "Color Picker for Cars/Tanks" (and, possibly, any other sort of mod vehicles that might be brought into the game)?
That quote was the answer of "how long ago did you notice this was broken?"
Cars and tanks change color only when a player enters. And the color will be the same as the player color. No way to change that with API.
PS: I think I can release the update tonight, or tomorrow.
PS2: Quite sure you will be surprised by the new feature.

Re: [MOD 0.15+] Color Picker - Locomotive 0.2.1

Posted: Wed Jul 12, 2017 12:19 am
by abordoli
So will I just be updating Color Picker or the entire color picker suite?
~B

Re: [MOD 0.15+] Color Picker - Locomotive 0.2.1

Posted: Wed Jul 12, 2017 12:10 pm
by Mooncat
abordoli wrote:So will I just be updating Color Picker or the entire color picker suite?
~B
Just Color Picker. You can simply delete the other color picker mods (player color, train stop color, locomotive color, wagon color).
I'm updating the document, and will push the new version shortly.

Re: [MOD 0.15+][Deprecated] Color Picker - Locomotive 0.2.1

Posted: Wed Jul 12, 2017 8:16 pm
by abordoli
Looking forward to it! Do you that graphic handy where you have the RGB/Hex values that mimic the ore colors, etc.?
~B

Re: [MOD 0.15+][Deprecated] Color Picker - Locomotive 0.2.1

Posted: Wed Jul 12, 2017 8:28 pm
by steinio
abordoli wrote:Looking forward to it! Do you that graphic handy where you have the RGB/Hex values that mimic the ore colors, etc.?
~B
Up there it is --/\
The values are in hex

Re: [MOD 0.15+][Deprecated] Color Picker - Locomotive 0.2.1

Posted: Wed Jul 12, 2017 10:52 pm
by abordoli
Thanks! I thought I saw them somewhere, but couldn't find them again for some reason. :)
~B

Re: [MOD 0.15+][Deprecated] Color Picker - Locomotive 0.2.1

Posted: Thu Jul 13, 2017 2:05 am
by Mooncat
The colors need to be updated, since the alpha channel is now supported.
As a quick fix, you can simply add "FF" after all the hex colors, e.g. coal becomes "040404FF".
I will include the vanilla ore colors as the default color presets in the next version.