Possibility for a system for diagonal roads

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

User avatar
Korenn
Tycoon
Tycoon
Posts: 1735
Joined: 26 Mar 2004 01:27
Location: Netherlands
Contact:

Post by Korenn »

but this looks prettier, the intersections look better
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7595
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Re: 8 way roads

Post by Born Acorn »

George, I see what you mean now. :wink:
tmesisbob wrote:Hi,

I have finally finished uni, and have implemented the construction of 8 way roads. You can not remove them yet, and the vehicles dont use them yet, and there are probably other issues as well.

See attached piccy!

Tmesisbob, those roads are really good, any chance of the white dashed line down the middle? They'd make great replacement roads. :D
Image
User avatar
tmesisbob
Engineer
Engineer
Posts: 79
Joined: 26 Mar 2004 19:17

Re: 8 way roads

Post by tmesisbob »

Born Acorn wrote: Tmesisbob, those roads are really good, any chance of the white dashed line down the middle? They'd make great replacement roads. :D
Cheers!

Adding the white lines may be a bit tricky, as the roads are all made up out of 4 sub tiles. Adding the lines could result in them appearing at some rather strange places. I will have to think about it though.

Of course, if you want to use them for standard 4 way roads then there would not be a problem with the lines.

Progress has come to a bit of a pause at the moment, as I haved managed to break my developement PC :(.
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Re: 8 way roads

Post by Darkvater »

tmesisbob wrote:Progress has come to a bit of a pause at the moment, as I haved managed to break my developement PC :(.
/me casts +10 Heal on tmesisbob's PC :P
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7595
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

Darkvater, that kind of stuff does not work in reality :wink:


Howz it going, tmesisbob? any progress?

I was just thinking, will every road direction be able to have rail crossings? I was thinking like they are in simcity.
Image
User avatar
tmesisbob
Engineer
Engineer
Posts: 79
Joined: 26 Mar 2004 19:17

Post by tmesisbob »

Hi,

The PC is still a bit ill, but its usable :). Hopefully I will be able to make some progress this week.

It should be possible to have crossings for all of the directions, just have to work out how to code it ;)
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7595
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

You seem good with the graphics part, all the roads need now are some ttd style grass bits. It doesn't matter how long it takes, the only thing thats making me content is that its coming :wink:
Image
User avatar
tmesisbob
Engineer
Engineer
Posts: 79
Joined: 26 Mar 2004 19:17

Post by tmesisbob »

PC is now fixed, and as a consequence progress with the diagonals has gone well. I think that I am not far off from making an initial release (somehow :? ). Path finding needs a bit of fixing, and the construction/distruction code and methodoligy needs tiding up a bit.

Attached is a piccy of vehicles actually using the new roads.
Attachments
Trenford Transport, 14th Feb 1936.png
(245.79 KiB) Downloaded 335 times
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

i think it is too big
Attachments
Bez tytułu.PNG
Bez tytułu.PNG (25.63 KiB) Viewed 4865 times
what are you looking at? it's a signature!
stewis
Traffic Manager
Traffic Manager
Posts: 153
Joined: 20 Feb 2003 22:32

Post by stewis »

Nah the road is taking up the correct amount of tiles.

the line you drew on the map is a 1 way line if you want trains coming both ways you would have to use 2 tiles across. which is what the 2 way road does.

If you know what i mean ;)
worldofklaus
Engineer
Engineer
Posts: 119
Joined: 09 May 2004 18:40
Location: Munich, Bavaria
Contact:

Post by worldofklaus »

Yes but when you loook at the "traditional" roads, they are two-way as well and still only use one tile in width...

BTW will this ever become an "official" feature?
Last edited by worldofklaus on 17 Jul 2004 14:53, edited 1 time in total.
User avatar
F@B
Engineer
Engineer
Posts: 41
Joined: 11 Mar 2004 20:59
Contact:

Post by F@B »

amazing! Keep going on! :D

The Transport Tycoon Headquarters:http://ttdlxhq.de.vu

Download my multilangual (English, German, French and Spanish)
TTD-Installer,
including latest stable TTDPatch, TTdxC and new graphics:
http://ttdlxhq.raysworld.ch/daten/TTHQsetup.exe
User avatar
hAmpzter
Engineer
Engineer
Posts: 41
Joined: 17 Jul 2004 15:04
Location: Sweden
Contact:

Post by hAmpzter »

Uhm, I think the road is really nice..

But if there is gonna be diagonal roads I would want the possibility to make a railroad beside it (you know as when you do to railroad beside eachother in diagonal)! :idea:

Just as a thinker! :shock:
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

stewis wrote:Nah the road is taking up the correct amount of tiles.

the line you drew on the map is a 1 way line if you want trains coming both ways you would have to use 2 tiles across. which is what the 2 way road does.

If you know what i mean ;)
but 1-way railroad takes the same amount of space as road ....

but looks closely :!: :!: if the vertical track would be moved a bit forward/backward (looking from the normal road direction) then it would be EXACLY the same size as it is now and would have taken EXACLY the same size as railroad :!:
what are you looking at? it's a signature!
User avatar
tmesisbob
Engineer
Engineer
Posts: 79
Joined: 26 Mar 2004 19:17

Post by tmesisbob »

The diagonal roads can actually be made one way. Its a bit of a fudge, but the small sections of road can be blown up as show in the piccy. Hence you can have a one way road which consumes the same space as a one way track, or have a two way road which consumes the same space as a two way track :wink:
Attachments
1way_2way.png
1way_2way.png (12.3 KiB) Viewed 4805 times
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

it does not look nice .... :? I suggest moving whole vertical road half square to the left/right (looking at the latest image)
what are you looking at? it's a signature!
User avatar
hAmpzter
Engineer
Engineer
Posts: 41
Joined: 17 Jul 2004 15:04
Location: Sweden
Contact:

Post by hAmpzter »

SHADOW-XIII wrote:it does not look nice .... :? I suggest moving whole vertical road half square to the left/right (looking at the latest image)
Wouldn't it be a big problem at the start and the end of the road then?
It would not be one whole square!

I still think it looks nice.. It's as large as a two-way railroad (and the normal road are automatic two-way)!

I would just want it to be possible to build a railroad right next to the road (that it will intersect a bit with the road as when you do diagonal railroads beside them)!
(When I have time I will do a pic to show what I mean)
User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

Post by Wolf01 »

hAmpzter wrote:
SHADOW-XIII wrote:it does not look nice .... :? I suggest moving whole vertical road half square to the left/right (looking at the latest image)
Wouldn't it be a big problem at the start and the end of the road then?
It would not be one whole square!

I still think it looks nice.. It's as large as a two-way railroad (and the normal road are automatic two-way)!

I would just want it to be possible to build a railroad right next to the road (that it will intersect a bit with the road as when you do diagonal railroads beside them)!
(When I have time I will do a pic to show what I mean)
before placing diagonal railroad on the side of a diagonal road resolve the problem of incompatibles rail types, when is resolved this problem yours come easy
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

hAmpzter wrote:
SHADOW-XIII wrote:it does not look nice .... :? I suggest moving whole vertical road half square to the left/right (looking at the latest image)
Wouldn't it be a big problem at the start and the end of the road then?
It would not be one whole square!

I still think it looks nice.. It's as large as a two-way railroad (and the normal road are automatic two-way)!
just try what I did !!!
it will look exacly the same !!!!!!!!! but will use less squares !!!!!!!!!
what are you looking at? it's a signature!
User avatar
hAmpzter
Engineer
Engineer
Posts: 41
Joined: 17 Jul 2004 15:04
Location: Sweden
Contact:

Post by hAmpzter »

SHADOW-XIII wrote:just try what I did !!!
it will look exacly the same !!!!!!!!! but will use less squares !!!!!!!!!
How should the start and the stop-part be then (rounded today)?
As eobet's second post with picture? (Sliced along square-lines)

I like the round part, looks more like a normal road-ending that way... The railroad will never end at a square like that, a road might do that though...
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 16 guests