Boat tunnels. You should be able to dig tunnels for boats.

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

Post Reply
JustMoreMemes
Engineer
Engineer
Posts: 8
Joined: 08 Dec 2018 18:09

Boat tunnels. You should be able to dig tunnels for boats.

Post by JustMoreMemes » 08 Dec 2018 18:18

I know they exist irl. Tunnels through hills and stuff with water at the bottom so that boats can drive through them. Why are not a thing yet? They’d be really useful for going through mountains without having to flatten them or dig cannals and use like 15 locks.

User avatar
kamnet
Moderator
Moderator
Posts: 6606
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: Boat tunnels. You should be able to dig tunnels for boats.

Post by kamnet » 08 Dec 2018 21:41

It's on a wish-list. It's not been implemented already because despite there being some interest in this, nobody has taken the initiative to work on both the code and the graphics. If you haven't already, you might want to read this conversation.

If you're familiar with C++ coding and are interested in contributing, that would be helpful.

JustMoreMemes
Engineer
Engineer
Posts: 8
Joined: 08 Dec 2018 18:09

Re: Boat tunnels. You should be able to dig tunnels for boats.

Post by JustMoreMemes » 09 Dec 2018 02:49

Well I found graphics for water tunnels in an old thread, so that’s that taken care of, but someone would have to compile them into a NewGRF or something as I have no idea how. I’ve never seen any of OpenTTD’s code but I’ve done some simple mods using C++ before. I think the main problem would be solving that bug where ships clip into the terrain as they enter the tunnels, which to me seems like it could be solved by giving ships some extra frames where they only show half the sprite, or better, creating a system to block some parts of a sprite. Like you could place a tile that looks exactly like the tile after the tunnel but is actually not terrain and instead a higher-priority graphic that would cover up a ship as it entered the tunnel.

User avatar
YNM
Tycoon
Tycoon
Posts: 3535
Joined: 22 Mar 2012 11:10
Location: West Java

Re: Boat tunnels. You should be able to dig tunnels for boats.

Post by YNM » 09 Dec 2018 06:52

The most difficult aspect with a boat tunnel is the way how the boat graphics are handled - forget vanilla boats, how'd you make it work (or not work) nicely with FISH2 or Sailing Ships NewGRF ?
YNM = yoursNotMine - Don't get it ?

User avatar
eekee
Engineer
Engineer
Posts: 89
Joined: 23 Jun 2005 19:45
Location: Cyberspace

Re: Boat tunnels. You should be able to dig tunnels for boats.

Post by eekee » 21 Mar 2019 11:57

YNM wrote:The most difficult aspect with a boat tunnel is the way how the boat graphics are handled - forget vanilla boats, how'd you make it work (or not work) nicely with FISH2 or Sailing Ships NewGRF ?
Eh... boats already look rough when they overlap each other. I'm in favour of just adding a tunnel and letting players use it or not, as they choose. NUTS already has the graphics under a creative commons licence.

What I'd really like is a way for WETrails (part of NUTS) to be laid on the ocean, but that's another issue. :)
Extreme network builder. screenshot thread

odisseus
Engineer
Engineer
Posts: 22
Joined: 01 Nov 2017 21:19

Re: Boat tunnels. You should be able to dig tunnels for boats.

Post by odisseus » 14 Jun 2019 16:03

YNM wrote:
09 Dec 2018 06:52
how'd you make it work (or not work) nicely with FISH2 or Sailing Ships NewGRF ?
Sailing ships should be unable to use tunnels at all, and so should all the larger ships. This would be consistent with real life.

AFAIK the only boat tunnels that exist are canal tunnels, which allow only small barges. There is a project of a much larger tunnel, but nothing like that has ever been built.

Eddi
Tycoon
Tycoon
Posts: 7366
Joined: 17 Jan 2007 00:14

Re: Boat tunnels. You should be able to dig tunnels for boats.

Post by Eddi » 14 Jun 2019 16:12

... except the game has no comcept of what constitutes a "sail ship" or "large ship"
You might not exactly be interested in Ferion, but if you are, have fun :)

odisseus
Engineer
Engineer
Posts: 22
Joined: 01 Nov 2017 21:19

Re: Boat tunnels. You should be able to dig tunnels for boats.

Post by odisseus » 14 Jun 2019 16:28

Well, if boat tunnels are ever going to be added, I guess the distinction between ship sizes can be added too. It could be just "small ships" and "large ships", like it is with aircraft.

User avatar
piratescooby
Transport Coordinator
Transport Coordinator
Posts: 296
Joined: 21 Nov 2014 12:39
Location: The Granite City.

Re: Boat tunnels. You should be able to dig tunnels for boats.

Post by piratescooby » 14 Jun 2019 17:31

I vote to have Ship tunnels for all types of Marine craft ......No matter the size , lets get the coding sorted ..
https://www.norwegianamerican.com/news/ ... ip-tunnel/

TopTechDreamer
Engineer
Engineer
Posts: 30
Joined: 22 Feb 2012 12:21
Location: Ukraine
Contact:

Re: Boat tunnels. You should be able to dig tunnels for boats.

Post by TopTechDreamer » 14 Jun 2019 20:25

eekee wrote:
21 Mar 2019 11:57
Eh... boats already look rough when they overlap each other. I'm in favour of just adding a tunnel and letting players use it or not, as they choose.
EXACTLY !

Aqueducts (water-bridges) and even canals look not very realistic too (with their depth = 0). But we need them, use them and like them.

Ship tunnels - this is a great idea - this would be very useful.

(There is already a solution to the problem of graphics of input-output for the ship and the tunnel - this is a ship depot: to draw entrance and exit of the tunnel for ships similar to entry and exit of ship depot.
Water Tunnels Portal: ship depot or bridges over the tunnel entrance will hide any glitches.)
Attachments
Water Tunnels Portal (ship depot or bridges over the tunnel entrance will hide any glitches).png
Water Tunnels Portal (ship depot or bridges over the tunnel entrance will hide any glitches).png (151.61 KiB) Viewed 351 times

odisseus
Engineer
Engineer
Posts: 22
Joined: 01 Nov 2017 21:19

Re: Boat tunnels. You should be able to dig tunnels for boats.

Post by odisseus » 16 Jun 2019 00:46

Allowing all boats to use tunnels without restrictions would enable the Ultimate People Mover — a port connected directly to the tunnel entrance. Thanks to the infinite capacity of boat routes (you can always add more boats and they won't jam like trains do), this setup will drain all the passengers of even the largest city at little cost and, more importantly, very small footprint. This is going to be a balance issue with any GRFs that have passenger boats, as any other modes of commuting (buses, metro trains) will become useless.

Post Reply

Return to “OpenTTD Suggestions”

Who is online

Users browsing this forum: No registered users and 0 guests