Page 1 of 1

How to place a driver on your engine???

Unread postPosted: Tue Feb 23, 2016 12:12 pm
by jpetersjr
I'm trying to figure out how to put a driver to the Hudson and I keep getting this era when placing cDeltaString in the provider and product field.

I'm wondering what's really supposed to be placed in those fields because it seems like everything I insert it refuses and I can't leave the fields blank and expect to get the driver to work so I can hopefully attempt to try the engine.

Also, I also tried this without the " and it still popped up with the same error message.
provider field.jpg



It lists cDeltaString as the provider and product inside the file, but for some reason in the editor when trying to link the driver to the engine as a child object it won't take it, I want to figure out what it wants and what to place in these two fields.

file internals.jpg



...Cheers...


Big J

Re: How to place a driver on your engine???

Unread postPosted: Tue Feb 23, 2016 2:59 pm
by Chacal
You can't use the Blueprint Editor for modifying an existing blueprint, unless you are the original author and have the source files.
These source files have extra information needed by the editor.

Open blueprints with RW-Tools, you can then edit them in RW-Tools or copy the whole text to an advanced editor such as Notepad++.
When you are finished copy back the text in RW-Tools and hit Ctrl-S for saving your changes.

Re: How to place a driver on your engine???

Unread postPosted: Tue Feb 23, 2016 8:41 pm
by jpetersjr
I'm trying to figure out how to reference an old default driver, or is there a way I could get it to run without a physical driver in the cab?


Such as also, how do you reference some sounds from another engine, or is that also now impossible.


Keep getting this error, such as when trying to reference the default driver from the Black 5, I know it's possible since I've seen it done before by other engine builders.

getting this error.jpg

Re: How to place a driver on your engine???

Unread postPosted: Tue Feb 23, 2016 8:54 pm
by mrennie
jpetersjr wrote:I'm trying to figure out how to reference an old default driver, or is there a way I could get it to run without a physical driver in the cab?


Such as also, how do you reference some sounds from another engine, or is that also now impossible.


Keep getting this error, such as when trying to reference the default driver from the Black 5, I know it's possible since I've seen it done before by other engine builders.

getting this error.jpg


Be careful, it's case-sensitive. You should write "RailSimulator".

The driver child object is just eye candy. It has nothing to do with the engine being driveable.

Re: How to place a driver on your engine???

Unread postPosted: Tue Feb 23, 2016 9:01 pm
by jalsina
jpetersjr wrote:I'm trying to figure out how to reference an old default driver, or is there a way I could get it to run without a physical driver in the cab?

Such as also, how do you reference some sounds from another engine, or is that also now impossible.


A child object referencing a xml (referencing at the same time the GeoPcDx of the driver) of a driver in another loco (a different directory).
The problem here is the player may not have that referenced loco, even if the driver is from a DLC included in the root game (TS2016), because not everybody has bought the game.

Here is an example of code of the child object for the driver 1 in the Big Boy. In that case you need to change the path referencing the Driver01.xml:
Code: Select all
               <cEntityContainerBlueprint-sChild d:id="32843">
                     <ChildName d:type="cDeltaString">Driver01</ChildName>
                     <BlueprintID>
                        <iBlueprintLibrary-cAbsoluteBlueprintID>
                           <BlueprintSetID>
                              <iBlueprintLibrary-cBlueprintSetID>
                                 <Provider d:type="cDeltaString">RSC</Provider>
                                 <Product d:type="cDeltaString">BigboyPack01</Product>
                              </iBlueprintLibrary-cBlueprintSetID>
                           </BlueprintSetID>
                           <BlueprintID d:type="cDeltaString">RailVehicles\Steam\BigBoy\Default\Drivers\Driver01.xml</BlueprintID>
                        </iBlueprintLibrary-cAbsoluteBlueprintID>
                     </BlueprintID>
                     <Matrix>
                        <cHcRMatrix4x4>
                           <Element>
                              <e d:type="sFloat32" d:alt_encoding="000000E0A0F6EFBF" d:precision="string">-0.998856</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="00000020637CA8BF" d:precision="string">-0.047824</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="00000020637CA83F" d:precision="string">0.047824</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000E0A0F6EFBF" d:precision="string">-0.998856</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000602F69F33F" d:precision="string">1.21318</e>
                              <e d:type="sFloat32" d:alt_encoding="000000A017E00340" d:precision="string">2.48442</e>
                              <e d:type="sFloat32" d:alt_encoding="000000C05E2C1BC0" d:precision="string">-6.79333</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                           </Element>
                        </cHcRMatrix4x4>
                     </Matrix>
                     <ParentNodeName d:type="cDeltaString"></ParentNodeName>
                  </cEntityContainerBlueprint-sChild>               

Re: How to place a driver on your engine???

Unread postPosted: Tue Feb 23, 2016 9:03 pm
by jalsina
jalsina wrote:
jpetersjr wrote:I'm trying to figure out how to reference an old default driver, or is there a way I could get it to run without a physical driver in the cab?

Such as also, how do you reference some sounds from another engine, or is that also now impossible.


A child object referencing a xml (referencing at the same time the GeoPcDx of the driver) of a driver in another loco (a different directory).
The problem here is the player may not have that referenced loco, even if the driver is from a DLC included in the root game (TS2016), because not everybody has bought the game.
You could reference the fireman and the engineer of one of the BR steam locos in Riviera 50s and adjust the position coordinates in the matrix.

Here is an example of code of the child object for the driver 1 in the Big Boy. In that case you need to change the path referencing the Driver01.xml:
Code: Select all
               <cEntityContainerBlueprint-sChild d:id="32843">
                     <ChildName d:type="cDeltaString">Driver01</ChildName>
                     <BlueprintID>
                        <iBlueprintLibrary-cAbsoluteBlueprintID>
                           <BlueprintSetID>
                              <iBlueprintLibrary-cBlueprintSetID>
                                 <Provider d:type="cDeltaString">RSC</Provider>
                                 <Product d:type="cDeltaString">BigboyPack01</Product>
                              </iBlueprintLibrary-cBlueprintSetID>
                           </BlueprintSetID>
                           <BlueprintID d:type="cDeltaString">RailVehicles\Steam\BigBoy\Default\Drivers\Driver01.xml</BlueprintID>
                        </iBlueprintLibrary-cAbsoluteBlueprintID>
                     </BlueprintID>
                     <Matrix>
                        <cHcRMatrix4x4>
                           <Element>
                              <e d:type="sFloat32" d:alt_encoding="000000E0A0F6EFBF" d:precision="string">-0.998856</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="00000020637CA8BF" d:precision="string">-0.047824</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="00000020637CA83F" d:precision="string">0.047824</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000E0A0F6EFBF" d:precision="string">-0.998856</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000602F69F33F" d:precision="string">1.21318</e>
                              <e d:type="sFloat32" d:alt_encoding="000000A017E00340" d:precision="string">2.48442</e>
                              <e d:type="sFloat32" d:alt_encoding="000000C05E2C1BC0" d:precision="string">-6.79333</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                           </Element>
                        </cHcRMatrix4x4>
                     </Matrix>
                     <ParentNodeName d:type="cDeltaString"></ParentNodeName>
                  </cEntityContainerBlueprint-sChild>               

Re: How to place a driver on your engine???

Unread postPosted: Tue Feb 23, 2016 9:11 pm
by jalsina
jalsina wrote:
jalsina wrote:
jpetersjr wrote:I'm trying to figure out how to reference an old default driver, or is there a way I could get it to run without a physical driver in the cab?

Such as also, how do you reference some sounds from another engine, or is that also now impossible.


A child object referencing a xml (referencing at the same time the GeoPcDx of the driver) of a driver in another loco (a different directory).
The problem here is the player may not have that referenced loco, even if the driver is from a DLC included in the root game (TS2016), because not everybody has bought the game.
You could reference the fireman and the engineer of one of the BR steam locos in Riviera 50s and adjust the position coordinates in the matrix.

Here is an example of code of the child object for the driver 1 in the Big Boy. In that case you need to change the path referencing the Driver01.xml:
EDIT: And also the Provider and Product unless you are copy pasting the code directly to the end of the bin file.
Code: Select all
               <cEntityContainerBlueprint-sChild d:id="32843">
                     <ChildName d:type="cDeltaString">Driver01</ChildName>
                     <BlueprintID>
                        <iBlueprintLibrary-cAbsoluteBlueprintID>
                           <BlueprintSetID>
                              <iBlueprintLibrary-cBlueprintSetID>
                                 <Provider d:type="cDeltaString">RSC</Provider>
                                 <Product d:type="cDeltaString">BigboyPack01</Product>
                              </iBlueprintLibrary-cBlueprintSetID>
                           </BlueprintSetID>
                           <BlueprintID d:type="cDeltaString">RailVehicles\Steam\BigBoy\Default\Drivers\Driver01.xml</BlueprintID>
                        </iBlueprintLibrary-cAbsoluteBlueprintID>
                     </BlueprintID>
                     <Matrix>
                        <cHcRMatrix4x4>
                           <Element>
                              <e d:type="sFloat32" d:alt_encoding="000000E0A0F6EFBF" d:precision="string">-0.998856</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="00000020637CA8BF" d:precision="string">-0.047824</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="00000020637CA83F" d:precision="string">0.047824</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000E0A0F6EFBF" d:precision="string">-0.998856</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000602F69F33F" d:precision="string">1.21318</e>
                              <e d:type="sFloat32" d:alt_encoding="000000A017E00340" d:precision="string">2.48442</e>
                              <e d:type="sFloat32" d:alt_encoding="000000C05E2C1BC0" d:precision="string">-6.79333</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                           </Element>
                        </cHcRMatrix4x4>
                     </Matrix>
                     <ParentNodeName d:type="cDeltaString"></ParentNodeName>
                  </cEntityContainerBlueprint-sChild>               

Re: How to place a driver on your engine???

Unread postPosted: Tue Feb 23, 2016 9:16 pm
by jpetersjr
What I'm trying to figure out is how to get the engine drivable as a simple engine, to perhaps run it down the track for a test.

Re: How to place a driver on your engine???

Unread postPosted: Tue Feb 23, 2016 9:32 pm
by mrennie
jpetersjr wrote:What I'm trying to figure out is how to get the engine drivable as a simple engine, to perhaps run it down the track for a test.


What you're now discovering is that there's a whole lot more to making an engine than just doing the geometry. That's only a fraction of the story. There's a lot you have to do before you can make the engine move. You really should study the dev docs and also look very carefully at how other locos have been done and try to understand it. The Kuju Black 5 is ideal for that, because it's nice and simple. You can even copy a lot of it and just put in references to your own igs files for the engine and its "bogies". Of course, you'll also have to adjust the offset values in the blueprints that tell the core code the position of the bogie pivots and the axles.

I really wish people would take the advice I give them and not jump straight into trying to do steam engines, as if it were simple, when in reality it's one of the most complicated things to do in all of TS, without having learnt the ropes doing simpler items of rolling stock, like the 2-axle wagon in the example in the dev docs. It's quite a challenge to get something that simple to work, if you've never done a rail vehicle before, without the enormous added complexity of a steam loco. Just my **!!2cents!!**