Transport Fever 2

Transport Fever 2

Extra terrain generators
20 Comments
jm764 Jan 24, 2023 @ 6:18am 
It seems the mod is causing an incompatibility with the base game map generator for the USE / Desert Map theme. It looks like the game is automatically loading values from this mod WITHOUT selecting it in the terrain generation sub-menu, so it "silently overrides" the base game generator leading to a "attempt to call field 'getSegments' (a nil value)" error.
tunsky3 Dec 3, 2022 @ 3:17pm 
The game wont let me use the mod, every time i activate it deactivates and the map mod comes on without it.
SAUBER_KH7 Sep 27, 2022 @ 4:35pm 
My solution to the generate button not being visible was to press alt-enter, and decrease the width of the game window. That's my best idea.
Buck Futter Jun 28, 2022 @ 2:34pm 
Any fix to the issue with the generate button not being visible?
Adroitly Absurd Nov 8, 2021 @ 12:17pm 
I'm getting numerous errors - "map generation failed:internal error (see console for details) for the tropical and base desert/dry maps, as well as a similar issue to @streu81150. Any suggestions? I used this mod a lot in the past and returning to the game from a hiatus I'd love to do so again!
??  [author] Jun 6, 2021 @ 1:33pm 
I'm sorry the generate button is not available to you, as I said before, it's a close fit. I just used all available space I had on my monitor and unless there is an way to spread the options over two columns (Don't know if that's possible, haven't played TF2 much lately) there isn't much I can do about it unless I remove options.
streu81150 Jun 5, 2021 @ 8:46am 
The seed box and the generate button are not visible for me (window is too tall, they are below the toolbar)
??  [author] Oct 28, 2020 @ 2:57pm 
Any idea with what seed and parameters you got that error?
okeating Oct 23, 2020 @ 11:10pm 
I am getting an exception when trying to open the map editor:

Build: Build 29596 Windows 64-bit
eatglobal: init [E:/Games/steamapps/workshop/content/1066780/1978624093/res/scripts/eatglobal_v2_26.lua] (Version 2.26)
Pipeline generation: 379.025 ms
Exception type: Lua exception

This error is usually caused by modding. Some game resources contain incorrect data.

Details:

Error message: error: ...66780/2008770320/res/scripts/terrain/rivermapgenutil.lua:27: attempt to call field 'getSegments' (a nil value)
stack traceback:
=[C](-1): getSegments
@E:/Games/steamapps/workshop/content/1066780/2008770320/res/scripts/terrain/rivermapgenutil.lua(27): MakeSubdivision
@E:/Games/steamapps/workshop/content/1066780/2008770320/res/scripts/terrain/rivermapgenutil.lua(186): Subdivide
res/config/terrain_generators/desert.gen.lua(159): ?


Key: game/res/terrain_generator/desert.gen.lua
Vencaok Sep 5, 2020 @ 12:49am 
cannot be generated
??  [author] Apr 15, 2020 @ 12:49pm 
Yeah I know, it's close... Don't know if there is a way to get the generator screen to show the options in two (or more) columns. There are some more options I would like to show, but there isn't any room left.
Pentasis Mar 27, 2020 @ 7:46am 
nm; when in full screen mode, they are just visible and clickable (I usually play in windowed)
Pentasis Mar 27, 2020 @ 3:46am 
The seed box and the generate button are not visible for me (window is too tall, they are below the toolbar)
Dinosbacsi Mar 5, 2020 @ 1:19pm 
Thank you, I will definitely do that in the next days!
??  [author] Mar 5, 2020 @ 12:02pm 
New version is posted, try it out and see if you can do what you want with the new option.
Dinosbacsi Mar 1, 2020 @ 11:40pm 
I see, I'll try it sometime, thanks!
??  [author] Mar 1, 2020 @ 1:45pm 
I've had a look around and I think I've found a way to get what I think you want... :-)
I can change over what distance the canyon height lessens. If we increase that enough, the whole map seems to get a higher base height.
You can try this out by changing the canyonDistance variable in the generator to a higher value (default 2000, 20000 didn't give an error...). Because of the extra height, forests/trees are generated a lot less with a much more barren world as a result.
I'll have to look into this some more before I release an updated version.
Dinosbacsi Feb 28, 2020 @ 2:24pm 
I mean in the vanilla desert generator the base terrain height is almost at water level. This not only makes for a bit awkward shorelines, but also when trying to generate canyons, the areas surrounding the canonys also need to be higher compared to the rest of the land. The canyons need a hill around them to have something to crave into, which looks kinda stupid.
So basically, you know the terrain area that's neither ridge or mesa or canyon? I'm looking for an option to set that higher.
??  [author] Feb 28, 2020 @ 8:26am 
Thanks, I also liked the idea of the canyon, but not the desert landscape. One thing led to another and here you go... :-)
What do you mean with 'base terrain height'? I can always look...
Dinosbacsi Feb 27, 2020 @ 12:47pm 
Nice, this was really needed. I really liked the basic ideas the desert generator had, but it felt a bit flawed to me.
Also, is there a possibility to change the base terrain height?