The International Simutrans Forum

Development => Bug Reports => Topic started by: Yona-TYT on June 02, 2018, 01:04:32 AM

Title: Tunnels no longer generate track sections.
Post by: Yona-TYT on June 02, 2018, 01:04:32 AM

If I create the tunnel entry (given Ctrl), the tunnel section will no longer be created.  :-[ (https://www.mediafire.com/convkey/3b2a/95v4ms6nrdyyllb6g.jpg)
Title: Re: Tunnels no longer generate track sections.
Post by: Yona-TYT on June 04, 2018, 02:44:56 PM
This was a recent change, or did something break in the code? .  ???
Title: Re: Tunnels no longer generate track sections.
Post by: Dwachs on June 04, 2018, 04:55:48 PM
Could be this commit
https://github.com/aburch/simutrans/commit/6415f38796062b169c47c905a029ad0ada909012

There was problem that sometimes tunnel tiles were created, where they should not be: If build single tunnel portal on a lonely artificial slope with no hill behind. Afaict this commit brought back even older behavior to not create the extra tunnel tiles.
Title: Re: Tunnels no longer generate track sections.
Post by: Yona-TYT on June 04, 2018, 10:00:43 PM
Unfortunately, a chapter breaks in the tutorial scenario, and I can not solve the problem.  :-[
(https://www.mediafire.com/convkey/46d3/71hmphw1a63wenc6g.jpg)
Edit.
The problem is the ribi, in the entrances of tunnels can not be differentiated from a stretch of road.

For example, dead ends have ribi of: 1, 2, 4, and 8.

But in the entrances of tunnels they give a ribi of: 5 and 10.
Title: Re: Tunnels no longer generate track sections.
Post by: Yona-TYT on June 02, 2021, 03:59:51 PM
Unfortunately this is no longer working when using the layered subway mode, since that little stretch of tunnel is now needed.  :-[  look here: https://forum.simutrans.com/index.php/topic,20902.0.html
Title: Re: Tunnels no longer generate track sections.
Post by: prissi on June 03, 2021, 05:39:39 AM
Tunnel portals can be very well differenciated from a road. It contains the tuneel object.

Also contruction in sliced and full underground mode worked for me in a recent nightly.