Jump to content

Functions for saving meshes and animations


Bytecroc
 Share

Recommended Posts

I wish for Leadwerks some functions for saving 3D model stuff.

Not inside the editor, I wish to export a model in .fbx format and .mdl

as a prefab it would also be nice.

  • Upvote 1

Leadwerks 4.x Pro, examples please for C++,

english is not my native language.

Link to comment
Share on other sites

  • 2 months later...

I know that there is a tool under "Steam\steamapps\common\Leadwerks Game Engine\Tools" called fbx2mdl. It's an old school console program that the editor uses. If you use a batch program to launch it with pause, it will tell you its parameters. Sadly, this is the only tool that gives you help with compile parameters except VTFCmd, but ALL Valve/Source tools do.

 

Not sure it can decompile mdl to fbx if that's what you want.

Cyclone - Ultra Game System - Component PreprocessorTex2TGA - Darkness Awaits Template (Leadwerks)

If you like my work, consider supporting me on Patreon!

Link to comment
Share on other sites

I want to make a game with the option that users can import their own entities, meshes inside the game.

At the moment the engine can only use .mdl files.

You can only convert the meshes with the editor, possibly it uses the tool.

Second option is the Blender plugin, but it's for Leadwerk users only. And sometimes it works not properly.

 

A funktion to load a file format like .fbx, .x or .obj directly inside Leadwerks and a function to save this mesh as .mdl or prefab

would be nice. Other people wich owned the game but did not have Leadwerks, can then load models from Blender or Wings3D or other modelers inside the game.

Inside the program then it'spossible to add a shader or more on it and save as prefab or .mdl for further use.

Leadwerks 4.x Pro, examples please for C++,

english is not my native language.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...