Niosop Posted January 19, 2010 Share Posted January 19, 2010 For the editor could you have it scan an editor_scripts directory for lua scripts?. Something like how the InitDialog system works but it will add a menu entry to a "Plugins" menu at the top of the editor instead. A list of submenus could be defined in the lua script so when they hover over Plugins->My Nifty Plugin it would show our own options. Some additional callbacks could be defined for the lua scripts so that the plugin could know what was going on with the editor. Something like onModelAdd, onModelDelete, onModelMove, onModelPropertyChange, onTerrainChange, etc. This way we could hook our own code up to expand the editor and share these plugins. For instance a pathfinding plugin could monitor model changes and update a file with new node info every time a model is added or removed. Or, instead of doing it on the fly using callbacks, we could define a menu entry like Plugins->Pathfinding->Generate Nodes which would run our Lua function (which could optionally call a DLL if we wanted speed) to generate a new node list based on the current scene. I think this would allow the editor to grow very quickly via community contributed plugins while not bloating the main editor with features that only a subset of us would really like to have. 2 Quote Windows 7 x64 - Q6700 @ 2.66GHz - 4GB RAM - 8800 GTX ZBrush - Blender Link to comment Share on other sites More sharing options...
Josh Posted January 19, 2010 Share Posted January 19, 2010 Interesting...and you can even use C++ with this, since Lua can call DLLs. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Rick Posted January 19, 2010 Share Posted January 19, 2010 I 2nd this idea. It would be really amazing to see what we can come up with. Of course it would be behind getting a collision function to work on bodies we create in lua Quote Link to comment Share on other sites More sharing options...
VicToMeyeZR Posted January 19, 2010 Share Posted January 19, 2010 Very good idea. +1 from me Quote AMD Phenom II x6 1100T - 16GB RAM - ATI 5870 HD - OCZ Vertex 2 60GB SSD Link to comment Share on other sites More sharing options...
omid3098 Posted January 20, 2010 Share Posted January 20, 2010 + Quote Omid Saadat OD Arts Blog AMD Phenom II X4 940 - Geforce 8800GTS - 4GB RAM - XP x86 AMD 6000+ - Geforce 9800 GT - 2GB RAM - XP x86 (Home pc) Intel Core i7 - Geforce 310M - 4GB Ram - Win7 x64 (Laptop) Link to comment Share on other sites More sharing options...
Michael Betke Posted January 20, 2010 Share Posted January 20, 2010 This is a nice idea. Josh could do some plugins too and earn some extra cash. And we some features we need. Quote Pure3d Visualizations Germany - digital essences AAA 3D Model Shop specialized on nature and environments Link to comment Share on other sites More sharing options...
Niosop Posted January 20, 2010 Author Share Posted January 20, 2010 Ahh, and we would need a way to push things into the editor. As it is, any objects created in code are displayed in editor but aren't actually modifiable or added to the sbx. This way we could have a cave stacking plugin that would allow you to select an object and it would stack the objects to make a cave, then you could tweak the cave manually after that. Quote Windows 7 x64 - Q6700 @ 2.66GHz - 4GB RAM - 8800 GTX ZBrush - Blender Link to comment Share on other sites More sharing options...
Marleys Ghost Posted January 20, 2010 Share Posted January 20, 2010 a cave stacking plugin Blasphemy!!! Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.