**ALPHA** OS_ATS in C#

Page 6 of 6 Previous  1, 2, 3, 4, 5, 6

View previous topic View next topic Go down

Re: **ALPHA** OS_ATS in C#

Post by leezer3 on Fri Apr 08, 2016 1:52 pm

Greater Anglia Metro wrote:Can't seem to get it working.

Ideally I want to push the button once and then it plays the .wav - no visual whatsoever

That's what comes of writing code off the top of my head and not testing it in sim....
Code:
[Diesel]

[Interlocks]
customindicators=100,101,102
customindicatorsounds=100,101,102

[KeyAssignments]
customindicatorkey1 = D
customindicatorkey2 = E
customindicatorkey3 = F

Complete working/ tested configuration file Smile

Previous post has also been updated, removing the two typos that would have been stopping it working.....

Cheers

Chris Lees

http://www.bvecornwall.co.uk

leezer3

Posts : 750
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Re: **ALPHA** OS_ATS in C#

Post by Greater Anglia Metro on Fri Apr 08, 2016 3:48 pm

Still not doing anything my end... I can't seem to find what I'm doing wrong though... Embarassed

Greater Anglia Metro

Posts : 107
Join date : 2012-03-24
Age : 23
Location : London

Back to top Go down

Re: **ALPHA** OS_ATS in C#

Post by leezer3 on Fri Apr 08, 2016 5:10 pm

Small showcase:
http://www.bvecornwall.co.uk/downloads/external/SoundsTest.zip

Keys 2, 3 and 4 trigger whistle, clank and blowoff sounds- They were what I had handy Smile
(Top numbers, not numpad)

Otherwise completely stripped of everything else other than the panel image.

If necessary, just drop me a mail with a copy of your train and I'm sure I can sort it out.

Cheers

Chris Lees

http://www.bvecornwall.co.uk

leezer3

Posts : 750
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Re: **ALPHA** OS_ATS in C#

Post by Greater Anglia Metro on Fri Apr 08, 2016 5:14 pm

Got it - for some reason I had two cfg files - one I was editing was BVEC_ATS[space].cfg  Mad Embarassed

Greater Anglia Metro

Posts : 107
Join date : 2012-03-24
Age : 23
Location : London

Back to top Go down

Re: **ALPHA** OS_ATS in C#

Post by leezer3 on Fri Apr 08, 2016 5:31 pm

No trouble.

Let me know if there's anything else relatively simple you need, and I'm sure something can probably knocked up without too much trouble.


Cheers

Chris Lees

http://www.bvecornwall.co.uk

leezer3

Posts : 750
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Re: **ALPHA** OS_ATS in C#

Post by Sponsored content Today at 10:22 pm


Sponsored content


Back to top Go down

Page 6 of 6 Previous  1, 2, 3, 4, 5, 6

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum