Transport Fever 2

Transport Fever 2

Rocky Climate
15 Comments
Vencaok 25 Sep, 2022 @ 2:31am 
there are still palm trees:steamfacepalm:
ritknat 25 Apr, 2021 @ 2:33am 
For my personal use I made a version of your climate mod with an adjustable snowline (when loading the mod) so it fits better with different maps - would you be interested in updating the mod or can I upload it here?
marc345 28 Feb, 2021 @ 8:50am 
for me everything is white, even not on mountains.
Vencaok 5 Sep, 2020 @ 8:18am 
I would like to change dark grass for light advice ?? Thank you
Globetrotter 13 Aug, 2020 @ 3:25pm 
@ritknat - Great idea. A Med theme would be fab.
ritknat 25 Jun, 2020 @ 5:29am 
Hi

I have a question, would you like to make a mediterranean climate? with dry hills and only green in the valleys and som fitting trees? I don't know about climate modding..

Joe 4 Apr, 2020 @ 5:45am 
Nice! Looks great!. Danke
OfficialTikka 29 Feb, 2020 @ 11:00am 
how do i find the lua file to change altitude of snowline?
Spearin  [author] 3 Feb, 2020 @ 8:22am 
I will attempt to update the mod next weekend. Having trouble finding time. But thanks to dps4140 for tracking down the bug!
Googlefluff 1 Feb, 2020 @ 7:17pm 
I am indeed getting a foliage bug. At high altitudes I'm getting palm trees mixed in with the pine with environment set to temperate.
dps4140 10 Jan, 2020 @ 9:38pm 
Hey Spearin, love the climate. Just wanted to let you know I also see the issue with the possible bug (all foliage). I think it comes down to the behavior in config/base_mod.lua.

If you look for a line in there 'if settings.climate == "temperate" then' you can see what the trick is. Essentially, if it's temperate, it sets tree filtering to baseOrMod, and gets rocks from just temperate.clima.lua . You also will probably see that the buildings will sometimes have trees in the lots, which is declared right after regarding constructions (temperate removes palms and cacti). Everything else is elseif, so you'd probably have to replace the entire switch so it reads as:

if temperate
elseif dry
elseif tropical
elseif rocky
end

Duplicating the file filter for Temperate and nesting it under the elseif will probably get it right as rain. :) Also based on the commented line, it looks like you were onto it.
Starbucaneer 31 Dec, 2019 @ 7:07am 
Ahhh no more painstakingly hand painting snow caps!

Thanks for creating and sharing,
Happy New Year!
Spearin  [author] 28 Dec, 2019 @ 6:17am 
@Lunatic line 154 in mod.lua - there are two sets of number ranges. The first is for the heightmap range (0 - 255) and second set are for the opacity (0 - 1) of the snow at the corresponding range.

Tweak those values until you're happy with where the snow begins. I optimized the snow level with a specific map I'm making.
Valkyrie 28 Dec, 2019 @ 5:17am 
Btw, how can I increase the minimum height of the the snowline?
Col0Korn 27 Dec, 2019 @ 1:21pm 
Wow, this looks fantastic!! Great stuff as always. :)