Helper to Train, Train to Helper

Got an idea for a new feature in TTDPatch? Post it here.

Moderator: TTDPatch Moderators

Post Reply
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5631
Joined: 13 Sep 2004 13:21
Location: The Moon

Helper to Train, Train to Helper

Post by PikkaBird »

I've mentioned this a few times in chat, but I reckon I should probably post about it here too, just to get some popular support (if there is any :P).

OTTD can currently do this. Wouldn't it be great to be able to do it in TTDP too?

I reckon all the only value that would need to be copied across is the age of the locomotive, and possibly the random bits for sprite selection if people think that's worth it. Otherwise, it's just a case of deleting the train loco and rebuilding it as a "wagon", and vice versa.
Attachments
A loco can be dragged from a new train to a helper, and vice versa.
A loco can be dragged from a new train to a helper, and vice versa.
double.png (2.13 KiB) Viewed 4807 times
User avatar
m3henry
Tycoon
Tycoon
Posts: 1985
Joined: 15 Feb 2006 12:00
Location: Hampshire

Post by m3henry »

mmm..
The occasional look back at your past can teach you a great many things...
User avatar
White Rabbit
Tycoon
Tycoon
Posts: 1734
Joined: 22 Jun 2005 19:15

Post by White Rabbit »

What m3henry said. Presumably it meant agreement. ;)
Image
User avatar
The Irish
Tycoon
Tycoon
Posts: 2092
Joined: 14 Apr 2004 16:06
Location: Bonn, Germany
Contact:

Post by The Irish »

I would love to see such a feature.

I'm often trying to save some of the older engines and use them in new consists as helpers or so, which currently is only possible if you rebuild the old engine, which in many cases, leads to different livery or so.

So I would really love to see such a feature in the Patch.
*** Ce French Train Set ***
*** Visit my transport related pictures on Flickr ***
ImageImageImageImageImage
Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch
"A committee is a group of men who individually can do nothing but as a group decide that nothing can be done" (Fred Allen 1894-1956 US radio comic).
User avatar
Snail
Tycoon
Tycoon
Posts: 1287
Joined: 28 Apr 2003 18:52
Contact:

Post by Snail »

Yeah it would be a great feature! Would add some realism as well.
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

I like this idea too, but dunno what's involved Patch-wise. It's been asked before.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
Ameecher
Tycoon
Tycoon
Posts: 11919
Joined: 12 Aug 2006 15:39
Contact:

Post by Ameecher »

It is a good idea, sometimes I dont want the expense of selling an old loco for £255 and having to fork out, what can sometimes be hundreds of thousands of pounds for a new one!
Image
User avatar
Flavius
Tycoon
Tycoon
Posts: 1531
Joined: 22 Apr 2003 03:55
Location: Gold Coast, Queensland, Australia.

Post by Flavius »

I am confused.
Is the idea to refurbish a locomotive and change its age to brand new :?:
User avatar
Purno
Tycoon
Tycoon
Posts: 16659
Joined: 30 Mar 2004 12:30
Location: Almere, The Netherlands

Post by Purno »

Rollo wrote:I am confused.
Is the idea to refurbish a locomotive and change its age to brand new :?:
No, AFAICT, the idea is to be able to switch a loco between being a seperate train and being one of the X amount of locos in a train, simply be dragging it like you drag wagons, in the depot menu. Keeping age of course.

This idea would be great. But as krtaylor said, dunno what's involved patch-wise. I guess if this was easy, it already would have been implemented.
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.
Image Image
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

Actually, as I think about it, I asked about it before, a long time ago, and Patchman said it would be prohibitively hard for the relatively low benefit. It's possible Patch technology has improved in that area since then. However, as we see he is not posting in this thread, I deduce that it hasn't, and that it isn't going to happen.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5631
Joined: 13 Sep 2004 13:21
Location: The Moon

Post by PikkaBird »

krtaylor wrote:Actually, as I think about it, I asked about it before, a long time ago, and Patchman said it would be prohibitively hard for the relatively low benefit. It's possible Patch technology has improved in that area since then. However, as we see he is not posting in this thread, I deduce that it hasn't, and that it isn't going to happen.
Well, I don't see how this could be any harder than, say, clonetrain.
User avatar
Raichase
Moderizzle
Moderizzle
Posts: 11509
Joined: 15 Dec 2002 00:58
Location: Sydney, Australia. Usually at work in the underground railway station...
Contact:

Post by Raichase »

Ah yes, I've been wanting this feature for ages too - mostly for the reasons The_Irish stated...

Really, in the DBXL, when your freight trains need mutli-heading, currently the only "realistic" way to do this is to attach a new train to an old one... But then, it doesn't start the clock ticking on the newly built train, just keeps ticking away at the old one...

Hmm, hard to explain.

Still, good idea.
Posted by Raichase. Visit my Flickr! Gallery, Blog (get a feed of everyone at once at Planet TT-Forums).
Raichase - Perfect timing, all the time: [13:37] * Now talking in #tycoon
ImageImage
Official TT-Dave Worley Fan Club
Official TT-Andel-in-a-pink-hat Fan Club
User avatar
The Irish
Tycoon
Tycoon
Posts: 2092
Joined: 14 Apr 2004 16:06
Location: Bonn, Germany
Contact:

Post by The Irish »

Raichase wrote:Ah yes, I've been wanting this feature for ages too - mostly for the reasons The_Irish stated...

Really, in the DBXL, when your freight trains need mutli-heading, currently the only "realistic" way to do this is to attach a new train to an old one... But then, it doesn't start the clock ticking on the newly built train, just keeps ticking away at the old one...

Hmm, hard to explain.

Still, good idea.
I know exactly what you mean. And it is not only valid for the DBXL...
*** Ce French Train Set ***
*** Visit my transport related pictures on Flickr ***
ImageImageImageImageImage
Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch
"A committee is a group of men who individually can do nothing but as a group decide that nothing can be done" (Fred Allen 1894-1956 US radio comic).
User avatar
Lakie
TTDPatch Developer
TTDPatch Developer
Posts: 1799
Joined: 26 May 2004 16:37
Location: Britain
Contact:

Post by Lakie »

Bit of a proof of concept, saved game hacks.
TRT00.SV1 is the orginal and TRT01.SV1 the hacked version.

I have spent about 20 minutes on this, creating a master list of variables which need changing etc.
And then applying the changes to my test saved game. ;)
If you look at them, you should see Train 3 was convertted to an extra head.
I'm unsure if there was extra data I needed to set though, so there might be bugs with it (TRT01.SV1). :cry:

It should be possible to expand the concept to TTDpatch.
Although, I don't have the time too look into it too much though, sorry. :cry:

~ Lakie
Attachments
TRTs.zip
(204.6 KiB) Downloaded 109 times
TTDpatch Developer 2005 - 2010 ~ It all started because of shortened vehicle not loading correctly, now look where I've gone with it!
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
User avatar
Lakie
TTDPatch Developer
TTDPatch Developer
Posts: 1799
Joined: 26 May 2004 16:37
Location: Britain
Contact:

Post by Lakie »

In one of the upcoming nightlies there should be a very experimental version of this.
While, I've got most crashes and bugs out of it, it is possible some settings which may cause a crash. :cry:

First you will need active a new experimentalfeatures bit for it.
Then move a train engine holding control, this train must have no consist attached to it.
This might be over come in future versions but currently, it doesn't accept them. ;)
It should remove the orders and such and move the to the location spified.

Reverting them on the other hand would be very difficult. :cry:
So please don't ask for it reverting, it might be done in later versions but for now, you got what you wantted? :P

[edit] Cannot commit it now though, thunder storm coming. :cry:

~ Lakie
TTDpatch Developer 2005 - 2010 ~ It all started because of shortened vehicle not loading correctly, now look where I've gone with it!
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
User avatar
Ameecher
Tycoon
Tycoon
Posts: 11919
Joined: 12 Aug 2006 15:39
Contact:

Post by Ameecher »

Fantastic! Another thing to add to the ultimate brilliance of the TTDPatch Devs! :D
Image
User avatar
Lakie
TTDPatch Developer
TTDPatch Developer
Posts: 1799
Joined: 26 May 2004 16:37
Location: Britain
Contact:

Post by Lakie »

As of the next nightly there should be a fully working convert train to multihead unit.
It should handle having a consit attached to the vehicle, or being convertted and 'dumped' on a blank line.

Click and move the selected unit whilist holding ctrl, it should be converted into an extra head.

There is no code for the process to go the other way.
You cannot make an extra head an engine with the current code.

~ Lakie
TTDpatch Developer 2005 - 2010 ~ It all started because of shortened vehicle not loading correctly, now look where I've gone with it!
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
Post Reply

Return to “Suggestions”

Who is online

Users browsing this forum: No registered users and 12 guests