Transport Fever 2

Transport Fever 2

Tunnel Repainter
42 Comments
Blake Johnson 20 Sep, 2024 @ 10:09pm 
Really good tunnel mod, I simply don't know what I'd do without it.

So I use the Concrete tunnels for most railroads & subways (Old stone bricks aren't realistic in a modern setting) and rock tunnels for disused and (very) old railroads.
FL0R1AN  [author] 13 Aug, 2024 @ 9:23am 
@asmsiantar22h yes you can use it, there are licenced under CC0 (No Rights Reserved) https://creativecommons.org/public-domain/cc0/
asmsiantar22h 8 Aug, 2024 @ 6:15am 
Can I use the Tunnel Walls?
Adroitly Absurd 12 Nov, 2021 @ 10:24am 
Understood - Thank you!
FL0R1AN  [author] 12 Nov, 2021 @ 9:15am 
I'm sorry, I haven't updated the mods in a while, as I don't play the game either.
Adroitly Absurd 9 Nov, 2021 @ 6:44pm 
Fantastic mod! Can you tell me how to edit the track speed? I'd like to use it with higher-speed lines in late-game, but noticed there's both a "t.speedLimit" and "t.speedCoeffs" entry in the .lua files and I don't know if I can just edit one line or have to calculate something else in addition. Thank you!
briansyston 20 Mar, 2021 @ 3:49am 
Yes it seems that tunnelling can't be modded as no one has ever made a mod for better tunnels.
The tunnel mouth dosent fit in the ground and sticks out!
The railway signalling system seems to be the same as they change in front of trains!
FL0R1AN  [author] 20 Mar, 2021 @ 3:22am 
This mod only changes the textures. I would like to have your wishes myself, but unfortunately the game does not support that.
briansyston 13 Mar, 2021 @ 9:33pm 
Can't they be dark and round ?
FL0R1AN  [author] 30 Dec, 2020 @ 9:10am 
Thanks for sharing your information
DaanIEL 29 Dec, 2020 @ 5:11pm 
Ah yes, thank you. I made some tests and it's not possible to load a map where the tunnels are modified, due to missing textures. Once all the tunnels have been replaced with vanilla tracks, it was safe to deselect the mod.
FL0R1AN  [author] 29 Dec, 2020 @ 1:30pm 
That's a good question. Actually, removing the mod should only cause problems if you also used the tracks for the tunnel walls. Just use the upgrade tool and change all the tracks in the tunnels to the vanilla tracks.
DaanIEL 29 Dec, 2020 @ 12:08pm 
Hi TimereLibertati, is this mod safe to deselect after it has been used on a map, or is it necessary to remove all tunnels that have been built, first?
FL0R1AN  [author] 15 Jun, 2020 @ 9:50am 
This is only a texture mod and unfortunately I don't have time for an update at the moment.
coffeecat450 12 Jun, 2020 @ 12:33pm 
Hey these are really great, would it be possible to add the access walkway on the sides with maybe a service door?
Duke49th 26 May, 2020 @ 5:55pm 
Thank you. Got it. Yes you're right. Still I don't like to delete all the tracks now again and redo everything. So this way I can just continue to use it. With the little flaw at the entrance of the tunnel.
But thanks. It shows them now. :steamhappy:
FL0R1AN  [author] 26 May, 2020 @ 11:38am 
...Steam\steamapps\workshop\content\1066780\1981984610\res\config\track
FL0R1AN  [author] 26 May, 2020 @ 11:36am 
For me it looks better without the masts, because I use this mod only in the tunnel. Otherwise the masts disappear in the masonry which I don't like.

In the tunnel_high_speed.lua and tunnel_standard.lua is written

t.catenaryPoleModel = "empty.mdl"
t.catenaryMultiPoleModel = "empty.mdl"
t.catenaryMultiGirderModel = "empty.mdl"
t.catenaryMultiInnerPoleModel = "empty.mdl"

Replace this with in the tunnel_high_speed.lua

t.catenaryPoleModel = "railroad/power_pole_2.mdl"
t.catenaryMultiPoleModel = "railroad/power_pole_1.mdl"
t.catenaryMultiGirderModel = "railroad/power_pole_1a.mdl"
t.catenaryMultiInnerPoleModel = "railroad/power_pole_1b.mdl

Replace this with in the tunnel_standard.lua

t.catenaryPoleModel = "railroad/power_pole_us_2.mdl"
t.catenaryMultiPoleModel = "railroad/power_pole_us_1_pole.mdl"
t.catenaryMultiGirderModel = "railroad/power_pole_us_1a_repeat.mdl"
t.catenaryMultiInnerPoleModel = "railroad/power_pole_us_1b_pole2.mdl"
FL0R1AN  [author] 26 May, 2020 @ 11:35am 
Für mich schaut es besser aus, ohne die Masten, da ich diese Mod nur im Tunnel benutze. Sonst verschwinden die Masten im Mauerwerk was mir nicht gefällt.

In der tunnel_high_speed.lua und tunnel_standard.lua steht:

t.catenaryPoleModel = "empty.mdl"
t.catenaryMultiPoleModel = "empty.mdl"
t.catenaryMultiGirderModel = "empty.mdl"
t.catenaryMultiInnerPoleModel = "empty.mdl"

Dies durch in der tunnel_high_speed.lua ersetzen:

t.catenaryPoleModel = "railroad/power_pole_2.mdl"
t.catenaryMultiPoleModel = "railroad/power_pole_1.mdl"
t.catenaryMultiGirderModel = "railroad/power_pole_1a.mdl"
t.catenaryMultiInnerPoleModel = "railroad/power_pole_1b.mdl"

Dies durch in der tunnel_standard.lua ersetzen:

t.catenaryPoleModel = "railroad/power_pole_us_2.mdl"
t.catenaryMultiPoleModel = "railroad/power_pole_us_1_pole.mdl"
t.catenaryMultiGirderModel = "railroad/power_pole_us_1a_repeat.mdl"
t.catenaryMultiInnerPoleModel = "railroad/power_pole_us_1b_pole2.mdl"
Duke49th 26 May, 2020 @ 2:15am 
Just found a link from you in the comments and this is in the changelog:

1.2: Zeigt die Oberleitungsmasten nicht mehr an. // Hides the Catenary poles

But why? This looks so weird and wrong. For the tunnels I would understand it. But outside of the tunnel? How to revert it? Which part to edit? Pretty please, because it really looks weird and I have placed so many tracks already.
Duke49th 26 May, 2020 @ 2:12am 
Hello. Thanks for the mod.
Unfortunately the power lines do not have posts anymore. They're all just there in the air above the tracks, kinda floating.
I hope you speak German so I try it in German for better understanding as I am not familiar with the english technical terms:

Die Oberleitungen sind frei schwebend. Keine Masten an denen sie befestigt sind, wie in der Vanilla Version. Das sieht seltsam aus, da jetzt nur eine durchgezogene Oberleitung herum schwebt, ohne irgendwo befestigt zu sein.
Ich habe hier fuer die Tracks nur deinen Mod und den Tunnel Type 1 und 3 Mod.
Falls benoetigt, schicke ich einen Screenshot.
Kann mir kaum vorstellen das ein anderer Mod dazwischen funkt. Ich habe nicht viele und sonst halt keinen mit Tracks.
Snazz 14 May, 2020 @ 10:40am 
I meant standard train tracks (from 120 to 160km/h).
The ones you lay for freight trains (who's top speed is..160 km/h!), instead of wasting money on 300km/h tracks meant for bullet trains.
FL0R1AN  [author] 14 May, 2020 @ 5:15am 
This mod don't change the limit for freight trains 😉
Snazz 13 May, 2020 @ 10:46pm 
This is great, exactly what I was looking for. I like the increased limit for freight trains as well :)
FL0R1AN  [author] 26 Mar, 2020 @ 12:46pm 
I'm afraid not. Only the wall texture can be changed. This is advised a little darker.
TheRack 26 Mar, 2020 @ 11:22am 
Would it be possible to make dark tunnels ?
FL0R1AN  [author] 7 Mar, 2020 @ 3:52am 
I would be honored if I could do this ;-)

Currently the game does not offer the possibility to define a tunnel tube. Also lights or other installations can not be moved at the moment without further ado.

But I hope that there will be a solution soon ;-)
ylij174 5 Mar, 2020 @ 8:39pm 
TimereLibertati Could you release the same mod, but with lights in the tunnel? Maybe so: https://pikabu.ru/story/seykan__zheleznodorozhnyiy_tonnel_v_yaponii_dlinoy_5385_km_5841512
TaGG 22 Feb, 2020 @ 7:04am 
Thanks for the making the MOD buddy but when using electrified track the catenary poles are not being drawn in just the cables
FL0R1AN  [author] 8 Feb, 2020 @ 9:29am 
You're welcome :-)

You mean 160 kilometers per hour ;-) And probably wonder why I chose the speed limiters to 160 and not 120 km/h as given by the game.

That's because of a track mod I use, there are diuese standard tracks with a speed up to 160 km/h
iDontlikeTheworld 8 Feb, 2020 @ 4:59am 
Thanks for your mod, it provides great landscaping for my tunnel. Since the speed limit of the ordinary railway in the tunnel is 160 kilometers per second. Why is the speed limit of ordinary railways not 160?
tfziehmann 30 Jan, 2020 @ 11:36pm 
Thank you for your explanation :)
Banoon 30 Jan, 2020 @ 10:48pm 
FL0R1AN  [author] 30 Jan, 2020 @ 7:12am 
Unfortunately, the bridge textures are only a square, which is placed on the sides and the ceiling.

Alternatively the whole tunnel structure would have to be reworked, but I don't know if this is possible with TPF2. I would even prefer round tunnels ;-)

You can download my mod and therefore also the texture here: https://www.transportfever.net/filebase/index.php?entry/5168-tunnel-repainter-1-3/
tfziehmann 30 Jan, 2020 @ 12:05am 
Hmm, I think, it must be even more dark :D
Maybe, two versions of track:
One like you did before, where the message is "this tunnel has its own lightsource, but looks better than the one in the vanilla game" (maybe you can "paint" something in the texture which is looking like a light, like this: https://www.eneltec-led.com/LED-Lighting-Blog/led-tunnel-light-application-notes/ (first tunnel picture on this site)

And one, which is so dark, that the current texture is barely visible, but clearly still brighter als flat black - as you said, just black wouldn't look that good.

If you want, you can give me your texture and I can try to help.

Btw, thank you for your effort :)
FL0R1AN  [author] 29 Jan, 2020 @ 9:06pm 
Now it´s darker :-)
tfziehmann 29 Jan, 2020 @ 9:04am 
But what about making the grey concrete texture much darker?
Maybe, this would be a good compromise?
FL0R1AN  [author] 29 Jan, 2020 @ 6:13am 
@tfziehmann I agree with you, I'd like it darker in the tunnels too. But only a black texture doesn't look good (I've already tried it).

It would make much more sense to change the shadows so that they get darker dynamically in the tunnels (depending on their length). But there I would have to pass.
tfziehmann 28 Jan, 2020 @ 11:21pm 
Pretty cool, thank you!
What do you think about a tunnel texture, with a very dark (nearly black) grey? Most train tunnels are mostly dark.
rlas 28 Jan, 2020 @ 8:15am 
Very kind to share the textures. U should recommend the textures for the asset creators of recent things :)
FL0R1AN  [author] 28 Jan, 2020 @ 7:38am 
Unfortunately, it's not working. Each track brings its own texture for the bridge or just uses the vanilla texture.

Of course you can use my texture and overwrite the texture of other tracks ;-)

https://www.transportfever.net/filebase/index.php?entry/5168-tunnel-repainter/
Sir Ludicrous 28 Jan, 2020 @ 7:34am 
Could you also make a version, that overwrites said textures for any track that you use?
Would be great to have this work with other custom tracks. :D