View previous topic :: View next topic |
Author |
Message |
Il Buzzo DeleD PRO user
Joined: 12 Aug 2004 Posts: 271 Location: Italy
|
Posted: Sun Dec 18, 2005 12:07 pm Post subject: Lua Plugin System |
|
|
Hi Guys,
I would like to create a new plugin that is just an interface to load all lua scripts in plugins dir and execute....this way changing a script you'll create a new plugin each time....without acting on dll code (it will be good for those that don't want to be concerned with compilation and so on...)...
Obviously I'll release in scripting plugin some basic functions too....
What do you think about?
Please let me know, and suggest some particular functions I can add....
Bye all guys ... |
|
Back to top |
|
|
condrula Member
Joined: 07 Oct 2004 Posts: 62 Location: Rome, Italy
|
Posted: Mon Dec 19, 2005 11:58 am Post subject: |
|
|
oh yeah!! Great Idea!!!
Which language for scripting do you choose?
..I vote for vbscript.. _________________ PM 1.73GHz, ATI X700 |
|
Back to top |
|
|
Twixn DeleD PRO user
Joined: 01 Dec 2005 Posts: 136 Location: Melbourne Australia
|
Posted: Mon Dec 19, 2005 12:11 pm Post subject: |
|
|
He plans to use Lua id imagine
If you have't started yet, take a look at http://www.somedude.net/gamemonkey/
before you do, im researching scripting languages at the moment
and its a coin toss between this and lua for my Engine.
-Twixn- _________________ Failure is not an option!....It comes bundled with the software. |
|
Back to top |
|
|
condrula Member
Joined: 07 Oct 2004 Posts: 62 Location: Rome, Italy
|
Posted: Mon Dec 19, 2005 1:46 pm Post subject: |
|
|
Twixn wrote: |
He plans to use Lua id imagine
|
Doh! you are right!
_________________ PM 1.73GHz, ATI X700 |
|
Back to top |
|
|
Il Buzzo DeleD PRO user
Joined: 12 Aug 2004 Posts: 271 Location: Italy
|
Posted: Thu Dec 22, 2005 10:48 am Post subject: |
|
|
Hi Guys,
Owing to the fact I have started to work on Lua plugin system and the core is working yet, I'm releasing a version (you can't do much yet but it's a way to play with it).
I've implemented just the following functions:
-Message(string message,string title) : pop up a message
-AddTestCube() : send a cube to DeleD to test main functionality
plugin will read "test.lua" file present in plugins dir at the moment (it's just a test)...
Well if you want you can test yourself downloading at:
http://www.ilbuzzo.net/downloads/LuaPluginSys.zip
I'm starting implementation of objects classes and of other inner functions...
I hope to have an almost complete version before this year's end...
Bye all |
|
Back to top |
|
|
Twixn DeleD PRO user
Joined: 01 Dec 2005 Posts: 136 Location: Melbourne Australia
|
Posted: Thu Dec 22, 2005 9:32 pm Post subject: |
|
|
Ha, thats great...nice work so far!
-Twixn- _________________ Failure is not an option!....It comes bundled with the software. |
|
Back to top |
|
|
Il Buzzo DeleD PRO user
Joined: 12 Aug 2004 Posts: 271 Location: Italy
|
Posted: Fri Dec 30, 2005 6:27 pm Post subject: |
|
|
Hi Guys,
Great news, I'm releasing LuaPluginSys to public to collect eventual bugs (testing for some days without problems), prior to release a fully documented version, since now added:
-Full DeleD Scene support (Objects,Materials and Lights are exported cleanly to classes to be simply modified, give a look to test files)
-Added some utilities (GetColor, OpenFileName,SaveFileName,.....)
-Added functions to pass to DeleD each class (object,materials and lights)
-Created some support classes as Vertex, UVCoords, Color, Poly etc...
-Added console and error console
-Don't have time to explain all but....give a look to all *.lua function given
to know more
-There is a sample to write a scene from DeleD to a dmf file...
Well if you want you can test yourself this new version you can download at:
http://www.ilbuzzo.net/downloads/LuaPluginSys.zip
Bye all . |
|
Back to top |
|
|
Il Buzzo DeleD PRO user
Joined: 12 Aug 2004 Posts: 271 Location: Italy
|
Posted: Mon Jan 02, 2006 8:45 pm Post subject: |
|
|
Hi All,
I'm releasing full version of Lua Plugin System, in this version you'll find a full help guide, in which each aspect of Plugin System is documented.
There are also code samples for each class and function.
So now you have no excuses, it's time to write your own plugins without using a compiler or having to create a dll for each plugin.
You can do everything you want with this plugin (add your favourite shapes, do particular operation on scene to obtain parameters etc...).
As usual you can download from:
http://www.ilbuzzo.net/downloads/LuaPluginSys.zip
You'll find 4 simple examples (one is to save a scene directly to a compatible DMF file), and full documentation.
Please read it to know more.
Bye All
and enjoy this plugin. |
|
Back to top |
|
|
Il Buzzo DeleD PRO user
Joined: 12 Aug 2004 Posts: 271 Location: Italy
|
Posted: Tue Jan 03, 2006 2:57 pm Post subject: |
|
|
|
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Tue Jan 03, 2006 7:00 pm Post subject: |
|
|
Simply awesome work, you obviously put a lot of work into this! I like the LUA scripting system a lot, and I really hope a lot of people will pick up this new and very convenient way of writing new plugins.
Just put it online. May it get the attention it deserves!
p.s. Any tips for a nice structured way of developing these scripts, for a LUA-noob like me? Using notepad feels a bit... spartan. Getting a fullblown LUA IDE won't give me the DeleD-specific data structures, will it? |
|
Back to top |
|
|
Il Buzzo DeleD PRO user
Joined: 12 Aug 2004 Posts: 271 Location: Italy
|
Posted: Wed Jan 04, 2006 10:20 am Post subject: |
|
|
Hi Paul Jan,
No, Lua Ide won't give you DeleD specific, information, I personally use JEdit, that highlight lua basic command.
I've downloaded Lua Edit 2.5, so if I can I'll add informations about DeleD Lua Plugin sys.
I'll let you know.
Bye . |
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Wed Jan 04, 2006 4:15 pm Post subject: |
|
|
Cool |
|
Back to top |
|
|
Il Buzzo DeleD PRO user
Joined: 12 Aug 2004 Posts: 271 Location: Italy
|
Posted: Tue Jan 10, 2006 4:04 pm Post subject: |
|
|
Hi Guys,
Strangely on my Windows 2000 powered Laptop I'm having troubles showing Lua Plugin System console, do you have the same troubles with Windows 2000? Tested with XP home and pro and things work....
Let me know Bye . |
|
Back to top |
|
|
Il Buzzo DeleD PRO user
Joined: 12 Aug 2004 Posts: 271 Location: Italy
|
Posted: Tue Jan 10, 2006 11:01 pm Post subject: |
|
|
Hi Guys,
Solved Lua Plugin System problem, so now debug console is well shown.
I've also included in main documentation Lua 5.0 and ToLua++ manual reference.
I've added IUP reference manual but it caused the package to became really big [3,66 MB].
So I've decided to release two versions, one called full version that contains full IUP reference but it's [3,66 MB], that you can download from:
http://www.ilbuzzo.net/downloads/LuaPluginSys.zip
And the other one called lightweight [1,12 MB] that contains basic Documentation plus Lua and ToLua++ but not IUP, and you can download from:
http://www.ilbuzzo.net/downloads/LuaPluginSysLV.zip
Note that plugin functionalities are the same as well as examples, the only difference between these two versions is documentation.
Bye All .
Please Jeroen or Paul-Jan update this version on site as soon as possible (debug console is really usefull, i forgot to init pagers (XP does automatically so on XP console worked but other OS no) ), thanks. |
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Wed Jan 11, 2006 9:58 am Post subject: |
|
|
Great work (as always)! Just updated the plugin section. |
|
Back to top |
|
|
|