The International Simutrans Forum

Community => Simutrans Help Center => Topic started by: hreintke on December 08, 2012, 10:36:49 AM

Title: rail bridges and tunnels in route
Post by: hreintke on December 08, 2012, 10:36:49 AM
LS,

Experimenting with bridges and tunnels in rail now. I was changing the railcrossing to not be on on the same level.
When I use a bridge it is being used. But when I try using tunnels, no train takes the route thru the tunnels and take other (non elevated) crossings between the two main rails.

What can be wrong in my design of tunnels ? In the tunnel2 example  I even forced the route thru the tunnel by including a routepoint within the tunnel and then the message "no route" availabe" pops up.

Any hint appreciated.

Herman 
Title: Re: rail bridges and tunnels in route
Post by: prissi on December 08, 2012, 10:52:13 AM
This comes from how simutrans calculates a route: Each 90° bends have a large minus, and your tunnel has at least three of them. Second also slopes are a big minus. In pak64 a 90° curve (straight tile bend straight tile) is worth a deviation of 25 tiles, a 45° curve (tile bend bend back) only ten. A slope is worth 15 straigt tiles, and a 45° bend is worth 5 tiles. With this in mind you can look again at your layout.
Title: Re: rail bridges and tunnels in route
Post by: Ters on December 08, 2012, 10:57:53 AM
It's hard to tell what's wrong with the second tunnel layout without seeing it underground, or knowing where the train want to go.
Title: Re: rail bridges and tunnels in route
Post by: hreintke on December 08, 2012, 11:45:17 AM
LS,

Indeed with the second layout I cannot force the train thru the tunnel.
The underground layout is now attached. Then I included a routepoint in the tunnel, and got a no-route message.

Herman
Title: Re: rail bridges and tunnels in route
Post by: Combuijs on December 08, 2012, 12:12:18 PM
Whatever the penalty for slopes and angles, there should be a route. Most likely the underground and overground part of the tunnel (the first one you encounter) is somehow not connected.

Edit: I always try to electrify the route in such cases. It gives you an idea where the problem is.
Title: Re: rail bridges and tunnels in route
Post by: hreintke on December 08, 2012, 02:58:38 PM
Thanks,

There were multiple reasons why it did not work.

Somehow the rails and tunnel were not connected. Maybe it good to show this visually too like on "flat surface" with the rail-end graphic.

Also the penalties for slopes and curves made the route (for me until now) not as expected.
Is the amount of penalty pak dependent and configurable ? If configurable , can you point me to the place wher that is ?

Herman
Title: Re: rail bridges and tunnels in route
Post by: Fabio on December 08, 2012, 05:42:44 PM
You can configure these weights in simuconf.tab. Ctrl+F for slope and you should find the entries.