Trainz-mp Главная | Форум trainz-mp.ru | Обратная связь (Ваш вопрос, Создание пакетов) На наших часах: 6.05.2024 10:03:47

Здравствуйте Гость ( Войти через форум ) Авторизовавшись Вы сможете загружать сюда любые зависимости формата .CDP для игры Trainz Куиды Поиск

Репозиторий

<kuid:131986:1051> SetDCCSpeed

Тип: Команда
Опубликовано: 17.07.2020 10:21:51
Скачиваний: 83
Размер: 17.1 kB

Скачать

Set DCC throttle equivalent to a specified target speed. In order to issue this command, speed labels must be pre defined in InputTable rule in the following format:

speed, SPEED_VALUE, SPEED_UNIT

where SPEED_VALUE is the magnitude of the desired speed and SPEED_UNIT denotes the unit of the speed in KPH, or MPH, or MPS. Default SPEED_UNIT is KPH if this field is left blank.

Ex: speed, 30 (30 KPH)
speed, 30, MPH (30 MPH)
speed, 35, KPH (35 KPH)
Once the speed labels are defined in the rule editor, they will appear in the command's menu. Then, you anly need to choose the desired speed for the train and use one of the driving commands DriveViaTrackmark, DriveViaTrigger, JustDrive, CoupleAhead, and DrivePastJunction to drive the train with the selected speed label.

NOTE: In order for this command to work properly the maximum speed of the train (locomotive) must be specified by using MaxDCCSpeed command available on DS. Refer to that command's instructions to learn how to use that command.


config.txt:

Файлы:
settargetspeed.texture.txt 41 B
settargetspeedcommand.gs 3.7 kB
settargetspeedschedulecommand.gs 3.2 kB
tag.tga 64.0 kB
thumbnail.jpg 7.7 kB
Общий объём файлов: 78.7 kB

Версии элемента:
kuid kind name build date size
<kuid:131986:1051> drivercommand SetDCCSpeed 2.5 17.07.2020 10:21:51 17.1 kB

Зависимости:
kuid author kind name build date size
<kuid:-3:10197> #-3 library ПеременныеСессии 0 2.07.2020 9:39:31 257 B
<kuid:-3:10219> #-3 library Звуковые команды 0 1.07.2020 12:56:36 8.4 kB
<kuid2:131986:1012:1> #131986 behavior InputTable 2.5 18.04.2023 15:34:16 22.3 kB
Всего связей: 3, неизвестных связей: 0

Зависимые элементы:
kuid author kind name build date size
Нет

Яндекс.Метрика


Powered by AKR © Камиль Ахметзянов aka kemal, 2011 - 2024