AI Loco horn or whistle
Moderator: Moderators
- anorak001
- Getting the hang of things now
- Posts: 86
- Joined: Fri Oct 29, 2010 7:59 pm
- Location: Nottingham
AI Loco horn or whistle
Is it possible to get an AI loco to sound its horn or whistle before moving off or when appoaching a level crossing?
- bdy26
- Very Active Forum Member
- Posts: 3854
- Joined: Thu Oct 07, 2004 8:34 pm
- Location: Manchester, rain.
Re: AI Loco horn or whistle
I'm not aware of that function, but the ability to script things in lua in this sim means we don't know where the boundaries are. It may be possible but I'm not able to say.
B
B
http://bdy26.co.uk/sbhh/
Builder of The Cockermouth Keswick and Penrith Railway and Lancaster to Carlisle for RW; purveyor of dirty diesels to Vulcan Productions.
Builder of The Cockermouth Keswick and Penrith Railway and Lancaster to Carlisle for RW; purveyor of dirty diesels to Vulcan Productions.
- FoggyMorning
- Very Active Forum Member
- Posts: 5382
- Joined: Sun Apr 25, 2010 1:16 am
- Location: In the not too distant future, next Sunday A.D.
Re: AI Loco horn or whistle
I think some of those more knowledgeable about such things have said it should be possible if you set up a whistle board as a signal. As I understand it, the difficulty would be in having the AI notsound the horn every time it passed a board
-
Natvander
- Been on the forums for a while
- Posts: 186
- Joined: Mon Oct 17, 2011 6:01 am
- Location: NSW, Australia
Re: AI Loco horn or whistle
It would certainly be nice if the session tools were expanded to enable things like this.
- bdy26
- Very Active Forum Member
- Posts: 3854
- Joined: Thu Oct 07, 2004 8:34 pm
- Location: Manchester, rain.
Re: AI Loco horn or whistle
It is possible to apportion a % chance of a sound playing, AP do that with wheel flats and other sounds. The triggering is the issue.
The tech docs have not been updated.... Ever?
B
The tech docs have not been updated.... Ever?
B
http://bdy26.co.uk/sbhh/
Builder of The Cockermouth Keswick and Penrith Railway and Lancaster to Carlisle for RW; purveyor of dirty diesels to Vulcan Productions.
Builder of The Cockermouth Keswick and Penrith Railway and Lancaster to Carlisle for RW; purveyor of dirty diesels to Vulcan Productions.
Re: AI Loco horn or whistle
I have been experimenting with this. I can't get it to work. I can get the horn to turn on but I can not find a way to turn it off. All of my methoads of turning it off mean that the horn does not sound in the first place. If i could get it to work it would be quite simple to script a random function into it so the AI train will only sound the horn at some crossings. You could also have one trigger that would be a random and one trigger that would alway sound.
Kris - Down Main Games