BVEStation Forums
BVE => Content Development => Topic started by: VolvoOlympian on February 06, 2015, 02:24:06 am
-
Is it possible to create a simple DLL that listens to the F6 key press and then plays a sound after 1000ms?
I have no experience in this and I couldn't find any guides on the Internet.
Would be glad if someone could help me get started in this?
-
Are you talking about developing for trains? There are a handful of train plugins out there that use DLL's, but they are no longer encouraged, because of backwards compatibility.
Take a look at our wiki for an API reference under Plugins. http://wiki.bvestation.com/index.php/Main_Page Unfortunately, not many of us have experience with it, but if you do run into issues, we'll try to help as much as we can.
The v1.4.3 source code appears to be using the new plugin system, but I myself haven't explored that section of the code.
-
Are you talking about developing for trains? There are a handful of train plugins out there that use DLL's, but they are no longer encouraged, because of backwards compatibility.
Take a look at our wiki for an API reference under Plugins. http://wiki.bvestation.com/index.php/Main_Page Unfortunately, not many of us have experience with it, but if you do run into issues, we'll try to help as much as we can.
The v1.4.3 source code appears to be using the new plugin system, but I myself haven't explored that section of the code.
Yes, train plugins.
Thanks a lot for the excellent wiki page there, I guess I would implement the IRunTime interface in C# .NET then. But I still have one question, how do I hook up the C# plugin with a train?
-
Sir VolvoOlympian
If you do wish to learn the construction of the DLL plugin for the trains,
you may wish to speak with Sir Chris Lees, as he is now constructing and testing new DLL plugin.
Do see these website pages for more information on this subject.
http://www.bvecornwall.co.uk/wordpress/bvec_ats-design-details/ (http://www.bvecornwall.co.uk/wordpress/bvec_ats-design-details/)
http://bveworldwide.unlimitedboard.com/t1022-alpha-os_ats-in-c (http://bveworldwide.unlimitedboard.com/t1022-alpha-os_ats-in-c)
Good day and night for you