Page 1 of 1

What would it take to double max map height from 255 to 512?

Posted: 11 Oct 2017, 02:55
by MIH-XTC
see thread title for question.

In Flame the max height is 255.

I was just thinking about how cool of a map could be made with the ability to vary the heights over a larger range.

I'm just curious how much work is involved or what that entails.

One problem I can see is that things at height 510 will seem right in your face while things at 0 height are distant. Not sure how that would work out...

Re: What would it take to double max map height from 255 to

Posted: 11 Oct 2017, 05:40
by Berg
Why the need to double the height anyway.?
On a different note i have made maps in flame that are 500 x 500 they work in game with a small code change.
That was fun bigger maps
But i cant see a need for height.

Re: What would it take to double max map height from 255 to

Posted: 11 Oct 2017, 10:02
by NoQ
I was totally dreaming, like literally sleeping and seeing things, about epic heightmaps with huge cliffs and slopes. Also skyscrapers [1] [2] [3].

I think i also have managed to double the height multiplier in the game to see how it looks if we get epic heights, but i don't think i made any screenshots. It used to be actually higher in master for some time, but then it was rolled back before one of the releases. Like, you don't really need higher precision, you only need higher maximum value, so your idea can be implemented by adding a per-map height multiplier in a better map format (as feature request for #4291).

One of the tricky problems would be to avoid the camera digging into the ground on high slopes. It doesn't hurt that much currently, but quickly gets worse when the heights increase. But apart from that, and map format, i think it's all it takes.