Plugin basics

View previous topic View next topic Go down

Plugin basics

Post by ecreek on Sun May 25, 2014 7:13 am

Is there a tutorial somewhere that explains how plugins relate to the basic simulation? What do they do that add to the game? How do you install one and access the features that are contained in it?

I am not interested in how to write one but how to use one.

I have made a train with two brake dials, a speedo and various lights that go on or off. This was all done within the panel2.cfg editing. I want to add an ammeter and I have seen plugins that seem to allow for this. Does this mean that there are amp readings which can be extracted from the sim and directed to a meter on the panel? Does a plugin override the information contained in panel2.cfg?

I see good work being done by those who write the plugins and would love to make use of those features.

Thanks for any help.

Michael

ecreek

Posts : 32
Join date : 2011-08-23

Back to top Go down

Re: Plugin basics

Post by jorgecerezo on Tue May 27, 2014 5:29 pm

Hi Michael,

It is possible to simulate an ammeter in openBVE by ussing the motor subject included in panel2.cfg. You can do this without a plugin.
The motor subject returns the acceleration of the motor car in m/s2. Since there is a relation between acceleration and current, it should work like an ammeter.

Regards,

Jorge

jorgecerezo

Posts : 42
Join date : 2013-06-26

Back to top Go down

Re: Plugin basics

Post by ecreek on Wed May 28, 2014 9:51 am

Thanks, Jorge. I will give that a try.

Michael

ecreek

Posts : 32
Join date : 2011-08-23

Back to top Go down

Re: Plugin basics

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