Page 1 of 2

[Fairbanks Morse H-16-44] horn issue The Repostening

Unread postPosted: Wed Oct 13, 2021 11:47 pm
by IvanTheRussianDood
I realize there is an audio help section but I made this post over there nearly three days ago and haven't gotten a response, and this help section seems to be more active so here goes.

REEEEEEEPOST

I am having issues getting the horn I've made for my FM H-16-44 to work. The horn is a WABCO E2B1. I have created the horn controller, and horn blueprints within the audio folder and referenced them within the engine blueprint under the children section. I have a functioning horn control button on my HUD which I can click and it responds to said click. However, it will not play any audio when I push the horn button. I used the Davdecoder program to check the dav files to make sure they weren't empty and sure enough they all have sound. I've been cross referencing the audio controller and engine blueprints sections of the developer docs but I can't figure out where the issue is. If someone more experienced is able to help find where the issue is that would be greatly appreciated.

Blueprint xml files and Screenshot Tax below:

Re: [Fairbanks Morse H-16-44] horn issue The Repostening

Unread postPosted: Thu Oct 14, 2021 3:55 am
by bnsfsubdivision
Your "WABCOE2B1 Horn.xml" is the issue. The file path under the "SoundComponent" entry is incorrect.

ThIs:
Code: Select all
<SoundComponent>
   <cSoundComponentBlueprint>
      <ProxyName d:type="cDeltaString">Audio\Horns\Horn\WABCOE2B1_HornControl.xml</Value>
      <Type d:type="cDeltaString">RailVehicle</Type>
   </cSoundComponentBlueprint>
</SoundComponent>


Should read this:
Code: Select all
<SoundComponent>
   <cSoundComponentBlueprint>
      <ProxyName d:type="cDeltaString">TESTSTUFF\FM H-16-44 Phase 1\Audio\Horns\Horn\WABCOE2B1_HornControl</Value>
       <Type d:type="cDeltaString">RailVehicle</Type>
   </cSoundComponentBlueprint>
</SoundComponent>

Re: [Fairbanks Morse H-16-44] horn issue The Repostening

Unread postPosted: Thu Oct 14, 2021 11:24 am
by IvanTheRussianDood
I tried exporting the horn blueprint files with the updated line of code like you said. The blueprint editor threw an error message saying referenced file not found but it still exported without failing. However the horn still isn't playing.

heres the updated horn xml file and a zip with the horn audio.

Re: [Fairbanks Morse H-16-44] horn issue The Repostening

Unread postPosted: Thu Oct 14, 2021 11:34 am
by bnsfsubdivision
Change the line to read:
Code: Select all
<ProxyName d:type="cDeltaString">TESTSTUFF\FM H-16-44 Phase 1\Audio\Horns\Horn\WABCOE2B1_HornControl.xml</Value>
(Thought you were making changes on the exported files and not the source).

You may also want to delete the "EditorRenderComponent" entry in that sound blueprint as it's not required.

Re: [Fairbanks Morse H-16-44] horn issue The Repostening

Unread postPosted: Thu Oct 14, 2021 12:58 pm
by suzukisk
W !!*ok*!! ill you be making any North American versions of this Loco it looks great.

Re: [Fairbanks Morse H-16-44] horn issue The Repostening

Unread postPosted: Thu Oct 14, 2021 1:23 pm
by mindenjohn
The only ones sold outside the US (209) and Canada (58) were 32 to Mexico so the model under construction is by definition North American.
I agree it looks superb.

Re: [Fairbanks Morse H-16-44] horn issue The Repostening

Unread postPosted: Thu Oct 14, 2021 2:27 pm
by IvanTheRussianDood
So I used TS-Tools to edit the output bin files to go to the directory TESTSTUFF\FM H-16-44 Phase 1\Audio\Horns\Horn\WABCOE2B1_HornControl.xml as you suggested, and also found that in the engine blueprint the file directory for the horn blueprint was not set correctly, and was updated to be the same format above. However despite this the horn still isn't blowing in game.

Updated xml files and horn sound zip below:

Re: [Fairbanks Morse H-16-44] horn issue The Repostening

Unread postPosted: Thu Oct 14, 2021 2:29 pm
by IvanTheRussianDood
Also some eye candy for anyone else who stumbles in here.

Re: [Fairbanks Morse H-16-44] horn issue The Repostening

Unread postPosted: Thu Oct 14, 2021 3:10 pm
by bnsfsubdivision
Make the following changes in your source blueprints, do NOT edit the exported xml files.

Within your "Engine blueprint 1", under the "ContainerComponent" section and your "Horn" child entry, the "BlueprintID" path is incorrect. Instead of:
Code: Select all
TESTSTUFF\FM H-16-44 Phase 1\Audio\Horns\Horn\WABCOE2B1 Horn.xml
it should read:
Code: Select all
Audio\Horns\Horn\WABCOE2B1 Horn.xml
.

Furthermore. The "Proxyname" path is once more incorrect in your exported "WABCOE2B1 Horn" file. Instead of:
Code: Select all
TESTSTUFF\FM H-16-44 Phase 1\Audio\Horns\Horn\WABCOE2B1_HornControl.xml
it should read:
Code: Select all
TESTSTUFF\FM H-16-44 Phase 1\Audio\Horns\Horn\WABCOE2B1_HornControl


Do NOT apply the above change to your source file that you export through the blueprint editor. The correct path within your BPE source file should read:
Code: Select all
TESTSTUFF\FM H-16-44 Phase 1\Audio\Horns\Horn\WABCOE2B1_HornControl.xml
When you export it, the BPE will automatically assign the correct extension to the proxy entry.

Re: [Fairbanks Morse H-16-44] horn issue The Repostening

Unread postPosted: Sun Oct 17, 2021 1:31 am
by IvanTheRussianDood
Image
The Horn machine...
It does the dooting now
https://youtu.be/IvPvHHgr8ZI

Re: [Fairbanks Morse H-16-44] horn issue The Repostening

Unread postPosted: Sun Oct 17, 2021 3:11 am
by BNSFdude
That's some proper maritime sounds. Nice work

Re: [Fairbanks Morse H-16-44] horn issue The Repostening

Unread postPosted: Sun Oct 17, 2021 5:07 am
by mindenjohn
That should clear the road ahead. !!*ok*!! !*salute*!

Re: [Fairbanks Morse H-16-44] horn issue The Repostening

Unread postPosted: Mon Oct 18, 2021 6:42 pm
by pkz19
I am so excited for this you have no idea!

Re: [Fairbanks Morse H-16-44] horn issue The Repostening

Unread postPosted: Tue Oct 19, 2021 9:44 pm
by IvanTheRussianDood
Well thanks for the interest in this project, just throwing this out to clear some stuff up.

There is no team behind this. Just me by myself, and I am a fourth year engineering student as well so expect progress to come slowly or possibly glacially. I am not DTM or another bigger team so I don't have the resources to push this thing forward at the speed of sound. However I am keeping myself moving by doing little things to keep the project moving forward slowly.

Some Slavic Madlad in way over his head but surviving somehow

Ivan

-P.S. also if you have questions send me a P.M. on the forum I'll try to answer them when I can

Re: [Fairbanks Morse H-16-44] horn issue The Repostening

Unread postPosted: Mon Dec 13, 2021 11:33 pm
by jpetersjr
Can't wait to see progress in the cab as well.