Horn Sound at crossings-modifying

Stewartbf6

New member
I want to have all AI trains signal approach to grade crossing and have found the Sound Horn and the BNSF50 Trackside items work to a point. But that one short little blast is neither prototypical, nor satisfying. Also, having to put multiple triggers can be problematic, and you cannot place them to get a long sonorous blast, just a bunch of punctuated bleats that wouldn't clear ducks of the right away...

Is there another method, or one with more options for length of the blast...can we point to different horn blast files/scripts with the same trigger...I am new to TS, so I don't know how to program it yet.

Thanks

Stewart
 
Open the horn sound of the engines and remove the "two-part 1" line. You'll get a full length run of the horn sound then.
This will also allow you to play the horn sound for as long as you hold down the H button.
 
Last edited:
Open the horn sound of the engines and remove the "two-part 1" line. You'll get a full length run of the horn sound then.
This will also allow you to play the horn sound for as long as you hold down the H button.
Thanks....now how do I go about that. Told you I am so new I am bright green!
 
You're welcome Stouthm.

Thanks....now how do I go about that. Told you I am so new I am bright green!

Select the engine you want to fix the horn sound and rt click and select view dependencies then view in main list. Next select the horn sound and hit ctrl+shift+E. This will open a window that has a config.txt in it. Open it by double clicking on it then find the line that reads "two-part_____1" and delete it. Hit ctrl+S and close everything and commit.
 
You're welcome Stouthm.



Select the engine you want to fix the horn sound and rt click and select view dependencies then view in main list. Next select the horn sound and hit ctrl+shift+E. This will open a window that has a config.txt in it. Open it by double clicking on it then find the line that reads "two-part_____1" and delete it. Hit ctrl+S and close everything and commit.

(Backup worked, will work the problem)
Now I broke it, no horn on the engine I attempted. here is the config file after edit:

username "Nathan K5HL"
kuid <kuid:37581:1012>
category-region "US"
category-era "2000s"
kind "hornsound"
category-class "ZH"
trainz-build 2.9

kuid-table
{
}

I am going to reinstall from the backup...
 
Last edited:
Just a follow up on what I found

Removing the line caused horn not to work, increasing the number to like 8, causes it to bleat longer, an accceptable conclusion. Thank you, I learned a lot!
 
The two-part only has two positions 0 which is off and 1 which is on to a script. So by using 8, which means nothing to a script you turned it off. But any how I'm happy you got it working the way you wanted.
 
You're welcome Stouthm.



Select the engine you want to fix the horn sound and rt click and select view dependencies then view in main list. Next select the horn sound and hit ctrl+shift+E. This will open a window that has a config.txt in it. Open it by double clicking on it then find the line that reads "two-part_____1" and delete it. Hit ctrl+S and close everything and commit.

I've always wanted to change the length of the horn sound when I hold down the H key on some locos too. I'm having trouble with the first one I've tried. I don't see any lines in the config like you describe.

kuid <kuid:138423:112291>
kind "hornsound"

obsolete-table
{
}
description "Single Horn"
trainz-build 2
category-class "ZH"
category-region-0 "US"
category-era-0 "1990s"
category-era-1 "2000s"
username "Leslie A200 Horn"
author "joram24"
organisation "RRMods"
contact-email "joram24@hotmail.com"
contact-website "www.rrmods.com"
license "May not be reused in any form"
asset-filename "Single Bell Horn"

kuid-table
{
}
 
I wonder how one would go about triggering the typical long-long-short-long sequence for crossing approaches...seems like such a simple thing like that is quite complicated to achieve :confused:
 
Also on some of the horn assets changing from "two part 1" to two part 0" will cause the horn not to function. Found out the hard way.

John
 
Yes you're right, when that happens I just change the horn sound in that engine to one that does function without the 2 part.:wave:

Also on some of the horn assets changing from "two part 1" to two part 0" will cause the horn not to function. Found out the hard way.

John
 
Might've found an exception to this mod: I've done it now on a few locos with success, but I just tried performing it on Jointed Rail's C30-7 and the horn didn't function at all. Interestingly, the config file is slightly different then the others,
the "two-part" line is before anything else in the file. Wonder if that matters...
 
When i started changing config.txt files i first cloned the engine-car so not to mess up the orignal.
This way if anything was to go wrong all i had to do was delete the clone and start over again.
Using the cloned one is just as good as the origanal just with the changes.
For the long-long-short-long horn sound use kuid2:95761:540001:1 replace the one with this one besure to change the one in the kuid-table.
 
Back
Top