Can't figure out loco sound

Need some help understanding the blueprints for making your own engines, coaches and wagons? Here's a good place to start.

Moderator: Moderators

Locked
CajunRon50
Getting the hang of things now
Posts: 65
Joined: Thu Oct 25, 2007 2:48 am

Can't figure out loco sound

Post by CajunRon50 »

Has anyone figured out how to install sound to locomotives (other than the cut and paste method from existing rolling stock). I am really stuck. When I try to create an audio control and export it, I get a parameter incorrect error message but no indication of what parameter is incorrect. I've searched the forums and read just about everything I could find that seemed relevant. I read something about soundemitters and how it is simply an igs object that you "place on the locomotive" but I don't have a clue what that means or how to do it. Please, can anyone point me to some helpful information to figure this out.

Thanks
CajunRon50
Getting the hang of things now
Posts: 65
Joined: Thu Oct 25, 2007 2:48 am

Re: Can't figure out loco sound

Post by CajunRon50 »

Well, to borrow from my French heritage, I think the RS sound blueprints are going to be the coup de grace for my efforts to get a U.S. steam locomotive into FS. I've studied, consulted, and tried everything I could think of all weekend and haven't made one bit of progress.

Whenever I try to build an audio control blueprint and export it I get a blueprint error dialog box openning and stating "the parameter is incorrect". (What parameter, I have no idea). I've tried it with only one sound in the editor. I've even tried it with a blank editor with no sounds. I've started from scratch several times. No matter what I do, I get this useless error message that doesn't give you a clue as to what is wrong.

I've tried all sorts of tricks to try to use existing sounds (the Black5 for example). RS locks up or crashes on most of those attempts. Very frustrating. I guess I will have to put my hope into MSTS2
Sly401
Very Active Forum Member
Posts: 1860
Joined: Thu Apr 07, 2005 9:48 am
Contact:

Re: Can't figure out loco sound

Post by Sly401 »

Hi Ronnie

I can help with putting defalt sounds in...... that is very straight forward.

I have never found a need to make a complete sound blueprint, the sound blueprint is the instuctions to the game as to when to , change to another sample orpitch shift or however they do that, it is certainly not necessary for loco builders to get involved with.

an out line as to adding sound

they are child objects at the bottom of the main engine blueprint, things such as no of cyls etc are set in the simulation files.

If you don't want to use the default sounds, either edit the Wavs in something like soundforge of substite your own sounds for the default.

Any sounds you make place in an audio folder within your own developer tree... check out the examples or default stuff ( have to be in assets tho )

Let me know if you need anything specific, but the sound blueprints are for masochists :D

Sly
CajunRon50
Getting the hang of things now
Posts: 65
Joined: Thu Oct 25, 2007 2:48 am

Re: Can't figure out loco sound

Post by CajunRon50 »

I FINALLY got sound. A kind soul from Canada provide instructions on how to link to the Black5 sounds. It was a simple matter of creating children in the engine blueprint and linking to the appropriate *.xml files for the Black5. What threw me for a while is that the folder does not contain any *.xml files, only *.bin and *.proxybin files. Once again I was "thinking" too much.

So, now onward to tackling shadows.... :crazyeyes:
kevmt
Very Active Forum Member
Posts: 2861
Joined: Tue Dec 04, 2001 12:00 am
Contact:

Re: Can't figure out loco sound

Post by kevmt »

It might be worth looking at the Tutorial :-

"Getting a Loco from 3D Canvas into Railsim", by Kevin Martin and Richard Scott.

This may be of some help and does include a section on sound.

You can find it on the UKTS frontpage. Look to the left of the page for the heading "Editorials". Click on railsim tutorials, and you'll find it thier (along some with other useful items)

Cheers,
Kevin
User avatar
DarrenCarter
Well Established Forum Member
Posts: 717
Joined: Sat Oct 19, 2002 2:44 pm
Location: Swindon

Re: Can't figure out loco sound

Post by DarrenCarter »

Hi CajunRon50,
How did you link it to the appropriate *.xml file then when you said the folder didn't contain any.

I have manage to create and export a new sound file for Richard Scotts Class485 but trying to get it attached to the loco is a nightmare. It say's in the dev docs engine blueprint that the a child sound component has to be manually attached to the loco in the preview window. How do you do this?
Darren.
CajunRon50
Getting the hang of things now
Posts: 65
Joined: Thu Oct 25, 2007 2:48 am

Re: Can't figure out loco sound

Post by CajunRon50 »

Just ignore the fact that the folder does not actually contain *.xml files.

Create a child in your engine blueprint

Child name = Engine Sound
Provider = Kuju
Product = RailSimulator
BluePrintID= Audio\RailVehicles\Steam\Black5\Black5 Engine Sound.xml

Make another child

Child name = ChuffSound
Provider = Kuju
Product = RailSimulator
BluePrintID= Audio\RailVehicles\Steam\Black5\Black5 Chuff Sound.xml

Make one more child

Child name = Whistle
Provider = Kuju
Product = RailSimulator
BluePrintID= Audio\RailVehicles\Steam\Black5\Black5 Whistle Sound.xml

Save and export. AND most importantly...don't do ANYTHING else (that was my problem... I was trying to make it harder than it was)
User avatar
DarrenCarter
Well Established Forum Member
Posts: 717
Joined: Sat Oct 19, 2002 2:44 pm
Location: Swindon

Re: Can't figure out loco sound

Post by DarrenCarter »

Thank's CajunRon50,
I understand what your saying now. You have alised the black5 sounds to run with your loco.

I am trying to get my new sound blueprint into the sim for the Class 485 engine sound so i don't need to alias any of RS or KUJU files. I have managed to create a blueprint and sound marker and I found out last night that the blueprint I created does play in the asset editor preview window so I just need the model to attach it to and were off. Yeah right! :roll:
Darren.
CajunRon50
Getting the hang of things now
Posts: 65
Joined: Thu Oct 25, 2007 2:48 am

Re: Can't figure out loco sound

Post by CajunRon50 »

That's what I had initially tried to do also. If I understand it correctly (and that's a big IF) you need a "soundemitter" to allow you to attache the sound to the logomotive and it is my understanding that Kuju has not made these available. I also understood that you need both a sound blueprint and and audio controller blueprint. The audio controller blueprint always gave me a undeciperable error message when I tried to export it.

Hopefully you will have more luck. If you do, I would be very interested in learning how you did this.
User avatar
tango4262
Very Active Forum Member
Posts: 3262
Joined: Mon Feb 07, 2005 9:37 am
Location: Driving buses!

Re: Can't figure out loco sound

Post by tango4262 »

I'm a bit awash with sounds myself at the moment actually,


I'm trying to use the Black 5 as a testing stage for my sounds, so i tried editing the .proxybin files etc changing the sound file to link to my own sound file (now finding the black 5 whistle file was hard enough as i could only find the chuff and engine sound files at first, but whats even more frustrating is that now when i press the whistle no sound is emitted what so ever and i made sure ten times over that i had got the file names exactly the same, but still nothing.


Sorry i cannot provide more info at this time as i'm on my laptop and can't get to the computer at the moment that has the sounds on it.
User avatar
DarrenCarter
Well Established Forum Member
Posts: 717
Joined: Sat Oct 19, 2002 2:44 pm
Location: Swindon

Re: Can't figure out loco sound

Post by DarrenCarter »

CajunRon50 wrote:That's what I had initially tried to do also. If I understand it correctly (and that's a big IF) you need a "soundemitter" to allow you to attache the sound to the logomotive and it is my understanding that Kuju has not made these available.
Hi Ron,
The soundemitter has to be created yourself from a basic .IGS shape. I made a square pole in 3DC, textured it with a 16x16 texture and exported it as 485EngineSoundEmmiter.IGS
This is what you reference to the audio blueprint so you have a physical marker to attach to the loco.
Then my understanding of this is once you have your loco in the preview window of the asset editor it should appear as a child object to select and attach providing you have declared it in the child objects in the engine blueprint. The marker then becomes embedded with that loco so when the sounds are exported to the sim the marker looks for them and you can also reference other loco's to the sound file by changing thier engine .bins to look for that marker.
I have unpicked RS's class 483 xml's to create my own blueprint and use the wavs that we had for the 38 tube stock in MSTS.
Richard has now sent me the model IGS and IA files for the 485. I already have the cab files so I can now start piecing it all together.
I originally tried editing the Proxybin and Proxyxml files but strange things started happening to the sounds.

David, I tried the same thing as you did at first to get my new blueprint to work and I am now convinced the reason the exported new Audio blueprint does not work is because no marker for it has been attached to anything at time of export.
If you created a dummy loco and exported it with your sound marker attached for your new blueprint then referenced the dummy loco sound marker to use for the black 5 it would most probably work but this would involve unpicking the black 5 engine xml to create the new dummy loco engine xml.

I firmly believe that other than changing the dav file locations to point to your new sound wavs or davs there is no other mod you can make to proxy files without it having a detremental impact and the only way to get a new loco sound blueprint into the sim is attach it to a new loco. A real pain if just want your new sounds working the way you want them attached to an existing loco.
Darren.
CajunRon50
Getting the hang of things now
Posts: 65
Joined: Thu Oct 25, 2007 2:48 am

Re: Can't figure out loco sound

Post by CajunRon50 »

DarrenCarter wrote:
CajunRon50 wrote:That's what I had initially tried to do also. If I understand it correctly (and that's a big IF) you need a "soundemitter" to allow you to attache the sound to the logomotive and it is my understanding that Kuju has not made these available.
Hi Darren,

Thanks for the info. I've settled for the aliased sounds for now but hope to come back to it to customize later. I'll give this a try then. Thanks again.
User avatar
DarrenCarter
Well Established Forum Member
Posts: 717
Joined: Sat Oct 19, 2002 2:44 pm
Location: Swindon

Re: Can't figure out loco sound

Post by DarrenCarter »

No problem Ron,
I'm still in the process of writing my new blueprints for the 485 and I'll report back any findings that will help.
Darren
User avatar
vlado960
Well Established Forum Member
Posts: 753
Joined: Wed Jun 25, 2008 10:21 am
Location: Croatia

Re: Can't figure out loco sound

Post by vlado960 »

Try download the HST sound source files to see how stuff is setup.

regards
Vlado
You must know - English is not my native language.
KONČAR Electric Multiple Unit
Image
Locked

Return to “[RS] Building Rolling Stock”