Page 1 of 1

RSC G-TraX Steam Locos - Engineer's Legs through the Deck

Unread postPosted: Fri Jul 26, 2013 8:28 pm
by OlPaint
I was finally able to purchase the last of the set of old G-TraX Steam locomotives from the Steam Store during the recent Summer Sale. I now have the NKP Berkshire, the SP&S Northern, and the SP GS4 installed and running.

But I have noticed something peculiar about the Engineer figure sitting in the right seat of the Cab. He appears to be sitting directly on the cab floor with his legs and feet visibly sticking through the steel deck and dangling below. His legs are plainly visible in an outside camera view of the right side. And I can see his head and shoulders above the window sill just barely visible - a full head lower than the Fireman figure sitting in the left seat. I have found the two Patch 7 and Patch 8 posted on the G-TraX website and I have installed them for each loco. But the dangling legs are still there. Apparently the fix is not part of the Patches.

Has anybody written a fix for this condition? It has to be an error in the child object Engineer's placement matrix vertical location value but I don't know which one it might be or how to correct it. I have done a word search for the fix and so far cannot find any solution already posted here on the RWA Forum. Buzz told me there is a fix from long ago but I have never seen it.

OlPaint

Re: RSC G-TraX Steam Locos - Engineer's Legs through the Deck

Unread postPosted: Sat Jul 27, 2013 2:34 am
by Chacal
Which one it might be:
In the engine blueprint, look for the "Driver" section similar to this example:

Code: Select all
                  <cEntityContainerBlueprint-sChild d:id="16544232">
                     <ChildName d:type="cDeltaString">Driver</ChildName>
                     <BlueprintID>
                        <iBlueprintLibrary-cAbsoluteBlueprintID>
                           <BlueprintSetID>
                              <iBlueprintLibrary-cBlueprintSetID>
                                 <Provider d:type="cDeltaString">Kuju</Provider>
                                 <Product d:type="cDeltaString">RailSimulatorUS</Product>
                              </iBlueprintLibrary-cBlueprintSetID>
                           </BlueprintSetID>
                           <BlueprintID d:type="cDeltaString">Scenery\Characters\CajonPass_WP_04_02.xml</BlueprintID>
                        </iBlueprintLibrary-cAbsoluteBlueprintID>
                     </BlueprintID>
                     <Matrix>
                        <cHcRMatrix4x4>
                           <Element>
                              <e d:type="sFloat32" d:alt_encoding="00000020FDF6EFBF" d:precision="string">-0.9989</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000603480A73F" d:precision="string">0.0459</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000603480A7BF" d:precision="string">-0.0459</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="00000020FDF6EFBF" d:precision="string">-0.9989</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000804AEAEE3F" d:precision="string">0.9661</e>
                              <e d:type="sFloat32" d:alt_encoding="00000020C7BA0340" d:precision="string">2.4662</e>
                              <e d:type="sFloat32" d:alt_encoding="0000002083001440" d:precision="string">5.0005</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                           </Element>
                        </cHcRMatrix4x4>
                     </Matrix>
                  </cEntityContainerBlueprint-sChild>


How to correct it:
http://railworksamerica.com/index.php/l ... t-position

Look at the translation section, it is the easiest part.

So basically you need to augment the value in the 14th line of the matrix.

Re: RSC G-TraX Steam Locos - Engineer's Legs through the Deck

Unread postPosted: Sat Jul 27, 2013 6:40 am
by OlPaint
Chacal

That is what I was looking for. Thank you.

OlPaint

Re: RSC G-TraX Steam Locos - Engineer's Legs through the Deck

Unread postPosted: Sun Jul 28, 2013 6:44 pm
by OlPaint
Chacal

I followed your instructions. By Trial-and-Error I determined that the G-Trax Berkshire Engineer must be raised 14 inches for him to be seated properly in his right side cab seat. I have cut a portion of the \assets\G-TraX\Trains\Railvehicles\Steam\Berkshire\Default\Locomotive\Berkshire.bin BluePrint file to show the line I edited to adjust the vertical distance in the "Engineer" child object. Look in the <Matrix> section for the fourteenth <Element> which has a value of 1.75533 meters.

Code: Select all
                  <cEntityContainerBlueprint-sChild d:id="57868080">
                     <ChildName d:type="cDeltaString">Engineer</ChildName>
                     <BlueprintID>
                        <iBlueprintLibrary-cAbsoluteBlueprintID>
                           <BlueprintSetID>
                              <iBlueprintLibrary-cBlueprintSetID>
                                 <Provider d:type="cDeltaString">G-TraX</Provider>
                                 <Product d:type="cDeltaString">Trains</Product>
                              </iBlueprintLibrary-cBlueprintSetID>
                           </BlueprintSetID>
                           <BlueprintID d:type="cDeltaString">Scenery\Characters\Engineer01.xml</BlueprintID>
                        </iBlueprintLibrary-cAbsoluteBlueprintID>
                     </BlueprintID>
                     <Matrix>
                        <cHcRMatrix4x4>
                           <Element>
                              <e d:type="sFloat32" d:alt_encoding="000000A01FFFEFBF" d:precision="string">-0.999893</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000407D048E3F" d:precision="string">0.014657</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000407D048EBF" d:precision="string">-0.014657</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000A01FFFEFBF" d:precision="string">-0.999893</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="00000020431CF33F" d:precision="string">1.1944</e>
                              <e d:type="sFloat32" d:alt_encoding="000000E0D415FC3F" d:precision="string">1.75533</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000010CC1FC0" d:precision="string">-7.94928</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                           </Element>
                        </cHcRMatrix4x4>
                     </Matrix>
                  </cEntityContainerBlueprint-sChild>


I added 14 inches to this value to bring it to a value of 2.11093 meters.
Code: Select all
                  <cEntityContainerBlueprint-sChild d:id="57868080">
                     <ChildName d:type="cDeltaString">Engineer</ChildName>
                     <BlueprintID>
                        <iBlueprintLibrary-cAbsoluteBlueprintID>
                           <BlueprintSetID>
                              <iBlueprintLibrary-cBlueprintSetID>
                                 <Provider d:type="cDeltaString">G-TraX</Provider>
                                 <Product d:type="cDeltaString">Trains</Product>
                              </iBlueprintLibrary-cBlueprintSetID>
                           </BlueprintSetID>
                           <BlueprintID d:type="cDeltaString">Scenery\Characters\Engineer01.xml</BlueprintID>
                        </iBlueprintLibrary-cAbsoluteBlueprintID>
                     </BlueprintID>
                     <Matrix>
                        <cHcRMatrix4x4>
                           <Element>
                              <e d:type="sFloat32" d:alt_encoding="000000A01FFFEFBF" d:precision="string">-0.999893</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000407D048E3F" d:precision="string">0.014657</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000407D048EBF" d:precision="string">-0.014657</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000A01FFFEFBF" d:precision="string">-0.999893</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="00000020431CF33F" d:precision="string">1.1944</e>
                              <e d:type="sFloat32" d:alt_encoding="000000402FE30040" d:precision="string">2.11093</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000010CC1FC0" d:precision="string">-7.94928</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                           </Element>
                        </cHcRMatrix4x4>
                     </Matrix>
                  </cEntityContainerBlueprint-sChild>


Now the engineer's legs are no longer dangling below the cab deck - at least in the G-TraX Bershire. I will have to edit each and every Berkshire Locomotive Repaint BluePrint file to correct the engineer's vertical placement in the right cab seat. Then I will follow up by editing the G-TraX Northern and G-TraX GS-4 BluePrint files.

OlPaint

Re: RSC G-TraX Steam Locos - Engineer's Legs through the Deck

Unread postPosted: Sun Jul 28, 2013 8:59 pm
by PapaXpress
Welcome to your first child *!!wink!!*

Now go make more.

Re: RSC G-TraX Steam Locos - Engineer's Legs through the Deck

Unread postPosted: Mon Jul 29, 2013 8:45 am
by OlPaint
PapaX and Chacal

Thanks to you gurus, I have jumped in with both feet into the Deep End. However, I still have my "Floaties" on. Hee, hee!

I am now working on figuring out the engineer height adjustments to the G-Trax Northern and the G-Trax GS4.

I will publish they shortly.

OlPaint

Re: RSC G-TraX Steam Locos - Engineer's Legs through the Deck

Unread postPosted: Tue Jul 30, 2013 5:50 pm
by Antwerp
OlPaint wrote:PapaX and Chacal

Thanks to you gurus, I have jumped in with both feet into the Deep End. However, I still have my "Floaties" on. Hee, hee!

I am now working on figuring out the engineer height adjustments to the G-Trax Northern and the G-Trax GS4.

I will publish they shortly.

OlPaint


In theory, Wouldn't the GS-4 be roughly the same rising?

Re: RSC G-TraX Steam Locos - Engineer's Legs through the Deck

Unread postPosted: Tue Jul 30, 2013 6:01 pm
by OlPaint
Actually, the G-TraX SP&S Northern requires a 14 inch rise in the engineer's height, just like the NKP Berkshire engineer needed. But I found that the G-TraX SP GS4 requires both a lowering of the fireman by 3 inches and also a raising of the engineer by 11 inches to get both men seated with their feet flat on the cab deck.

OlPaint

Re: RSC G-TraX Steam Locos - Engineer's Legs through the Deck

Unread postPosted: Tue Jul 30, 2013 6:52 pm
by Antwerp
OlPaint wrote:Actually, the G-TraX SP&S Northern requires a 14 inch rise in the engineer's height, just like the NKP Berkshire engineer needed. But I found that the G-TraX SP GS4 requires both a lowering of the fireman by 3 inches and also a raising of the engineer by 11 inches to get both men seated with their feet flat on the cab deck.

OlPaint


Not bad. Sounds like the GS-4 had a little more tweaking to do.
Will you be posting the new values of the GS-4 and Northern?

Re: RSC G-TraX Steam Locos - Engineer's Legs through the Deck

Unread postPosted: Tue Jul 30, 2013 8:26 pm
by OlPaint
Ok, Here are the Child Object edits. First G-TraX SPS Northern needs a raising of 14 inches for the engineer. Notice that makes the Z-element (matrix element 14) to be 2.3374 meters
Code: Select all
                  <cEntityContainerBlueprint-sChild d:id="82639984">
                     <ChildName d:type="cDeltaString">Engineer</ChildName>
                     <BlueprintID>
                        <iBlueprintLibrary-cAbsoluteBlueprintID>
                           <BlueprintSetID>
                              <iBlueprintLibrary-cBlueprintSetID>
                                 <Provider d:type="cDeltaString">G-Trax</Provider>
                                 <Product d:type="cDeltaString">Trains</Product>
                              </iBlueprintLibrary-cBlueprintSetID>
                           </BlueprintSetID>
                           <BlueprintID d:type="cDeltaString">Scenery\Characters\Engineer01.xml</BlueprintID>
                        </iBlueprintLibrary-cAbsoluteBlueprintID>
                     </BlueprintID>
                     <Matrix>
                        <cHcRMatrix4x4>
                           <Element>
                              <e d:type="sFloat32" d:alt_encoding="000000A01FFFEFBF" d:precision="string">-0.999893</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000407D048E3F" d:precision="string">0.014657</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000407D048EBF" d:precision="string">-0.014657</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000A01FFFEFBF" d:precision="string">-0.999893</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="00000000D586EF3F" d:precision="string">0.985209</e>
                              <e d:type="sFloat32" d:alt_encoding="0000002079B5FF3F" d:precision="string">2.3374</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000060F721C0" d:precision="string">-8.98315</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                           </Element>
                        </cHcRMatrix4x4>
                     </Matrix>
                     <ParentNodeName d:type="cDeltaString"></ParentNodeName>
                  </cEntityContainerBlueprint-sChild>


And Second, the G-TraX GS-4 needs a raising for the Engineer of 11 inches and a lowering for the Fireman of 3 inches. Notice that makes the z-element of 2.1612 meters for the Engineer and 1.8056 meters for the Fireman.
Code: Select all
                  <cEntityContainerBlueprint-sChild d:id="81521704">
                     <ChildName d:type="cDeltaString">Engineer</ChildName>
                     <BlueprintID>
                        <iBlueprintLibrary-cAbsoluteBlueprintID>
                           <BlueprintSetID>
                              <iBlueprintLibrary-cBlueprintSetID>
                                 <Provider d:type="cDeltaString">G-Trax</Provider>
                                 <Product d:type="cDeltaString">Trains</Product>
                              </iBlueprintLibrary-cBlueprintSetID>
                           </BlueprintSetID>
                           <BlueprintID d:type="cDeltaString">Scenery\Characters\Engineer01.xml</BlueprintID>
                        </iBlueprintLibrary-cAbsoluteBlueprintID>
                     </BlueprintID>
                     <Matrix>
                        <cHcRMatrix4x4>
                           <Element>
                              <e d:type="sFloat32" d:alt_encoding="000000A01FFFEFBF" d:precision="string">-0.999893</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000407D048E3F" d:precision="string">0.014657</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000407D048EBF" d:precision="string">-0.014657</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000A01FFFEFBF" d:precision="string">-0.999893</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="00000000D586EF3F" d:precision="string">0.985209</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000032E60140" d:precision="string">2.1612</e>
                              <e d:type="sFloat32" d:alt_encoding="0000002030C421C0" d:precision="string">-8.88318</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                           </Element>
                        </cHcRMatrix4x4>
                     </Matrix>
                     <ParentNodeName d:type="cDeltaString"></ParentNodeName>
                  </cEntityContainerBlueprint-sChild>
                  <cEntityContainerBlueprint-sChild d:id="82881176">
                     <ChildName d:type="cDeltaString">Fireman</ChildName>
                     <BlueprintID>
                        <iBlueprintLibrary-cAbsoluteBlueprintID>
                           <BlueprintSetID>
                              <iBlueprintLibrary-cBlueprintSetID>
                                 <Provider d:type="cDeltaString">G-TraX</Provider>
                                 <Product d:type="cDeltaString">Trains</Product>
                              </iBlueprintLibrary-cBlueprintSetID>
                           </BlueprintSetID>
                           <BlueprintID d:type="cDeltaString">Scenery\Characters\Fireman01.xml</BlueprintID>
                        </iBlueprintLibrary-cAbsoluteBlueprintID>
                     </BlueprintID>
                     <Matrix>
                        <cHcRMatrix4x4>
                           <Element>
                              <e d:type="sFloat32" d:alt_encoding="000000A0DEFEEFBF" d:precision="string">-0.999862</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000407EFD90BF" d:precision="string">-0.016592</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000407EFD903F" d:precision="string">0.016592</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000A0DEFEEFBF" d:precision="string">-0.999862</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="00000000FF86EFBF" d:precision="string">-0.985229</e>
                              <e d:type="sFloat32" d:alt_encoding="00000060DA1BFE3F" d:precision="string">1.8056</e>
                              <e d:type="sFloat32" d:alt_encoding="0000002030C421C0" d:precision="string">-8.88318</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                           </Element>
                        </cHcRMatrix4x4>
                     </Matrix>
                     <ParentNodeName d:type="cDeltaString"></ParentNodeName>
                  </cEntityContainerBlueprint-sChild>


The Engineer and Fireman will sink slightly into their seat cushions but their feet will be flat on the cab deck.

Just remember that each repaint for each Loco Type has to be edited with these new values

OlPaint

Re: RSC G-TraX Steam Locos - Engineer's Legs through the Deck

Unread postPosted: Tue Jul 30, 2013 9:55 pm
by Chacal
I should have mentioned that RW-Tools has a global search-and-replace function for multiple files.

Re: RSC G-TraX Steam Locos - Engineer's Legs through the Deck

Unread postPosted: Tue Jul 30, 2013 10:16 pm
by OlPaint
RW_Tools is a marvelous tool to use. But I have yet to learn all the power of the included functionality. Editing BluePrint files is just one functional aspect that I love to use.

I wish Michael Simpson would add a .TgPcDx decoder to handle viewing the latest graphic encryption added to RW4 assets as PapaXpress has done in his RSBinTool.

OlPaint