Grass / Trees growth on unused tracks

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

Post Reply
User avatar
bebeto94
Engineer
Engineer
Posts: 99
Joined: 30 Sep 2002 19:39
Location: Plymouth UK

Grass / Trees growth on unused tracks

Post by bebeto94 »

How about grass/trees to grow on unused or abandoned railway tracks that have been dorment for a specified period of time. It will be great to look back on the history of your old games by seeing where all your old track used to lay .
Last edited by bebeto94 on 29 May 2007 17:08, edited 1 time in total.
User avatar
Dave
Moderator
Moderator
Posts: 17243
Joined: 26 Dec 2005 20:19
Location: North London

Post by Dave »

This has been discussed at some points before and there's a thread aout the appearance of tracks that are unused but don't know where it is. You'll be familiar, I'm guessing, with the way track degrades when no trains run over it. That was the idea of that patch. I always wanted a feature like this because it adds the ultimate level of realism to your network. You could even have the unused track "fenced off" from your normal lines which would be awesome. The only trouble with the other patch was it only had the track with varying degrees of "shine" on the rails, whereas you're looking for a full on overgrowth. I like this idea, and I also think we could have random appearances of track that has a section of rail removed, or something.
Official TT-Dave Fan Club

Dave's Screenshot Thread! - Albion: A fictional Britain
Flickr


Why be a song when you can be a symphony? r is a...
boekabart
Transport Coordinator
Transport Coordinator
Posts: 333
Joined: 25 Aug 2005 09:44
Location: Eindhoven, Netherlands

Post by boekabart »

I'm a big fan of this idea. I consider it not just eyecandy though, but actual valuable feedback on the efficiency of the network.

My suggestion for implementation:
Tracks need several states, from full shiny, to rusty, to 'grassed in', to overgrown. GFX anyone?
With time, rails 'downgrade' (tileloop), with every train, it upgrades. With certain levels of degradation, a maximum speed might be correct. So the first train to use a piece of track in a long time, will have some trouble driving over it. But the pathfinder shouldn't take this into account, it will result in a self fulfilling prophecy: non-used tracks won't ever be used again.

Biggest problem with the thing: graphics. Implementation actually should be doable, as long as we find some bits in the map array.. but for rails, m7 should be fully available since it was introduced for newhouses, right?
Chicago Rail Authority
Traffic Manager
Traffic Manager
Posts: 134
Joined: 09 Nov 2006 23:38

Post by Chicago Rail Authority »

Dave Worley wrote:...and I also think we could have random appearances of track that has a section of rail removed, or something.
Agreed. Not sure about the UK, but many rail companies here pull up the rails (to save on taxes) and leave the ties and other debris on the side of the crushed stones supporting the reamining tracks. Perhaps if the tracks are abandoned long enough, some get torn up and book-ended by buffers?
Many thanks to those who make OTTD and TTDP possible.
boekabart
Transport Coordinator
Transport Coordinator
Posts: 333
Joined: 25 Aug 2005 09:44
Location: Eindhoven, Netherlands

Post by boekabart »

Chicago Rail Authority wrote:Perhaps if the tracks are abandoned long enough, some get torn up and book-ended by buffers?
The problem is... then the pathfinder must actually not use them anymore -> re-use requires manual repairs. Possible, realistic, but maybe.. a step too far?
User avatar
bebeto94
Engineer
Engineer
Posts: 99
Joined: 30 Sep 2002 19:39
Location: Plymouth UK

Post by bebeto94 »

Didnt realize that there were so many in favour of this . Be great to trace the remains of all your long since closed branch lines .
ThePenguin
Engineer
Engineer
Posts: 40
Joined: 15 May 2007 16:49

Post by ThePenguin »

I've seen tracks were I live have weed and grass going in between the tracks and the trains still use them. Of course it's a very small railroad company (1 destination A to B) but you might want to still allow trains go on them.
User avatar
Zephyris
Tycoon
Tycoon
Posts: 2890
Joined: 16 May 2007 16:59

Post by Zephyris »

Surely the tree gfx (esp the young trees) could just be overlaid on top of the railway to indicate disrepair. Using young trees only would let trains travel over it without (significant) glitches.
User avatar
Ben_K
Tycoon
Tycoon
Posts: 1166
Joined: 01 Jun 2006 15:15
Location: Sydney, AUS

Post by Ben_K »

boekabart wrote:My suggestion for implementation:
Tracks need several states, from full shiny, to rusty, to 'grassed in', to overgrown. GFX anyone?
I'll knock up some GFX if you are happy to look at some coding? Send me a PM and let me know what you need and I'll see what I can come up with.
TheJosh
Engineer
Engineer
Posts: 75
Joined: 17 Apr 2007 12:19
Contact:

Post by TheJosh »

The problem that was encountered last time this was discussed is the map array. basically it was blocked because they were waiting for the new map array.
User avatar
saint
Engineer
Engineer
Posts: 45
Joined: 25 Dec 2005 23:01
Location: Australia

Post by saint »

I was having a little play around with this 2 or so months ago but unfortunately uni has taken up A LOT of my time and other projects had priority. The patch I managed to get done (appeared) to work for rail without any problem including rusting on junctions. Also had the ability for up to 16 stages. Didn't get to the point of crossings, tunnels and all climates except temperate since I had trouble creating a .grf properly :roll: . Wasn't too happy with some of the implementation either but I was on a time budget.

Code needs more tidy up to follow standards, some comments added, update to latest revision and so on (but I can't access SVN from here since the ports are blocked).

Perhaps someone can use it for a base (or ideas).
Attachments
oldrailw.grf
For demo purposes. Palette issues, etc present. Contains only temperate, non-tunnel/road crossings.
(166.78 KiB) Downloaded 286 times
aging track r9366.diff
(13.89 KiB) Downloaded 272 times
User avatar
bebeto94
Engineer
Engineer
Posts: 99
Joined: 30 Sep 2002 19:39
Location: Plymouth UK

Post by bebeto94 »

Any screenshots ?
User avatar
Dave
Moderator
Moderator
Posts: 17243
Joined: 26 Dec 2005 20:19
Location: North London

Post by Dave »

TheJosh wrote:The problem that was encountered last time this was discussed is the map array. basically it was blocked because they were waiting for the new map array.
That was an issue here too? I seem to remember a similar explanation was offered for TTD Patch.
Official TT-Dave Fan Club

Dave's Screenshot Thread! - Albion: A fictional Britain
Flickr


Why be a song when you can be a symphony? r is a...
boekabart
Transport Coordinator
Transport Coordinator
Posts: 333
Joined: 25 Aug 2005 09:44
Location: Eindhoven, Netherlands

Post by boekabart »

Dave Worley wrote:
TheJosh wrote:The problem that was encountered last time this was discussed is the map array. basically it was blocked because they were waiting for the new map array.
That was an issue here too? I seem to remember a similar explanation was offered for TTD Patch.
Well wasn't a problem for me: I posted a patch + grf file (makeshift) in Development:
https://www.tt-forums.net/viewtopic.php?p=591823#591823

Thanks to Ben_K for the temporary graphics you see here.

Image
User avatar
MHTransport
Engineer
Engineer
Posts: 97
Joined: 25 Mar 2004 00:32

A Desired Patch

Post by MHTransport »

Cool. It will also be very useful as it will allow you to easily see which roads aren't being used. Especially helpful in late games where you can't monitor everything.

IMOSHO The graphics should just replace the ballast and sleepers with grass so it looks like tracks on grass. I think it fould fit better with the current style.
A better OS: http://ubuntu.com/
Soon an even better OS: http://haiku-os.org/
User avatar
CMircea
Chairman
Chairman
Posts: 887
Joined: 29 Dec 2006 14:05

Post by CMircea »

Actually there are tram tracks directly on grass with no sleepers and are heavily used by light trams.
knedle
Traffic Manager
Traffic Manager
Posts: 158
Joined: 13 Apr 2007 17:07

Post by knedle »

Desolator wrote:Actually there are tram tracks directly on grass with no sleepers and are heavily used by light trams.
But on tram tracks sleepers are under grass, covered with a little of earth. :)
boekabart
Transport Coordinator
Transport Coordinator
Posts: 333
Joined: 25 Aug 2005 09:44
Location: Eindhoven, Netherlands

Post by boekabart »

Desolator wrote:Actually there are tram tracks directly on grass with no sleepers and are heavily used by light trams.
Do you mean like the tram lines around Arad, Ro? Those DO have sleepers, but they are covered with grass.... Rails cannot stay aligned without sleepers, not even in Romania :)
Post Reply

Return to “OpenTTD Suggestions”

Who is online

Users browsing this forum: No registered users and 17 guests