Yet, Yet Another BVE4 Command

Status
Not open for further replies.

The Snap

Established Member
Joined
10 Jun 2005
Messages
3,118
Hi guys,
I seriously think we need a special section for discusing commands now! :D
Anyway, I inserted this for the timetable in my route:

.Timetable(0).Day.Load ../../Railway/Object/Richwell\TT\170_all_stops.bmp
.Timetable(0).Night.Load ../../Railway/Object/Richwell\TT\170_all_stops.bmp


However, I get this error:

C:\Program Files\BVE4\Railway\Route\Richwell Network\RC to AM (Class 323 - Limited Stop - Clear).csv(5) : Cast from string "" to type 'Integer' is not valid.: .Timetable(0).Day.Load ../../Railway/Object/Richwell\TT\323_limited_stop.bmp
C:\Program Files\BVE4\Railway\Route\Richwell Network\RC to AM (Class 323 - Limited Stop - Clear).csv(6) : Cast from string "" to type 'Integer' is not valid.: .Timetable(0).Night.Load ../../Railway/Object/Richwell\TT\323_limited_stop.bmp


Every other route uses this, and it works, but not in mine! :cry: Help please! :D
 
Sponsor Post - registered members do not see these adverts; click here to register, or click here to log in
R

RailUK Forums

Tom B

Established Member
Joined
27 Jul 2005
Messages
4,551
It seems you have a cross of two filesystems there! Windows uses backslashes all the time, Unix uses forwardslashes :. all yours should be backslashes.
 

Tom B

Established Member
Joined
27 Jul 2005
Messages
4,551
Cockfosters said:
It seems you have a cross of two filesystems there! Windows uses backslashes all the time, Unix uses forwardslashes :. all yours should be backslashes.
^^
 

The Snap

Established Member
Joined
10 Jun 2005
Messages
3,118
Hi guys,
Still not working! I've changed them all to back slashes and all to forward, but still, no luck! :cry:
 

The Snap

Established Member
Joined
10 Jun 2005
Messages
3,118
I am using this code:

.Timetable(0).Day.Load

..\..\Railway\Object\Richwell\TT\158_limited_stop.bmp

.Timetable(0).Night.Load

..\..\Railway\Object\Richwell\TT\158_limited_stop.bmp


and get this error:

C:\Program Files\BVE4\Railway\Route\Richwell Network\RC to AM (Class 158 - Limited Stop - Busy - Fog).csv(5) : Cast from string "" to type 'Integer' is not valid.: .Timetable(0).Day.Load ..\..\Railway\Object\Richwell\TT\158_limited_stop.bmp
C:\Program Files\BVE4\Railway\Route\Richwell Network\RC to AM (Class 158 - Limited Stop - Busy - Fog).csv(6) : Cast from string "" to type 'Integer' is not valid.: .Timetable(0).Night.Load ..\..\Railway\Object\Richwell\TT\158_limited_stop.bmp
 
T

Tom

Guest
Try the same line for the code...

.Timetable(0).Day.Load ..\..\Railway\Object\Richwell\TT\158_limited_stop.bmp
 
Status
Not open for further replies.

Top