News:

Simutrans Tools
Know our tools that can help you to create add-ons, install and customize Simutrans.

Tunnel : what am I doing wrong?

Started by Argelle, August 30, 2016, 11:58:03 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Argelle



With pak 128, I do not get the way to start my first tunnel (either road or as on picture, train).
I stumble upon posts here on half slope et so on, but sill no success.

I think I am in the configuration similar to this tutorial (http://simutrans.fr/doku.php?id=en:tunnel see first picture) but not able to repeat this simple step.

I've tried so far:
with or without ctrl (to get at least an entrance).
with or without existoing track on the slope.
clicking on slope, draging mouse all the way.
digging to get a vertical wall (on both side).

Lmallet

Your slope is not steep enough.  Tunnels can only be built on a full height slope (45 degrees), not the half height one.

Tutorial here:

http://forum.simutrans.com/index.php?topic=14886.0

Ters

Or to put it more realistically (since that works in this particular case): The hill isn't tall enough. A cutting would be more realistic here.

Argelle

Thanks for your help :)
I'll grab a test save to avoid burning money with terraforming and I'll test this : full height slope (1/1)

The too small hill on my picture is a half height, correct ? (1/2)
So the terraforming tools allow to create half-half height slope, yes ? (1/4)

Ters

No. Pak sets either allow half and full, or single and double height. Quarter heights do not exist no matter what. Your hill is just half height.

Argelle



So I was very wrong. Is this correct ?

DrSuperGood

QuoteSo I was very wrong. Is this correct ?
The 4 artificial walls from left to right go...
0.5, 1, 1.5, 2.

The two ramps pointed by arrows from left to right...
0.5 slope, 1 slope

The other composite ramps are made out of artificial walls and slopes so have no real name.

Internally the game represents Z in integer units so the shallowest slope is always a height difference of 1. Logically though it counts as 0.5, so you will need 2 elevations to go over ways. Tunnels are always built on the 45 degree slope, which is the double slope for half height paksets and the single slope for standard height paksets.

Tjoeker

maybe we should add in the error message that it should be a full height slope?

or (if it's even possible):
check what is wrong and give an error message about the specific situation like:

the tunnel should start on a straight slope
the tunnel should end on a straight slope
the tunnel should start on a full height slope
the tunnel should end on a full height slope

Ters

Quote from: Tjoeker on August 30, 2016, 05:20:10 PM
maybe we should add in the error message that it should be a full height slope?
I think the error messages come from a part of the system that does not know about half/full versus single/double.

Quote from: DrSuperGood on August 30, 2016, 04:18:37 PM
The 4 artificial walls from left to right go...
0.5, 1, 1.5, 2.
This might just confuse Argelle, but I add this for completeness: if the same tools were used in a double-height pak set, like pak64, you would get 1, 2, 3, 4, respectively.

Quote from: DrSuperGood on August 30, 2016, 04:18:37 PM
The two ramps pointed by arrows from left to right...
0.5 slope, 1 slope

The other composite ramps are made out of artificial walls and slopes so have no real name.
In essence, they are, from lower left to upper right, four consecutive half-height slopes and two consecutive full-height slopes. Using the same tools in pak64, they would have been four consecutive single-height slopes and two consecutive double-height slopes.

Argelle

Since your extra helpful and detailled, I've got to ask:



these are the definitions of height and slope, are they?


gauthier

Indeed ;)

QuoteI think I am in the configuration similar to this tutorial (http://simutrans.fr/doku.php?id=en:tunnel see first picture) but not able to repeat this simple step.
Sorry, I should have kept this tutorial up to date, my bad  :-X

In your situation, if you are at the beginning of a game (little money), you should simply draw your track on the hill. Like Ters suggested, the best thing to do is cutting the hill but be aware that terraforming is expensive.

el_slapper

Quote from: gauthier on August 31, 2016, 10:06:12 AM
In your situation, if you are at the beginning of a game (little money), you should simply draw your track on the hill. Like Ters suggested, the best thing to do is cutting the hill but be aware that terraforming is expensive.

Cutting the hill is the best for 2 reasons :

(1) you don't pay maintenance for a tunnel
(2) your vehicle does not los traction by going uphill

It sometimes leads to insane cuts in big mountains, but when you are wealthy enough, creating your own valley is keeping your network efficient for a standard maintenance cost(at the cost of the terraformin investment, which can be huge).

Ters

Quote from: Argelle on August 31, 2016, 08:33:01 AM
Since your extra helpful and detailled, I've got to ask:



these are the definitions of height and slope, are they?

I'm not sure that drawing is geometrically correct, but then we are not really dealing with formal geometry here. According to Wiktionary, a slope is ground that goes evenly up or down. When talking of slopes in Simutrans, we only consider a single tile (the squares the world in Simutrans is made up of when seen from above, which only the minimap lets you do) at a time, although terrain that rises uniformly across several tiles would also be slope by Wiktionary's definition. (There are also some tiles that would fit the definition of a slope, but which Simutrans doesn't treat as such, but they are not relevant in this discussion so far.)

gauthier

Cutting is the best solution for long term but you have to take into account that terraforming is very expensive for a beginner especially since money passed in terrforming is completely lost (nothing goes to wealth), hence my piece of advice.