If this is your first visit, welcome to TrainSim.Com! This web site is for you if you are interested in railway simulations. We offer a library of downloadable files, forums to exchanges messages, news and more. We do not
sell train simulator software.
For full use of the site please
register.
Until you do, you will not be able to download files or post messages.
Hiiiiii,,, i am making a route in which there are many overtakes,, so someone can tell me how to make AI trains honk when passing/overtaking player train????
Thanks.
and if it is wrong thread for posting this,, I Am Sorry
I have a few addons, where horn blasts on AI train are activated by various triggers, i.e. by proximity (which is what you want) or by speed (i.e. when stopping or starting). The latter is sometimes quite annoying...
The InvisioCar concept is good. And surprised it hasn't been upgraded or 'borrowed and bettered' for either freeware or payware routes by SLI or MLT or the like? I'm still getting my feet wet understanding SMS, but think the Invisiocar idea could go well beyond the current two honks with a cantankerous horn that goes ripping through the cab sometimes. I know Jim and Stu only had so much to work with at the time, and were proud just to make the concept work. But think there's a lot more potential that could be had - be it 2 longs, 1 short, 1 long. Additional bell ringing. Radio scanner messages that play in the cab as the AI passes, and so on.
Were you referring to the InvsioCar idea Sebastian, or you've exploited them even more and have you add ons here in the library as well?
[...]Were you referring to the InvsioCar idea Sebastian, or you've exploited them even more and have you add ons here in the library as well?
Actually, the German addons I am referring to, the triggers for horn blasts are built right into the AI locos themselves. For example it goes like this: A steam engine makes a short "I intend to move!" blast when beginning to move or once an electric engine stops, its compressors start running. Or via proximity trigger, most German addon locomotives I have blast their horn at a certain distance from the player train.
Once I get home tonight, I can have a look at some SMS-files and post the respective code.
That would be interesting to see and learn from indeed! So these would be in payware add ons then? I like poking around TheTrain.de and like to think I understand German a wee bit, though Google Translate is a great help. I've come across some interesting freeware engines and unique sounds for them. But have never experienced anything like you're talking about Sebastian.
Thanks Sebastian, that's interesting to see for sure. So I take it that it's whistle, then the 50Start1 is the engine sound? And when it get's to 10mph or so the whistle sounds again. And does the Distance_Dec_Past line mean that the train will even blow it's whistle if your approaching it in either direction on the mainlines about 150ft away?
Yeah, the soundset plays a starting sound (like a steamer does when starting a train) along with a whistle when accelerating from stop. When approaching to said distance, it plays a long whistle. Quite cool actually.
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment