Train-Sim.Com
MSTS Cab Design

Control problem

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 #342

Charter Member · 18 posts

Hello,After designing a few engines, I'm gonna try to make some cabs for them. I have a strange problem. I've designed a cab in a 3d program but I have a problem with the trainbrake controller. When I import the controller and start up the sim the controller doesn't move. But when I use the same ace file for the locomotive brake, then it works fine, so I think the ace file is correct. I have already deleted the train brake and tried a second time but it still doesn't work. All setting are the same as those for the locomotive brake, except the position. What am I doing wrong

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

RE: Control problem, kyleh24, Jan-09-03, 05:54 PM, (1) RE: Control problem, ricksan, Jan-10-03, 00:31 AM, (2) RE: Control problem, phi, Jan-10-03, 05:52 AM, (3) RE: Control problem, ricksan, Jan-10-03, 04:00 PM, (4) RE: Control problem, phi, Jan-10-03, 05:16 PM, (5) RE: Control problem, kyleh24, Jan-11-03, 00:10 AM, (6)

Conferences | Topics | Previous Topic | Next Topic

Charter Member · 327 posts

RE: Control problem

I'm no expert, but I think your problem might actually be found in the *.eng file for the loco. Compare the engine files of some other locos that use similar braking arrangements to yours. Specifically look at the braking entries. Good luck...Kyle H

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 96 posts

RE: Control problem

Here's a possibility. The problem could be that the ENG file lacks the proper references to the train or engine brake. About 75% down into the ENG file look for the heading EngineControllers (You should have a pair of entries that look something like this. Brake_Engine ( 0 1 0.025 1
NumNotches ( 1
Notch( 0 1 Dummy )
)
)
Brake_Train ( 0 1 0.0125 0.6
NumNotches( 4
Notch(0 1 TrainBrakesControllerReleaseStart )
Notch(0.3 0 TrainBrakesControllerSelfLapStart )
Notch(0.5 1 TrainBrakesControllerApplyStart )
Notch(0.86 0 TrainBrakesControllerEmergencyStart )
)
)If either of these is missing the corresponding control in the cab view will not operate.Rick G

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 18 posts

RE: Control problem

Those entries were already present in the eng file, but still the same problem. Note that the braking itself is working properly, just the animation of the lever isn't working. The lever has 28 positions. I already tried to import it in the cabview of the acella, but exactly the same problem. If I use it here for a train brake there is no animation in the lever, and when I use it for the locomotive brake the animation works fine. Is it possible that there is a limitation for the amount of positions of a lever??

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 96 posts

RE: Control problem

Might be. Maybe try a control graphic with fewer frames?Nobody other than Kuju's programmers really knows how the internal MSTS code is set up. Usually we find out by trial and error what works and what doesn't.Rick

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 18 posts

RE: Control problem

Ok the problem is fixed
MouseControl ( 1 )
NumFrames ( 28 7 4 )
NumPositions ( 6 0 0 0 0 0 0 )In the line Numpositions the cabeditor has added 6 zeros. Those are the framenumbers of the ace file that correspond to the 6 potitions, in this case 6 times frame 0. After changing them the lever works just fine.

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 327 posts

RE: Control problem

Glad you got it working....Kyle H

Alert | IP


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

Restored from the Train-Sim.Com archive, captured May 7, 2003. About this archive.