Ideas for child objects...

Discuss almost anything about RailWorks.

Ideas for child objects...

Unread postby xxuntitledxx » Sun May 05, 2024 2:19 pm

Hi all,

I have been thinking about this...Is it possible to set objects as child objects to other locomotives? Here's a few examples. The Cab section of an ES44AC to a Dash 9 to make a true AC44C6M. PTC antenna's to roofs on units that don't have them, and things of that nature. Is this possible?

Just wondering how hard that would be to do since I'm not a crazy blueprint editor guy.

Ken
xxuntitledxx
 
Posts: 413
Joined: Tue Jun 25, 2013 5:02 pm
Location: NJ

Re: Ideas for child objects...

Unread postby jalsina » Sun May 05, 2024 8:22 pm

xxuntitledxx wrote:Hi all,

I have been thinking about this...Is it possible to set objects as child objects to other locomotives? Here's a few examples. The Cab section of an ES44AC to a Dash 9 to make a true AC44C6M. PTC antenna's to roofs on units that don't have them, and things of that nature. Is this possible?

Just wondering how hard that would be to do since I'm not a crazy blueprint editor guy.

Ken


Yes.
In a child of your loco you can call any other path, including one where other child is pointing to a model (like flares, parts of a roof or numbers) with its geo and textures, particles (smoke), sound bin (or xml) [and from there to a proxyxml].

By using TS_Tools you can copy paste any child code from any loco (or car) bin to another one, like this example:

Code: Select all
<cEntityContainerBlueprint-sChild d:id="54110">
                     <ChildName d:type="cDeltaString">Ditch_R</ChildName>
                     <BlueprintID>
                        <iBlueprintLibrary-cAbsoluteBlueprintID>
                           <BlueprintSetID>
                              <iBlueprintLibrary-cBlueprintSetID>
                                 <Provider d:type="cDeltaString">MLWAudio</Provider>
                                 <Product d:type="cDeltaString">16N-710G3C-II</Product>
                              </iBlueprintLibrary-cBlueprintSetID>
                           </BlueprintSetID>
                           <BlueprintID d:type="cDeltaString">HeadlightFlareEnhancement\Headlight_Flare_Bright.xml</BlueprintID>
                        </iBlueprintLibrary-cAbsoluteBlueprintID>
                     </BlueprintID>
                     <Matrix>
                        <cHcRMatrix4x4>
                           <Element>
                              <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="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="000000C05301EF3F" d:precision="string">0.968912</e>
                              <e d:type="sFloat32" d:alt_encoding="00000020EFAACF3F" d:precision="string">0.247404</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="00000020EFAACFBF" d:precision="string">-0.247404</e>
                              <e d:type="sFloat32" d:alt_encoding="000000C05301EF3F" d:precision="string">0.968912</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="00000000295CE73F" d:precision="string">0.73</e>
                              <e d:type="sFloat32" d:alt_encoding="0000006066660040" d:precision="string">2.05</e>
                              <e d:type="sFloat32" d:alt_encoding="0000004033332640" d:precision="string">11.1</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                           </Element>
                        </cHcRMatrix4x4>
                     </Matrix>
                     <ParentNodeName d:type="cDeltaString"></ParentNodeName>
                  </cEntityContainerBlueprint-sChild>
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: 2010
Joined: Sun Jul 05, 2015 8:32 pm

Re: Ideas for child objects...

Unread postby kris120 » Fri May 10, 2024 6:22 pm

Cabs are sometimes a problem. They have script driven objects as handles, switches ...
So you may finally be able to enter the cab but not be able to use or move one of it's handles.
Changing something by keyboard (throttle, brakes) should work, so you should be able to drive at least.
User avatar
kris120
 
Posts: 467
Joined: Mon Jul 22, 2013 3:19 pm
Location: Augsburg, Bavaria, Germany


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests