Page 1 of 1

Cab camera position clone from one locomotive to another?

Unread postPosted: Thu Sep 28, 2017 2:40 pm
by ex-railwayman
A question for all you talented people out there. I have just acquired the SCL U36B and I'm having a great time with the cab camera that is positioned outside on the front porch, however, as the U36B is a bit restricted in standing room, I wondered if the cab camera position outside the loco could be cloned, or, something similar, and utilised on another locomotive, such as the SD40, which has a rather large porch, and as many of us Railsimmers have just recently obtained the Searchlight Simulations wonderful soundpack we will probably be driving these locos a bit more often now, and might appreciate this new camera angle up front. What do you guys think, is it doable, not by me I hasten to add, I'm far too ill to undertake such in depth creativity, but, we have a lot of expert folks on RWA, and I wonderd if it can be achieved, at all, please?

Cheerz. Steve.

Re: Cab camera position clone from one locomotive to another?

Unread postPosted: Thu Sep 28, 2017 3:51 pm
by Overshoe
ex-railwayman wrote:A question for all you talented people out there. I have just acquired the SCL U36B and I'm having a great time with the cab camera that is positioned outside on the front porch, however, as the U36B is a bit restricted in standing room, I wondered if the cab camera position outside the loco could be cloned, or, something similar, and utilised on another locomotive, such as the SD40, which has a rather large porch, and as many of us Railsimmers have just recently obtained the Searchlight Simulations wonderful soundpack we will probably be driving these locos a bit more often now, and might appreciate this new camera angle up front. What do you guys think, is it doable, not by me I hasten to add, I'm far too ill to undertake such in depth creativity, but, we have a lot of expert folks on RWA, and I wonderd if it can be achieved, at all, please?

Cheerz. Steve.


The cab camera position is in 2 bin files. Here for example is part of the headout camera for the U36B. If you look at this one and compare it to the SD40-2, you can come close to what you want with a simple edit of the x,y, and z coordinates, Then it becomes trial and error to get it just right.

?xml version="1.0" encoding="utf-8"?
<cBlueprintLoader xmlns:d="http://www.kuju.com/TnT/2003/Delta" d:version="1.0">
<Blueprint>
<cHeadOutCameraBlueprint>
<Name d:type="cDeltaString">U36B Headout camera</Name>
<RenderComponent>
<cCameraRenderBlueprint/>
</RenderComponent>
<UpdateComponent>
<cHeadOutCameraUpdateBlueprint>
<PrimarySide d:type="cDeltaString">Right</PrimarySide>
<CameraLeftOffset>
<cRVector3>
<X d:type="sFloat32" d:alt_encoding="000000C0F528FABF" d:precision="string">-1.635</X>
<Y d:type="sFloat32" d:alt_encoding="0000004060E50C40" d:precision="string">3.612</Y>
<Z d:type="sFloat32" d:alt_encoding="000000A01C5A1840" d:precision="string">6.088</Z>
</cRVector3>
</CameraLeftOffset>
<CameraRightOffset>
<cRVector3>
<X d:type="sFloat32" d:alt_encoding="000000C0F528FA3F" d:precision="string">1.635</X>
<Y d:type="sFloat32" d:alt_encoding="0000004060E50C40" d:precision="string">3.612</Y>
<Z d:type="sFloat32" d:alt_encoding="000000A01C5A1840" d:precision="string">6.088</Z>
</cRVector3>
</CameraRightOffset>
</cHeadOutCameraUpdateBlueprint>
</UpdateComponent>
<PosOriComponent>
<cPosOriBlueprint/>
</PosOriComponent>
</cHeadOutCameraBlueprint>
</Blueprint>
/cBlueprintLoader

Re: Cab camera position clone from one locomotive to another?

Unread postPosted: Thu Sep 28, 2017 10:24 pm
by Chacal
For even more possibilities, check this tutorial:
Changing and adding cab cameras in an engine

Re: Cab camera position clone from one locomotive to another?

Unread postPosted: Thu Sep 28, 2017 10:42 pm
by Overshoe
Chacal wrote:For even more possibilities, check this tutorial:
Changing and adding cab cameras in an engine


Excellent. I had lost that.

@ex-railwayman: I fooled around a bit with the SD40BnPack01 default loco and got it more or less working.
File is attached if you want to try it out.

SD40-2 Headout Camera.zip

Re: Cab camera position clone from one locomotive to another?

Unread postPosted: Fri Sep 29, 2017 5:13 am
by ex-railwayman
Tom you are a star, thank you so much, I've installed the bin file and it works a treat, I can now switch in yards and sidings as I drive along, that's brilliant. !!*ok*!!

Can I assume that we can apply this to any diesel locomotive (with a porch) that has a headout camera bin file, or, if it doesn't, can we apply the co-ordinates to an ordinary cab camera?

And thanks to Chacal for the tutorial information, as well. !*salute*!

Cheerz. Steve.

Re: Cab camera position clone from one locomotive to another?

Unread postPosted: Fri Sep 29, 2017 8:12 am
by Chacal
For an engine, you can't apply exterior coordinates to a cab camera, because an engine uses a different model for the cab interior. You would be looking at the exterior of the cab model.
The headout camera must be used. It looks at the engine model.

This is not true for wagons (cabooses, passenger cars) because they don't use a cab model.

Re: Cab camera position clone from one locomotive to another?

Unread postPosted: Fri Sep 29, 2017 9:13 am
by ex-railwayman
Oh, I see, well, thanks very much for explaining that Chacal. !!*ok*!!

Cheerz. Steve.

Re: Cab camera position clone from one locomotive to another?

Unread postPosted: Fri Sep 29, 2017 4:35 pm
by Overshoe
ex-railwayman wrote:Tom you are a star, thank you so much, I've installed the bin file and it works a treat, I can now switch in yards and sidings as I drive along, that's brilliant. !!*ok*!!

Can I assume that we can apply this to any diesel locomotive (with a porch) that has a headout camera bin file, or, if it doesn't, can we apply the co-ordinates to an ordinary cab camera?

And thanks to Chacal for the tutorial information, as well. !*salute*!

Cheerz. Steve.


Real world chores have interfered with my gaming today so I haven't done anything yet. I want to study Chacal's tutorial and see if I can add extra views to the headout cam so we can have back porch views too. I might have something by Sunday if all goes well.