With this patch, one can define tunnels, which have also a broad portal (if you build two or more tunnels on neighboured slopes, they will have another image).
The dat is like (you need a new makeobj)
Obj=tunnel
Name=RailTunnel
copyright=Timothy Baldock
waytype=track
cost=100000
maintenance=5000
topspeed=120
max_weight=100
intro_year=1825
intro_month=1
retire_year=2000
retire_month=1
icon=> box-tunnel.2.3
cursor=box-tunnel.2.2
BackImage[N]=box-tunnel.2.0
BackImage[S]=-
BackImage[E]=-
BackImage[W]=box-tunnel.2.1
BackImage[Nl]=box-tunnel.2.0
BackImage[Sl]=-
BackImage[El]=-
BackImage[Wl]=box-tunnel.2.1
BackImage[Nr]=box-tunnel.2.0
BackImage[Sr]=-
BackImage[Er]=-
BackImage[Wr]=box-tunnel.2.1
BackImage[Nm]=box-tunnel.2.0
BackImage[Sm]=-
BackImage[Em]=-
BackImage[Wm]=box-tunnel.2.1
FrontImage[N]=box-tunnel.0.0
FrontImage[S]=box-tunnel.0.2
FrontImage[E]=box-tunnel.0.3
FrontImage[W]=box-tunnel.0.1
FrontImage[Nl]=box-tunnel.4.0
FrontImage[Sl]=box-tunnel.4.2
FrontImage[El]=box-tunnel.4.3
FrontImage[Wl]=box-tunnel.4.1
FrontImage[Nr]=box-tunnel.6.0
FrontImage[Sr]=box-tunnel.6.2
FrontImage[Er]=box-tunnel.6.3
FrontImage[Wr]=box-tunnel.6.1
FrontImage[Nm]=box-tunnel.5.0
FrontImage[Sm]=box-tunnel.5.2
FrontImage[Em]=box-tunnel.5.3
FrontImage[Wm]=box-tunnel.5.1
The images with single character are the normal 'small' tunnels. *r stands for the right, *l the left and *m for the middle part of a broad tunnel. It works also with winter images.
www.tu-chemnitz.de/~gerw/patches/broad_tunnel.patch (http://www.tu-chemnitz.de/~gerw/patches/broad_tunnel.patch)
Due to my limited graphic skills, the picture isn't very nice, but it shows the possibilities.
Nice new feature!
Though I'm not really looking forward to drawing new tunnels, It's not very amusing to do.
But once someone did it they'll look nice i hope.
That looks great - I remember asking for something like that a couple of years back :) Would it be possible to do something similar for bridges as well?
Sure. But somebody has to code it :)
One of these days they will invent something that means when you come up with an idea it codes itself automatically...
What I was actually getting at was, if you have already coded something for tunnels, how similar is it to code something similar for bridges? Does it re-use the same sort of code or is it completely different? Obviously I was hoping it was the former, but given I my knowledge of C++ is one letter and two mathematical symbols, you never know!
Since bridges have also middle tiles and pillars and could (at least form the codebase) also intersect, the briges will be more complex.
great! wonderful! awesome!
I will definitely use it for some of the road tunnels under designing and for all the railways tunnels (a longer-in-time project, though)...
After finally drawing something this is in the nightlies in r3142
Very nice feature :o
You gave me work, now I have to adapt MLM dev. tunnels for pak128 ;D ... In fact I will completely remake them because they're simply ... horrible :-X