by Kali » Fri Oct 31, 2014 2:59 am
I'm not remotely up to date on scenario scripting, so if people say you can trigger AI sounds from there then I will believe them ( and ask how! ).
There is another tool introduced with 2015, whistle boards - which are unsurprisingly meant to trigger whistles/horns. Unfortunately they don't work properly yet ( they had to be pulled out of one of the recent dlc ) and I'm not sure if they work as scenario objects, but it's worth some investigation because they'll probably get fixed.
Sadly the AI doesn't read custom signal messages so that sort of simple marker approach is also out. The hardest part of your query is honking when crossing another train - if you can do that from the scenario script, which presumably you can based on proximity, that sounds like a useful piece of code to put in a generic scenario scripting library. Presumably if markers and trains are interchangeable in the scenario script you can use the same code for all of it.