News:

Want to praise Simutrans?
Your feedback is important for us ;D.

Simutrans crashes when I use custom heightmap

Started by emirkir, March 26, 2018, 03:04:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

emirkir

Hello again! I've started using heightmaps, and I think they're really fun to use.
But, I have a problem... When I start to build rails and modify terrain it crashes. My most recent crash was when I turned the map...
Why does it crash? I use this heightmap: http://maps.simutrans.com/maps/swissalpes.jpg
I use a lot of "fake" terrain, and not so much terrain modification, I think that looks better.
The game runs well otherwise and doesn't run slower or anything just before a crash.

I use the Steam-version of Simutrans (on Windows 10 x64) and some addons for subway station and Swedish trains, always in .pak128.

JOIN SIMUTRANS DISCORD-SERVER! https://discord.gg/fpXY772

uci

That is not a heightmap. You must use a .ppm or .bmp grayscale image.

Try this one instead
https://simutrans-germany.com/files/upload/nw-italy_t500_h250_w-2.zip

Please set 'water_level=-2' and make sure 'height_conversion_factor = 2' in your config file.

emirkir

Oh, not the .jpg-file, it is a .ppm my map is... I only linked that so you could see what map I use, if you go back and download the "Swiss Alpes" map you get it in .ppm.  :)

I'll try your linked map...

Water level and Height Conversion Factor was set to your values as deafult.

JOIN SIMUTRANS DISCORD-SERVER! https://discord.gg/fpXY772

emirkir

Hey! Sorry for very long response but...

I used your map for a while and it runs smoothly, I've not experienced any bigger lag or something and the map loads up quickly too.
The map i linked, Swiss Alpes loads slowly and lags when using... But I've wanted to try to make a mountain land with trains and roads going crazy uphill! :(

Does someone know any good map that runs smoothly, or is it my system that can't handle it?

See included .txt file where I wrote down system specs and game info.
EDIT: Link to map: https://drive.google.com/file/d/1SwYeQPR-B913LZEndNAUYMP4fyP3tXB_/view?usp=sharing

JOIN SIMUTRANS DISCORD-SERVER! https://discord.gg/fpXY772

An_dz

It plays super smooth here and my computer is worse than yours.

uci

Your linked map is a .bmp image with a .ppm extension.
I also noticed some lag when zooming in/out and the cursor is on steep walls.

emirkir

So is it the map that's wrong or my computer? I'm new with heightmaps...
Is there some way to get it to work properly?

JOIN SIMUTRANS DISCORD-SERVER! https://discord.gg/fpXY772

uci

I think the map is too sloppy. Do you have problems with other maps?

emirkir

Thanks uci... I must go and find another very high up map for me to make the mountainland.... :)

I thought of something else now about a week ago, I wanted to make my own city as a Simutrans game. Is it a good start to use a heightmap of it? BTW I've never created one... It's a city in Sweden called Östersund that I want to build in Simutrans. I have seen others make like New York and other bigger cities..
Can you give me a headstart?

JOIN SIMUTRANS DISCORD-SERVER! https://discord.gg/fpXY772

emirkir

New information about the "sloppy" map, when I loaded it up today a handful of error messages appeared...
Check the screenshot here: https://drive.google.com/file/d/1doWdHwPNzr3fNWZ4zra_ttYYV4_sUxwl/view?usp=sharing

JOIN SIMUTRANS DISCORD-SERVER! https://discord.gg/fpXY772