Difference between revisions of "Mala Plugins"

From BYOAC OLD Wiki
Jump to navigation Jump to search
m (Creating MaLa Plug-Ins)
m (Creating MaLa Plug-Ins)
Line 26: Line 26:
  
 
MS C++:        http://msdn.microsoft.com/vstudio/express/visualc/default.aspx
 
MS C++:        http://msdn.microsoft.com/vstudio/express/visualc/default.aspx
 
... why not make your own Plug-in.
 
  
  

Revision as of 20:09, 2 May 2007

Installing MaLa Plug-Ins

Istalling a plug-in varies a little but basically you need to have the *.mplugin file in the ../mala/plugins directory as well as any other files (like set-up files) that are provided with the Plug-In.

Mala OptionsE.JPG When MaLa starts it looks to see what *.mplugin files are in that directory. It will then list them in..

Assuming you have done the relevent set-up (if any) required for that plug-in, it should the next time you run MaLa.

Creating MaLa Plug-Ins


Know how to code in Delphi or C++?

Even if you don't why not try?

You can download 'Free' Delphi and 'Free' C++ and begin producing your own Plug-ins very quickly:

It can be as complex or as simple as you like. Start by modifying the example supplied. (Event Logger)


Free Download Links:

Turbo Deplhi: http://www.turboexplorer.com/downloads

MS C++: http://msdn.microsoft.com/vstudio/express/visualc/default.aspx


In a Nutshell. The plug-ins are triggered on various events.

eg:

  • MaLa Start
  • Game Start
  • Screen Saver Start
  • more....

On these events you decide what your plug-in will do..

You for example may have the PC do something like make a BEEP noise when you start a game or you may have it do something more complex like mapping controls for your Josticks for a custom control panel.

In any case.. Download the Plug-in SDK and have a play

The explample provided. 'EVENT LOGGER' Saves line to a text file every time a event happens.

When you are ready you can subsitute this code with code of your own to make the plug-in do somethings else..

Have a play.. It's lots of fun :-)


Back to Mala Wiki - Mala Forum