Page 1 of 1

Horn with Text Editor question

Unread postPosted: Fri Feb 10, 2012 3:43 pm
by uplou217610
Hi, I have a question, once you go in the engine/ cab folder and install your horns wave files then you go to the proxyxml horn file what lines do you edit to except the new horns. Thank you

Re: Horn with Text Editor question

Unread postPosted: Fri Feb 10, 2012 4:11 pm
by dick8299
I guess you would change the Pathname and Filename entries to point to your new sound files. This is an excerpt from the default Kuju SD40 horn.proxyxml file:

<kLoud-cSingleSampleSound d:id="71689280">
<Name d:type="cDeltaString">Horn</Name>
<IsLooped d:type="bool">1</IsLooped>
<Priority d:type="sUInt32">50</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">50.000000</AttenuationStartDist>
<NoFutherAttenuationDist d:type="sFloat32">400.000000</NoFutherAttenuationDist>
<InstanceGroup d:type="ref">0</InstanceGroup>
<Sample>
<kLoud-cSampleID>
<Pathname d:type="cDeltaString">Kuju\RailSimulatorUS</Pathname>
<Filename d:type="cDeltaString">Kuju\RailSimulatorUS\Audio\RailVehicles\Diesel\SD40\Cab\T_SD40_HW_HornLoop.dav</Filename>
</kLoud-cSampleID>
</Sample>
</kLoud-cSingleSampleSound>
<kLoud-cSingleSampleSound d:id="71689664">
<Name d:type="cDeltaString">Horn Start</Name>
<IsLooped d:type="bool">0</IsLooped>
<Priority d:type="sUInt32">50</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">50.000000</AttenuationStartDist>
<NoFutherAttenuationDist d:type="sFloat32">400.000000</NoFutherAttenuationDist>
<InstanceGroup d:type="ref">0</InstanceGroup>
<Sample>
<kLoud-cSampleID>
<Pathname d:type="cDeltaString">Kuju\RailSimulatorUS</Pathname>
<Filename d:type="cDeltaString">Kuju\RailSimulatorUS\Audio\RailVehicles\Diesel\SD40\Cab\T_SD40_HW_HornStart.dav</Filename>
</kLoud-cSampleID>
</Sample>
</kLoud-cSingleSampleSound>
<kLoud-cSingleSampleSound d:id="71617344">
<Name d:type="cDeltaString">Horn End</Name>
<IsLooped d:type="bool">0</IsLooped>
<Priority d:type="sUInt32">50</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">50.000000</AttenuationStartDist>
<NoFutherAttenuationDist d:type="sFloat32">400.000000</NoFutherAttenuationDist>
<InstanceGroup d:type="ref">0</InstanceGroup>
<Sample>
<kLoud-cSampleID>
<Pathname d:type="cDeltaString">Kuju\RailSimulatorUS</Pathname>
<Filename d:type="cDeltaString">Kuju\RailSimulatorUS\Audio\RailVehicles\Diesel\SD40\Cab\T_SD40_HW_HornEnd.dav</Filename>
</kLoud-cSampleID>
</Sample>
</kLoud-cSingleSampleSound>

Re: Horn with Text Editor question

Unread postPosted: Fri Feb 10, 2012 4:32 pm
by uplou217610
Thank you for the tip I will go with and let you know what happens.