Page 1 of 2

Adding sounds to wagons that have none

Unread postPosted: Sun Jan 15, 2012 4:38 pm
by ozinoz
Not sure if I am missing something, but my HSC Pennsy Hoppers have no sounds. I can not even find an entry in the wagon bin to call sounds, so I thought I would have a bash and try and add some, aliasing to Krelnuts great wagon sounds. Reading other posts, it just looks like I need to copy and paste a sound child entry from a wagon that has them into the offending bin file and we should be good to go. The question I have is regarding the entry ID number. Where is that generated? Can I copy the one from the wagon child entry I am going to use or do I need to get a new one? Any info gratefully received...

Just another niggly issue in the RSC attention to detail issue.

The next on my gripe list is the coal stages on HSC - a poor generic "blob" yet compare that to the one being showcased for the upcoming Woodhead route - that is what should have made its way to HSC. A Google search will show that the Woodhead example is far closer to what was there than what we ended up with. The line that keeps coming out that they are in the UK and it is too far to get accurate info is wearing a bit thin - there are research sources and individuals with all of the information you could hope for on just about any line in the world. Last grumble for today I promise - *!lol!* The K4's are due out next week - yet we have not even seen a WIP screenie let alone an ingame shot - surely they need to be finished by now. My other concern is the lack of water facilities on the HSC route and I can see massive grumbles because of all of the dropped fuseable plugs. :D There is no water until after Cresson westbound and even I dont think the track alignment is correct because the Westbound trains have to foul both East lines and then back out and obviously the East bound trains need to back in - an operation I have never heard of anywhere. Maybe its a Pennsy peculiarity - does anybody know for certain??

!*cheers*!

G

Re: Adding sounds to wagons that have none

Unread postPosted: Sun Jan 15, 2012 4:47 pm
by Samwolf
On 19 October 2011 18:08, Samwolf
I reported this to RSC a while back. Hopefully they're going to include the sounds in their update.

""Hi,

Just an FYI, the H21a Hopper bin file from the Horseshoe Curve Pack is missing the entire Wagon Sound assignment section of code.

Regards,
Steve""


RSC's response on 10/31/2011

Hi

Thank you very much for your feedback. This is very much appreciated.

Regards
Railsimulator.com Support

Re: Adding sounds to wagons that have none

Unread postPosted: Sun Jan 15, 2012 4:55 pm
by Kali
ID numbers aren't important other than a few places, just copy a random working child entry from somewhere else ( and check the bogieaudiocontrol also ). RWTools can add sounds if they're missing too, I think.

Weren't all the others missing sounds too? I appear to have added defaults to all of mine already so I don't know what was missing and what wasn't.

Re: Adding sounds to wagons that have none

Unread postPosted: Sun Jan 15, 2012 5:03 pm
by Irondale
!!*ok*!!
Hey Ozinoz,
I am having the same issue, tried to tie hopper to the same sound file and then back to the default folder.
RW Tools reported that there was a "sound script errors" before the change...???
The Caboose, Flat car and Box Car sound great with this sound package.
Posted this problem @ Steam to R.S.C., up to 80 reads and no reply yet.
Do you know of a way to contact R.S.C. directly?
It is a shame to have a coal railroad with quiet coal cars.

Good Luck
Irondale

Re: Adding sounds to wagons that have none

Unread postPosted: Mon Jan 16, 2012 12:29 am
by XDriver
Here's what worked for me. I just did it for the HSC Hopper_H21a.

Open your Hopper_H21a.bin with RW tools and scroll to bottom and highlight up to the line and including </CargoDef>. Paste what I have below there. I just copied this from the Kuju coal hoppers. It works.


Code: Select all
</CargoDef>
               <CargoBlueprintID>
                  <iBlueprintLibrary-cAbsoluteBlueprintID>
                     <BlueprintSetID>
                        <iBlueprintLibrary-cBlueprintSetID>
                           <Provider d:type="cDeltaString"></Provider>
                           <Product d:type="cDeltaString"></Product>
                        </iBlueprintLibrary-cBlueprintSetID>
                     </BlueprintSetID>
                     <BlueprintID d:type="cDeltaString"></BlueprintID>
                  </iBlueprintLibrary-cAbsoluteBlueprintID>
               </CargoBlueprintID>
            </cCargoComponentBlueprint>
         </CargoComponent>
         <ContainerComponent>
            <cEntityContainerBlueprint>
               <Children>
                  <cEntityContainerBlueprint-sChild d:id="21668840">
                     <ChildName d:type="cDeltaString">Wagon Sound</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">Audio\RailVehicles\Wagons\Wagon Coal Sound.xml</BlueprintID>
                        </iBlueprintLibrary-cAbsoluteBlueprintID>
                     </BlueprintID>
                     <Matrix>
                        <cHcRMatrix4x4>
                           <Element/>
                        </cHcRMatrix4x4>
                     </Matrix>
                  </cEntityContainerBlueprint-sChild>
               </Children>
            </cEntityContainerBlueprint>
         </ContainerComponent>
         <ScriptComponent>
            <cScriptComponentBlueprint>
               <Name d:type="cDeltaString"></Name>
            </cScriptComponentBlueprint>
         </ScriptComponent>
      </cWagonBlueprint>
   </Blueprint>
</cBlueprintLoader>

Re: Adding sounds to wagons that have none

Unread postPosted: Mon Jan 16, 2012 4:03 pm
by ozinoz
Cheers mate thanks...

That is what I love about this place, people have the knowledge and are happy to share it...

**!!bow!!**


*!!thnx!!*

G

Re: Adding sounds to wagons that have none

Unread postPosted: Mon Jan 16, 2012 4:18 pm
by XDriver
Your welcome. *&!welcome!&*
I don't think we need all that script but I know it works this way.

Re: Adding sounds to wagons that have none

Unread postPosted: Mon Jan 16, 2012 4:33 pm
by Chacal
Copying partial XML fragments is dangerous.
Replace the <Children/> line with this fragment instead

Code: Select all
<Children>
   <cEntityContainerBlueprint-sChild d:id="21668840">
      <ChildName d:type="cDeltaString">Wagon Sound</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">Audio\RailVehicles\Wagons\Wagon Coal Sound.xml</BlueprintID>
         </iBlueprintLibrary-cAbsoluteBlueprintID>
      </BlueprintID>
      <Matrix>
      <cHcRMatrix4x4>
      <Element/>
      </cHcRMatrix4x4>
      </Matrix>
   </cEntityContainerBlueprint-sChild>
</Children>

Re: Adding sounds to wagons that have none

Unread postPosted: Mon Jan 16, 2012 5:45 pm
by ozinoz
Chacal wrote:Copying partial XML fragments is dangerous.
Replace the <Children/> line with this fragment instead


*!!thnx!!*

Sorry, but I am a little confused. Do I add all of XDrivers post or only the portion you have put below? !*don-know!* If so, where do I add it?

!*cheers*!

G

Re: Adding sounds to wagons that have none

Unread postPosted: Mon Jan 16, 2012 7:46 pm
by Chacal
XDriver's post was OK, my suggestions makes it just a little better I think.
Here is the instruction modified a little:

in my post above, click on "Select all" next to "Code:", and copy the selected text.
Open your Hopper_H21a.bin with RW tools and scroll to bottom and highlight the whole line that says <Children/>
Paste over it. This should replace the line with the selected text.

Re: Adding sounds to wagons that have none

Unread postPosted: Mon Jan 16, 2012 7:54 pm
by ozinoz
*!!thnx!!*

will give it a bash at the first opportunity over the coming weekend

!*cheers*!

G

Re: Adding sounds to wagons that have none

Unread postPosted: Tue Jan 17, 2012 4:17 pm
by Irondale
Hey Chacal,
**!!bow!!**
Your code works perfectly *!!thnx!!*
Could not be a any easier to fix !!*ok*!!

Re: Adding sounds to wagons that have none

Unread postPosted: Tue Jan 17, 2012 4:31 pm
by Chacal
XDriver's code actually.
I thank him for it because I applied it to my wagons as well.

Re: Adding sounds to wagons that have none

Unread postPosted: Tue Jan 17, 2012 10:24 pm
by Irondale
*!embar*! My Bad
*!!thnx!!* XDriver *!!thnx!!*
**!!bow!!**

Re: Adding sounds to wagons that have none

Unread postPosted: Tue Jan 17, 2012 10:50 pm
by XDriver
Not a problem guys. Whatever works. !!*ok*!! I make sure I test it so there's no problem with it. I even made a black Hopper_H21a for coal, one for gravel and one for sand and they all work well. I'm not afraid to try things as long as you have backup. LOL! !*salute*!

Image