Diagonal roads!

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

Zvezda
Engineer
Engineer
Posts: 7
Joined: 31 Aug 2011 22:22

Diagonal roads!

Post by Zvezda »

We badly need diagonal roads! They would be damn awesome! Who's with me? Shouldn't be hard to make 'em considering there's already the diagonal rail, right? :rolleyes:
Eddi
Tycoon
Tycoon
Posts: 8257
Joined: 17 Jan 2007 00:14

Re: Diagonal roads!

Post by Eddi »

one would assume that everything that is "not hard" would actually have been done in the past 5 years...
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: Diagonal roads!

Post by FooBar »

Zvezda wrote: Shouldn't be hard to make 'em
I'm looking forward to your patch to that extent. ;)
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13233
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Re: Diagonal roads!

Post by Hyronymus »

FooBar wrote:
Zvezda wrote: Shouldn't be hard to make 'em
I'm looking forward to your patch to that extent. ;)
Yeah, me too. 5 days from now seems reasonable, what say you FooBar?
Zvezda
Engineer
Engineer
Posts: 7
Joined: 31 Aug 2011 22:22

Re: Diagonal roads!

Post by Zvezda »

Not being a programmer i don't know how much time it would take, but if there's diagonal rails, why not diagonal roads?
michael blunck
Tycoon
Tycoon
Posts: 5948
Joined: 27 Apr 2005 07:09
Contact:

Re: Diagonal roads!

Post by michael blunck »

Zvezda wrote:Not being a programmer i don't know how much time it would take, but if there's diagonal rails, why not diagonal roads?
Former United States Secretary of Defense Donald Rumsfeld wrote: There are known knowns; there are things we know we know.
We also know there are known unknowns; that is to say we know there are some things we do not know.
But there are also unknown unknowns – there are things we do not know we don't know. ”
regards
Michael
Image
User avatar
Leanden
Tycoon
Tycoon
Posts: 2613
Joined: 19 Mar 2009 19:25
Location: Kent

Re: Diagonal roads!

Post by Leanden »

Another person incapable of using the search function...
Image
Zvezda
Engineer
Engineer
Posts: 7
Joined: 31 Aug 2011 22:22

Re: Diagonal roads!

Post by Zvezda »

Leanden wrote:Another person incapable of using the search function...
Problem?
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4763
Joined: 09 Sep 2007 05:03
Location: home

Re: Diagonal roads!

Post by Alberth »

Problem ?
Only that you are not the first with this request by a long shot, and if you tried searching you'd have known a bit more about why it does not exist yet.

@Hyronymus: I feel generous, he's new here, let's make it 2 weeks. Should be sufficient.
User avatar
XeryusTC
Tycoon
Tycoon
Posts: 15415
Joined: 02 May 2005 11:05
Skype: XeryusTC
Location: localhost

Re: Diagonal roads!

Post by XeryusTC »

Actually, there is an ancient patch for it out there. You just have to like playing with a revision that is over 3 years old ;)
Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)
Image
OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone
Image Image Image Image Image Image Image
User avatar
SwissFan91
Tycoon
Tycoon
Posts: 2395
Joined: 08 Feb 2009 18:36
Location: Alberta, Canada

Re: Diagonal roads!

Post by SwissFan91 »

Come on guys, this is easy. As Zvedza says, there are diagonal rails. There are diagonal statio.. oh. There are diagonal tunne... oh. There are diagonal airpor.. oh. Maybe we should all just turn our chairs and monitors diagonally, that'll be fine.
Total Alpine Replacement Set: Industry, Town, Objects
TrueBrain
OpenTTD Developer
OpenTTD Developer
Posts: 1370
Joined: 31 May 2004 09:21

Re: Diagonal roads!

Post by TrueBrain »

Zvezda wrote:
Leanden wrote:Another person incapable of using the search function...
Problem?
Although a misplaced remark of him (what is the use of "bashing" a new user, and second-hand moderator is not really allowed on this forum), what he is trying to say is that a search on the forum would have given you a few hits that might interest you:

From 2004 I bring you: http://www.tt-forums.net/viewtopic.php?f=29&t=7104
From 2008 I bring you: http://www.tt-forums.net/viewtopic.php?f=32&t=40585
From 2011 I bring you: http://www.tt-forums.net/viewtopic.php?f=33&t=56411 (half-way there is some talk about diagonal roads)

Another word of the wise: don't walk around too much with words like "shouldnt be too hard". If you don't know how a system works, sure, it is easy to think. And I understand your thinking in this. But it is always better to ask: "would this be hard?", then to state: "shouldnt be too hard". It is mostly received as offending by the people who do know it is hard. Just my 2 penny ;)
The only thing necessary for the triumph of evil is for good men to do nothing.
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: Diagonal roads!

Post by Yexo »

SwissFan91 wrote:There are diagonal airports
Eddi
Tycoon
Tycoon
Posts: 8257
Joined: 17 Jan 2007 00:14

Re: Diagonal roads!

Post by Eddi »

Yexo wrote:
SwissFan91 wrote:There are diagonal airports
and this is in trunk because it's so easy :p
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: Diagonal roads!

Post by Voyager One »

Zvezda wrote:
Leanden wrote:Another person incapable of using the search function...
Problem?
I think Leanden was referring to that idiot Donald Rumsfeld... :lol:
michael blunck wrote:
Zvezda wrote:Not being a programmer i don't know how much time it would take, but if there's diagonal rails, why not diagonal roads?
Former United States Secretary of Defense Donald Rumsfeld wrote: There are known knowns; there are things we know we know.
We also know there are known unknowns; that is to say we know there are some things we do not know.
But there are also unknown unknowns – there are things we do not know we don't know. ”
regards
Michael
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
Transportman
Tycoon
Tycoon
Posts: 2781
Joined: 22 Feb 2011 18:34

Re: Diagonal roads!

Post by Transportman »

Leanden wrote:Another person incapable of using the search function...
Let's be honest, the forum search is not the best search there is. Even I am incapable of using the default search function, but luckily Google helps me find what I want to find.

On topic: While it would be nice, it is not just something you make. The coding part already has been said that it will not be easy, but also the part before coding is not going to be easy I think. Things like speed on diagonal roads, how to handle diagonal roads sharing a tile with diagonal tracks (allow/disallow?), level crossings with diagonal tracks, diagonal crossings with other roads. All those things have to be considered even before any coding is done. And those aren't simple Yes/No questions, allowing for example level crossings with tracks, someone needs to provide graphics for those crossings. And all NewGRFs that change the look of level crossings also have to be updated, and are their authors still active and willing to do that?
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5656
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: Diagonal roads!

Post by andythenorth »

It's not a question of 'hard'. It can't actually be done in a sane way. Rubidium pointed out why to me recently; the issue was obvious in hindsight, and I felt a little stupid. :)

There will be prizes for the first person who figures it out (other than Rubidium). It's not a coding issue, it's a graphics / use of tiles issue.

A clue is: 2 would need 4.
TrueBrain
OpenTTD Developer
OpenTTD Developer
Posts: 1370
Joined: 31 May 2004 09:21

Re: Diagonal roads!

Post by TrueBrain »

Nothing that can't be solved:

Image
The only thing necessary for the triumph of evil is for good men to do nothing.
Eddi
Tycoon
Tycoon
Posts: 8257
Joined: 17 Jan 2007 00:14

Re: Diagonal roads!

Post by Eddi »

imho the game plan should be:
  1. finalize airport state machine specs
  2. extend the implementation of the state machines to handle articulated vehicles, and allow setting entry points/directions into the state machine.
  3. specify a "follow track" callback to hook into the pathfinder, e.g. getting a pair of entry/exit points, and returning a penalty
  4. merge "new objects" and "state machines" into a new class "traffic objects"
  5. implement diagonal roads, highways, two-lane roads with embedded tram, potentially double track rails as traffic object newgrfs
optionally, make objects draggable in X/Y/diagonal/area/other direction by a newgrf property.


each of these steps individually should already be considered "hard"...
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: Diagonal roads!

Post by Yexo »

Eddi wrote:
  1. finalize airport state machine specs
There were some plans to automatically generate the holding pattern (also for existing airports). This should be done first
Post Reply

Return to “OpenTTD Suggestions”

Who is online

Users browsing this forum: No registered users and 6 guests