Transport Fever 2

Transport Fever 2

Map overlay tool - Beta and a bit ;)
39 kommentarer
Mad Hatter  [ophavsmand] 17. dec. 2024 kl. 9:31 
Oh odd - this mod hasn't changed pretty much forever.
Darkfoxx Bunyip 15. dec. 2024 kl. 13:50 
The map flicker seems to be back, and the mouse cursor also seems to disappear.
Mad Hatter  [ophavsmand] 21. juni 2024 kl. 9:35 
hmmm - okay the results are better - eventually - because it wraps the map to the surface.
This ones better if you want 'simple'. There was/is another one in progress (not by me) that will be amazing if it ever gets published that will take a map and literally place everything - heightmap, roads, rail, trees, buildings - its an insane idea.
yonelsolon 19. juni 2024 kl. 16:21 
how would the other mod be better? It's super complicated. Also, does the map file need to be a tga file before going into textures folder?
arjen 2. sep. 2023 kl. 3:11 
Aaaah, I guess I am too dumb to understand that part, thanks mate! :-)
Mad Hatter  [ophavsmand] 2. sep. 2023 kl. 3:08 
the texture files need to be named
madhatter_map1.tga madhatter_map2.tga madhatter_map3.tga madhatter_map4.tga

exactly like that all lower case.
arjen 2. sep. 2023 kl. 1:56 
I must be doing something wrong. Adjusted the images to 2048 by 2048 pixels and saved as .tga file. Replaced the files in the right directory but yet when I want to use the overlay in TF2, I only get a purple image? What am I doing wrong?
Mad Hatter  [ophavsmand] 8. juni 2022 kl. 14:13 
Hi Brelbc - to be honest I don't remember I originally published this in 2019. I suspect not. I think you would need a lot more than 4 graphic files to cover a megalomaniac map .
brelbc 8. juni 2022 kl. 12:54 
Great mod. Is it also possible to use it on hegalomaniac maps or is it limited to Very Large Size?
ArKo 31. juli 2021 kl. 2:28 
would it be possible that the overlay can render transparent ?
just making the .tga having transparency doesn't render ingame.
Oswyn 7. maj 2021 kl. 12:25 
Would it be possible to script it so the overlay is painted onto the map automatically, might only work with black/white image
Chrisly 1. feb. 2021 kl. 10:19 
I have four overlays available in the game. Is there any way I can add more overlays to my card?
If yes how?
Mad Hatter  [ophavsmand] 23. jan. 2021 kl. 17:23 
Hi @Lahonna - the short answer is no - what I tend to do is after placing the map drop a marker like a tree or group of trees at a/each corner to help me put it back in the same place.
Chrisly 23. jan. 2021 kl. 11:18 
Is there a way to put the overlay back in the exact same place once you've removed it?
Exo_Atami_122 22. nov. 2020 kl. 4:07 
I was having a hard time fin:steamhappy:ding the icon to delete the map but I think I might have found an easier way.
When you want to delete it just go to "Configure" and reduce both scales (major and minor) to zero. That will shrink the map to a minimum but most important it will shrink it centered on the icon! Now just buldoze away!! :steamhappy:
Mad Hatter  [ophavsmand] 4. juli 2020 kl. 12:34 
It can be a pain to find the icon after you click on the bulldozer - sometimes its way up in the air. Try zooming all the way out and use the F key to flatten out and Q&E look around.
wabbithunta 4. juli 2020 kl. 12:18 
Can you explain how to delete the overlay after it's been used?
Also it [the overlay] doesn't fit on a Huge 1:1 map, it's not large enough.
I've tried using the delete tool [bulldozer] and it doesn't work, or have I missed something else
PrimelloTV 22. maj 2020 kl. 9:11 
The overlay is to smal for the ecperimental map size 1:1 -.- Riesig ist not 1:1 its to small....
Jedidiah 20. maj 2020 kl. 15:27 
I seem to be having the same problem as Taicheehang. The overlays aren't covering the entire map. Originally I was trying to recreate a 1:1 scale map on Huge size (20 km x 20 km). That's when I noticed the problem. So I tried to load a medium size map and used one of the stock overlays that are included (map 4 to be exact). Same problem, it only covers a fraction of the map. I messed with the configure settings before placing the overlay, such as upping the size to huge and megalomaniac, which still weren't big enough to cover my medium size map. I also tried using photoshop to alter the size of the images but that had no effect. Not sure what else could be the problem. I'd love to use this mod if I can get it to work!
Mad Hatter  [ophavsmand] 12. maj 2020 kl. 3:38 
Hi Archimon - I added your suggested changes.
Mad Hatter  [ophavsmand] 8. apr. 2020 kl. 0:48 
Hi Archimon - yes :)
Archimon 7. apr. 2020 kl. 14:59 
Hi Mad Hatter, I have a slightly optimized version of your overlay mod, can we talk about it?
Taicheehang 25. mar. 2020 kl. 3:15 
It can't overlay the whole map, and it needs simplify.
Road Kill Bill 13. feb. 2020 kl. 5:59 
Yes, this works fine especially when the terrain is flat. I tested it on a tiny map 4 x 4 KM with elevations between 5 and 80 Mtrs and the overlay matched the terrain (although it was fiddly to line it up. I'd put markers on my terrain map where a bridge should be and used this to position the overlay.

Just a note for those who are still not quite sure how to use this Mod. First try it out with the default maps until you are used to it. Download the Mod (Obviously). In Map creation make sure the mod is active. Go to assets and find "OVERLAY". Menu pops up where you select size and Map 1 to 4 etc . Use ,< and .> to lower/raise overlay and click to apply.
To use your own maps Create TGA file 2048 x 2048 pixels and rename to replace madhatter_map1 (2,3, and 4) in your directory. My directory ends in 1939067713/res/textures
doom_juan 25. jan. 2020 kl. 8:43 
Sadly this keeps crashing every time I try and remove the overlay.
dicker Pinguin 18. jan. 2020 kl. 4:22 
Thanks a lot, i have founded on a unix box on:
/home/<user>/.local/share/Steam/steamapps/workshop/content/<steam-user-number>/1939067713/res/textures/
The folder .local is hidden. If you press Ctrl + H this becomes visible.
Mad Hatter  [ophavsmand] 17. jan. 2020 kl. 18:49 
Hi dicker Pinguin
That's where they are stored by default on a PC.
I have no idea where steam sticks its workshop files on a unix box.

The files you are looking for are named 'madhatter_map1.tga' - and 2 and 3 and 4 they will all be together so if you find one you will find them all.
Hope that helps.
dicker Pinguin 17. jan. 2020 kl. 12:40 
Where and in which file format are your own maps stored? The path given in the description does not exist for me and I do not find any comparable.
shaunus82 11. jan. 2020 kl. 4:25 
Thanks for your reply. I had a feeling I would be able to move it up and down with "."",", or Page Up, Page Down, as I have mapped mine to. Not sure if it would help with the map I'm currently making, as it is very hilly, but I hope you have luck with getting the mod to follow the terrain. That would be awesome.
Mad Hatter  [ophavsmand] 10. jan. 2020 kl. 5:31 
Unfotrunately I still haven't found a way to make the map roll over the landscape.
Because the map is just an asset (like say a bench or a building) you can decide when you put it down to set the height using the '.' ',' keys. And then delete it and place again at a different height. - Not ideal - but at the moment that's the best I can offer.
shaunus82 8. jan. 2020 kl. 8:09 
I'm very interested in using this mod to accurately place towns & roads on a 1:1 Real Scale map that I'm making, but it is a very hilly map. Is it possible to raise/lower the map overlay?
baracus37 19. dec. 2019 kl. 13:07 
HI; thanks a lot. Works just fine now. An improved version with terrain faces would be greatly appreciated ;)
Harag 19. dec. 2019 kl. 10:34 
Ahh. makes sense now I see the description, great tool. Thanks.
Mad Hatter  [ophavsmand] 18. dec. 2019 kl. 16:56 
Oops - deleted the description
Harag 18. dec. 2019 kl. 12:31 
Erm, I'm confused, what is this? description doesn't really say.
Mad Hatter  [ophavsmand] 18. dec. 2019 kl. 12:15 
Hi baracus37, Fixed - however very odd as it was working for me.
baracus37 18. dec. 2019 kl. 8:54 
thank your for this awesome mod, but unfortunately it is not working for me. As soon as I click on it in the Map editor I get a Lua error:

Key:ConstructWithModules.config.game
errors: res/scripts/init.lua:64 creating globals by assignment is not allowed (variable was map)
Did you forget to add "local" before your variable?

However I am not certain on how to use this mod. Maybe I am doing something wrong. Could you maybe explain in abit more detail how to use this mod? Maybe even a short tutorial video? That would be appreciated!
Skunk Monkey 17. dec. 2019 kl. 11:05 
Yes! This is something I've been waiting for. I was hoping for something that could be height adjusted after placing, but this can work. Used to use something like this in the Trainz sims.
n00t 17. dec. 2019 kl. 10:52 
Great idea, hope one day it will be fully functional with terrain