Ruler for the Scenerio Editor.

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

Post Reply
mauried
Traffic Manager
Traffic Manager
Posts: 147
Joined: 07 Sep 2010 11:35

Ruler for the Scenerio Editor.

Post by mauried »

Is it possible to add a simple method to measure distance in squares when making a new map with the scenerio editor.
Main reason is when placing towns especially on a large map its helpful to know how far apart they are, due to some of the aircraft have range limits which you dont find out about until you actually buy one and try and fly it .
As most airports get placed near towns it would help a lot when placing towns to know how far apart they are.
Tnx.
ebla71
Transport Coordinator
Transport Coordinator
Posts: 337
Joined: 14 Apr 2021 21:48
Location: Earth

Re: Ruler for the Scenerio Editor.

Post by ebla71 »

mauried wrote: 23 Feb 2023 21:49 Is it possible to add a simple method to measure distance in squares when making a new map with the scenerio editor.
As a big fan of real-world scenarios I strongly support that.

Until then:

Use the blue "?" icon on the far right of the menue bar and select Land area information which will give you information in format horizontal tile position (left-right) x vertical tile position (top-bottom) x height with the coordinate [1,1] in the top right corner of the map.

For simple horizonatal or vertical distances, just take the difference in coordinates between two tiles. For diagonal distances, would need a calculator and Pythagoras' theorem :D
Eddi
Tycoon
Tycoon
Posts: 8258
Joined: 17 Jan 2007 00:14

Re: Ruler for the Scenerio Editor.

Post by Eddi »

just to be nitpicky, pythagoras' theorem isn't actually used in very many distance calculations inside the game. more commonly, maximum or manhattan distance is used. (this is moslty because square roots don't mix well with the integer-based calculations required by the game core)
Post Reply

Return to “OpenTTD Suggestions”

Who is online

Users browsing this forum: No registered users and 4 guests