New cargo on flatcar.

In this forum you can make SUGGESTIONS for repaints and/or other downloads. If you are suggesting repaints of something, please supply a picture of it. Make it easier for the painter.

New cargo on flatcar.

Unread postby Skeeter39090 » Tue Jan 16, 2018 3:17 pm

I was wondering if someone could replace the boom trucks on the flat cars with the yellow school buses?
Or direct me to tutorial on how to do it. Needs to be a in-depth one since I can barely repaint.
Thanks.
User avatar
Skeeter39090
 
Posts: 29
Joined: Sat Jan 24, 2015 7:18 am
Location: Mississippi, US

Re: New cargo on flatcar.

Unread postby jalsina » Tue Jan 16, 2018 4:50 pm

You need to call the cargo thru a child object in the flatcar bin.

You may get something here:
http://railworksamerica.com/forum/viewtopic.php?f=39&t=16074&hilit=flatcars

And this tutorial in the library will help as well, to build the matrix for a child object:
http://railworksamerica.com/index.php/learning/tutorials/item/159-manually-editing-object-position
Intel i7-7900K (3.60 GHz) - ASUS Prime Z390A - 32 GB DDR4 RAM 2400 MHz
GPU EVGA GTX-1060 OC 6GB at 1920x1080, 144 Hz - Monitor ASUS VG-248QE
System Windows 11 Pro in WD SSD 500 GB. Games in Inland 1Tb M.2 NVMe PCIe
User avatar
jalsina
 
Posts: 2017
Joined: Sun Jul 05, 2015 8:32 pm

Re: New cargo on flatcar.

Unread postby Skeeter39090 » Tue Jan 16, 2018 11:30 pm

Ok thanks. Think I understand it.
If the child object I wish to replace is near to the same dimensions as the original I can just point the bin file to look at the new object?
Then fiddle with the alignment?
User avatar
Skeeter39090
 
Posts: 29
Joined: Sat Jan 24, 2015 7:18 am
Location: Mississippi, US

Re: New cargo on flatcar.

Unread postby thebigroyboyski » Thu Jan 18, 2018 4:29 pm

The new object can litrally be any scenic object you want. The dimensions don't have to be similar.
All you have to do is remove the old child object and direct the bin to the new one.
You might have to adjust the position matrix to get it to sit right.
Frontrunner in the file library now!
User avatar
thebigroyboyski
 
Posts: 579
Joined: Mon Jan 09, 2012 5:19 pm
Location: Ayrshire, Scotland

Re: New cargo on flatcar.

Unread postby QcRail » Thu Jan 18, 2018 5:27 pm

May I suggest an important distinction concerning the mechanism which places an object on a flatcar.
1. The <CargoComponent>
<cCargoComponentBlueprint>
<CargoDef>
<cContainerCargoDef d:id="8074">
<Name d:type="cDeltaString">My secondary cargo</Name>
<MassInKg d:type="sFloat32" d:alt_encoding="00000000004CDD40" d:precision="string">30000</MassInKg>
<Position>
<cHcRMatrix4x4> .....

With this parameter an object will appear on the flatcar ONLY when you check the cargo option, once the flatcar is placed on the track and is visible.

2. the <ContainerComponent>
<cEntityContainerBlueprint>
<TrackTerrainInEditor d:type="bool">0</TrackTerrainInEditor>
<Children> ...

<cEntityContainerBlueprint-sChild d:id="8129">
<ChildName d:type="cDeltaString">Evergreen Cont. (Fixed at bottom)</ChildName>
<BlueprintID>
<iBlueprintLibrary-cAbsoluteBlueprintID>
<BlueprintSetID>
<iBlueprintLibrary-cBlueprintSetID>
<Provider d:type="cDeltaString">QcRail</Provider>
<Product d:type="cDeltaString">US_RR</Product>
</iBlueprintLibrary-cBlueprintSetID>
</BlueprintSetID>
<BlueprintID d:type="cDeltaString">Freight_Modern\GundersonWellCar\Cargo\Container_single\Evergreen.xml</BlueprintID>
</iBlueprintLibrary-cAbsoluteBlueprintID>
</BlueprintID>
<Matrix>
<cHcRMatrix4x4> ...

With this parameter an object will AUTOMATICALLY appear on the flatcar when the railcar is placed on the track and is visible. In TS this is called a CHILD OBJECT, and you can add as many child object as you as long as you alter the position matrix or else the newer object will fuse with the prior one.

Check out my files for the TOFC set no.1 and shortly TOFC set no.2 for a working example - Good luck

QcRail
QcRail. aka Bernard Lafargue
QcRail
 
Posts: 485
Joined: Fri Jun 29, 2012 1:17 pm
Location: Montréal, Qc. Canada

Re: New cargo on flatcar.

Unread postby jalsina » Thu Jan 18, 2018 7:35 pm

Skeeter39090 wrote:Ok thanks. Think I understand it.
If the child object I wish to replace is near to the same dimensions as the original I can just point the bin file to look at the new object?
Then fiddle with the alignment?


I am not sure I understand the meaning of your question, but here I go:

If you want to replace a load in a flatcar, the best you can do is:
1- Make a copy of your flatcar files.
2- Rename the flatcar.
3- Edit the child with the load address. Just as in any child object, change the Provider, Product and the path to the load xml (bin). This bin has a call to the Geo of the object.
4- Check the cargo component to consider the load weight change. If you want the flatcar permanently loaded with equipment, it can be better to set the cargo component to zero and the mass to the sum of the car plus the load. This way your flatcar will behave in Quick Drive (physically) as a loaded car instead of an empty.

"By fiddle with alignment": it can happen that your load is actually rotated respective of the car axis (for example 90 degrees). In that case you need to rotate the load by tweaking the matrix (check the tutorial by Chacal linked above on how to do that).

You can load any scenery object as well as any rolling stock (a loco over a flatcar). But be careful with locos as it has some particular problems and is not advised to do it.
Intel i7-7900K (3.60 GHz) - ASUS Prime Z390A - 32 GB DDR4 RAM 2400 MHz
GPU EVGA GTX-1060 OC 6GB at 1920x1080, 144 Hz - Monitor ASUS VG-248QE
System Windows 11 Pro in WD SSD 500 GB. Games in Inland 1Tb M.2 NVMe PCIe
User avatar
jalsina
 
Posts: 2017
Joined: Sun Jul 05, 2015 8:32 pm

Re: New cargo on flatcar.

Unread postby Skeeter39090 » Fri Jan 19, 2018 4:47 pm

Thanks everyone for all the help.
My hometown built school buses, box vans, and ambulances back in the 60s-80s. These were loaded on IC flat cars and transported everywhere so I'm trying to reproduce my childhood.
User avatar
Skeeter39090
 
Posts: 29
Joined: Sat Jan 24, 2015 7:18 am
Location: Mississippi, US

Re: New cargo on flatcar.

Unread postby Skeeter39090 » Fri Jan 19, 2018 6:57 pm

Another quick question.
When I convert some TgPcDex to DDS with RWtools the image is just a blue image.
How do I fix that?
User avatar
Skeeter39090
 
Posts: 29
Joined: Sat Jan 24, 2015 7:18 am
Location: Mississippi, US

Re: New cargo on flatcar.

Unread postby QcRail » Sat Jan 20, 2018 10:35 am

Skeeter39090 wrote:Another quick question.
When I convert some TgPcDex to DDS with RWtools the image is just a blue image.
How do I fix that?


Definitely - NOT NORMAL. I've done hundred of time your conversion wih RWtools and never had that unusual result. Not sure how to help !!!! !*don-know!*
1. If it is a particular file and not all conversions, then ??? ... procedural error
2. If it is a SYSTEMATIC result with any file' I would focus my attention on a corrupt file of the RWtool and re-install, but ???

If your problem persist, could you post your procedure IN DETAIL so we might isolate the problematic step ... good luck

QcRail
QcRail. aka Bernard Lafargue
QcRail
 
Posts: 485
Joined: Fri Jun 29, 2012 1:17 pm
Location: Montréal, Qc. Canada

Re: New cargo on flatcar.

Unread postby jalsina » Sat Jan 20, 2018 11:42 am

Skeeter39090 wrote:Another quick question.
When I convert some TgPcDex to DDS with RWtools the image is just a blue image.
How do I fix that?

That blue image could it be an alpha? Or it happens with all textures? !*don-know!*
Anyway, use RSBinTool found here in the library. Open a TgPcDx and then you can either import or export dds.
!!*ok*!!
Intel i7-7900K (3.60 GHz) - ASUS Prime Z390A - 32 GB DDR4 RAM 2400 MHz
GPU EVGA GTX-1060 OC 6GB at 1920x1080, 144 Hz - Monitor ASUS VG-248QE
System Windows 11 Pro in WD SSD 500 GB. Games in Inland 1Tb M.2 NVMe PCIe
User avatar
jalsina
 
Posts: 2017
Joined: Sun Jul 05, 2015 8:32 pm

Re: New cargo on flatcar.

Unread postby buzz456 » Sat Jan 20, 2018 11:57 am

Skeeter39090 wrote:Another quick question.
When I convert some TgPcDex to DDS with RWtools the image is just a blue image.
How do I fix that?

I think you are opening a normal file instead of the one you want to edit.
normal TgPcDx.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: 21179
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida

Re: New cargo on flatcar.

Unread postby QcRail » Sat Jan 20, 2018 12:48 pm

I think Buzz hit the nail on the head !!*ok*!! Why did I not think about that !!jabber!!

... Anyway , a file «myfile_nm.tgpcdx» is a «normal mapping» file - rarely needs editing unless you want to eliminate the 3D or bumpy effect (raised).

Good continuation...
QcRail
QcRail. aka Bernard Lafargue
QcRail
 
Posts: 485
Joined: Fri Jun 29, 2012 1:17 pm
Location: Montréal, Qc. Canada

Re: New cargo on flatcar.

Unread postby buzz456 » Sat Jan 20, 2018 2:07 pm

Just to put the fine point on it the nm is the high resolution and the nmc if for machines running on low resolution.
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: 21179
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida

Re: New cargo on flatcar.

Unread postby Skeeter39090 » Sun Jan 21, 2018 1:12 am

Yep that's the same thing i was seeing.
Problem solved= (Operator Error) **!!bang!!**
User avatar
Skeeter39090
 
Posts: 29
Joined: Sat Jan 24, 2015 7:18 am
Location: Mississippi, US


Return to Model/Repaint Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests

cron