Editing the Horn Sound File on the P42DC

Making, fixing and applying sound files.

Editing the Horn Sound File on the P42DC

Unread postby ColoradoRailfan » Thu Aug 14, 2014 2:52 pm

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.
Moffat Tunnel W.I.P
User avatar
ColoradoRailfan
 
Posts: 591
Joined: Mon Jul 14, 2014 11:17 am
Location: Denver, CO

Re: Editing the Horn Sound File on the P42DC

Unread postby FanRailer » Fri Aug 22, 2014 10:06 pm

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.
User avatar
FanRailer
 
Posts: 999
Joined: Mon Jan 20, 2014 12:37 pm

Re: Editing the Horn Sound File on the P42DC

Unread postby ColoradoRailfan » Sat Aug 23, 2014 6:51 pm

The .Bin or the .XML?
Moffat Tunnel W.I.P
User avatar
ColoradoRailfan
 
Posts: 591
Joined: Mon Jul 14, 2014 11:17 am
Location: Denver, CO

Re: Editing the Horn Sound File on the P42DC

Unread postby Chacal » Sat Aug 23, 2014 6:58 pm

the .proxybin and the .proxyxml.
The have to be similar.

Some say only the .proxyxml is necessary, but I have had a different experience.
Over the hill and gathering speed
Chacal
Site Admin
 
Posts: 6466
Joined: Tue Jul 05, 2011 1:11 pm
Location: Quebec, Canada

Re: Editing the Horn Sound File on the P42DC

Unread postby ColoradoRailfan » Sat Aug 23, 2014 7:02 pm

What does the line look like? Im trying to search it, but it comes up with no results.
Moffat Tunnel W.I.P
User avatar
ColoradoRailfan
 
Posts: 591
Joined: Mon Jul 14, 2014 11:17 am
Location: Denver, CO

Re: Editing the Horn Sound File on the P42DC

Unread postby Chacal » Sat Aug 23, 2014 8:21 pm

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

Re: Editing the Horn Sound File on the P42DC

Unread postby ColoradoRailfan » Mon Sep 01, 2014 3:40 pm

Hmm, still cant get it to work, ill try more later.
Moffat Tunnel W.I.P
User avatar
ColoradoRailfan
 
Posts: 591
Joined: Mon Jul 14, 2014 11:17 am
Location: Denver, CO


Return to Sound Application

Who is online

Users browsing this forum: No registered users and 1 guest