Multi-track Bridges
Moderator: OpenTTD Developers
-
- Tycoon
- Posts: 1396
- Joined: 23 Feb 2014 22:02
Multi-track Bridges
When you've got multiple tracks running in parallel,why should each track have to get its own bridge?(Whenever I take a train to Manhattan I cross from (the) Bronx on a 4-track bridge).
Whether or not we get SIGNALS on bridges,it would be nice to allow SWITCHES on bridges.
Whether or not we get SIGNALS on bridges,it would be nice to allow SWITCHES on bridges.
Re: Multi-track Bridges
Technically a "multi-track bridge" is already possible via newgrf, if one creates an extra wide bridge designed to be "stacked" next to itself to create the illusion of a single bridge. I'm fairly certain there are one or two bridges released somewhere which are designed this way already, and I know I've tried a similar concept myself just for fun, so it can be done.
As for switches on bridges, that's a different story...
As for switches on bridges, that's a different story...
Re: Multi-track Bridges
The bridge doesn't really exists internaly in the program : only the start tile and the end tile exists.Andrew350 wrote:As for switches on bridges, that's a different story...
The bridge itself doesn't exists (like tunnels) so there is no way to put switches on.
This could be added in the far furure is the map array is updated to handle multiple levels.
But for now, it's impossible and should need a rewrite of almost all the game's core (as everything turns arround the map array).
Re: Multi-track Bridges
Switches and signals on bridges are actually only mildly realistic anyway. By and large these are avoided for safety / to architectural stability reasons. Of course, what we call "bridge" often also is something like an elevated track in OpenTTD and a lot of other "real life" equivalents so ...
But still.
As for the optics things, yeah. Is it possible for bridges to detect whether there's a bridge next to them and change graphics accordingly? I haven't seen this done in GRFs but it kinda sounds like something that might be possible. Possibly.
But still.
As for the optics things, yeah. Is it possible for bridges to detect whether there's a bridge next to them and change graphics accordingly? I haven't seen this done in GRFs but it kinda sounds like something that might be possible. Possibly.
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Multi-track Bridges
With the current state of affairs: no, they cannot detect that.Pyoro wrote: As for the optics things, yeah. Is it possible for bridges to detect whether there's a bridge next to them and change graphics accordingly? I haven't seen this done in GRFs but it kinda sounds like something that might be possible. Possibly.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: Multi-track Bridges
I been looking at the idea of a bridge to hold 2 tracks. The only way I find that it might be possible is to have 2 separate bridges but design them when side by side they look like one bridge.
A bit like I did with the wide ballast in AuzTracks.
Can only have to my knowledge 16 bridges (8 road and 8 rail, or a combination that adds to 16).
I still got some learning to do with bridges building and coding, but hope to make a set of twin bridges eventually.
A bit like I did with the wide ballast in AuzTracks.
Can only have to my knowledge 16 bridges (8 road and 8 rail, or a combination that adds to 16).
I still got some learning to do with bridges building and coding, but hope to make a set of twin bridges eventually.
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Auz Eyecandy TramTracks: viewtopic.php?t=89908
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Auz Eyecandy TramTracks: viewtopic.php?t=89908
Re: Multi-track Bridges
OpenTTD doesn't consider bridge tiles as "nothing", they consider both as track tiles and limited building tiles (can't place x, y, z, etc).MagicBuzz wrote:The bridge doesn't really exists internaly in the program : only the start tile and the end tile exists.Andrew350 wrote:As for switches on bridges, that's a different story...
The bridge itself doesn't exists (like tunnels) so there is no way to put switches on.
This could be added in the far furure is the map array is updated to handle multiple levels.
But for now, it's impossible and should need a rewrite of almost all the game's core (as everything turns arround the map array).
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Multi-track Bridges
Nah, there's the same, shared 13 bridge types for both road and rail.GarryG wrote: Can only have to my knowledge 16 bridges (8 road and 8 rail, or a combination that adds to 16).
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: Multi-track Bridges
Wouldn't it be feasible to double that amount by distributing the bits to both ends of the bridge? Basically that one end provides the low bits and the other end provides the high end part of the number.
You could figure out which one provides which part by looking at which bridgehead has the lowest position in the map array.
You could figure out which one provides which part by looking at which bridgehead has the lowest position in the map array.
Re: Multi-track Bridges
and which problem exactly is that supposed to solve?
Re: Multi-track Bridges
Thanks for that info .. been trying to study the NFO coding for making bridges and that info helped.planetmaker wrote:Nah, there's the same, shared 13 bridge types for both road and rail.
Cheers
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Auz Eyecandy TramTracks: viewtopic.php?t=89908
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Auz Eyecandy TramTracks: viewtopic.php?t=89908
Who is online
Users browsing this forum: Amazon [Bot] and 14 guests