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.
Once set, this mod adds a small button on the top-left corner during the game. You can change your player color with it.
This is also a demonstration on how to integrate the Color Picker mod. Feel free to check its code.
Version history
Version 0.2.1 (May 1, 2017):
Changed mod name from "Player Color" to "Color Picker - Player", for better mod grouping.
Mod ID is not affected.
Optimized the button image to decrease overall mod size.
Version 0.2.0 (May 1, 2017):
Updated for Factorio 0.15.
Now requires Color Picker 0.3.0+ (From 0.1.1+)
Version 0.1.1 (Aug 31, 2016):
Updated for Factorio 0.14.
Now requires Color Picker 0.1.1+ (from 0.1.0+)
Version 0.1.0 (Aug 8, 2016): The first version.
Known issues
Feel free to report if you have found any.
Re: [MOD 0.13.13+] Player Color 0.1.0
Posted: Mon Aug 08, 2016 3:29 pm
by steinio
Looks great.
Is this possible for trains?
Greetings steinio
Re: [MOD 0.13.13+] Player Color 0.1.0
Posted: Mon Aug 08, 2016 5:46 pm
by Mooncat
steinio wrote:Looks great.
Is this possible for trains?
Greetings steinio
Maybe. But are you sure you don't want to use the built-in interface for changing train color?
Re: [MOD 0.13.13+] Player Color 0.1.0
Posted: Mon Aug 08, 2016 8:53 pm
by steinio
Well i like the color picker.
The vanilla selector can only use the rgb values and i don't want to remember them.
Greetings steinio
Re: [MOD 0.13.13+] Player Color 0.1.0
Posted: Tue Aug 09, 2016 1:42 am
by Mooncat
steinio wrote:Well i like the color picker.
The vanilla selector can only use the rgb values and i don't want to remember them.
Greetings steinio
ok, will do it tonight.
Re: [MOD 0.13.13+] Player Color 0.1.0
Posted: Tue Aug 09, 2016 8:16 pm
by Mooncat
Unfortunately, there is a problem in the modding API, so we have to wait until it is fixed: viewtopic.php?f=28&t=30741
Re: [MOD 0.13.13+] Player Color 0.1.0
Posted: Mon Aug 15, 2016 6:35 pm
by steinio
Oh well i'm sorry for that trouble.
If it's not possible it's ok.
Thanks for your work.
Re: [MOD 0.13.13+] Player Color 0.1.0
Posted: Tue Aug 16, 2016 1:40 am
by Mooncat
nah, it is ok. Not your fault. It is just the API not ready for that right now.
(maybe I can find a workaround when I have time)
Re: [MOD 0.14+] Player Color 0.1.1
Posted: Wed Aug 31, 2016 7:31 am
by Mooncat
Same as the Color Picker mod, now Player Color works in Factorio 0.14.
But there is a known issue: the color picker is not positioned correctly and may overlap with the UI on top. Waiting for the devs to fix this.
Re: [MOD 0.15+] Player Color 0.2.0
Posted: Mon May 01, 2017 8:40 am
by Mooncat
Released v0.2.0. Updated for Factorio 0.15!
Edit: released v0.2.1, mainly for changing the mod name.