Transport Fever 2

Transport Fever 2

Better Bad/Good Colors
44 Comments
Blake Johnson 13 Sep, 2024 @ 5:46am 
Because I normally build American railroads, my speeds are normally 40 - 50 MPH, which means that when I go to check my track speeds, it normally shows PINK which makes me want to vomit, but this mod solves that issue, and now tracks are normally Orange or Yellow.


Also this mod doesn't effect my gameplay, even though I am mildly Red-Green colourblind.
sebalicious 2 Sep, 2024 @ 5:31am 
I've got to say, the vanilla colours are extremely good for those with red-green colourblindness like myself (1 in 6 people are colourblind to varying degrees). I didn't even realise it while playing, so I almost subscribed to this mod by habit since, by default, I always try to mod vanilla game colours to a red & blue profile, away from red & green.

Red to green is a very common profile for bad->good colours such as health bars. I'm suspecting that the original developers either wanted to consider this common condition or they themselves may have had difficulty with red & green and naturally chose their preferred colours. Although as you said in the description, those who are in majority with standard eyesight clearly would prefer the red-green profile; a fact that I also didn't know.

So I didn't subscribe, and I appreciate the work to create this, but I just wanted to voice my astonishment at finding out that the vanilla colours are so friendly to colourblind players by default!
VacuumTube  [author] 29 Mar, 2024 @ 2:16am 
Is the crash also with my mod alone?
Maybe you're having the outdated Line Color Mod, see below.
Nova Kane 28 Mar, 2024 @ 1:28pm 
__CRASHDB_CRASH__ struct lua::LuaException: urban_games/train_fever/src/Lib/lua/State.cpp:646: void __cdecl lua::State::Call(int,int): error: *1961044714_1::mod.lua:25: attempt to index field 'layers' (a nil value)
stack traceback:
=[C](-1): __index
@*1961044714_1::mod.lua(25): ?

- The mod mentioned is your mod I'm afraid :(
Elje0ett 25 Apr, 2023 @ 8:08am 
I do have that mod, would you mind putting it in the discription so that you can see it ingame and also others can see it because most people (including me) don't read the comments
VacuumTube  [author] 24 Apr, 2023 @ 12:10pm 
then you have a broken mod active. Mine is fixed. Read below
Elje0ett 24 Apr, 2023 @ 7:40am 
what is this, i toggled your mod on and it crashed
Elje0ett 24 Apr, 2023 @ 7:40am 
Exception type: Lua exception
Error message: error: E:/SteamLibrary/steamapps/workshop/content/1066780/1961044714/mod.lua:25: attempt to index field 'layers' (a nil value)
stack traceback:
=[C](-1): __index
UI Component Hierarchy:
type: class UI::CustomGameSettingsComp, id = "", name = "CustomGameSettingsComp", styleClasses = {}
type: class UI::CComponent, id = "", name = "MenuWindow::Content", styleClasses = {}
type: class UI::CComponent, id = "", name = "MenuWindow", styleClasses = {"advanced-game-settings"}
type: class UI::CComponent, id = "", name = "ModUploadDialog", styleClasses = {}
type: class UI::LoadGamePage, id = "", name = "LoadGamePage", styleClasses = {}
type: class UI::CComponent, id = "menuUI", name = "wrap", styleClasses = {}
type: class UI::CMenuUI, id = "", name = "MenuUI", styleClasses = {}
type: class UI::CComponent, id = "", name = "wrap", styleClasses = {"platform-desktop", "ui-classic", "input-mouse", "gamepad-type-xbox"
VacuumTube  [author] 5 Apr, 2023 @ 12:09pm 
Again
1. Does it work without other mods? Try finding the conflicting mod.
2. If you have that color mod from LINX active, desub (it's deprecated)
3. I need error message / stdout.txt
SmoreShiba 4 Apr, 2023 @ 5:25pm 
I can confirm that this does crash the game.
VacuumTube  [author] 29 Mar, 2023 @ 1:22pm 
1. Does it work without other mods?
2. I need error message / stdout.txt
Diego 29 Mar, 2023 @ 1:15pm 
for some reason it worked a few days after the update and now it doesn't work and crashes the game
VacuumTube  [author] 18 Mar, 2023 @ 4:11am 
can you send a stdout.txt
Tim_du_78 17 Mar, 2023 @ 3:10pm 
cant create a new game.It crash my game with a nil error i believe
VacuumTube  [author] 15 Mar, 2023 @ 2:15pm 
I updated it and for me it does.
Maybe deactivate broken mods like color mod frpm LINX
pepof82 15 Mar, 2023 @ 9:13am 
This mod doesn't work.
VacuumTube  [author] 13 Mar, 2023 @ 10:10am 
is now working again?
OllyG 12 Mar, 2023 @ 1:20pm 
For info, I found this mod which looks like it does the same, and appears to have been updated.

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1973316737&searchtext=colors
OllyG 12 Mar, 2023 @ 1:18pm 
Hello

Has anyone else found that this mod no longer works after the most recent mod?

Will it be updated?

Thank you for creating this excellent mod!

Olly.
b.manoxin 6 Mar, 2021 @ 7:29am 
у меня не работает!Цвет не меняется!
der0815jan 24 Apr, 2020 @ 7:23am 
Nice mod.
But it would be even nicer if it would have more color shades between red and green. For example there ist no difference between 160 kph and 200 kph tracks (Note: The fastest track on my map is 300 kph).
W0mbat 29 Jan, 2020 @ 2:04am 
Why dont the devs add simple crap like this into the game. I dont understand why we need to play this game with mods when this stuff should be fixed in the base game. All I gotta say is the devs got lazy with this game and only made TF2 with enhanced graphics and nothing else.
Leigh 23 Jan, 2020 @ 7:24pm 
So many Ui based mods that change things Urban Games should have done in the first place.

This is great, thanks,but such a shame that UG have basically outsourced fixing their UI to modders.
VacuumTube  [author] 15 Jan, 2020 @ 2:16pm 
Glad to hear that it helps
Senpai 14 Jan, 2020 @ 9:57am 
Thanks a LOT! I got protanopia and this made me really happy!
DreeseDatalink 10 Jan, 2020 @ 7:23pm 
for those who are color blind this is great. or at least the type i have. all the blues in the default one look the same to me :-)
VacuumTube  [author] 10 Jan, 2020 @ 4:30am 
Thats because that mod is not well programmed: It overwrites the whole game.config.gui and not only the line colors which are changed. So load my mod preferably last.
vitalii201 9 Jan, 2020 @ 3:50pm 
If possible, this mod should be loaded last or after scripts with similar functions.
For example: when it loaded before https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1927330004 , it didn’t work, did not change the color of the layers.
Pdguru 7 Jan, 2020 @ 9:46am 
I took a look at that - all gobbledigook to me. I assume the numbers in one of the lines refer to a color - but given I don't know the code and could not see the colors anyway, not sure how I can solve the issue, lol. I just hope one day developers will recognize that a lot of people are effected by this.
VacuumTube  [author] 7 Jan, 2020 @ 4:22am 
But now, more colors are modable. Maybe you can find better settings by trying out some values in the base_config (game.config.gui...)
Pdguru 6 Jan, 2020 @ 1:52pm 
Thanks for this. it helps, but overall TF2 is the same as TS 1 -very difficult for severely colorblind people (like me) many of whom cannot differentiate reds/greens/browns, yellows and bright greens, or blues and purples. The layers are largely useless as they stand right now, especially the building zones. If possible, colors should be only black, blue, yellow and red. Or checkered/lined/speckled etc.
CocoJacoby 6 Jan, 2020 @ 10:12am 
I wish Urban Games tweaks the colors in the basic game. We shouldn't need a mod to make the game more readable.
Lenza 6 Jan, 2020 @ 5:27am 
THANKS, my eyes are not bleeding anymore :steamhappy:
PureBasic 6 Jan, 2020 @ 5:07am 
@Exo_Atami_122 Thanks !
industrialcomplex 6 Jan, 2020 @ 4:24am 
As a workaround for no white overlay you can open the line manager, enable the speed layer then close the line manager. You can also do this the other way around to remove the white overlay from the line and vehicle manager.
canophone 6 Jan, 2020 @ 12:49am 
The contours layer change was easy, but only works in the contours layover, not universally across data layers.
VacuumTube  [author] 6 Jan, 2020 @ 12:25am 
It seems that at the moment only the color of the height layer is modable (and not even removable)
Exo_Atami_122 5 Jan, 2020 @ 10:41pm 
@canophone, @PureBasic - is this what you are talking about?...

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1950679599
PureBasic 5 Jan, 2020 @ 7:52pm 
@canophone if you find that please notice. I loved laying tracks with the height layer on on TpF1
canophone 5 Jan, 2020 @ 6:54pm 
Hmm, still trying to find what makes the white overlay when a data layer is selected. I want to change that.
qkzn 5 Jan, 2020 @ 5:46pm 
Better than original. thx
SpecialistZer0 5 Jan, 2020 @ 3:46pm 
Very Useful, Thank you.
tsilaicosneknurd 5 Jan, 2020 @ 2:35pm 
super :)
AweP 5 Jan, 2020 @ 2:25pm 
Such simple mod yet superb Helpful