Transport Fever 2

Transport Fever 2

Alpine Climate - Snow at 700m
31 Comments
Dugonger 27 Apr @ 11:35pm 
This caused a crash for me
Creator13 25 Mar @ 5:24am 
Works fine for me (after enabling the mod on load and changing the climate setting to Alpine 700m), tested on a custom map.
SteelRodent 23 May, 2024 @ 10:10am 
neither of these snow mods work anymore. No snow at any altitude
dangoude 31 Mar, 2024 @ 5:19am 
pls fix
dangoude 31 Mar, 2024 @ 5:17am 
it dosent work
ΛSТROИO 17 Feb, 2024 @ 4:27am 
Could you do this mod for 500m as well? Would be great for some flatter maps to have at least a change in colour (brown/orange and grey). Thanks!
edu.martinez7 21 Jun, 2023 @ 8:41am 
Doesn't work for me. Any of them. Just creates mesas no mountains and no snow. Don't know why
dmonsta19  [author] 25 Jan, 2023 @ 10:37am 
Good looking map! But honestly, you go ahead and release it. I genuinely don't know when I'll have the time in the next few weeks to update, so please, upload it yourself.
Kartografix 25 Jan, 2023 @ 8:55am 
Here you can find a preview image of the map which I will release soon - and which would use the new mod: https://i.imgur.com/7pICo3R.jpg
Kartografix 25 Jan, 2023 @ 8:47am 
If you install the bugfix in your files, could you add a new mod (Alipne Climate 900m) too? This would be far easier for me, because the mod would sail under the right flag ;-)

This new mod would be just a copy of the (bugfixed-) Mod "Alpine Climate 1000m" with the following changes in the mod.lua:

1) Find this line:
result.layers:Map(heightmap, layer9Map, { 929 , 1000 } , { 0.8, 1 }, true)

2) Replace the line with this line:
result.layers:Map(heightmap, layer9Map, { 829 , 900 } , { 0.2, 1 }, true)

3) Find this line:
result.layers:Pwlerp(heightmap, temp1Map, { 886, 914, 1000 }, { 0, 0.8, 1})

4) Replace the line with this line:
result.layers:Pwlerp(heightmap, temp1Map, { 786, 814, 900 }, { 0, 0.2, 1})
Kartografix 25 Jan, 2023 @ 8:40am 
Here ist the Bugfix:

1) Find this line in mod.lua:
local function reorderAsset(keyword, offset)

2) Add these lines above the line (taken from splendorb, see the other comments)
local function treeFilter(fileName, data)
if string.match(fileName, "usa") or
string.match(fileName, "tropical") or
string.match(fileName, "joshua_pine") or
string.match(fileName, "cactus") then
return false
else
return true
end
end

3) Find this line:
addModifier("loadClimate", climateMod)

4) Add this line below the line:
addFileFilter("model/tree", treeFilter)
dmonsta19  [author] 25 Jan, 2023 @ 4:23am 
Fine by me! Not that I have the time to update these, but can I use your fix of the palm tree bug to update these?
Kartografix 25 Jan, 2023 @ 2:36am 
Thank you very much! Since I can't embed text files in the description of my map in the Steam Workshop: would you agree if I publish another mod in the workshop (e.g. "Alpine Climate 900m"), in which I name you as the original author ? Similar to Ruvan: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2567851058&searchtext=Alpine+Climate
dmonsta19  [author] 24 Jan, 2023 @ 6:23am 
Sure thing Kartografix!
Kartografix 24 Jan, 2023 @ 12:39am 
Hi dmonsta19! I would like to publish a map in the Steam Workshop which uses your Alpine Climate-Mod. May I publish an adapted version of your mod.lua together with my map? This customized version would include some adjustments to change the snow line - and also to fix the bug with the palm trees.
RocketRanger 9 Jan, 2022 @ 4:54am 
splendorb: where doo i have to insert these lines of code to get this bugfix to work? in the existing lua-files i could not fnd any occurence of "treeFilter"...
Wilm4RRrr 26 Sep, 2021 @ 9:18pm 
woah thanks for this mod, it completely enhanced my immersion on my swedish mountain challenge map, the snow is awesome and i like that the sandy beaches are gone
Nicky 13 Aug, 2021 @ 2:30pm 
This mod crashes with th elatest patch. I cant tell if it's a conflict with another mod or not, i have over 200.
Stormlover_51 4 May, 2021 @ 7:10pm 
Hello ritknat. In TpF1 I figured out how to change the snow level in the Glacier mod that was so awesome with its "shadow effects" (more snow in shaded areas) but I cannot figure out how to alter this mod in any way because there's so much more code.

A snow mod needs only one thing, snow, period. I don't care for the changes to ground cover etc., I only want snow. And by making it adjustable (or adjusting it oneself inside the mod) one can creates seasons. Why the game makes this impossible to do is beyond me. I'd appreciate any help you can give on this.
dmonsta19  [author] 25 Apr, 2021 @ 3:22am 
Feel free to upload it. I'm no programmer, still haven't been able to figure out how to get rid of the palm trees
ritknat 25 Apr, 2021 @ 2:33am 
Hi. I like this mod. More flexibility on maps..

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?
Rufert 25 Feb, 2021 @ 3:53pm 
Also having this crash on any type of map generated. Same with the sister mod
Stormlover_51 14 Jan, 2021 @ 10:28pm 
Game generated maps have almost no elevations high enough for your snow mod. To be useful for most players you need 500m and 250m.
splendorb 10 Jan, 2021 @ 2:34am 
I found a way to hide the tropical/US trees:

local function treeFilter(fileName, data)
if string.match(fileName, "usa") or
string.match(fileName, "tropical") or
string.match(fileName, "joshua_pine") or
string.match(fileName, "cactus") then
return false
else
return true
end
end
Wessel Zero Nine 27 Oct, 2020 @ 9:13am 
can u make a 0m snow generator?
dmonsta19  [author] 6 Sep, 2020 @ 8:31am 
Are your mountain Peaks at least 700m in elevation? Snow won't appear until then
Vencaok 6 Sep, 2020 @ 2:50am 
yes
dmonsta19  [author] 5 Sep, 2020 @ 1:37pm 
Did you change the climate in the loading screen to Alpine after enabling the mod?
Vencaok 5 Sep, 2020 @ 1:13am 
rocky klimate works alpine neither
Vencaok 5 Sep, 2020 @ 1:07am 
it makes no snow at all