Adding sounds to wagons that have none

Discuss almost anything about RailWorks.

Adding sounds to wagons that have none

Unread postby ozinoz » Sun Jan 15, 2012 4:38 pm

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
ozinoz
 
Posts: 1622
Joined: Fri Feb 20, 2009 1:59 am
Location: Antipodes

Re: Adding sounds to wagons that have none

Unread postby Samwolf » Sun Jan 15, 2012 4:47 pm

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
If God had intended for man to fly, He wouldn't have given us the railroads.
User avatar
Samwolf
 
Posts: 762
Joined: Mon Aug 30, 2010 6:57 pm
Location: South Carolina, CSA

Re: Adding sounds to wagons that have none

Unread postby Kali » Sun Jan 15, 2012 4:55 pm

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.
Kali
 
Posts: 1600
Joined: Mon Mar 14, 2011 1:00 am
Location: England-by-Sea

Re: Adding sounds to wagons that have none

Unread postby Irondale » Sun Jan 15, 2012 5:03 pm

!!*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
Irondale
 

Re: Adding sounds to wagons that have none

Unread postby XDriver » Mon Jan 16, 2012 12:29 am

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>
Last edited by XDriver on Tue Jan 17, 2012 4:01 am, edited 1 time in total.
Image
User avatar
XDriver
R.I.P.
 
Posts: 812
Joined: Wed Oct 19, 2011 7:58 pm
Location: Erie, Pa.

Re: Adding sounds to wagons that have none

Unread postby ozinoz » Mon Jan 16, 2012 4:03 pm

Cheers mate thanks...

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

**!!bow!!**


*!!thnx!!*

G
ozinoz
 
Posts: 1622
Joined: Fri Feb 20, 2009 1:59 am
Location: Antipodes

Re: Adding sounds to wagons that have none

Unread postby XDriver » Mon Jan 16, 2012 4:18 pm

Your welcome. *&!welcome!&*
I don't think we need all that script but I know it works this way.
Image
User avatar
XDriver
R.I.P.
 
Posts: 812
Joined: Wed Oct 19, 2011 7:58 pm
Location: Erie, Pa.

Re: Adding sounds to wagons that have none

Unread postby Chacal » Mon Jan 16, 2012 4:33 pm

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>
Over the hill and gathering speed
Chacal
Site Admin
 
Posts: 6516
Joined: Tue Jul 05, 2011 1:11 pm
Location: Quebec, Canada

Re: Adding sounds to wagons that have none

Unread postby ozinoz » Mon Jan 16, 2012 5:45 pm

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
ozinoz
 
Posts: 1622
Joined: Fri Feb 20, 2009 1:59 am
Location: Antipodes

Re: Adding sounds to wagons that have none

Unread postby Chacal » Mon Jan 16, 2012 7:46 pm

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.
Over the hill and gathering speed
Chacal
Site Admin
 
Posts: 6516
Joined: Tue Jul 05, 2011 1:11 pm
Location: Quebec, Canada

Re: Adding sounds to wagons that have none

Unread postby ozinoz » Mon Jan 16, 2012 7:54 pm

*!!thnx!!*

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

!*cheers*!

G
ozinoz
 
Posts: 1622
Joined: Fri Feb 20, 2009 1:59 am
Location: Antipodes

Re: Adding sounds to wagons that have none

Unread postby Irondale » Tue Jan 17, 2012 4:17 pm

Hey Chacal,
**!!bow!!**
Your code works perfectly *!!thnx!!*
Could not be a any easier to fix !!*ok*!!
Irondale
 

Re: Adding sounds to wagons that have none

Unread postby Chacal » Tue Jan 17, 2012 4:31 pm

XDriver's code actually.
I thank him for it because I applied it to my wagons as well.
Over the hill and gathering speed
Chacal
Site Admin
 
Posts: 6516
Joined: Tue Jul 05, 2011 1:11 pm
Location: Quebec, Canada

Re: Adding sounds to wagons that have none

Unread postby Irondale » Tue Jan 17, 2012 10:24 pm

*!embar*! My Bad
*!!thnx!!* XDriver *!!thnx!!*
**!!bow!!**
Irondale
 

Re: Adding sounds to wagons that have none

Unread postby XDriver » Tue Jan 17, 2012 10:50 pm

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
Image
User avatar
XDriver
R.I.P.
 
Posts: 812
Joined: Wed Oct 19, 2011 7:58 pm
Location: Erie, Pa.

Next

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 4 guests