[MOD 0.12] Color Coding - Trains, Lights, and Concrete!
Re: [MOD 0.12] Color Coding - Trains, Lights, and Concrete!
How does coloring actually work?
So you craft the locomotives from the standard one and they have color. How do you recolor them? Do you just 'mine' them and get the original back? That'd be the most ideal solution i think. (Rather than having a million recipes)
Also a proposal, if at all possible:
Also would it be possible to change the color of a light with the wire network?
Like have one light be able to use all the colors, and select one depending on the state of the network? Have a nice gui along with it to add conditions.
1 Be red when copper = 0
2 be green when iron plates > 0
3 be orange when ironplates = 0
[add condition]
adding a condition would allow to choose a color and a circuit condition.
it would be prioritized and choose the first color from the top at which the condition becomes true. if none of them are, the lamp would be off.
in this example the light
would be red with no copper, regardless of the iron state
and green with iron and copper
and orange with copper but no iron
this would allow to use only one type of lamp for all colors and switching of lights in different situations.
if it's not possible to change the light directly, maybe it is to swap out the entity and reconnect the wire by script, saving the conditions. would probably lag horribly with large amounts though...
unfortunately i have no modding experiences.
So you craft the locomotives from the standard one and they have color. How do you recolor them? Do you just 'mine' them and get the original back? That'd be the most ideal solution i think. (Rather than having a million recipes)
Also a proposal, if at all possible:
Also would it be possible to change the color of a light with the wire network?
Like have one light be able to use all the colors, and select one depending on the state of the network? Have a nice gui along with it to add conditions.
1 Be red when copper = 0
2 be green when iron plates > 0
3 be orange when ironplates = 0
[add condition]
adding a condition would allow to choose a color and a circuit condition.
it would be prioritized and choose the first color from the top at which the condition becomes true. if none of them are, the lamp would be off.
in this example the light
would be red with no copper, regardless of the iron state
and green with iron and copper
and orange with copper but no iron
this would allow to use only one type of lamp for all colors and switching of lights in different situations.
if it's not possible to change the light directly, maybe it is to swap out the entity and reconnect the wire by script, saving the conditions. would probably lag horribly with large amounts though...
unfortunately i have no modding experiences.
Re: [MOD 0.12] Color Coding - Trains, Lights, and Concrete!
You're correct about getting the uncolored locomotive back when you mine it. The same is true for concrete.
Changing the color of the light isn't supported by Factorio natively. D3 can give you a much more accurate answer on whether it's possible to do via script, but my gut reaction is that it would be a convoluted workaround for little benefit when you can just place three lamps next to each other and have the correct color on for the correct signal.
Changing the color of the light isn't supported by Factorio natively. D3 can give you a much more accurate answer on whether it's possible to do via script, but my gut reaction is that it would be a convoluted workaround for little benefit when you can just place three lamps next to each other and have the correct color on for the correct signal.
Re: [MOD 0.12] Color Coding - Trains, Lights, and Concrete!
I gave it a try but I encountered the following problem:
Together with waitex hd texture pack, even with all textures disabled in the waitex config, my vram isn't sufficient. When I tried deleting waitex from the mod folder, the game would then crash after loading the sprites at 89% after starting the game. While with waitex it would load completely but the weird texture disappearing bug happens. To me it seems that there is an undocumented dependency.
I narrowed it down to this mod, everything works fine when this one is removed.
Together with waitex hd texture pack, even with all textures disabled in the waitex config, my vram isn't sufficient. When I tried deleting waitex from the mod folder, the game would then crash after loading the sprites at 89% after starting the game. While with waitex it would load completely but the weird texture disappearing bug happens. To me it seems that there is an undocumented dependency.
I narrowed it down to this mod, everything works fine when this one is removed.
Log
Re: [MOD 0.12] Color Coding - Trains, Lights, and Concrete!
Sorry, this would be very complicated and bug-prone to do. I recommend just setting up separate lights of each color. The mod is MIT licensed, so if you want to take a shot at making it work, be my guest.FalcoGer wrote:Also would it be possible to change the color of a light with the wire network?
Right now trains don't have tint masks, so the color cannot be changed in software. I actually have to create separate recolored sprite sheets for each, and this uses a TON of VRAM, on the order of 200-300MB after decompression. I'm not sure how WaiTex works, but if it's trying to scale up the trains... it could be even worse.FalcoGer wrote:Together with waitex hd texture pack, even with all textures disabled in the waitex config, my vram isn't sufficient. When I tried deleting waitex from the mod folder, the game would then crash after loading the sprites at 89% after starting the game. While with waitex it would load completely but the weird texture disappearing bug happens. To me it seems that there is an undocumented dependency.
Try extracting the mod so that it runs from a folder instead of a ZIP. You can then go into /prototypes/config.lua and set ENABLE_TRAINS = false, which will save quite a bit of VRAM. (The lamps and concrete don't use anywhere near as much).
Windows notepad likes to mangle line endings, so I recommend getting Notepad++ to do the edit. (it's free)
As far as the crash is concerned you may want to report it to the devs. I would think that factorio would actually pop up and say "out of VRAM" if that's what's going on, but I'm not sure.
Re: [MOD 0.12] Color Coding - Trains, Lights, and Concrete!
Here are some ideas for their cool mod:
- Illuminated letters, numbers, arrows for railway stations, industrial estates ...
- Ability to set Vanilla Trees
- Illuminated letters, numbers, arrows for railway stations, industrial estates ...
- Ability to set Vanilla Trees
-
- Manual Inserter
- Posts: 3
- Joined: Wed Aug 19, 2015 9:37 pm
- Contact:
Re: [MOD 0.12] Color Coding - Trains, Lights, and Concrete!
I've discovered a (pretty handy) bug - when I place an assembler and choose any colored concrete recipe, the assembler will immediately fill up with 20 concrete blocks of that color, no need to insert regular concrete or even connect it to electricity. If I connect an inserter that transfers from the output slot to a chest it will be empty after removing the 20 blocks, but if I shift-click it into my inventory the output slot still shows 20 blocks giving me an unlimited supply of colored concrete.
I understand you're pretty busy at the moment, so by all means take your time fixing this as I'll be pretty busy too - I'm going to paint this planet red!
Edit: This happens with colored lamps and trains as well.
I understand you're pretty busy at the moment, so by all means take your time fixing this as I'll be pretty busy too - I'm going to paint this planet red!
Edit: This happens with colored lamps and trains as well.
Re: [MOD 0.12] Color Coding - Trains, Lights, and Concrete!
this is a known issue with the base 12.# filesmrhenryford wrote:I've discovered a (pretty handy) bug - when I place an assembler and choose any colored concrete recipe, the assembler will immediately fill up with 20 concrete blocks
thy may be stupid but thy am smart (reddutton 2006 seconlife)
Re: [MOD 0.12] Color Coding - Trains, Lights, and Concrete!
Idk why but if i instal the New version of Color Coding i get Massiv lagg spikes ingame.
Anyone know why ?
Anyone know why ?
Sorry for my bad English ! i will not remove it !
RailTanker [MP WIP]
Our Modpack
WIP Test MODSRailTanker [MP WIP]
Re: [MOD 0.12] Color Coding - Trains, Lights, and Concrete!
If you want to use it in Factorio 0.12.8
change lines 60 to 63 in config.lua to
change lines 60 to 63 in config.lua to
Code: Select all
CRAFTING_TIME_CONCRETE = 0.0011
CRAFTING_TIME_LAMPS = 0.0011
CRAFTING_TIME_TRAINS = 0.0011
Re: [MOD 0.12] Color Coding - Trains, Lights, and Concrete!
Thanks!Choumiko wrote:If you want to use it in Factorio 0.12.8
change lines 60 to 63 in config.lua toCode: Select all
CRAFTING_TIME_CONCRETE = 0.0011 CRAFTING_TIME_LAMPS = 0.0011 CRAFTING_TIME_TRAINS = 0.0011
Re: [MOD 0.12] Color Coding - Trains, Lights, and Concrete!
Hotfix released: v1.0.7 works with 0.12.8. Original post has been updated.
- LuziferSenpai
- Filter Inserter
- Posts: 373
- Joined: Tue Jul 08, 2014 10:06 am
- Contact:
Re: [MOD 0.12] Color Coding - Trains, Lights, and Concrete!
Ähm yea, if you choose one of this recipes in a Assembler you get the Item for free so you can cheat really OP. Pls fix thanks.
- StoneLegion
- Filter Inserter
- Posts: 687
- Joined: Fri Sep 05, 2014 7:34 pm
- Contact:
Re: [MOD 0.12] Color Coding - Trains, Lights, and Concrete!
I like it and also hate it. Because of the need to load even more sprites. I wonder besides GPU Memory if there is much performance hit on so many models.
Re: [MOD 0.12] Color Coding - Trains, Lights, and Concrete!
This isn't a problem with the mod, it's a bug in the base game that has been fixed in recent patches. Please make sure you're running the latest version of Factorio.CookieGamerTV wrote:Ähm yea, if you choose one of this recipes in a Assembler you get the Item for free so you can cheat really OP. Pls fix thanks.
Re: [MOD 0.12] Color Coding - Trains, Lights, and Concrete!
Would you consider adding support for the MK2, MK3, and armored trains in Bob's Mods? I had all my trains color-coded, and went to upgrade to the next set of trains, but couldn't keep my coloring
Re: [MOD 0.12] Color Coding - Trains, Lights, and Concrete!
I'm not planning on adding support for anything but the vanilla game in my mods. (I don't use the big overhaul mods myself, and supporting them would add quite a bit of extra work and testing requirements to each release.)Colossus wrote:Would you consider adding support for the MK2, MK3, and armored trains in Bob's Mods? I had all my trains color-coded, and went to upgrade to the next set of trains, but couldn't keep my coloring
This mod is MIT licensed, so if you would like to work on a bob's mod compatible version, feel free to take apart and reuse anything you find here.
Re: [MOD 0.12] Color Coding - Trains, Lights, and Concrete!
Fair enough, I'll try my hand at making a mod for this.
Have you considered adding color options to the cargo wagons?
Have you considered adding color options to the cargo wagons?
Re: [MOD 0.12] Color Coding - Trains, Lights, and Concrete!
please keep this mod uptodate ( 12.20 ) and upcoming steam release
i realy like this mod
thay should make this stock game...
i realy like this mod
thay should make this stock game...
Re: [MOD 0.12] Color Coding - Trains, Lights, and Concrete!
Due to the way that the mod works, very little version-dependent code is present. It should continue working unless the devs change something significant with the way mods load or the way crafting recipes work.silver_26 wrote:please keep this mod uptodate ( 12.20 ) and upcoming steam release
Unfortunately I have not had much time for games or modding lately, but I will probably be back in time for 0.13. Even if not, the mod is MIT licensed, and anyone in the community is more than welcome to patch it or modify it for newer versions. It should be very easy to maintain with the way I have it structured.
Re: [MOD 0.12] Color Coding - Trains, Lights, and Concrete!
Itook the liberty to make a trainless version for those using WaiTex and/or concerned about file size/gfx memory. Licence remains MIT.
https://www.dropbox.com/s/0p7iu12gffsjf ... 7.zip?dl=0
https://www.dropbox.com/s/0p7iu12gffsjf ... 7.zip?dl=0