Niosop Posted December 29, 2009 Share Posted December 29, 2009 I'm working on a game in LE and Unity in parallel (Unity for lower end hardware and web deployment, LE for downloadable version). The major thing I'm missing in LE right now is prefab support. For instance, I make an ambulance with flashing lights. In Unity, I drop in the ambulance model, then position some lights visually, tweak the settings, then make a prefab out of it. Quick, easy. In LE, I drop in the ambulance model, edit the Lua file, create the lights in code, position them in code, save, tweak position, save, etc. Takes a LOT more time. In retrospect I could have saved some time by adding bones or empties or something to the FBX to help position the lights, but it's one more step that could be avoided. Do you think adding prefab support to the editor would be in your short term roadmap? I know it's been mentioned in the forums before but I'm not sure if it was in the Feature Request forum or not and I don't think Josh ever responded to that thread. Quote Windows 7 x64 - Q6700 @ 2.66GHz - 4GB RAM - 8800 GTX ZBrush - Blender Link to comment Share on other sites More sharing options...
Rick Posted December 29, 2009 Share Posted December 29, 2009 This would be interesting. The ability to save off multiple objects combined as a prefab. I wonder if there would be any way for the community to do this vs Josh doing it in the editor code. Maybe we could have a prefab object. You set the targets of the prefab to all the other objects you want combined together. Then in the settings of the prefab you could have something that saves a new object out there. For this to happen we would need the ability to create an object from lua code. I'm not sure if we have that ability. Quote Link to comment Share on other sites More sharing options...
Josh Posted December 29, 2009 Share Posted December 29, 2009 Yeah, I think this is a good idea. Maybe an SBX can be saved as a model + automatically generated script. Until then, I recommend creating pivots in the mesh, and then using FindChild() to see where the lights should be positioned. 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...
TylerH Posted December 30, 2009 Share Posted December 30, 2009 As not to confuse the level with a prefab, could it be more like a self-contained .PFB or something file. To me it seems like it would be an SBX file, but minus all the terrain and extra stuff, and containing some relationship settings (joints, relative positioning, etc.). Quote nVidia 530M Intel Core i7 - 2.3Ghz 8GB DDR3 RAM Windows 7 Ultimate (64x)----- Visual Studio 2010 Ultimate Google Chrome Creative Suite 5 FL Studio 10 Office 15 ----- Expert Professional Expert BMX Programmer ----- Link to comment Share on other sites More sharing options...
fuego Posted January 3, 2010 Share Posted January 3, 2010 I am someone who has asked for this feature in the near past too. I think this would be an incredible feature! Quote 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.