Patch: Grass growth on unused tracks

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

User avatar
Kanibal
Traffic Manager
Traffic Manager
Posts: 159
Joined: 25 Jan 2005 20:08
Contact:

Post by Kanibal »

Brilliant!

I'd really love for something like this to be included in the game!
Image
boekabart
Transport Coordinator
Transport Coordinator
Posts: 333
Joined: 25 Aug 2005 09:44
Location: Eindhoven, Netherlands

Post by boekabart »

Updated diff and grf (Thanks, Ben_K)

Now has overlays for all track directions (But still just 1 'phase' per tile, not enough room @ map array for more ...).
For Artic Climate and for Desert (in tropic climate), adjusts the palette of the overlay a bit so it looks better.
No longer draws overlay on monorail and maglev, but it does keep track of the track usage already! Easy to 'enable' as soon as someone draws overlays for them (same goes for other climates, snow and desert).

oldtracks.grf file: http://www.tt-forums.net/download.php?id=73429
diff, r10352: http://www.tt-forums.net/download.php?id=73433

Could this be a trunk candidate?
Attachments
openttd_bb_oldtracks_v8_r10352_win32.zip
Win32 binary, don't forget to download the oldtracks grf too, and put it in your data folder!
(780.22 KiB) Downloaded 251 times
oldtracks_onlyonrails.png
oldtracks_onlyonrails.png (55.67 KiB) Viewed 7711 times
User avatar
Ben_K
Tycoon
Tycoon
Posts: 1166
Joined: 01 Jun 2006 15:15
Location: Sydney, AUS

Post by Ben_K »

Great work Boekabart. Seems to run well in a quick test run just now. :D
User avatar
bebeto94
Engineer
Engineer
Posts: 99
Joined: 30 Sep 2002 19:39
Location: Plymouth UK

Post by bebeto94 »

BRILLIANT !!! :D Can anyone let me have a .grf (assuming one exists) for removing the fences on the standard default tracks ? Cheers guys
User avatar
bebeto94
Engineer
Engineer
Posts: 99
Joined: 30 Sep 2002 19:39
Location: Plymouth UK

Post by bebeto94 »

Its ok , just discovered one
maquinista
Tycoon
Tycoon
Posts: 1829
Joined: 10 Jul 2006 00:43
Location: Spain

Error

Post by maquinista »

Sorry, but... where I can get a lang folder?

Code: Select all

No available language packs (invalid versions?)
Sorry if my english is too poor, I want learn it, but it isn't too easy.[/list][/size]
boekabart
Transport Coordinator
Transport Coordinator
Posts: 333
Joined: 25 Aug 2005 09:44
Location: Eindhoven, Netherlands

Re: Error

Post by boekabart »

maquinista wrote:Sorry, but... where I can get a lang folder?

Code: Select all

No available language packs (invalid versions?)
Get them from the latest nightlies, they should work.
User avatar
bebeto94
Engineer
Engineer
Posts: 99
Joined: 30 Sep 2002 19:39
Location: Plymouth UK

Post by bebeto94 »

Hope this little patch makes it onto the nightlies soon :lol:
maquinista
Tycoon
Tycoon
Posts: 1829
Joined: 10 Jul 2006 00:43
Location: Spain

Re: Error

Post by maquinista »

boekabart wrote:
maquinista wrote:Sorry, but... where I can get a lang folder?

Code: Select all

No available language packs (invalid versions?)
Get them from the latest nightlies, they should work.
It doesn't work. I will wait when this patch is included in trunk.

Can you post some screenshots more? A juction...
Attachments
badLANGfiles.PNG
badLANGfiles.PNG (2.92 KiB) Viewed 7335 times
This is a detail made with GIMP in the tunnel entrance. We need a sprite like it, or something similar.
This is a detail made with GIMP in the tunnel entrance. We need a sprite like it, or something similar.
tunnel_detail.PNG (13.27 KiB) Viewed 7336 times
Sorry if my english is too poor, I want learn it, but it isn't too easy.[/list][/size]
boekabart
Transport Coordinator
Transport Coordinator
Posts: 333
Joined: 25 Aug 2005 09:44
Location: Eindhoven, Netherlands

Re: Error

Post by boekabart »

maquinista wrote:This is a detail made with GIMP in the tunnel entrance. We need a sprite like it, or something similar.
You're correct, and a quick look at the landscape dox tells me there is room for this in the map array, so I'll see if I can add this!

I'll post an updated win32 binary (with lang packs) in a moment or 2.
boekabart
Transport Coordinator
Transport Coordinator
Posts: 333
Joined: 25 Aug 2005 09:44
Location: Eindhoven, Netherlands

Re: Error

Post by boekabart »

I wrote:You're correct, and a quick look at the landscape dox tells me there is room for this in the map array, so I'll see if I can add this!
It's possible, but it'll mess up the patch a lot; for now i suggest to leave it.

Hereby updated patch (added a little bit of code to support tunnels in future), and win32 binary package
Attachments
bb_oldtracks_v8_r10386_win32.zip
(1.81 MiB) Downloaded 232 times
bb_oldtracks_v8_r10386.diff
(7.7 KiB) Downloaded 193 times
User avatar
Ben_K
Tycoon
Tycoon
Posts: 1166
Joined: 01 Jun 2006 15:15
Location: Sydney, AUS

Post by Ben_K »

Id guess that you can use the current overlay sprites to make tunnel overgrowth. They just wont have any shading and wont look quite right. If we need some custom stuff, then I can knock some up fairly easily.
boekabart
Transport Coordinator
Transport Coordinator
Posts: 333
Joined: 25 Aug 2005 09:44
Location: Eindhoven, Netherlands

Post by boekabart »

Ben_K wrote:Id guess that you can use the current overlay sprites to make tunnel overgrowth. They just wont have any shading and wont look quite right. If we need some custom stuff, then I can knock some up fairly easily.
If we'd make custom sprites for tunnels anyway (which I doubt is necessary), it'd be better to just replace the whole sprite for the bottom-half of the tunnel entrance. But for now I think it's OK like this: In tunnels it's too dark for plants to grow anyway :lol:
User avatar
WWTBAM
Moderator
Moderator
Posts: 3689
Joined: 02 Apr 2005 07:01
Location: Sydney NSW Antipodea
Contact:

Post by WWTBAM »

and often too rocky/concrete.
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/
User avatar
athanasios
Tycoon
Tycoon
Posts: 3138
Joined: 23 Jun 2005 00:09
Contact:

Post by athanasios »

boekabart you are wrong!
This is the correct way! :lol: :lol: :lol:
Attachments
tunnel_arachne.png
tunnel_arachne.png (14.13 KiB) Viewed 6875 times
http://members.fortunecity.com/gamesart
"If no one is a fool I am also a fool." -The TTD maniac.


I prefer to be contacted through PMs. Thanks.
User avatar
bebeto94
Engineer
Engineer
Posts: 99
Joined: 30 Sep 2002 19:39
Location: Plymouth UK

Post by bebeto94 »

Looks distinctly tropical and poisonous :mrgreen:
boekabart
Transport Coordinator
Transport Coordinator
Posts: 333
Joined: 25 Aug 2005 09:44
Location: Eindhoven, Netherlands

Post by boekabart »

athanasios wrote:boekabart you are wrong!
This is the correct way! :lol: :lol: :lol:
Excellent plan, would be a great easter egg in fact . ROFL anyway!
User avatar
athanasios
Tycoon
Tycoon
Posts: 3138
Joined: 23 Jun 2005 00:09
Contact:

Post by athanasios »

Sorry, a bit of topic, but I think, this is your favorite web page boekabart:
http://www.rofl.name

:lol: :lol: :lol:
http://members.fortunecity.com/gamesart
"If no one is a fool I am also a fool." -The TTD maniac.


I prefer to be contacted through PMs. Thanks.
boekabart
Transport Coordinator
Transport Coordinator
Posts: 333
Joined: 25 Aug 2005 09:44
Location: Eindhoven, Netherlands

Post by boekabart »

Hi all,
I will be on holiday for a couple of weeks, and moving into my new house right after, so I won't be able to do anything at all until the end of july, and not much after that until the middle of august. I invite you all to create more overlay graphics for other seasons, especially for snow we should have some, and maybe sand for the desert in tropic. A complete set of overlays might improve that chances for this patch to make it into trunk!
User avatar
Brianetta
Tycoon
Tycoon
Posts: 2566
Joined: 15 Oct 2003 22:00
Location: Jarrow, UK
Contact:

Post by Brianetta »

Juhl wrote:I think that the first stage should be light grass only, and the rust should come in the second or third stage. Mainly because grass grows faster than rust on unused rails.
No, they get rusty first. Disused track only becomes overgrown because the maintainers stop spraying it with weedkiller. Passing trains don't tend to remove grass from the ballast, and grass doesn't grow on the actual rails. It's kept in check by maintenance, not trains. If you see a line with weeds growing all over it, that line has no scheduled trains at all.

Rust, though, is definitely indicative of how frequently a stretch of track is used, and just one decently heavy train will hammer the rust back into shiny steel. If this patch went into the trunk, I'd be looking for a grf with rusty rails rather than weeds.
PGP fingerprint: E66A 9D58 AA10 E967 41A6 474E E41D 10AE 082C F3ED
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 3 guests