How do I move my 3D model from blender to my custom script?
3 replies, posted
I have nothing here. Please help
How are we supposed to help if this statement complaining about the thread is longer than both title and content of the thread put together?
Is the script LUA (source) or from another engine like unity or unreal?
I wanted to give out some advices before ending on a bad note but then I realized that there's pretty much nothing else to say.
The script is written in LUA and i'm porting it to garry'smod Probably should have mentioned that my bad
Fuck am I glad this is the case, it's pretty easy once you've done it, install the source import export tool for blender from here: Blender Source Tools (there are instructions, if they don't work then it's just installing a regular blender addon, which there are plenty of tutorials).
I assume the model is a prop because of simplicity, in that case you will have to make sure it is source ready, for a prop to work properly in source it needs a plethora of things:
The prop needs at least one bone, it will be the root and needs to be vertex weighted properly.
The prop needs a collision mesh, else it will be an effect
The prop needs to have the material applied IN the model, that's how source will define what surface of the prop is textures and which one it uses
These steps represent pretty much anything you have to do inside blender to accomodate a succesful export to Gmod, luckly for you there's a video about it, I know it's not the best video but it does the job, as in it's the only video that shows ALL of the above steps, including some such as making VMTs and QCs.
For the second step, the prop might not require a convex mesh, in the case you want it to make concave instead, the steps are a bit more different, a somewhat good explanation is found in this thread: Just ported a model but 2 issues occured
The video explains the very basics, so if you are able to follow through but get stuck on a single part of the process helping you will be easier.
Sorry, you need to Log In to post a reply to this thread.