The International Simutrans Forum

 

Author Topic: Tunnels no longer generate track sections.  (Read 1452 times)

0 Members and 1 Guest are viewing this topic.

Offline Yona-TYT

  • Devotee
  • *
  • Posts: 1611
    • Simutrans-BLOG
  • Languages: ES
Tunnels no longer generate track sections.
« on: June 02, 2018, 01:04:32 AM »

If I create the tunnel entry (given Ctrl), the tunnel section will no longer be created.  :-[
 

Offline Yona-TYT

  • Devotee
  • *
  • Posts: 1611
    • Simutrans-BLOG
  • Languages: ES
Re: Tunnels no longer generate track sections.
« Reply #1 on: June 04, 2018, 02:44:56 PM »
This was a recent change, or did something break in the code? .  ???

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4869
  • Languages: EN, DE, AT
Re: Tunnels no longer generate track sections.
« Reply #2 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.
« Last Edit: June 05, 2018, 06:17:38 AM by Dwachs »

Offline Yona-TYT

  • Devotee
  • *
  • Posts: 1611
    • Simutrans-BLOG
  • Languages: ES
Re: Tunnels no longer generate track sections.
« Reply #3 on: June 04, 2018, 10:00:43 PM »
Unfortunately, a chapter breaks in the tutorial scenario, and I can not solve the problem.  :-[

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.
« Last Edit: June 04, 2018, 11:08:12 PM by Yona-TYT »

Offline Yona-TYT

  • Devotee
  • *
  • Posts: 1611
    • Simutrans-BLOG
  • Languages: ES
Re: Tunnels no longer generate track sections.
« Reply #4 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
 

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10622
  • Languages: De,EN,JP
Re: Tunnels no longer generate track sections.
« Reply #5 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.