Train-Sim.Com
MSTS Activity Design

Srv file variables

Notice to all visitors and members of the Train-Sim.Com message forums:
If you plan on using a signature banner in your posts, we would like to remind you that there is a maximum size for banners. That maximum is 450 pixels wide by 120 pixels high, and not to exceed 25k. Your compliance is appreciated. FORUM RULES Problems? There are two common reasons for problems with logging in and posting messages. The first is that you are running a firewall that prevents your messages from being sent to the server. The other is that you have cookies disabled; the DCForum software requires cookies to work properly.

Previous Topic | Next Topic

Printer-friendly copy Email this topic to a friend

Reading Topic #2309

Member since Aug-1-04 · 5 posts

I've recently gotten serious about developing activities, and exploring the different files that make them up. Below is a copy-clip of the .srv file for an activity I'm currently working on. I understand "Name," "Train_Config," "PathID," and "Efficiency." (Go to http://www.railpage.org.au/steam4me/trainsim/tutorials/ai_speed.html for an excellent discussion on the "Efficiency" variable.)Does anyone know what the remaining variables represent and how they affect activities? "StartingSpeed" and "EndingSpeed" seem pretty self-explanatory, but I'm very curious about the "Startinworld" and "Endinworld" variables. My first thought was that Endinworld would allow an AI train to get to the end of it's path and not disappear. I set the value to ( 1 ), but the old girl still just disintegrates as soon as it gets to the end point.I have no clue what MaxWheelAcceleration means.SIMISA@@@@@@@@@@JINX0v0t______Service_Definition (
Serial ( 2 )
Name ( KP_Barstow-Mojave )
Train_Config ( "KP_BNSF Mixed Manifest-2" )
PathID ( KP_Barstow-Mojave0 )
MaxWheelAcceleration ( 0 )
Efficiency ( 0.75 )
TimeTable (
StartingSpeed ( 0 )
EndingSpeed ( 0 )
StartInWorld ( 0 )
EndInWorld ( 0 )
)
)
I appreciate any input.

Alert | IP


[ Home | MSTS Forum | MSTS FAQ | How To... | File Library ] Copyright © 2004 by Nels Anderson. All Rights Reserved.

Restored from the Train-Sim.Com archive, captured December 25, 2004. About this archive.