by ET44C4 » Sat Aug 18, 2018 7:11 am
If you are trying to get the horn to sound louder at farther distances, here are a few lines of code you can play around with in the Horn Sound.bin:
<ActivationDistance d:type="sFloat32">1000.000000</ActivationDistance>
</kLoud-cSingleSampleSound>
<kLoud-cSingleSampleSound d:id="62926520">
<Name d:type="cDeltaString">Horn</Name>
<IsLooped d:type="bool">1</IsLooped>
<Priority d:type="sUInt32">100</Priority>
<BaseVolume d:type="sFloat32">1.000000</BaseVolume>
<VolumeVariation d:type="sFloat32">0.000000</VolumeVariation>
<BasePitchShift d:type="sFloat32">1.000000</BasePitchShift>
<PitchShiftVariation d:type="sFloat32">0.000000</PitchShiftVariation>
<AttenuationStartDist d:type="sFloat32">200.000000</AttenuationStartDist>
<NoFutherAttenuationDist d:type="sFloat32">900.000000</NoFutherAttenuationDist>
<InstanceGroup d:type="ref">0</InstanceGroup>
<Sample>
<kLoud-cSampleID>
<Pathname d:type="cDeltaString">RSC\SD70ACePack01</Pathname>
<Filename d:type="cDeltaString">RSC\SD70Pack02\Audio\RailVehicles\Diesel\SD70ACe\Cab\HornLoop.wav</Filename>
</kLoud-cSampleID>
</Sample>