Improvements for Tram Catenary

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

Post Reply
User avatar
Zephyris
Tycoon
Tycoon
Posts: 2890
Joined: 16 May 2007 16:59

Improvements for Tram Catenary

Post by Zephyris »

There is one little problem with the tram catenary which has bugged me for some time - there are no graphics for dead end pieces of track. Would it be possible to add sprites for these extra cases?

The picture below clarifies the issue; there are two types of tram track dead end, one with a half tile and one without. They are functionally different (the tram can turn on the half road tile), the graphics for the track are different (the half road tile end has a track loop) but the graphics for the catenary are the same.

Attached are an example set of graphics for these extra catenary bits (original tram track graphics by PikkaBird, these have been modified from them without permission. DO NOT use them without permission!).
Attachments
DeadEndTram.png
DeadEndTram.png (18.19 KiB) Viewed 2839 times
End Pieces Tram.png
End Pieces Tram.png (2.06 KiB) Viewed 2839 times
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: Improvements for Tram Catenary

Post by FooBar »

There are some unused sprites in the current tramtrack sprite definition. Maybe those can be reused for this purpose. See the pinkish red sprites here: http://bundles.openttdcoop.org/opengfx/ ... sprite1831
User avatar
Zephyris
Tycoon
Tycoon
Posts: 2890
Joined: 16 May 2007 16:59

Re: Improvements for Tram Catenary

Post by Zephyris »

Those blank sprites are (were?) for drive through road stops with tram track, they came from the TTDPatch-only era of trams before TTDPatch had drive through road stops for other road vehicles (IIRC). They may still be used for tram stops in TTDPatch... These sprites would need 8 slots anyways - four orientations with splitting into front (draw over vehicles) and back (draw under vehicles) graphics.
User avatar
Zephyris
Tycoon
Tycoon
Posts: 2890
Joined: 16 May 2007 16:59

Re: Improvements for Tram Catenary

Post by Zephyris »

Just FYI there are now two GRF sets which could really use this feature; http://www.tt-forums.net/viewtopic.php? ... 74&start=0 and http://www.tt-forums.net/viewtopic.php?f=26&t=38413
User avatar
lawton27
Tycoon
Tycoon
Posts: 1418
Joined: 03 Aug 2009 14:29
Location: Manchester

Re: Improvements for Tram Catenary

Post by lawton27 »

I do think this is a great idea, as always I don't know much about the OTTD source code but I presume this should be easily achievable as a patch which would hopefully progress to trunk. Realy just posting to show some support for this.
Post Reply

Return to “OpenTTD Suggestions”

Who is online

Users browsing this forum: Google [Bot] and 14 guests