Frictional Games Forum (read-only)

Full Version: Custom Models
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So I have decided to mess around with making custom models for the level editor. I am wondering if anyone has done this and knows what steps to go through?

I am using Blender, so I was wondering what I would need to export the file as. I am guessing I would have to also load it into the model editor and change the properties before loading it in the editor?

If anyone has done this or is also attempting this, let me know I would love to get some advice! Thanks!
Only exporter I know is this: http://opencollada.org/ for Maya & 3ds Max. Maya exporter works, I used it.
Blender has its own exporter but I didn't get it to work.
http://m.youtube.com/index?desktop_uri=%...0PnYi54go4
Seems he's using the collapse too for blender :p
It didn't help, I'm doing some thing very wrong.
(03-01-2011, 12:23 PM)Tanshaydar Wrote: [ -> ]It didn't help, I'm doing some thing very wrong.

Well, what kind of problems are you having?
I have an .obj model, I open it with blender and try to convert to .dae. But every time I try to convert, blender gives errors.

PS. I have no 3D modeling experience or knowledge.
The problem should be this one:
Quote:(...)
daeTriangles.material = mesh.materials[k].name
AttributeError: 'NoneType' object has no attribute 'name'

Simply add a meterial to the object. (I'm using blender 2.49b, btw)

- Import the .obj file, default settings are fine, I think.

- Then press F5 to show up the material options (or find the Shading icon on the viewport header, click it, and then click the Materials button that will pop up a little to the right (a red ball icon)).

- Then you'll see in there a panel called Link to Object and a button saying Add New. Just click this button to add a new material.
Export, and it all should be ok.

This is an easy solution that will, at least, allow you to export successfuly, but I can't garantee you that it will work all times with all models, though, and I don't know if the model editor from amnesia will read it well. I haven't yet tested model making for it.

But if you got any more problems, feel free to ask.
Cheers.