Articulated Road Vehicles
Moderator: TTDPatch Moderators
What should be relatively straightforward to implement would be trailers automatically "snapping" onto existing primer movers, so you buy the truck and then you buy the trailer, and they become an inseparable entity afterwards.
It'd be up to the truck to decide whether it accepts more trailers or not, via callback 1D.
This would support trams with a variable number of vehicles as well as all sorts of truck/trailer combinations. If absolutely necessary, a mechanism to separate and rearrange the consists could be added later, but I feel it is not really necessary for now.
It'd be up to the truck to decide whether it accepts more trailers or not, via callback 1D.
This would support trams with a variable number of vehicles as well as all sorts of truck/trailer combinations. If absolutely necessary, a mechanism to separate and rearrange the consists could be added later, but I feel it is not really necessary for now.
Here in the United States, there are basically four lengths of trailers: 28', 45', 48', and 53'. The 28' trailers are usually in tandem - that is a truck with two pup containers behind it. A few states will allow a third 28' truck to be attached within their borders. From my past yard jockey experiences, a 28' pup is ideal for small packages since it is designed to have the floor fold upward to stack underneath it. Also, it has a roller system bolted down the middle of the truck to a point while it is flush with the folding floors to create another floor layer. The other three lengths of trailers come with swinging doors, though the occasional roll-up door can be found. They are made to withstand a good amount of weight (80,000 pounds is the maximum weight if I remember correctly). Forklifts are good for stacking pallets within their lengths so no rollers within their confines. While it is not standard, it seems the 45' and occasional 48' trailers are for transportation within a city (easier to manuver on the streets). The 53' trailers are good for long hauls on our expressways. When it comes to a "reefer" variety, usually the 48' or the 53' trailer is designed for that purpose.
Perhaps this information might be helpful when designing trailers with their cargo and weight.
Perhaps this information might be helpful when designing trailers with their cargo and weight.
- Wile E. Coyote
- Tycoon
- Posts: 8515
- Joined: 08 Jul 2004 22:14
- Skype: wile.e.coyote2
- Location: Belgrade, Serbia
- Contact:
For coupling it'd be interface like for trains: with CTRL. Here is IRL example: two KT4 trams coupled:stevenh wrote:Feel free to post ideas on interfaces for this. It really helps me to work out how the code should work if I've got a prototype to work with.
Serbian rail set with Serbian scenario (ECS, PBI, FIRS and Tourist set compatible) Website | Topic and download | Latest version: 03.06.2015.
Serbian tram set Tracking table | TTD Patch tram set Latest version: 17.06.2015. | Open TTD Remix Latest version: 11.07.2015.
WIN-DOS GRF Converter Topic and download | Version 0.2.1: 09.01.2005.
Runner-up in "Best avatar Forums award" for years 2006 and 2010!
Serbian tram set Tracking table | TTD Patch tram set Latest version: 17.06.2015. | Open TTD Remix Latest version: 11.07.2015.
WIN-DOS GRF Converter Topic and download | Version 0.2.1: 09.01.2005.
Runner-up in "Best avatar Forums award" for years 2006 and 2010!
- Wile E. Coyote
- Tycoon
- Posts: 8515
- Joined: 08 Jul 2004 22:14
- Skype: wile.e.coyote2
- Location: Belgrade, Serbia
- Contact:
There is no Patch in first post? 

Serbian rail set with Serbian scenario (ECS, PBI, FIRS and Tourist set compatible) Website | Topic and download | Latest version: 03.06.2015.
Serbian tram set Tracking table | TTD Patch tram set Latest version: 17.06.2015. | Open TTD Remix Latest version: 11.07.2015.
WIN-DOS GRF Converter Topic and download | Version 0.2.1: 09.01.2005.
Runner-up in "Best avatar Forums award" for years 2006 and 2010!
Serbian tram set Tracking table | TTD Patch tram set Latest version: 17.06.2015. | Open TTD Remix Latest version: 11.07.2015.
WIN-DOS GRF Converter Topic and download | Version 0.2.1: 09.01.2005.
Runner-up in "Best avatar Forums award" for years 2006 and 2010!
Aww... that's a shame. It would have been nice to have 5 coal trucks in a line
. Oh well, great work as ever stevenh!

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...
Dave's Screenshot Thread! - Albion: A fictional Britain
Flickr
Why be a song when you can be a symphony? r is a...
-
- Tycoon
- Posts: 3147
- Joined: 22 Oct 2005 21:01
- Location: Leicester - Britland
- stevenh
- TTDPatch Developer
- Posts: 759
- Joined: 24 Jul 2005 05:07
- Location: Canberra, Australia
- Contact:
*ahem* ... look now...Wile E. Coyote wrote:There is no Patch in first post?

Oh!, But!.. This is so much fun... I'll code that in... soooon....Patchman wrote:Steven, please add support for callback 1D (can vehicle be attached), and prohibit attaching if it fails. This way, people can add trailers only to vehicles that are explicitly coded to support them.

Revision 12 is alive... with misc Depot/RVs List fixes.
- stevenh
- TTDPatch Developer
- Posts: 759
- Joined: 24 Jul 2005 05:07
- Location: Canberra, Australia
- Contact:
I concur... Though thanks for the help with the tram coding anywayPikkaBird wrote:Hmm.. suppose I should pull my finger out and code some proper trailers to test this with.

Welcome Revision 13:



...now I just need to split up the cargo figures in case you experimenters want to add different cargo trailers...

-
- Tycoon
- Posts: 5954
- Joined: 27 Apr 2005 07:09
- Contact:
The same things apply for the nightly versions as for branches, unless steven_h compiles them with version info.
So read the instructions at http://nightly.ttdpatch.net/latest/ and see if that helps.
In this case, it may be that steven_h hasn't tested it with the German version, in which case he would need to fix his search strings. So you can either switch temporarily to the english/american version or wait for him to fix it
So read the instructions at http://nightly.ttdpatch.net/latest/ and see if that helps.
In this case, it may be that steven_h hasn't tested it with the German version, in which case he would need to fix his search strings. So you can either switch temporarily to the english/american version or wait for him to fix it

I deleted my config and the ovl-file again...
- Attachments
-
- CRASH000.TXT
- (1.57 KiB) Downloaded 290 times
Who is online
Users browsing this forum: No registered users and 3 guests