error with train.dat file

Go down

error with train.dat file

Post by graymac on Fri May 18, 2018 8:42 pm

I'm getting an error reported on loading:
 DriverCar must point to an existing car in C:\Trainsim2016\Train\201_IE\207_lightloco\train.dat

Everything seems to work, but I don't understand what parameter in the train dat I should change to clear the error?? I've attached a zipped up copy of the train dat file
Attachments
train.dat.zip You don't have permission to download attachments.(2 Kb) Downloaded 2 times
avatar
graymac

Posts : 1948
Join date : 2011-08-28
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

Re: error with train.dat file

Post by leezer3 on Fri May 18, 2018 10:25 pm

Your attached train.dat file is set to have a single car. [The #CAR section defines 1 motor car & 0 trailer cars]

In your #COCKPIT section, the 4th line is the zero-based index of the driver's car.
This is set to 1 , which will place the cab in the second car of the train.

Your train only has a single car, hence the error message Smile
The corrected #COCKPIT section:
Code:
#COCKPIT
-700
2750
-1000
0

Without going away and downloading the rest of the IE 201's, I'd suspect they've all probably got this error.
If you correct this for these, be aware that the cab will effectively be 24.6m further forwards along Rail 0, and that your stop markers should therefore be adjusted accordingly.

leezer3

Posts : 1200
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Re: error with train.dat file

Post by graymac on Sat May 19, 2018 10:41 am

Thanks, Chris.  I'm in the process of upgrading all the 201 class externals just now so it's a perfect chance to weed out any errors.
avatar
graymac

Posts : 1948
Join date : 2011-08-28
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

Re: error with train.dat file

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum