fisherhazzel Posted July 7, 2014 Share Posted July 7, 2014 So i bought leadwerks engine in the steam store, and this program comes with some prefabs models and other stuff. Now how can i open and prefab file. When i right click the handgun and i click "open file" windows 8 asks me how i want to open it. So how can you edit a prefab? same goes for .mdl files. I have googled myself but couldn't find a good answer, i even searched on the leadwerks forum without succes, the leadwerks tutorial section doesn't have a lot of information about modeling. Also another question can you edit the leadwerks files (Models prefabs and textures). And use these for commercial use without crediting anyone? I hope someone can answer these questions thanks for reading EDIT: I converted my .blend file to .mdl by doing the following exporting the .blend file as a .pfx and putting that in my game directory it automatically gets converted to .mdl. But how do you make a .phy shape file out of a .mdl .pfx or .blend? How can i change the handgun (in the prefab folder) that comes with the program to my own custom model? i want to convert my .fbx or .mdl to .pfb. Quote Link to comment Share on other sites More sharing options...
Rick Posted July 7, 2014 Share Posted July 7, 2014 Dbl click a mdl from the Leadwerks editor under the Assets tab and it'll open up the model editor. If you drag a prefab into your scene you can then edit the parts of it however you want and resave it back. Quote Link to comment Share on other sites More sharing options...
fisherhazzel Posted July 8, 2014 Author Share Posted July 8, 2014 Thanks for the reply i added something to the post. Quote Link to comment Share on other sites More sharing options...
Haydenmango Posted July 8, 2014 Share Posted July 8, 2014 To create a .phy file for your .mdl navigate to your model in the Assets Tab of the Leadwerks Editor then Right-Click the models thumbnail. An option near the bottom will say Generate Shape - Convex Hull or Polymesh. For editing models you want the .fbx of the model. I believe the .mdl is Leadwerks imported version of the model while the .fbx is the origin. You can import a .fbx model into Blender easily and then edit it however you would like. Then when you are finished editing you can export the .fbx model right into your Leadwerks Model folder and it will import into a .mdl file. You can also create a model in Blender and export it as a .fbx into your Leadwerks Model folder and it will import into a .mdl file. Hope this helps! Quote Check out my game Rogue Snowboarding- https://haydenmango.itch.io/roguesnowboarding Link to comment Share on other sites More sharing options...
fisherhazzel Posted July 8, 2014 Author Share Posted July 8, 2014 Thanks now i know how to create shapes. problems solved 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.