BVE WorldWide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Writing a plugin?

+2
LabRatAndy
Tstageman
6 posters

Go down

Writing a plugin? Empty Writing a plugin?

Post by Tstageman Sat Jun 09, 2012 6:38 pm

Folks,

Just a quick question, what is involved in writing a plugin? I know basically what they are for but have no idea about how to write/make one or edit one or anything like that. I am looking to write a plugin for in game announcements such as for the London Underground routes we have.

Kind Regards

Tom
Tstageman
Tstageman

Posts : 154
Join date : 2011-10-21

Back to top Go down

Writing a plugin? Empty Re: Writing a plugin?

Post by LabRatAndy Sat Jun 09, 2012 7:25 pm

If you don't know how to programme in one of the .net languages, you'll need to learn one as a minimum. Can give a link to a good free C# e-book if you want.
The announcement in LU routes are I believe nothing to do with any plugin. I think they are just announcements as part of the .sta command or a .announce (might not be the right name) command.

LabRatAndy

Posts : 101
Join date : 2011-08-29

Back to top Go down

Writing a plugin? Empty Re: Writing a plugin?

Post by Tstageman Sat Jun 09, 2012 9:18 pm

Yes, they normally are part of the actual route file, I have used them in that format before, but I was looking to bring the announcements feature a little further on by getting into plugins...Yes please that'd be great.

Tom
Tstageman
Tstageman

Posts : 154
Join date : 2011-10-21

Back to top Go down

Writing a plugin? Empty Re: Writing a plugin?

Post by LabRatAndy Sat Jun 09, 2012 9:27 pm

Here you go http://www.programmersheaven.com/2/CSharpBook

LabRatAndy

Posts : 101
Join date : 2011-08-29

Back to top Go down

Writing a plugin? Empty Re: Writing a plugin?

Post by Quork Sat Jun 09, 2012 9:38 pm

Please be aware there currently can be only one plugin at once. Making either OpenBVE multiplugin-usable or creating a socket plugin would be, in my eyes, something on the very top of the priority list.
Quork
Quork

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

Back to top Go down

Writing a plugin? Empty Re: Writing a plugin?

Post by joeyfjj Sun Jun 10, 2012 3:57 pm

I used this, buried deep within a no-longer-existent forum.

http://odakyufan.zxq.net/trainscript/index.html

joeyfjj

Posts : 266
Join date : 2011-07-30
Location : Singapore

http://joeyfoo.com

Back to top Go down

Writing a plugin? Empty Re: Writing a plugin?

Post by alvinhochun Mon Jun 11, 2012 7:43 am

Writing a plugin is really simple. You only need to know ANY one of those .NET languages (official languages are C#, VB .NET, C++ CLI) (unofficial? like in SharpDevelop they support Boo, F#, Python, Ruby also) and also a copy of the original openBVE documentation.
alvinhochun
alvinhochun

Posts : 88
Join date : 2012-05-08
Location : Hong Kong

Back to top Go down

Writing a plugin? Empty Re: Writing a plugin?

Post by Drag0nflamez Mon Jun 11, 2012 4:45 pm

F# is also official.. (it's included with VS2010), also, C++ is NOT .NET.

Drag0nflamez

Posts : 210
Join date : 2012-05-11
Location : The Netherlands

Back to top Go down

Writing a plugin? Empty Re: Writing a plugin?

Post by alvinhochun Tue Jun 12, 2012 2:48 am

Drag0nflamez wrote:C++ is NOT .NET.
I think you need to read this http://en.wikipedia.org/wiki/C%2B%2B/CLI
alvinhochun
alvinhochun

Posts : 88
Join date : 2012-05-08
Location : Hong Kong

Back to top Go down

Writing a plugin? Empty Re: Writing a plugin?

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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