Terrain size

All about making tracks for MX Simulator
christianjonse
Posts: 125
Joined: Fri Oct 27, 2017 8:36 pm
Team: Privateer

Terrain size

Postby christianjonse » Tue Jun 19, 2018 5:53 am

Is there a way i can make the map size bigger?

User avatar
Wahlamt
Posts: 6811
Joined: Mon Sep 13, 2010 3:15 pm
Team: MLG Compton
Location: Sweden
Contact:

Re: Terrain size

Postby Wahlamt » Tue Jun 19, 2018 5:56 am

This this video might contain some info about it, if not, quote me and I'll respond.

User avatar
ColtonD719
Posts: 388
Joined: Tue Jun 21, 2016 4:15 am
Team: Privateer
Location: Oregon
Contact:

Re: Terrain size

Postby ColtonD719 » Tue Jun 19, 2018 7:03 am

Check out this thread if you haven't already: viewtopic.php?f=11&t=1134

Some of it is out of date, "texturelist" for example, but still a lot of good basic info.

You can change the size of your terrain with the terrain.hf file. This is from the above thread, with some edits to be more up to date:
DJ99X wrote:Terrain.hf
resolution scale minaltitude maxaltitude
eg.
10 1.000000 0.000000 250.000000

'resolution' specifies the size of the terrain.png and shading.ppm you are using. The formula is 2^(n+1)+1. So 2^(10+1)+1=2049, hence standard tracks use 2049x2049 pixel terrains.

'scale' is in feet/pixel, so standard tracks are 1 feet/pixel.


The higher your scale, the larger your terrain will be, horizontally. The larger your maxaltitude, the higher your terrain will be, vertically.

User avatar
Jakob Hubbard
Posts: 551
Joined: Fri Nov 24, 2017 3:16 am
Team: BPC
Location: Cold

Re: Terrain size

Postby Jakob Hubbard » Thu Jun 21, 2018 4:11 am

is it at all possible to get 4096x4096 and upwards?

User avatar
Wahlamt
Posts: 6811
Joined: Mon Sep 13, 2010 3:15 pm
Team: MLG Compton
Location: Sweden
Contact:

Re: Terrain size

Postby Wahlamt » Thu Jun 21, 2018 6:04 am

Jakob Hubbard wrote:is it at all possible to get 4096x4096 and upwards?

4097x4097, 8193x8193, yes. However due to the x4 , x16 or more of terrain data, it's very possible it'll lag. If you want a really big map, going for 2049x2049 and chaning the ft/px would be a better alternative I'd say.

User avatar
Wahlamt
Posts: 6811
Joined: Mon Sep 13, 2010 3:15 pm
Team: MLG Compton
Location: Sweden
Contact:

Re: Terrain size

Postby Wahlamt » Thu Jun 21, 2018 6:05 am

Wahlamt wrote:
Jakob Hubbard wrote:is it at all possible to get 4096x4096 and upwards?

4097x4097, 8193x8193, yes. However due to the x4 , x16 or more of terrain data, it's very possible it'll lag. If you want a really big map, going for 2049x2049 and chaning the ft/px would be a better alternative I'd say.

4097 and 8193 didn't mark an end of what's possible, just felt meaningless to continue.

User avatar
Jakob Hubbard
Posts: 551
Joined: Fri Nov 24, 2017 3:16 am
Team: BPC
Location: Cold

Re: Terrain size

Postby Jakob Hubbard » Thu Jun 21, 2018 5:36 pm

Wahlamt wrote:
Jakob Hubbard wrote:is it at all possible to get 4096x4096 and upwards?

4097x4097, 8193x8193, yes. However due to the x4 , x16 or more of terrain data, it's very possible it'll lag. If you want a really big map, going for 2049x2049 and chaning the ft/px would be a better alternative I'd say.

Just out of curiosity, would you just change the first value in the terrain.hf file to 11 to get 4097x4097? Or would it be a different value?

User avatar
Wahlamt
Posts: 6811
Joined: Mon Sep 13, 2010 3:15 pm
Team: MLG Compton
Location: Sweden
Contact:

Re: Terrain size

Postby Wahlamt » Thu Jun 21, 2018 6:23 pm

Jakob Hubbard wrote:
Wahlamt wrote:
Jakob Hubbard wrote:is it at all possible to get 4096x4096 and upwards?

4097x4097, 8193x8193, yes. However due to the x4 , x16 or more of terrain data, it's very possible it'll lag. If you want a really big map, going for 2049x2049 and chaning the ft/px would be a better alternative I'd say.

Just out of curiosity, would you just change the first value in the terrain.hf file to 11 to get 4097x4097? Or would it be a different value?

No it'd be 11, 12 for 8k


Return to “Track Editing”

Who is online

Users browsing this forum: No registered users and 3 guests