Can one change the initial camera view of locos?

ingha

Member
When a loco is selected in driver the camera always looks at it from the front. Is there a way of changing this initial camera angle to look forwards along the loco?

Ingha
 
Haven't looked at the default #2 view yet, I usually start looking forward from behind and left. Which engine are you getting this on?

The cabview can be changed tho. Select the engine, "View dependencies", find the cab interior file. Edit that in Explorer, open config.txt with notepad. Change the line;

cameradefault 4

To whatever number you want to be default, depends on how many are in the list;

cameralist
{
camera0 -1.163,0.3,1.3,0,0
camera1 -1.63,0.3,1.3,0,0
camera2 1.163,0.3,1.3,0,0
camera3 1.632,0.3,1.3,0,0
}

That model is an Alco RS3 which is fairly short but has the long hood forward, so the views are aft of center. The numbers are left, aft, and up, with the minus sign in front being the opposite, right, forward, and down. Last two numbers are pitch and yaw, "3.15" is facing back, zero is facing forward.

So for camera 3, for example, I would change the last line from 1.3 to -2.0, then test in game to see if it needs to be moved further forward (add to the negative number, -2.25 for example moves it forward) or further aft (subtract toward a more positive number, -1.75 for example). Some trial and error involved, but really not that difficult.
 
Last edited:
Hi Sniper, thanks for this tip!!!

Very useful indeed, at least for me. My only interest in train's simulators is driving inside my cab. In right handed cabs (for ex., SD-40 or SD45) I'd like to sit a bit higher and also a bit to the right (then usually is) and facing 20-30 degrees angle to the left, in order to see the rails as much as possivel and especially the gauges (I like to drive only reading gauges). For now ahead I'll change locos that I often use. Great!

Cheers,
Machinist.
 
Thank you for the reply, Sniper. That is very useful for interior cab views and can be used in coaches too to get better window outlooks.

Originally I was concerned about the initial default view of locos when first selected in DCC mode, to find out if this can be changed to a forward view along the loco.

Best wishes, ingha
 
Aaaack, he said the "D" word!

Well, I'm a cab mode Raildriver console kinda guy, never really looked at DCC mode. In cab mode it starts behind and to the left of the lead loco. I'm currently 30 minutes into a 3 hour AI test session, when that's finished I'll take a squint at DCC. If it is different, doubtful anything can be done to change it, most likely hard coded into a DLL file. Do all the locos start facing from the front in DCC mode?
 
Okay, I see what you're talking about now - not what happens when the session starts, but when you click on a different loco to drive that. Same thing happens in cab mode, so it's not unique to DCC.

41435730.jpg


Hit the #4 key, wandering around in free roam view, I see an engine I want to take for a spin. Click on it from any angle;

45196196.jpg


Takes you right to the front view.

Never paid attention to that before, since I usually hit the 1 key to immediately jump into the cab. If I want an outside view I hit 2 and rotate with the mouse without really thinking about it. I doubt there's anything else you can do, I'm pretty sure the initial angle is hard coded.
 
Add the line: -freeintcam in your trainzoptions file, and roam about with the KB arrows, and mouse
Good option too. But in this case, as I am also a Raildriver user, I do prefer do use the internal views, once I've set the "range" (green) key of RD to this function, no need to use keyboard or mouse. I also use the "e-stop" (red) key to change junctions.
 
Last edited:
Back
Top