set speed coupling to wagon

Cześć,


Jeśli prędkość sprzęgania lokomotywy z wagonem jest zbyt duża
, zmień wartość wiązania bezpośrednio w


skrypcie snap train.gs linia 4602

zmień
SetDCCThrottle (Math.Sqrt (2.3 / GetAITrainMaxSpeed ​​()));
na
SetDCCThrottle (Math.Sqrt (0.5 / GetAITrainMaxSpeed ​​()));





pozdrawiam
Sebastianie
 
Last edited:
Instead of editing a script file within an asset, which can be a very risky thing to do and the solution it gives only applies to those users who do the editing, there is another safer way.

Add the driver command Set Max Speed To to set the coupling speed you want just before you give the Couple To driver command. Then cancel the command after the coupling (add another Set Max Speed To command set to a different speed). There is a Set Max Speed To (km/h) version as well.
 
couple directive goaround

Instead of editing a script file within an asset, which can be a very risky thing to do and the solution it gives only applies to those users who do the editing, there is another safer way.

Add the driver command Set Max Speed To to set the coupling speed you want just before you give the Couple To driver command. Then cancel the command after the coupling (add another Set Max Speed To command set to a different speed). There is a Set Max Speed To (km/h) version as well.




Hi,


If you make a change in the script, with the command goaround, the locomotive will make a detour around and connect at the given speed.

Your solution doesn't work like a goaround just from point to connection at a given speed.

At this time, there is no goaround order for the locomotive to detour around and connect at a lower speed than 8
therefore, at the moment it is the only method that is safe together with a file copy
you just have to wait for Trainz to reload

Perhaps the gentlemen from Auran have a grudge against me that I propose a violation in the script, but if so, I invite you to build an appropriate order, a driver's directive that will cover the locomotive around and connect it at the right speed and from the right distance, because at the moment the locomotive stops 10 meters in front of wagon and it should be 1 meter


But why ?

after many words of criticism
Because the success of this project is in the details !




best regards Team Auran
Sebastian
 
Last edited:
Back
Top