News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

rail bridges and tunnels in route

Started by hreintke, December 08, 2012, 10:36:49 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hreintke

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 

prissi

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.

Ters

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.

hreintke

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

Combuijs

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.
Bob Marley: No woman, no cry

Programmer: No user, no bugs



hreintke

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

Fabio

You can configure these weights in simuconf.tab. Ctrl+F for slope and you should find the entries.