Go to Depot AND Stop

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

Moderator: OpenTTD Developers

Post Reply
Nickel_Plate
Traffic Manager
Traffic Manager
Posts: 146
Joined: 27 Dec 2004 19:37
Location: Home of the Big Cat

Go to Depot AND Stop

Post by Nickel_Plate »

Just a general question, is there any way i can tell a train in the orders to go into a depot and stay there.
User avatar
Griff
Tycoon
Tycoon
Posts: 4984
Joined: 15 May 2005 15:46
Location: Peterborough, United Kingdom

Post by Griff »

Short answer..No.
You have to physically tell the train to go to the depot. afaik
Ukončete, prosím, výstup a nástup, dveře se zavírají
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

why would you order your train to stop in a depot?
Nickel_Plate
Traffic Manager
Traffic Manager
Posts: 146
Joined: 27 Dec 2004 19:37
Location: Home of the Big Cat

Post by Nickel_Plate »

Because it was the only way i can see to add helpers to trains to help climb over hills.
User avatar
Griff
Tycoon
Tycoon
Posts: 4984
Joined: 15 May 2005 15:46
Location: Peterborough, United Kingdom

Post by Griff »

You can just manually send them to the depot then..
Ukončete, prosím, výstup a nástup, dveře se zavírají
User avatar
gkirilov
Chief Executive
Chief Executive
Posts: 696
Joined: 03 May 2005 09:32
Location: Othala

Post by gkirilov »

You can send all trains to the depots or you can send a specific group of trains (like a group sharing the same orders) to any depot on their route.
Those are great features added recently to the nightly builds.
OTTDCoop NewGRF Pack|Different sets of GRFs for TTDPatch (some of them work in OTTD) - 1|- 2|GRF sets for OTTD|OTTD nightly
Image
I hooked up my accelerator to my brake lights. I hit the gas, people behind me stop, and I'm gone.
Understeer is when you hit the wall with the front of the car. Oversteer is when you hit the wall with the rear of the car. Horsepower is how fast you hit the wall. Torque is how far you take the wall with you. Spoilers and bodykits are how much of the wall you take with you. Rollcages and windownets are how much of a mess you leave on the wall.
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

I think what Nickel_Plate wants is to be able to make the order "goto depot and add engine x to train" and "goto depot and sell engine x". I can see how it can be useful if you have a train driving say 300 tiles of non-hilly tracks and then it have to pass 50 tiles of nothing but hills and curves.

I think this will be mighty hard to implement though.
Nickel_Plate
Traffic Manager
Traffic Manager
Posts: 146
Joined: 27 Dec 2004 19:37
Location: Home of the Big Cat

Post by Nickel_Plate »

What i was thinking off, was a "Goto Depot and Stop" order with a pop up screen saying train x was stop at depot y.
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

actually only in really special cases do you want the trains to actually stop in the depots. There is a problem in writing this patch. We got a bitmask to tell about full load and the flags like that and there is one bit, that means "stop in depot", but if it is part of the orders (part of orders bit set), it means "service in depot", so with the current design, we can only stop in the depot if it's not part of the orders.

I fear that it will take a lot of thinking and coding to solve this one without breaking every single savegame that have been made so far. I don't think it's worth it.
Nickel_Plate
Traffic Manager
Traffic Manager
Posts: 146
Joined: 27 Dec 2004 19:37
Location: Home of the Big Cat

Post by Nickel_Plate »

Thanks Bjarni, both ideas would have been great and for your explanations about the difficulty in coding any one of them.
User avatar
Ploes
President
President
Posts: 956
Joined: 30 Jul 2006 16:04
Location: 127.0.0.1

Post by Ploes »

If you just want one train to stop, so you can do somthing to it again... you can just put a one way signal so the train can only enter the depot, and cant leave again! (ok it can get into the square outside the depout but thats not very far is it!)
User avatar
Brianetta
Tycoon
Tycoon
Posts: 2566
Joined: 15 Oct 2003 22:00
Location: Jarrow, UK
Contact:

Post by Brianetta »

Bjarni wrote:I fear that it will take a lot of thinking and coding to solve this one without breaking every single savegame that have been made so far. I don't think it's worth it.
Why worry about old saved games? They can still be played with old versions.
PGP fingerprint: E66A 9D58 AA10 E967 41A6 474E E41D 10AE 082C F3ED
Quark
Transport Coordinator
Transport Coordinator
Posts: 325
Joined: 20 Sep 2006 11:36
Location: Russia, Moscow

Post by Quark »

maybe do just like this?

        Image
Image
User avatar
Ploes
President
President
Posts: 956
Joined: 30 Jul 2006 16:04
Location: 127.0.0.1

Post by Ploes »

Thats what I said!

(only without the useful picture!)
User avatar
xukeke
Engineer
Engineer
Posts: 16
Joined: 25 Jul 2006 05:22
Location: NB CHINA

Post by xukeke »

Just look at the color of the words of train windows.
User avatar
Dave
Moderator
Moderator
Posts: 17243
Joined: 26 Dec 2005 20:19
Location: North London

Post by Dave »

I asked about Helpers and Bankers for TTDP and was given a resounding no. Of course the trouble is with all of it is that you have to magically add an extra locomotive at one depot, take it over the desired route, and then have it somehow appear back at the original depot (all of this will include giving it its own ID, etc).

Too much work, methinks.
Official TT-Dave Fan Club

Dave's Screenshot Thread! - Albion: A fictional Britain
Flickr


Why be a song when you can be a symphony? r is a...
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 16 guests