Flashing Button?

View previous topic View next topic Go down

Flashing Button?

Post by jack123 on Sun Apr 14, 2013 7:25 pm

Hi guys me again,
I was wounding if it would be possible to do this, and if so how could I do it. I will explain what I want to do for the benefit of anyone not living in the UK or London. On the Victoria line 2009 stock, when the DVA (digital voice announcer is announcing, e.g the next station is or this is, the P.A button in the cab flashes red. Basically every time an on train announcement is being made, this button will flash red while the annoucement is being made. If you have the 09 stock in openbve, you can see this button in the top right hand corner. So that got me thinking, is there any way I can somehow reproduce this? So somehow trigger a flashing light in the cab when the train passes over an .announce command or when the train is announcing an annoucement in a platform. I know it's a long shot, but this will make this train really realistic. I can quite easily make the red light in paint, as only the outside of the button glows red. Any ideas ??

jack123

Posts : 40
Join date : 2012-12-05
Age : 20

Back to top Go down

Re: Flashing Button?

Post by Quork on Sun Apr 14, 2013 7:44 pm

Only via plugin.
avatar
Quork

Posts : 1098
Join date : 2012-05-05
Age : 26
Location : Hofheim a.T., Hessen (Hesse), European Union

Back to top Go down

Re: Flashing Button?

Post by jack123 on Sun Apr 14, 2013 8:01 pm

Quork wrote:Only via plugin.
Would you consider this plugin complex to make, or would it be quite simple ?

jack123

Posts : 40
Join date : 2012-12-05
Age : 20

Back to top Go down

Re: Flashing Button?

Post by Quork on Sun Apr 14, 2013 8:20 pm

I haven't done one yet, so I can only speculate; however, as you'd need to implement all functions of the currently used plugin (only one plugin per train!), my guess is that it's a tough one.
avatar
Quork

Posts : 1098
Join date : 2012-05-05
Age : 26
Location : Hofheim a.T., Hessen (Hesse), European Union

Back to top Go down

Re: Flashing Button?

Post by jack123 on Sun Apr 14, 2013 8:27 pm

Thanks for your help, I'm going to have to look at some tutorials of plugins of this type.

jack123

Posts : 40
Join date : 2012-12-05
Age : 20

Back to top Go down

Re: Flashing Button?

Post by tof63 on Mon Apr 15, 2013 10:19 pm

I may be wrong, but a flashing light inside the cab is probably achievable as animated object being part of a 3D cab (train inside configured using the file panel.animated instead of panel2.cfg or panel.cfg).
avatar
tof63

Posts : 38
Join date : 2012-05-08
Location : Turin (Italy)

http://bve.altervista.org/index.html

Back to top Go down

Re: Flashing Button?

Post by graymac on Tue Apr 16, 2013 9:52 am

If the function was linked to a train feature (doors, brakes etc) then a variable for the animated function is available (see documentation on ''the animated object'', on obve site)
I assume you refer to the station announcement triggered by the With Track, .station command? If so this is not directly connected to the train object or its plug ins. Best you might mange, without too much complication, might be a animated flahing light added to the train cab object, states conditional on doors opening, which function is supported.
avatar
graymac

Posts : 1745
Join date : 2011-08-28
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

Re: Flashing Button?

Post by jack123 on Tue Apr 16, 2013 4:16 pm

graymac wrote:If the function was linked to a train feature (doors, brakes etc) then a variable for the animated function is available (see documentation on ''the animated object'', on obve site)
I assume you refer to the station announcement triggered by the With Track, .station command? If so this is not directly connected to the train object or its plug ins. Best you might mange, without too much complication, might be a animated flahing light added to the train cab object, states conditional on doors opening, which function is supported.
Thanks both of you, graymac, I have decided that I will link this feature to the train doors, so that when the train doors opens in a station, the button will flash, and then when the doors close it will stop. Could you maybe point me in the right direction of a website what offers a good explanation of how to make a animated object of this type. Many thanks.

jack123

Posts : 40
Join date : 2012-12-05
Age : 20

Back to top Go down

Re: Flashing Button?

Post by graymac on Tue Apr 16, 2013 4:47 pm

@jack - download the documentation from here:
http://odakyufan.zxq.net/openbve/index.html
(it isn't rated 'easy', be warned)

This documentation is really the "Developers Bible", it's worth printing out the whole thing when you've downloaded it.

@Dexter - Please stick this link in the 'College of Knowledge' - A lot of questions are answered in this documentation.
avatar
graymac

Posts : 1745
Join date : 2011-08-28
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

Re: Flashing Button?

Post by Stephen Cross on Tue Apr 16, 2013 9:10 pm

Hi,

Joey is also rewriting a lot of the supporting documentation and it is still a WIP but there is already a lot of simplified information available there.

http://www.bve-terminus.org/joeyfoo/

Bye for now,

Stephen.
avatar
Stephen Cross

Posts : 76
Join date : 2011-11-09
Age : 50
Location : Menangle, NSW, Australia

http://www.bve-terminus.org

Back to top Go down

Re: Flashing Button?

Post by Dexter on Wed Apr 17, 2013 5:49 am

@Gray: It is already there for some time, the very first link. ;-)
avatar
Dexter

Posts : 1842
Join date : 2011-07-08
Age : 32
Location : Brno, Czech republic

http://www.brnobve.eu

Back to top Go down

Re: Flashing Button?

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


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