Train and Tram last wagon [SOLVED]

Post Reply
User avatar
piva
Posts: 2435
Joined: 29 Oct 2014 16:41

Train and Tram last wagon [SOLVED]

#1 Post by piva » 27 Mar 2017 10:46

I tried to make longer tram, but SCS did a complex way to create fast trains with special last wagon, such as train in DLC France. Tram have only 2 wagons, you can write any numbers, in traffic_vehicle_type, but you never see more than 2 wagons, same for TGX train
fist wagon
middle wagon
onelast
and last :lol:
each wagon you must create by hand.
I think that add "last_trailer" will do this process more simple.

trailer_count[]: 2
trailer_count[]: 4
trailer_count[]: 6
trailer_count[]: 8

attachable_trailer[]: <name of middle trailers>
last_trailer[]: <name of last trailer>

than you attach all middle_trailers if they 1 or more and than add last trailer - less .sii code, simple in programming.

Maybe SCS will adjust game code in future? ;)

I don't want create wagon script generator for 2 or 3 aditional wagons. :lol:

EDIT.
Wow! It's work! Sorry SCS, you are the best!
magic word "trailer_count_min", thanks SCS!
But I don't understand, why you don't use it and find such complicated ways to make definition for trains and trams :lol:

[ external image ]
User avatar
piva
Posts: 2435
Joined: 29 Oct 2014 16:41

Re: Train and Tram last wagon [SOLVED]

#2 Post by piva » 27 Mar 2017 16:28

I think, that I'm better :lol:
But SCS is best forever. They did big work to show us one small thing, that many people don't saw in game. Train go too faster. :lol:
Anyway, I'm wrong again, SCS you are best in this small pretty things in game. Thank you.
Post Reply

Return to “General discussion about the game”

Who is online

Users browsing this forum: Bing [Bot], East27 and 9 guests