Page 1 of 1

Editing the Horn Sound File on the P42DC

Unread postPosted: Thu Aug 14, 2014 2:52 pm
by ColoradoRailfan
One thing about the P42 thats been bugging me is that you can only hear the horn at a very short distance. Does anyone have a fix or some file that will allow me to hear the horn at a much farther distance? For example, the Default F7, you can hear the horn from like a mile or two away.

Re: Editing the Horn Sound File on the P42DC

Unread postPosted: Fri Aug 22, 2014 10:06 pm
by FanRailer
ColoradoRailfan wrote:One thing about the P42 thats been bugging me is that you can only hear the horn at a very short distance. Does anyone have a fix or some file that will allow me to hear the horn at a much farther distance? For example, the Default F7, you can hear the horn from like a mile or two away.

you need to go into the proxybin file and locate the code for the horn sounds (usually horn_start, horn_loop, and horn_end, or something similar). Then you need to change the activation distance line of code (I think the value is in meters). Hope this sheds some light.

Re: Editing the Horn Sound File on the P42DC

Unread postPosted: Sat Aug 23, 2014 6:51 pm
by ColoradoRailfan
The .Bin or the .XML?

Re: Editing the Horn Sound File on the P42DC

Unread postPosted: Sat Aug 23, 2014 6:58 pm
by Chacal
the .proxybin and the .proxyxml.
The have to be similar.

Some say only the .proxyxml is necessary, but I have had a different experience.

Re: Editing the Horn Sound File on the P42DC

Unread postPosted: Sat Aug 23, 2014 7:02 pm
by ColoradoRailfan
What does the line look like? Im trying to search it, but it comes up with no results.

Re: Editing the Horn Sound File on the P42DC

Unread postPosted: Sat Aug 23, 2014 8:21 pm
by Chacal
Open Assets\RSC\P42Pack01\Audio\RailVehicles\Diesel\P42DC\Cab\P42DC_Horn.proxybin in RW-Tools.
Look for these two lines:
Code: Select all
<kLoud-cSingleSampleSound d:id="25318">
   <Name d:type="cDeltaString">Horn</Name>


These mark the beginning of the xml node for the Horn loop sound.
A little lower are these two lines:
Code: Select all
<AttenuationStartDist d:type="sFloat32" d:alt_encoding="0000000000005940" d:precision="string">100</AttenuationStartDist>
<NoFutherAttenuationDist d:type="sFloat32" d:alt_encoding="000000000040AF40" d:precision="string">4000</NoFutherAttenuationDist>

This says that, as long as you stay within 100 meters of the engine, the sound will remain at full volume. It will start decreasing at 100 m, until you reach 400m, at which point it won't decrease any further.
These values are pretty much standard.

Re: Editing the Horn Sound File on the P42DC

Unread postPosted: Mon Sep 01, 2014 3:40 pm
by ColoradoRailfan
Hmm, still cant get it to work, ill try more later.