The International Simutrans Forum

Development => Scripting Scenarios and AI => Topic started by: Yona-TYT on October 20, 2020, 11:45:13 PM

Title: [Tutorial] Strange error in the tunnel.
Post by: Yona-TYT on October 20, 2020, 11:45:13 PM


When trying to build the tunnel entrance, an intercession appears strangely and this clogs the scenario.

I suspect it has something to do with the previously removed label text as something similar happens in another chapter (I'm still researching this).

script: http://www.mediafire.com/file/xt98wo6cgpjsydo/tutorial_pak128-beta.zip/file
savegame: http://www.mediafire.com/file/2824w3k5l5krb6t/tutorial_pak128-beta-3.sve/file

Look at the picture:
(https://www.mediafire.com/convkey/6a26/azx9e27wthvmefs6g.jpg)
Title: Re: [Tutorial] Strange error in the tunnel.
Post by: Dwachs on October 21, 2020, 05:15:53 AM
What exactly is wrong? There are no way directions to neighboring tiles. The corresponding way image is shown in the tunnel portal, it seems to be similar to the images of ways that are not connected to any neighboring tiles.
Title: Re: [Tutorial] Strange error in the tunnel.
Post by: Yona-TYT on October 21, 2020, 01:05:00 PM
I apologize, I've already solved it.

Without realizing it I was preventing the construction of the rail and due to the absence of an adjacent rail, at the time of creating the tunnel entrance the road did not connect.  :o