Clinchfield Route Vehicle Issue

Post your problems and installation issues here!

Clinchfield Route Vehicle Issue

Unread postby tntrainer » Sat Jul 30, 2022 10:35 am

Hello,
Has anyone ever addressed or posted a fix/suggestion for correcting the Clinchfield route vehicle that the orientation is wrong as it travels down the road? The X/Y orientation or something else has a box truck turned perpendicular to its path. Any thoughts would be appreciated.

George
You do not have the required permissions to view the files attached to this post.
TNTrainer
Processor: Intel(R) Core(TM) i7-10700KF CPU @ 3.80GHz 3.79 GHz
Ram: 48 GB
Video Card: NVIDIA GeForce RTX 2060 SUPER
User avatar
tntrainer
 
Posts: 189
Joined: Fri Feb 28, 2020 1:25 pm
Location: The mountains of Southeast Tennessee, United States Of America

Re: Clinchfield Route Vehicle Issue

Unread postby Chacal » Sat Jul 30, 2022 11:28 am

During Canadian winters, a lot of vehicles move like this.
Over the hill and gathering speed
Chacal
Site Admin
 
Posts: 6481
Joined: Tue Jul 05, 2011 1:11 pm
Location: Quebec, Canada

Re: Clinchfield Route Vehicle Issue

Unread postby tntrainer » Sat Jul 30, 2022 11:40 am

My friend,
Don't come down south..... At the first sign of snow, all vehicles move like that down here..... at least until they've been to the store to get bread and milk. !*roll-laugh*!
TNTrainer
Processor: Intel(R) Core(TM) i7-10700KF CPU @ 3.80GHz 3.79 GHz
Ram: 48 GB
Video Card: NVIDIA GeForce RTX 2060 SUPER
User avatar
tntrainer
 
Posts: 189
Joined: Fri Feb 28, 2020 1:25 pm
Location: The mountains of Southeast Tennessee, United States Of America

Re: Clinchfield Route Vehicle Issue

Unread postby jlms48 » Fri Aug 05, 2022 5:34 pm

To fix this I had to edit the GeoPcDx file to correct the orientation of the road vehicle ( small truck 60s). Site rules preclude me from uploading the modified GeoPcDx file so you need to edit it as follows.
1. Locate the Clinchfield folder in your Railworks \Assets directory. The path is
"G:\SteamLibrary\steamapps\common\Railworks\Assets\DTG\Clinchfield"
(Note the drive letter G: is for my system, yours could be C: D: etc)
2. Now open the folder “ClinchfieldAssets.ap” using 7zip. Click on \Scenery\Vehicles.
3. Then Extract the file Vehicle_TruckSmall.GeoPcDx to the “Clinchfield” folder. This file should now be outside the .ap folder
4. Make sure the file has the path exactly as shown below. If necessary make new folders \Scenery\Vehicles under Clinchfield.
"G:\SteamLibrary\steamapps\common\Railworks\Assets\DTG\Clinchfield\Scenery\Vehicles\Vehicle_TruckSmall.GeoPcDx"
5. Open the file in TS_Tools file editor
6. Open the Search window ( CTRL-F) and find the text Source
7. Use cut and paste to replace the whole block of text between the headings
<Source LtoPTransform>
And
</Source LtoPTransform>

With the following :

Code: Select all
<SourceLToPTransform>
      <e d:numElements="16" d:elementType="sFloat32" d:precision="string">0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 -1.5190569 1.9166594 0.0211201 1.0000000</e>
      <e d:numElements="16" d:elementType="sFloat32" d:precision="string">0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 -1.5467935 1.9166594 0.0022108 1.0000000</e>
      <e d:numElements="16" d:elementType="sFloat32" d:precision="string">0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 -1.5467935 1.9166594 0.0022108 1.0000000</e>
      <e d:numElements="16" d:elementType="sFloat32" d:precision="string">0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 -0.8172704 -0.0139992 -0.0311687 1.0000000</e>
      <e d:numElements="16" d:elementType="sFloat32" d:precision="string">0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 -1.5190569 1.5859420 -4.1799998 1.0000000</e>
      <e d:numElements="16" d:elementType="sFloat32" d:precision="string">0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 4.0636539 0.7761554 0.0193810 1.0000000</e>
   </SourceLToPTransform>



8. Save the file in TS-Tools ( Press Files / Save TS2020File) .

You should find this fixes the problem with the small truck.
Last edited by jlms48 on Fri Aug 05, 2022 5:48 pm, edited 1 time in total.
jlms48
 
Posts: 103
Joined: Mon Mar 19, 2018 7:15 am
Location: Wales

Re: Clinchfield Route Vehicle Issue

Unread postby tntrainer » Fri Aug 05, 2022 5:43 pm

Thanks so much. I'll give this a try and report back.

Thanks again
George
TNTrainer
Processor: Intel(R) Core(TM) i7-10700KF CPU @ 3.80GHz 3.79 GHz
Ram: 48 GB
Video Card: NVIDIA GeForce RTX 2060 SUPER
User avatar
tntrainer
 
Posts: 189
Joined: Fri Feb 28, 2020 1:25 pm
Location: The mountains of Southeast Tennessee, United States Of America

Re: Clinchfield Route Vehicle Issue

Unread postby buzz456 » Fri Aug 05, 2022 6:09 pm

<Source LtoPTransform> No space if you want the search to work. <SourceLToPTransform>
Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 20940
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida

Re: Clinchfield Route Vehicle Issue

Unread postby buzz456 » Fri Aug 05, 2022 7:03 pm

Screenshot_Clinchfield Railroad - Elkhorn City to St Paul_36.91928--82.29159_12-22-31.jpg
You do not have the required permissions to view the files attached to this post.
Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 20940
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida

Re: Clinchfield Route Vehicle Issue

Unread postby tntrainer » Sat Aug 06, 2022 1:42 pm

Hello jlms48,
I can report success!
My Happy Jig.gif


This issue has bothered me since the route came out and I really appreciate you taking the time to write a correction and posting it here on RWA. I hope to someday understand exactly what the parameters of the scripting indicates.
Again, many thanks!

Cheers from Tennessee, USA
You do not have the required permissions to view the files attached to this post.
TNTrainer
Processor: Intel(R) Core(TM) i7-10700KF CPU @ 3.80GHz 3.79 GHz
Ram: 48 GB
Video Card: NVIDIA GeForce RTX 2060 SUPER
User avatar
tntrainer
 
Posts: 189
Joined: Fri Feb 28, 2020 1:25 pm
Location: The mountains of Southeast Tennessee, United States Of America

Re: Clinchfield Route Vehicle Issue

Unread postby RudiJaeger » Sat Aug 06, 2022 2:15 pm

tntrainer wrote:I hope to someday understand exactly what the parameters of the scripting indicates.

Looks like there is a pivot point involved. Judging by comparison of before and after screenshots, the point appears to be located somewhere center-mass of the truck, which is why the passenger side is riding on the shoulder of the road, whereas the cars (shorter length and width) appear to be within their lane. Certainly looks a lot better though. Glad you brought this up, I was not aware of it. Perhaps someone more experienced than I, can better explain what's going on with the parameters and how to make adjustments for lane centering. Of course if we do a bit of digging around, it's probably already in one of the umpteen thousand guides that apply to this sim. :D
CoolerMaster HAF case filled with a bunch of rapidly aging techno-stuff.
User avatar
RudiJaeger
 
Posts: 510
Joined: Thu Sep 28, 2017 10:55 am
Location: Colorado Springs

Re: Clinchfield Route Vehicle Issue

Unread postby buzz456 » Sat Aug 06, 2022 2:23 pm

George, This might make some interesting reading for you. If you want to get dizzy trying to understand something just don't blame me. I have used this about fifty times since I can't seem to remember all of this from time to time.

http://railworksamerica.com/index.php/l ... t-position
Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 20940
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida

Re: Clinchfield Route Vehicle Issue

Unread postby jlms48 » Sat Aug 06, 2022 4:23 pm

Hi, I'm glad some of you edited this successfully.
Believe it or not that small truck model is made up of 6 separate objects. To rotate it thro' 90deg anti-clockwise involved applying the rotation matrix 6x over. When I did that the cab was offset to one side and backwards from the rest of the truck. I then had to adjust its position in 2 directions by trial and error. It took 12 iterations to get to where it is now. I noticed that 2 wheels were off the tarmac but thought it was good enough to be going on with. I can do some more trial and error mods to get the truck in lane.
How closely do we look at the road traffic anyway? If you look closely at the road traffic in lots of routes you will find plenty vehicles doing odd things. Some US routes use invisible road ribbons which leads to quite a few flying cars!
While I was playing around with that truck model I noticed that when I placed it multiple times in a route I use for testing , each placement of the truck had a slightly different cab colour. It changed from pale blue to greenish white to brownish white. I have not seen that effect before. Anyone know what caused it?
jlms48
 
Posts: 103
Joined: Mon Mar 19, 2018 7:15 am
Location: Wales

Re: Clinchfield Route Vehicle Issue

Unread postby jlms48 » Sat Aug 06, 2022 4:52 pm

buzz456 wrote:George, This might make some interesting reading for you. If you want to get dizzy trying to understand something just don't blame me. I have used this about fifty times since I can't seem to remember all of this from time to time.

http://railworksamerica.com/index.php/l ... t-position


Another useful reference is the Train Simulator Matrix Guide which can be downloaded here
https://www.trainsimdev.com/forum/viewtopic.php?f=42&t=902
jlms48
 
Posts: 103
Joined: Mon Mar 19, 2018 7:15 am
Location: Wales

Re: Clinchfield Route Vehicle Issue

Unread postby tntrainer » Sat Aug 06, 2022 11:17 pm

Thank you Buzz and jlms48, I will review your tutorial suggestions. It would be a good exercise in learning the process of editing the scripts for me to tinker with it. I appreciate everyone's input on the process required. Yes, it is on the shoulder of the road now but, it's a far sight better than perpendicular.
I recognize that the vehicles are in the periphery of our focus on the trains, just as the scenery and structures are. Also they are on the lower end of accurate simulation due to the constraints of the game engine. Many times it's just a reasonable facsimile that's required to portray a town or scenic point. No one route developer has the time to create 100% totally accurate structures for their route.
I will say that darn truck has ruined more than one scene in video I have been recording for use in a YouTube production.

Again thanks to all who commented or helped.
TNTrainer
Processor: Intel(R) Core(TM) i7-10700KF CPU @ 3.80GHz 3.79 GHz
Ram: 48 GB
Video Card: NVIDIA GeForce RTX 2060 SUPER
User avatar
tntrainer
 
Posts: 189
Joined: Fri Feb 28, 2020 1:25 pm
Location: The mountains of Southeast Tennessee, United States Of America

Re: Clinchfield Route Vehicle Issue

Unread postby jlms48 » Tue Aug 09, 2022 1:48 pm

A couple more tweaks to the Clinchfield small truck Geo file.
The truck is now centred in the road lane and the night lighting effects have been fixed.

Just overwrite the SourceLToPtransfer block of text using TS Tools with the following:

Code: Select all
<SourceLToPTransform>
      <e d:numElements="16" d:elementType="sFloat32" d:precision="string">0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 0.1019057 1.9166594 0.0211201 1.0000000</e>
      <e d:numElements="16" d:elementType="sFloat32" d:precision="string">0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 0.1046794 1.9166594 0.0022108 1.0000000</e>
      <e d:numElements="16" d:elementType="sFloat32" d:precision="string">0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 0.1046794 1.9166594 0.0022108 1.0000000</e>
      <e d:numElements="16" d:elementType="sFloat32" d:precision="string">0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 0.1017270 -0.0139992 -0.0311687 1.0000000</e>
      <e d:numElements="16" d:elementType="sFloat32" d:precision="string">0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 0.1019057 1.5859420 -4.1799998 1.0000000</e>
      <e d:numElements="16" d:elementType="sFloat32" d:precision="string">0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 0.1046794 0.7761554 -5.5000000 1.0000000</e>
   </SourceLToPTransform>


See my previous post for full directions
You do not have the required permissions to view the files attached to this post.
jlms48
 
Posts: 103
Joined: Mon Mar 19, 2018 7:15 am
Location: Wales

Re: Clinchfield Route Vehicle Issue

Unread postby tntrainer » Wed Aug 10, 2022 2:33 pm

Hello jlms48,

Success! Thank you so much for taking the time to delve into the issue and write a correction. As you can see the results are perfect on my end.

Thanks again,
George
You do not have the required permissions to view the files attached to this post.
TNTrainer
Processor: Intel(R) Core(TM) i7-10700KF CPU @ 3.80GHz 3.79 GHz
Ram: 48 GB
Video Card: NVIDIA GeForce RTX 2060 SUPER
User avatar
tntrainer
 
Posts: 189
Joined: Fri Feb 28, 2020 1:25 pm
Location: The mountains of Southeast Tennessee, United States Of America

Next

Return to Problems and Peculiarities

Who is online

Users browsing this forum: No registered users and 2 guests