What's a good way to replace a bunch of vehicles at once?

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Post Reply
ysg
Engineer
Engineer
Posts: 16
Joined: 11 Jun 2011 21:09

What's a good way to replace a bunch of vehicles at once?

Post by ysg »

I have about 10 road vehicles that are just too old. I'd like to replace them with a newer model.

Is there a way for me to just select all them and replace them in one fell swoop?

And before you ask, yes, they haul the same cargo, passengers. Any ideas?
Supercheese
Tycoon
Tycoon
Posts: 1660
Joined: 16 Dec 2007 22:24
Location: Idaho, USA

Re: What's a good way to replace a bunch of vehicles at once

Post by Supercheese »

Yep, there's a function just for that: http://wiki.openttd.org/Replace_vehicles#Autoreplace
Eyecandy Road Vehicles | Fake Subways | Supercheese's NewObjects

"Fashions and cultures change, but steam trains shall always be majestic."
-Professor Hershel Layton
User avatar
tracerpt
Engineer
Engineer
Posts: 7
Joined: 18 Feb 2013 19:50
Skype: tracerpt
Location: Kingston upon Hull - United Kingdom

Re: What's a good way to replace a bunch of vehicles at once

Post by tracerpt »

Heres how you do it, open the vehicles list (road, trains, etc) then follow the steps on the screens.


1st this:

http://dl.dropbox.com/u/4024494/TTD/NKT ... 202177.png


and then this:

http://dl.dropbox.com/u/4024494/TTD/NKT ... 77%231.png
I had a signature but it got ran over by a javelin
ysg
Engineer
Engineer
Posts: 16
Joined: 11 Jun 2011 21:09

Re: What's a good way to replace a bunch of vehicles at once

Post by ysg »

Supercheese wrote:Yep, there's a function just for that: http://wiki.openttd.org/Replace_vehicles#Autoreplace
I looked into doing that, but that's not what I need. I don't have the option to upgrade to newer
models, but only one, the same type of bus.

I went into the advanced setting section and selected the autoreplace option. I sent my buses to
the depot and... nothing happened, the same old buses were still running.

I can do the replacement manually, at the moment I have about 15 road vehicles, but what if I
have 400? There has to be some automated way of doing that.
User avatar
3iff
Tycoon
Tycoon
Posts: 1103
Joined: 21 Oct 2005 09:26
Location: Birmingham, England

Re: What's a good way to replace a bunch of vehicles at once

Post by 3iff »

What you can do...possibly, is to downgrade the vehicles and then upgrade them to the same type they are now.

It works fine with train engines. With road vehicles you may have a temporary loss of cargo if the older vehicles are smaller but we're only talking of a one-off loss of some cargo which should be of no significance.

It is annoying that we can't autoreplace like for like unless the vehicle is at end of life...perhaps someone could make it an option? Perhaps a command to 'refresh' the vehicle (by replacing it with the same type) if it's older than so-many years (controllable by a option parameter?)
User avatar
tracerpt
Engineer
Engineer
Posts: 7
Joined: 18 Feb 2013 19:50
Skype: tracerpt
Location: Kingston upon Hull - United Kingdom

Re: What's a good way to replace a bunch of vehicles at once

Post by tracerpt »

Can you check this settings? Mine do replace themselves when they go for servicing.
serv.PNG
serv.PNG (10.9 KiB) Viewed 4415 times
I had a signature but it got ran over by a javelin
User avatar
3iff
Tycoon
Tycoon
Posts: 1103
Joined: 21 Oct 2005 09:26
Location: Birmingham, England

Re: What's a good way to replace a bunch of vehicles at once

Post by 3iff »

Yes, but they only replace themselves when they are at end of life...(max age). It won't replace vehicles that are old but still serviceable.

I'm corrently using UKRS2 and these vehicles get more expensive to run as they age. Rather that wait until they're 25 years old I'd like to replace them at say 10 years old but there's currently no easy way to do that...(but if there IS, I'd really like to know what that might be).
ysg
Engineer
Engineer
Posts: 16
Joined: 11 Jun 2011 21:09

Re: What's a good way to replace a bunch of vehicles at once

Post by ysg »

tracerpt wrote:Can you check this settings? Mine do replace themselves when they go for servicing.
serv.PNG
Will do. That never occurred to me.
ysg
Engineer
Engineer
Posts: 16
Joined: 11 Jun 2011 21:09

Re: What's a good way to replace a bunch of vehicles at once

Post by ysg »

tracerpt wrote:Can you check this settings? Mine do replace themselves when they go for servicing.
serv.PNG
Yeah, I just set that. No effect. I sent a bus to a depot and nothing...
Supercheese
Tycoon
Tycoon
Posts: 1660
Joined: 16 Dec 2007 22:24
Location: Idaho, USA

Re: What's a good way to replace a bunch of vehicles at once

Post by Supercheese »

I'm still a bit confused, do you want to upgrade buses to a different model, or replace them with new copies of the same model?
Eyecandy Road Vehicles | Fake Subways | Supercheese's NewObjects

"Fashions and cultures change, but steam trains shall always be majestic."
-Professor Hershel Layton
ysg
Engineer
Engineer
Posts: 16
Joined: 11 Jun 2011 21:09

Re: What's a good way to replace a bunch of vehicles at once

Post by ysg »

Supercheese wrote:I'm still a bit confused, do you want to upgrade buses to a different model, or replace them with new copies of the same model?
Replace them with new copies of the same model.
Supercheese
Tycoon
Tycoon
Posts: 1660
Joined: 16 Dec 2007 22:24
Location: Idaho, USA

Re: What's a good way to replace a bunch of vehicles at once

Post by Supercheese »

Then yes, you will have to use autorenew, autoreplace will not do that.
Eyecandy Road Vehicles | Fake Subways | Supercheese's NewObjects

"Fashions and cultures change, but steam trains shall always be majestic."
-Professor Hershel Layton
Tolmar
Engineer
Engineer
Posts: 25
Joined: 24 Feb 2005 01:39

Re: What's a good way to replace a bunch of vehicles at once

Post by Tolmar »

I've not tried in but could you not set the autorenew xx months option to 120 months to renew 10 years early. Although if memory serve it currently only does a max of twelve months.
User avatar
3iff
Tycoon
Tycoon
Posts: 1103
Joined: 21 Oct 2005 09:26
Location: Birmingham, England

Re: What's a good way to replace a bunch of vehicles at once

Post by 3iff »

I did think of that, but the options are +-12 months maximum.
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4766
Joined: 09 Sep 2007 05:03
Location: home

Re: What's a good way to replace a bunch of vehicles at once

Post by Alberth »

Indeed.

The only thing you can do is manual replacement, or autoreplace to a different model and then autoreplace back again.
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: Ahrefs [Bot] and 3 guests