Bridge Graphics - Deck Type

Got an idea for a new feature in TTDPatch? Post it here.

Moderator: TTDPatch Moderators

Post Reply
User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Bridge Graphics - Deck Type

Post by wallyweb »

Current bridge graphics consist of the following sprites:

4 sloped ramps
4 level ramps
2 spans - rear structure with deck
2 spans - front structure
2 footings

Let me know if I missed anything.

The current situation with respect to the deck is that it is integral to the graphic and versions must be redrawn for each supported road set and track type, a lot of extra work for bridge artists who want to support all deck varieties.

This also applies to the ramps.

Why not make the deck portion generic such as transparent or perhaps a neutral grey and then add a coding parameter that checks for the currently invoked road or track type and then applies the appropriate straight section onto the road deck?

This way we could have truly compatible bridge sets that avoid the need for artists to chase down one another to get permission to adapt graphics.
Another benefit would be flexibility for the day when NewRoutes is a reality.
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

Well to make a short answer, the point of newroutes is to seperate rail/road graphics and bridge graphics properly. This includes tunnel entrances aswell...
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
Image
User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Post by wallyweb »

eis_os wrote:Well to make a short answer, the point of newroutes is to seperate rail/road graphics and bridge graphics properly. This includes tunnel entrances aswell...
But will the artists still have to make separate sprites for each road/rail type for each bridge and tunnel?
Or will they be able to draw the bridge and tunnel once and once only and have the game apply the proper road/rail type automatically?
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

No.

A bridge has a layout table and requests a rail / road sprite which gets drawn.

So you would have something like:
Draw the back Sprite (faceing away from user)
Draw the bridge surface sprite
Call the NewroutesRail/RoadDrawing System to draw a sprite for on bridges.
Draw the front Sprite.

Tunnels:
Draw the back Sprite
Call the NewroutesRail System to draw a sprite for tunnel entrance.
Draw FrontSprite or Enhanetunnels Front Sprite
Call the NewroutesRail System to draw a sprite for tunnel top (if needed)

Stations:
If there is a normal groundsprite for rails -> intercept ->
Draw a ground sprite for this kind of land type
Call the NewroutesRail System to draw a sprite for a station tile.
User avatar
lobster
Tycoon
Tycoon
Posts: 5671
Joined: 21 Dec 2003 23:30
Location: Atlantic Ocean
Contact:

Post by lobster »

ah, so my long gone and forgotten tunnel set idea can proceed after all. brilliance.
"Your mother was a lobster, and your father... was also a lobster" -- The rascal formerly known as astath -- Last.fm -- Official TT-Dave Worley Fan Club

Image

<orudge> make love to me while I surf, dear lobster
Post Reply

Return to “Suggestions”

Who is online

Users browsing this forum: No registered users and 8 guests