Diagonal road

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

INFINITI
Engineer
Engineer
Posts: 4
Joined: 19 Nov 2008 14:41
Contact:

Diagonal road

Post by INFINITI »

I want an in diagonal road game, because it is much easier to build than the diagonal zig-Zag, I want your opinions. Excuse my English, are beginner. I live in Romania. Please I want an in diagonal road
Attachments
tycoon road.JPG
tycoon road.JPG (57.69 KiB) Viewed 6550 times
User avatar
Badger
Tycoon
Tycoon
Posts: 7040
Joined: 10 Sep 2006 19:12
Location: Adwick-Le-Street.

Re: Diagonal road

Post by Badger »

Its been done somewhere on these forums already. Use the "search".
|||| My OTTD/TTDP pics ||||Currently slighty obsessed with getting Platinum Trophies||||Retired moderator||||
INFINITI
Engineer
Engineer
Posts: 4
Joined: 19 Nov 2008 14:41
Contact:

Re: Diagonal road

Post by INFINITI »

we have not found anything similar
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: Diagonal road

Post by DaleStan »

For what did you search? I just found 59 topics with "diagonal" *in the title*. Are you honestly going to tell me that none of them are similar to this topic?

Especially the topic on "Diagonal roads"?
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
B-b0y
Engineer
Engineer
Posts: 44
Joined: 01 Nov 2008 16:29
Location: Netherlands

Re: Diagonal road

Post by B-b0y »

there so many things we want..
It takes an athlete to dance, but an artist to be a dancer. - Anonymous
Sande
Engineer
Engineer
Posts: 29
Joined: 12 Nov 2008 07:15

Re: Diagonal road

Post by Sande »

I'd rather want to see diagonal railroad tunnels. And bridges maybe.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: Diagonal road

Post by DaleStan »

How about you join Infiniti in learning about that whole searching thing we were just discussing?
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Batti5
Transport Coordinator
Transport Coordinator
Posts: 279
Joined: 06 Aug 2007 17:37

Re: Diagonal road

Post by Batti5 »

diagonal road are already under development, [To Infinity!] by the way am from Romania too, you wouldent be interested in helping at the romanian train set for OpenTTD/TTDPatch here http://www.tt-forums.net/viewtopic.php?f=26&t=40396
Wish to earn some money for free just by viewing some advertisment? Click this banner for more info.
Image
It is Legal.
Roujin
Tycoon
Tycoon
Posts: 1884
Joined: 08 Apr 2007 04:07

Re: Diagonal road

Post by Roujin »

Batti5 wrote:diagonal road are already under development[...]
How about some proof for that statement?
* @Belugas wonders what is worst... a mom or a wife...
<Lakie> Well, they do the same thing but the code is different.

______________
My patches
check my wiki page (sticky button) for a complete list

ImageImage
ImageImageImageImageImageImageImage
rbn2903
Engineer
Engineer
Posts: 122
Joined: 08 Dec 2007 18:04
Location: Aachen (Aken), Germany

Re: Diagonal road

Post by rbn2903 »

Roujin wrote:
Batti5 wrote:diagonal road are already under development[...]
How about some proof for that statement?
[sarcasm and irony]I guess, someone wrote this somewhere sometime in the wiki and that would of course mean that it is actually under developement.[/sarcasm and irony] :roll: :twisted:
Roujin
Tycoon
Tycoon
Posts: 1884
Joined: 08 Apr 2007 04:07

Re: Diagonal road

Post by Roujin »

I get what you're saying but.. actually I just looked at that wiki page (you know..) and diagonal roads is mentioned there (of course, it has been suggested more than once) with a link to the discussion thread and progress == 0%.

But I wonder why in your post here you said it's in development, batti5, if on the wiki page you're constantly doctoring at it says 0%?
* @Belugas wonders what is worst... a mom or a wife...
<Lakie> Well, they do the same thing but the code is different.

______________
My patches
check my wiki page (sticky button) for a complete list

ImageImage
ImageImageImageImageImageImageImage
User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

Re: Diagonal road

Post by Wolf01 »

Roujin wrote:
Batti5 wrote:diagonal road are already under development[...]
How about some proof for that statement?
Maybe he read about my intention to continue the work of tmesisbob, but I have not enough will to do it because trunk is changed too much since about 4 years ago (and tmesisbob lost the first patch, if he ever made one) :P
User avatar
JacobD88
Chief Executive
Chief Executive
Posts: 710
Joined: 16 Aug 2008 17:51
Location: Long Eaton, Nottinghamshire. UK
Contact:

Re: Diagonal road

Post by JacobD88 »

Hi, Sorry to dig, but after a search i found this thread and instead of starting yet another... :roll:


As well as the slow paced work on Depot/Service Stations I'm thinking of looking at the possibility of creating diagonal roads for OTTD, but before i get ahead of myself i need someone with "the knowledge" to list the main issues with creating a patch to do this in OTTD... Sprites, Path-finding, Map Array etc. Basically all the stuff that has thus far hindered a patch being here on the forums already :wink:

I'm not to bothered about sprites at the moment, I'm more interested in working out what needs to be done and how any foreseeable problems can be resolved before i commit myself to working on this.

Many thanks

Jacob
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Re: Diagonal road

Post by Rubidium »

The main issue would be the vehicle movement. Pathfinding can probably be relatively easy be adapted to be like trains that allow 90 degree turns, (bad looking!) sprites can be made by anyone and the map array has some space reserved for more road/tram types, but you can use that.
User avatar
Zephyris
Tycoon
Tycoon
Posts: 2897
Joined: 16 May 2007 16:59

Re: Diagonal road

Post by Zephyris »

In addition to the technical problems you have to think about the "intuative" use of diagonal roads to let users understand them, roads will never behave exactly like rail; you can never get a road junction where (with the current style of road building) you can only turn left, etc. This minor in comparison to the vehicle code though, as far as I understand, and supporting Rubidium, road vehicle movement will be a pain to get moving correctly.

As for sprites those are the easiest bit, depending on the implementation of junctions there can be as few as 12 extra sprites per climate... If you start work on this just pm me and I will guarantee you original base graphics and OpenGFX-compatible diagonal road sprites :)
User avatar
JacobD88
Chief Executive
Chief Executive
Posts: 710
Joined: 16 Aug 2008 17:51
Location: Long Eaton, Nottinghamshire. UK
Contact:

Re: Diagonal road

Post by JacobD88 »

Many thanks for the answers guys, i will look into the specifics of road-vehicle movement over the next week or so and get back if i can think of a plan-of-action to resolve the issues and find a way to implement road movement diagonally between tiles in as trunk friendly manner as possible

As to the sprites offer, many thanks this will save some time further down the line, and free up more time for my sprite drawing for the Service Stations Set. I will definitely PM you if and when i get some diagonal road code to test with them

Jacob
Eddi
Tycoon
Tycoon
Posts: 8289
Joined: 17 Jan 2007 00:14

Re: Diagonal road

Post by Eddi »

weird thought: the airports branch introduces state machines for plane movement on airports, and those are thought to become useful for road stations as well. you might want to look into using these for arbitrary road tiles instead of hacking around the existing fixed road movement patterns.
User avatar
JacobD88
Chief Executive
Chief Executive
Posts: 710
Joined: 16 Aug 2008 17:51
Location: Long Eaton, Nottinghamshire. UK
Contact:

Re: Diagonal road

Post by JacobD88 »

Thanks Eddi, that looks like a good idea to try first, i would never have thought to look there
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: Diagonal road

Post by Yexo »

Eddi wrote:weird thought: the airports branch introduces state machines for plane movement on airports, and those are thought to become useful for road stations as well. you might want to look into using these for arbitrary road tiles instead of hacking around the existing fixed road movement patterns.
That was indeed the plan of richk67 for the original newgrf ports branch. Currently however I have absolutely no idea how a custom statemachine could work for articulated road vehicles. Planes and ships are a lot easier because there is just a single vehicle, not a few linked parts.
oberhümer
Tycoon
Tycoon
Posts: 1283
Joined: 23 Oct 2009 19:35
Location: Here and there, sometime or another

Re: Diagonal road

Post by oberhümer »

in my opinion, do it like Simutrans: road vehicles just cut corners there to go diagonal.
--- Licenses: GNU LGPL, version 2 or newer, code and graphics. CC-By-SA, graphics, alternatively. If you're using any, I'd like to hear about it --- Call them "track types" ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---

--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
Post Reply

Return to “OpenTTD Suggestions”

Who is online

Users browsing this forum: No registered users and 4 guests