Cab camera position clone from one locomotive to another?

This forum is for the latest version of Train Simulator TS 2017

Cab camera position clone from one locomotive to another?

Unread postby ex-railwayman » Thu Sep 28, 2017 2:40 pm

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.
i7 10700k 3.8GHz Eight Core CPU, Gigabyte Z590 AORUS ELITE AX, 32GB RAM, nVidia RTX3060ti 8GB, WIN10 PRO 64-bit. 10TB HDDs in total.
ex-railwayman
 
Posts: 1203
Joined: Tue Jun 22, 2010 6:17 pm
Location: Nottingham, England

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

Unread postby Overshoe » Thu Sep 28, 2017 3:51 pm

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
-Tom Constantine

Acer Nitro N50-656, Core(TM) i5-14400F, 16 GB RAM, NVIDIA GeForce RTX 3050 /8GB, Win11 64bit up to date. Acer 23" monitor @ 1920x1080 x2
User avatar
Overshoe
 
Posts: 575
Joined: Mon May 26, 2014 4:49 pm
Location: Bangor, Maine

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

Unread postby Chacal » Thu Sep 28, 2017 10:24 pm

For even more possibilities, check this tutorial:
Changing and adding cab cameras in an engine
Over the hill and gathering speed
Chacal
Site Admin
 
Posts: 6464
Joined: Tue Jul 05, 2011 1:11 pm
Location: Quebec, Canada

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

Unread postby Overshoe » Thu Sep 28, 2017 10:42 pm

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
You do not have the required permissions to view the files attached to this post.
-Tom Constantine

Acer Nitro N50-656, Core(TM) i5-14400F, 16 GB RAM, NVIDIA GeForce RTX 3050 /8GB, Win11 64bit up to date. Acer 23" monitor @ 1920x1080 x2
User avatar
Overshoe
 
Posts: 575
Joined: Mon May 26, 2014 4:49 pm
Location: Bangor, Maine

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

Unread postby ex-railwayman » Fri Sep 29, 2017 5:13 am

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.
Last edited by ex-railwayman on Fri Sep 29, 2017 9:07 am, edited 1 time in total.
i7 10700k 3.8GHz Eight Core CPU, Gigabyte Z590 AORUS ELITE AX, 32GB RAM, nVidia RTX3060ti 8GB, WIN10 PRO 64-bit. 10TB HDDs in total.
ex-railwayman
 
Posts: 1203
Joined: Tue Jun 22, 2010 6:17 pm
Location: Nottingham, England

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

Unread postby Chacal » Fri Sep 29, 2017 8:12 am

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.
Over the hill and gathering speed
Chacal
Site Admin
 
Posts: 6464
Joined: Tue Jul 05, 2011 1:11 pm
Location: Quebec, Canada

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

Unread postby ex-railwayman » Fri Sep 29, 2017 9:13 am

Oh, I see, well, thanks very much for explaining that Chacal. !!*ok*!!

Cheerz. Steve.
i7 10700k 3.8GHz Eight Core CPU, Gigabyte Z590 AORUS ELITE AX, 32GB RAM, nVidia RTX3060ti 8GB, WIN10 PRO 64-bit. 10TB HDDs in total.
ex-railwayman
 
Posts: 1203
Joined: Tue Jun 22, 2010 6:17 pm
Location: Nottingham, England

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

Unread postby Overshoe » Fri Sep 29, 2017 4:35 pm

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.
-Tom Constantine

Acer Nitro N50-656, Core(TM) i5-14400F, 16 GB RAM, NVIDIA GeForce RTX 3050 /8GB, Win11 64bit up to date. Acer 23" monitor @ 1920x1080 x2
User avatar
Overshoe
 
Posts: 575
Joined: Mon May 26, 2014 4:49 pm
Location: Bangor, Maine


Return to TS2017

Who is online

Users browsing this forum: No registered users and 1 guest