Hornsound help & Three-part hornsounds

MaverickLeader

New member
Hello, not sure this is the place to post this at :o

Sometimes when I make a hornsound for trainz, it will not work in game for reasons I don't know. The horn parts are converted to mono and I'm not sure why this is happening.

Second point is, making three-part hornsounds:D

Like= horn_start
horn_loop
horn_stop

I've also seen three-part hornsounds on youtube. Like this one: http://www.youtube.com/watch?v=2WcZZfKqnKY&feature=g-all-c&context=G2d265d4FAAAAAAAADAA or http://www.youtube.com/watch?v=69RzI_jYTdE&feature=related



Any help is appreciated :wave:
 
To make a three-part hornsound, you need to put the horn start, horn loop, and horn stop in a subfolder named "horn". The files are then named "start", "idle 1", and "stop", respectively. The bell sound goes in the main folder and is "idle 1", as usual. Then add "three-part 1" to the config, and you're good to go! Hope this helps.

I don't know why you're having troubles when the files are all mono. Check to make sure that you have the files named correctly:
Main Folder/horn_start.wav, horn_loop.wav, idle 1.wav (bell) for 2-part horn
Main Folder/idle 1.wav(bell); horn (subfolder)/start.wav, idle 1.wav (horn loop), stop.wav
 
Last edited:
Thank you sir, only thing is I have NEVER messed with the config before. Where do I add the three part 1 at?

Never mind, I found it. Thanks for the help!
 
Last edited:
The config should look something like this:

kuid <kuid:xxxxxx:xxxx>
trainz-build 3.3
category-class "ZH"
category-region "US"
category-era "2000s"
username "generic horn"
kind "hornsound"
author "your name here"
description "This is a generic hornsound"
three-part 1

obsolete-table
{
}

kuid-table
{
}

EDIT: OK, and I was glad to help!
 
Won't loop

kuid <XXXXXXXXXXXX>

obsolete-table
{
}
three-part 1,1
description "honk honk honk."
trainz-build 2.2
category-class "ZH"
category-region-0 "USA"
category-region-1 "CA"
category-era-0 "1960s"
category-era-1 "1970s"
category-era-2 "1980s"
category-era-3 "1990s"
category-era-4 "2000s"
asset-filename "horn"
kind "hornsound"
username "x"
thumbnail
author "xxxxxxxxxxxx)"
organisation "None"
contact-email "xxxxxxxxxx@xxxxxx.com"
contact-website "xxxxxxxxxxxxxxxxxxxxxxxx"
license "Horn"

kuid-table
{
}


------------------------------------------------------------
Can anyone help me loop this?
 
Last edited:
If you want to go to my website, the horn in the second video is available for download, as the horn and the video are mine.

You can then get another example three-part hornsound.

And the three-part config entry should be:

three-part 1

Also, your buld number may be too low. I would try making it 2.4 (TRS2004) not 2.2, as 2.2 (I think) is UTC, which did not support looping hornsounds, let alone three-part ones!
 
Last edited:
Thanks captain, it helped me alot along with Ulmer :D

It's a bit weird when I let go of the key when the horn gets to the loop, other than that, IT WORKS :clap::Y:
 
Thanks captain, it helped me alot along with Ulmer :D

It's a bit weird when I let go of the key when the horn gets to the loop, other than that, IT WORKS :clap::Y:
To fix the loop thing, place a second or so silent space at the start of stop.wav, that's what I did anyway. Experiment to get the best pause length for your hornsound.
 
What exactly do you mean by "place a second or so silent space at the start of stop.wav"? I am sorry for being annoying I want to understand this so I know how to do this in the future
 
Last edited:
What exactly do you mean by "place a second or so silent space at the start of stop.wav"? I am sorry for being annoying I want to understand this so I know how to do this in the future
If the horn loops then stops correctly, do not worry about the space.

If you are using the program I use, ASudacity, you can add silence to a soundtrack. I'd add it at the very start of the soundtrack. That is what my whistle required.
 
Sorry but how do you do that? Im very sorry I'm such a noob
download Audacity. Open your stop.wav sound file in Audacity.

Click at the start of the soundtrack. Then go to the top menu and select "Generate" --> "Silence". Add how many milliseconds by making sure you select a silence adding region with milliseconds in the Specify time menu. Click Ok ot generate the silence. Then save the stop.wav file, then commit the hornsound.

Then test it. If it does not work how you want it to, keep editing the length of the silence.
 
Back
Top