Animated Two Tone Horn Levers
Moderator: Moderators
- nelson
- Well Established Forum Member
- Posts: 904
- Joined: Sun Jul 07, 2002 8:56 pm
- Location: Tractor country, Suffolk
- Contact:
Animated Two Tone Horn Levers
Hi All, I was wondering if it would be possible to create a horn lever that can be clicked and dragged both ways, ie up for the high note and down for the low note ( returning to centre position ) to play single tones as with my two tone horn sounds which are operated with the space bar and B key ( two seperate .wav files ) as at present it only goes up and then back to the centre.
I believe it is possible with Raildriver? Could it be possible with the mouse?Is it a good idea? would it work? Please let me know
Cheers
Nelson
I believe it is possible with Raildriver? Could it be possible with the mouse?Is it a good idea? would it work? Please let me know
Cheers
Nelson
- arabiandisco
- Very Active Forum Member
- Posts: 3496
- Joined: Mon May 10, 2004 9:49 am
- Location: The Church of Noise
- Contact:
- Fodda
- Very Active Forum Member
- Posts: 6157
- Joined: Fri Feb 22, 2002 12:00 am
- Location: Bristol, England
Please don't cross post the same thing in seperate forums as it gets confusing as to which one to add to and the replies can often get lost between the two threads.
Anyway, you pose an interesting question there.
Away from my MSTS setup, I can only guess, but from my cab-building experience I'd say it's technically possible, but would probably be a futile move.
Why? Well... The horn only has two positions in MSTS as does the bell switch. You could use the four animations that these two controls make to have a horn down and up, and two central positions. Exactly as you surmised.
However they would be two animation setups, one on top of the other. Unfortunately, MSTS only allows you to click on the topmost of any overlapping part of animations, so you'd need to make the bottom animation frames bigger than the top so you could select it.
Example? OK... You make the up-lever animation 50 pixels taller than the down-lever animation. You click on the middle of the horn lever to produce the down-lever sound, then move the mouse up to the 50 pixel extra area and then click there to produce the up-lever sound. No dragging with the mouse I'm afraid, and it could be fiddly as there would be no obvious click area for the up-lever animation.
It COULD be done, but would it be worth it?
Mind you... Have I just given away a great cab selling point now? Hmmmm...

Anyway, you pose an interesting question there.
Away from my MSTS setup, I can only guess, but from my cab-building experience I'd say it's technically possible, but would probably be a futile move.
Why? Well... The horn only has two positions in MSTS as does the bell switch. You could use the four animations that these two controls make to have a horn down and up, and two central positions. Exactly as you surmised.
However they would be two animation setups, one on top of the other. Unfortunately, MSTS only allows you to click on the topmost of any overlapping part of animations, so you'd need to make the bottom animation frames bigger than the top so you could select it.
Example? OK... You make the up-lever animation 50 pixels taller than the down-lever animation. You click on the middle of the horn lever to produce the down-lever sound, then move the mouse up to the 50 pixel extra area and then click there to produce the up-lever sound. No dragging with the mouse I'm afraid, and it could be fiddly as there would be no obvious click area for the up-lever animation.
It COULD be done, but would it be worth it?
Mind you... Have I just given away a great cab selling point now? Hmmmm...
- nelson
- Well Established Forum Member
- Posts: 904
- Joined: Sun Jul 07, 2002 8:56 pm
- Location: Tractor country, Suffolk
- Contact:
Hi Fodda, thanks for that, I'm sure a lot of people would find it an interesting change to the norm, such as people who enjoy a touch of realism to British trains, ie: DMUs now coming with 4 gears and
reversable lighting etc. It's great to see advances being made such as two tone horns and the brilliant Xtracks, remember when you bought your first copy of MSTS? Pretty dull by todays standards.
Sorry about the cross posting, I was excited about telling people, I think it's a great idea if it can be done.
Regards
Nelson
reversable lighting etc. It's great to see advances being made such as two tone horns and the brilliant Xtracks, remember when you bought your first copy of MSTS? Pretty dull by todays standards.
Sorry about the cross posting, I was excited about telling people, I think it's a great idea if it can be done.
Regards
Nelson
- Fodda
- Very Active Forum Member
- Posts: 6157
- Joined: Fri Feb 22, 2002 12:00 am
- Location: Bristol, England
I may have a quick experiment this evening to see just how useable it could be.
The only other fly in the ointment I can see is that a few of Chris Baily's excellent sound scapes (and of course the fantastic Small Shunter Sounds) use the 'B' key as a way of utilising engine start and stop sounds.
Of course, I'll try it with an engine that doesn't have these sounds.
The only other fly in the ointment I can see is that a few of Chris Baily's excellent sound scapes (and of course the fantastic Small Shunter Sounds) use the 'B' key as a way of utilising engine start and stop sounds.
Of course, I'll try it with an engine that doesn't have these sounds.
-
MrHillingdon
- Well Established Forum Member
- Posts: 719
- Joined: Fri Sep 10, 2004 4:38 pm
- Location: Leighton Buzzard
- Contact:
- nelson
- Well Established Forum Member
- Posts: 904
- Joined: Sun Jul 07, 2002 8:56 pm
- Location: Tractor country, Suffolk
- Contact:
Hi Mr Hillingdon, yes we're on about the horn lever in the cab view, when you click on it it goes 'up' and plays the horn sound before returning to the centre. What I'm asking is can the horn lever then be made to go 'down' to play the other tone as in real life. At present the two tones can only be played using the space bar and B key as you rightly pointed out. I have now uploaded a few samples in the download area, they're not great but they're getting better now people are kindly sending me their recordings. I think they give a bit more variety and a bit more realism for British trains, the other possibility we are looking at is using another 'spare' key to operate the Bell or whatever. I haven't got West Somerset add-on yet, wonder what Santa's got for me??? 
Regards
Nelson
Regards
Nelson
-
MrHillingdon
- Well Established Forum Member
- Posts: 719
- Joined: Fri Sep 10, 2004 4:38 pm
- Location: Leighton Buzzard
- Contact: