New tool for track upgrade

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

Post Reply
McZapkie
Tycoon
Tycoon
Posts: 1176
Joined: 18 Jan 2014 18:10

New tool for track upgrade

Post by McZapkie » 22 May 2019 21:27

We have lot of new track types, but still same coarse tool for track upgrade, which is useful for global upgrading from let say normal track to maglev,
but nightmare if someone want to upgrade main line to higher speed while keeping parallel narrow gauge intact.

It is even possible now to have two different track type on one tile (if they are diagonal), but still not possible to upgrade one of them.

Therefore I propose a new, alternative tool (either additional button on track construction or different mode of existing button chosen by pull down menu).

This tool would work similar to semaphore placement (hope that existing code can be utilised):
with more precise control on mouse pointing, and what is more important, if ctrl is pressed and you drag mouse, all tiles along line would be converted,
until wye/crossing or different track type is spotted.

Transportman
Tycoon
Tycoon
Posts: 2694
Joined: 22 Feb 2011 18:34

Re: New tool for track upgrade

Post by Transportman » 23 May 2019 17:51

That is a great suggestion, I like it.
McZapkie wrote:It is even possible now to have two different track type on one tile (if they are diagonal), but still not possible to upgrade one of them.
Actually, that is not true. Only for electric and non-electric it is done graphically, but it is just one track type on the tile.
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML

User avatar
GarryG
Tycoon
Tycoon
Posts: 3050
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: New tool for track upgrade

Post by GarryG » 24 May 2019 02:51

Sounds a very interesting idea.

Just wondering .. in the code for level crossings we can get them to start to upgrade from a certain year to the modern types.

They don't all change at that year but slowly change over several years.

So maybe the tracks can be coded similar so that they start out slow speed and later will start to auto change to a higher speed .. be similar to the level crossings.

Not all the track will upgrade immediately but over several years this will take effect.
Soot Happens
All my projects are GPLv2 License unless stated.
Auz Project Releases: viewtopic.php?f=67&t=84725
AuzTrains: 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
AuzObjects: viewtopic.php?f=26&t=75657
AuzBridges: viewtopic.php?f=26&t=75248
AuzStations: viewtopic.php?f=26&t=76390
AuzTracks: viewtopic.php?f=26&t=82691
AuzSubwayStations: viewtopic.php?f=26&t=85335

User avatar
Gwyd
Chief Executive
Chief Executive
Posts: 698
Joined: 17 Apr 2017 16:52
Location: Western Ile-de-France Region

Re: New tool for track upgrade

Post by Gwyd » 24 May 2019 05:04

Transportman wrote:Actually, that is not true. Only for electric and non-electric it is done graphically, but it is just one track type on the tile.
I believe he is talking about JGR'S patch pack, where this is possible

McZapkie
Tycoon
Tycoon
Posts: 1176
Joined: 18 Jan 2014 18:10

Re: New tool for track upgrade

Post by McZapkie » 26 May 2019 23:21

Yes, two types on one tile is only in JGR, I thought it was in trunk.

If talking about gradually upgrade - it is not a good idea , first of all, it would not look nice, such patchwork, secondly player would don't want to pay maintenace for higher track, if there are only slow trains here.
And software have no idea about which upgrade is desired.
Usually the most problems is during upgrade or electrification when some narrow gauges/pipes/wires existing nearby.

Post Reply

Return to “OpenTTD Suggestions”

Who is online

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