Railtypes & Bridges

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

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

Railtypes & Bridges

Post by wallyweb »

Question moved from this post.

I have a bridge named "X" that I want to be exclusive to railtypes.
Default rail types (RAIL, ELRL, MONO, MGLV ) should use the bridge named "Y".
Is there a variable that can be accessed via an Action 7 that would return whether or not a rail type is default (RAIL, ELRL, MONO, MGLV )?
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Railtypes & Bridges

Post by planetmaker »

No, that doesn't exist. A bridge is available for all road and rail types, including default ones as well as NewGRF-defined. Or not available at all.
User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Re: Railtypes & Bridges

Post by wallyweb »

planetmaker wrote: ...
I was afraid of that. Oh well. Time to try a different tactic.
Thanks for the fast reply.
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 70 guests