Config feature

vovven47

Well-known member
Does anyone know if you in some way can define the maximum speed for a loco in the config file?
If so, what parameters are necessary?
 
Bloodnok made a rule that did just that back in 2004. You had to add "Max_Permitted_Speed 'XXmph'" to your rolling stock for it to work. If your train had a wagon with a speed restriction the whole train would go at a slower speed.

It is no longer available, but if you search for AISpeed on the DLS yo will find it, and the "Pack" window have more information.

R/Tom :)
 
Thanks for your quick answer, Mikado.

Type:Rule
Downloaded: 543142
File Size:25.78 kb
File Type:.cdp
Created by:Bloodnok
Date:9th October 2005
Version:TRS2004
KUID:<KUID2:60850:89000:4>
 
Does anyone know if you in some way can define the maximum speed for a loco in the config file?
If so, what parameters are necessary?

The maximum speed for rolling stock function is a built-in feature for TS2010.

Add;

extensions
{
max_permitted_speed-60850 "##kph"
}

to the config.txt file of an item of rolling stock (replace the '##' with the preferred speed and you can use mph if you like) and the item will be speed limited up to the speed stated in the extensions container.

Where an item of rolling stock already has an extensions container you simply add ' max_permitted_speed-60850 "##kph" ' to whatever is already in the container.

This function also works for locomotives.

For your information, the '-60850' refers to the user id of the original creator of the rule in question.
 
The maximum speed for rolling stock function is a built-in feature for TS2010.

Add;

extensions
{
max_permitted_speed-60850 "##kph"
}

to the config.txt file of an item of rolling stock (replace the '##' with the preferred speed and you can use mph if you like) and the item will be speed limited up to the speed stated in the extensions container.

Where an item of rolling stock already has an extensions container you simply add ' max_permitted_speed-60850 "##kph" ' to whatever is already in the container.

This function also works for locomotives.

For your information, the '-60850' refers to the user id of the original creator of the rule in question.

Thanks for your answer.
From what I understand this feature is only ACTIVE in AIDriver mode.
Right?
If you drive for example in Cab mode, the feature is passive, I understand.
In other words, there is NO ATC (AutomaticTrainControl) that is watching you when you drive the train.......
 
I think there is one of the PTP rules that can help there, but I need to check which one it is.

Shane

EDIT: Found it, it's called PTP Signal/Speed Rule (<kuid2:151900:650004:1>) and it should be built-in in later versions of Trainz.
 
Last edited:
I think there is one of the PTP rules that can help there, but I need to check which one it is.

Shane

EDIT: Found it, it's called PTP Signal/Speed Rule (<kuid2:151900:650004:1>) and it should be built-in in later versions of Trainz.

Thank you!
I checked the config file for this asset and hoped to find out how to activate it.
But no success!
So, how do I do?
In the config file you usually use:
parameter <value>
Or do you only insert this asset in
kuid-table
{
}
 
Back
Top