Convert railway support for monorail/maglev

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

Post Reply
adras
Engineer
Engineer
Posts: 7
Joined: 27 Jul 2023 22:29

Convert railway support for monorail/maglev

Post by adras »

Right now it's only possible to upgrade from normal rails to electrified. Doing an upgrade to monorail/maglev is really cumbersome.

How difficult would it be to implement support for that?
User avatar
kamnet
Moderator
Moderator
Posts: 8591
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: Convert railway support for monorail/maglev

Post by kamnet »

It's supposed to be cumbersome. Electrifying a rail line is fairly straight forward. Replacing a rail line with monorail is literally replacing every piece of infrastructure, every vehicle, etc.

But NewGRFs have that problem solved already. Look at the Progressive Rail set.
Argus
Tycoon
Tycoon
Posts: 1204
Joined: 16 Oct 2018 08:31
Location: Heart of the Highlands. Not Scottish. Czech.

Re: Convert railway support for monorail/maglev

Post by Argus »

It even works with Nutracks, I think it works with most rail sets.
adras
Engineer
Engineer
Posts: 7
Joined: 27 Jul 2023 22:29

Re: Convert railway support for monorail/maglev

Post by adras »

Seems like my question wasn't precise enough. One can already upgrade entire track networks using "Convert/upgrade type of rail". However this excludes depots (with trains inside). If depots were included, I could follow up the conversion by using "Mange List/Replace vehicles"

Edit: I just played around with "Progressive rail". I have actually no idea what it does. I just created a monorail train on a small track. Then I converted to maglev, but the track piece the train was on, wasn't converted (but it's supposed to as far as I understood the description)
Eddi
Tycoon
Tycoon
Posts: 8272
Joined: 17 Jan 2007 00:14

Re: Convert railway support for monorail/maglev

Post by Eddi »

there are various GRFs providing a "universal railtype", so the procedure roughly looks like this:
  1. send all monorail vehicles to depot
  2. convert all depots to universal railtype
  3. autoreplace the monorail vehicles to maglev vehicles
  4. convert the network to maglev
  5. let all vehicles leave
al78
Engineer
Engineer
Posts: 1
Joined: 15 Nov 2023 20:53

Re: Convert railway support for monorail/maglev

Post by al78 »

I have found that when playing scenarios, the universal rail type grf cannot be incorporated so the tedium of manually replacing all the vehicles and rail is unavoidable.
User avatar
Emperor Jake
Tycoon
Tycoon
Posts: 3427
Joined: 24 Apr 2007 09:37
Skype: Discord: Emperor Jake #4106
Location: Not Actually Japan
Contact:

Re: Convert railway support for monorail/maglev

Post by Emperor Jake »

al78 wrote: 03 Dec 2023 15:45 I have found that when playing scenarios, the universal rail type grf cannot be incorporated so the tedium of manually replacing all the vehicles and rail is unavoidable.
It is possible to add GRFs to a scenario, see here for details: viewtopic.php?t=90609

Yes, there are warnings against it, but adding the Progressive Rail/Universal Railtype to an otherwise mostly-vanilla scenario should be reasonably safe. Always backup and test though :)
Post Reply

Return to “OpenTTD Suggestions”

Who is online

Users browsing this forum: No registered users and 18 guests