BVE WorldWide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

What's this?

2 posters

Go down

What's this? Empty What's this?

Post by graymac Wed Feb 28, 2018 2:19 pm

I've been revisiting and improving some older stuff I haven't looked at for ages. I've noticed an odd thing when I load a route - there seems to be a copy of the loco in front of the cab window. Only visible in F1 (cabview) mode, F2,F3 & F4 cameras don't show it. I  get it with earlier versions of program, so its not a program problem, must be something I've cocked up.
Any ideas what's gone wrong?

(pic of error  - Route:  Ballyfeckin - WVDocks5A  218 container train)

What's this? Captur13
graymac
graymac

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

http://www.celtictrainsim.com

Back to top Go down

What's this? Empty Re: What's this?

Post by leezer3 Wed Feb 28, 2018 3:43 pm

It's because you've set the driver car to Car #1, not Car #0 (Remember, zero-based indexing....)

Interesting little glitch though, it shouldn't be doing this, will have to look into exactly why. At a guess, something somewhere is assuming the driver car is always Car #0.
Edit: Specifically, it's hiding the object for the driver car. but keeping all others visible on first load. This is broken.....

leezer3

Posts : 1955
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

What's this? Empty Re: What's this?

Post by graymac Wed Feb 28, 2018 4:07 pm

Extracts from train.dat:
Code:
#CAR
117            ; MotorCarMass
1              ; NumberOfMotorCars
25             ; TrailerCarMass
18              ; NumberOfTrailerCars
24.6           ; LengthOfACar
1              ; FrontCarIsAMotorCar
 and extensions.cfg:
Code:
[car0]
Object = ..\218_IE\218.ANIMATED
length = 21
Axles = -6.8, 6.8
Reversed = false

[car1]
Object = ..\..\Container_Wagon\CW-ned.b3d
length = 15.25
Axles = -4.75, 4.75
Reversed = false

[car2]
Object = ..\..\Container_Wagon\CW-ned.b3d
length = 15.25
Axles = -4.75, 4.75
Reversed = false

   ......etc for further 16 cars

Is it the train or extensions file that is in error?
graymac
graymac

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

http://www.celtictrainsim.com

Back to top Go down

What's this? Empty Re: What's this?

Post by leezer3 Wed Feb 28, 2018 4:29 pm

Neither of those.

In the #COCKPIT section of train.dat, change the last number to zero, e.g.
Code:

#COCKPIT
-700
2750
-1000
0

leezer3

Posts : 1955
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

What's this? Empty Re: What's this?

Post by graymac Wed Feb 28, 2018 4:35 pm

That's done the trick!   Míle buoichas!!  A thousand thanks Smile
graymac
graymac

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

http://www.celtictrainsim.com

Back to top Go down

What's this? Empty Re: What's this?

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