Talk:Junction Criteria

From OpenTTD
Jump to: navigation, search

Sharp Turns

I posted a junction using this template and noted it as not having sharp turns; another editor changed this to "yes", sharp turns. There really isn't any guideline here to tell what is or is not a sharp turns junction.

My feeling is that turns run a range of sharpness. Faced with the task of calling some turns sharp and others not, the only thing that comes to my mind is the right-angle turn, which is so sharp that it can be forbidden entirely in Advanced Settings. There is no bright line between any other pair of turns.

Like many junction criteria, this is a bit ill-defined. But this is the one that raised a little contention so I say, we might want to define it better. I suggest that instead of a boolean value, we might better describe a junction's sharpness, as its minimum distance between double bends, as an integer. Comment? xiong 09:31, 17 February 2011 (UTC)

I agree that it could be defined better. Currently I would say at least "2 x 45" is a sharp turn. If that isn't a sharp turn than only 90 degree turns would be sharp, which in turn would mean almost no junction had sharp turns at all.
The length of the longest train that can pass the junction without slowing down might indeed be better than the current boolean value. Yexo 09:46, 17 February 2011 (UTC)

I particularly don't understand the meaning of "avoidable" sharp turns. It would be an evil junction indeed that put a sharp turn in the path of every train passing. Perhaps what's meant is "This design has sharp turns, IMO, but I can imagine making it bigger and easing up the turns a tile or two." But that applies to any junction?

I will be bold and edit this template so that the sharp turns parameter (param 5) will be interpreted as an integer: sharpest turn. A zero (0) will mean a right-angle turn, as in the Game_mechanics#Trains speed limit table; and greater values the number of tiles between the closest pair of double bends. A range of colors might be appropriate: red, yellow, blue, green. I'll document this here and, tersely, on the "front" of this page. I'll also need to go around the wiki and fix each instance of the template: non-trivial.

As a stopgap, I suggest we stick to "less than 2 tiles between double bends is sharp". I think that's your intention. xiong 16:08, 18 February 2011 (UTC)

Here you have a list of pages using the template: Yexo 20:23, 18 February 2011 (UTC)

Oh, I had that page open before I wrote my intention. I may not have much in the way of software skills but I do know my way around a MediaWiki install. This may not be today's task but if you don't see a problem with it, then I think I'll put it on my backlog. xiong 23:13, 19 February 2011 (UTC)

Done. Edited this template to accept a simple integer measure of minimum turn sharpness. See {{Junction Criteria}}. All transclusions of this template have been updated to follow. xiong 14:24, 23 February 2011 (UTC)

The original reason for using "avoidable" was more of an easily avoidable. So ya feel free to edit the template. On a side note you need to save this template twice. Once to update the template and a second time to update the page with the template. Z903 04:06, 1 June 2011 (UTC)

Personal tools