Page 1 of 4

Water Tunnels

Posted: 03 Jan 2010 11:48
by lifeless2010
I always get to a point where i have to build bridges over large lakes/rivers, but i have water traffic going through it, meaning i have to stay with the bridges, and the rails get clogged up, but with a Water Tunnel, which would allow boats down this tunnel, could make it A LOT easier!!!!

Re: Water Tunnels

Posted: 03 Jan 2010 15:01
by Chemical T
As in this Wiki page, people already suggested it. People are working on it, as you can see in this thread. A lot has been done already. Hopefully for us it's a matter of waiting.

Edit; the boats go in that tunnel? Oh okay. I tried rereading the sentence and honestly I don't exactly understand it. Try printscreening and posting the problem.

You mean a tunnel for boats that goes through land? A tunnel for trains that goes through water (which would be my original post)? Or a tunnel for boats through water (which seems awkward)?

Re: Water Tunnels

Posted: 03 Jan 2010 15:09
by SwissFan91
He means a tunnel for boats that goes through land, I think.

Re: Water Tunnels

Posted: 03 Jan 2010 17:15
by Kogut
It is something completely unrealistic and redundant. You can build canals.

Re: Water Tunnels

Posted: 03 Jan 2010 17:24
by Hyronymus
Kogut wrote:It is something completely unrealistic and redundant. You can build canals.
Quite so when on flat land. But if you want to "cross a mountain" it might be a nice feature. But as far as I know it doesn't happen in reality either so I wonder how desirable it is to include this in OpenTTD.

Re: Water Tunnels

Posted: 03 Jan 2010 17:59
by cmoiromain
Hyronymus wrote:as far as I know it doesn't happen in reality
It does:
http://www.thepotteries.org/location/di ... horse4.htm
http://www.americancanals.org/Union%20C ... 20boat.jpg
http://www.ajacob.com/events/Wedding_20 ... tunnel.jpg

And realism is no criterium to include a feature or not (ask Belugas :lol: ). I think it could be interesting, especially on mountain landscapes, where locks are extremely difficult to place.

Re: Water Tunnels

Posted: 03 Jan 2010 18:04
by Rubidium
A major problem with water tunnels is glitches when ships go into tunnels. The kind where 25 percent of the ship is shown in the mountain, 20 percent is in the tunnel entrance and 55 percent is outside of the tunnel.

These glitches aren't fixable, so you are asking us to add something that we are already 100% certain of is glitchy, broken by design and a major cause of bug reports.

Re: Water Tunnels

Posted: 03 Jan 2010 19:21
by Hyronymus
Realism isn't a criteria per se but can indicate how much a feature is core to the game.

Re: Water Tunnels

Posted: 03 Jan 2010 19:58
by Kogut
cmoiromain wrote:
Hyronymus wrote:as far as I know it doesn't happen in reality
It does:
http://www.thepotteries.org/location/di ... horse4.htm
http://www.americancanals.org/Union%20C ... 20boat.jpg
http://www.ajacob.com/events/Wedding_20 ... tunnel.jpg

And realism is no criterium to include a feature or not (ask Belugas :lol: ). I think it could be interesting, especially on mountain landscapes, where locks are extremely difficult to place.
Thanks for amazing photos!

Re: Water Tunnels

Posted: 03 Jan 2010 20:11
by CommanderZ
Kogut wrote:
cmoiromain wrote:
Hyronymus wrote:as far as I know it doesn't happen in reality
It does:
http://www.thepotteries.org/location/di ... horse4.htm
http://www.americancanals.org/Union%20C ... 20boat.jpg
http://www.ajacob.com/events/Wedding_20 ... tunnel.jpg

And realism is no criterium to include a feature or not (ask Belugas :lol: ). I think it could be interesting, especially on mountain landscapes, where locks are extremely difficult to place.
Thanks for amazing photos!
That's not exactly the scale feasible for OTTD ships ;)

Now show me a tunnel which can fit tanker into it :roll:

Re: Water Tunnels

Posted: 06 Jan 2010 20:22
by lifeless2010
This may not be nessessarly realistic, but i mean A LOT of features you find in the game are unrealistic, i dont see why this 1 thing would change it all :P

Re: Water Tunnels

Posted: 06 Jan 2010 22:25
by ChillCore
Rubidium wrote:A major problem with water tunnels is glitches when ships go into tunnels. The kind where 25 percent of the ship is shown in the mountain, 20 percent is in the tunnel entrance and 55 percent is outside of the tunnel.

These glitches aren't fixable, so you are asking us to add something that we are already 100% certain of is glitchy, broken by design and a major cause of bug reports.

Re: Water Tunnels

Posted: 07 Jan 2010 03:40
by PikkaBird
CommanderZ wrote:That's not exactly the scale feasible for OTTD ships ;)

Now show me a tunnel which can fit tanker into it :roll:
Real-world oil tankers carry millions of cubic metres of oil. The largest tanker in TTD carries 350 cubic metres. Perhaps the scale problem is with the ship graphics, not with the tunnel idea...

Re: Water Tunnels

Posted: 07 Jan 2010 11:27
by klisse

Re: Water Tunnels

Posted: 09 Jan 2010 16:15
by cmoiromain
Rubidium:
If the glitches were not taken into account, how difficult would it be to code? There are many glitches in, for example, LV4, but that does not stop it from being very interesting to play with.
As for the problem of implementing it to the pathfinder, maybe the ships should ignore it, unless being explicitly told to use it (like a kind of buoy, it has to be in their orders).

Re: Water Tunnels

Posted: 09 Jan 2010 16:21
by Rubidium
It's relatively simple; tunnels and bridges are very alike.

Re: Water Tunnels

Posted: 09 Jan 2010 17:01
by ChillCore
Hoi cmoiromain,
If my memory serves me right the patch in the link below has functional canal tunnels ( != underwatertunnels).
I tested it long time ago and also shows the glitches mentioned by Rubidium before.

http://www.tt-forums.net/viewtopic.php? ... +in+tunnel

Re: Water Tunnels

Posted: 09 Jan 2010 18:28
by cmoiromain
Nice! Thanks for the link!
Maybe a (partial) solution to these glitches would be to have a tunnel entrance using the whole tile:
tunnel.png
tunnel.png (4.2 KiB) Viewed 8400 times
One question I have, though: is there a way of drawing the ship sprite after the tunnel one, rather than the contrary? It would prevent the ship from being cut in two (using the idea I just illustrated). The ship would still overlap the land a little, but it would be IMO less annoying.

Re: Water Tunnels

Posted: 11 Jan 2010 00:05
by wabakami
There are ship tunnels in the UK, I should mention they are actually tunnels for canals, meaning narrowboats.

Re: Water Tunnels

Posted: 21 Jan 2010 03:00
by arachnidan
cmoiromain wrote:
Hyronymus wrote:as far as I know it doesn't happen in reality
It does:
http://www.thepotteries.org/location/di ... horse4.htm
http://www.americancanals.org/Union%20C ... 20boat.jpg
http://www.ajacob.com/events/Wedding_20 ... tunnel.jpg

And realism is no criterium to include a feature or not (ask Belugas :lol: ). I think it could be interesting, especially on mountain landscapes, where locks are extremely difficult to place.

i really liked the 3rd photo