Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Models
Skaruts Offline
Member

Posts: 106
Threads: 11
Joined: Feb 2008
Reputation: 0
#8
RE: Custom Models

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.


Attached Files
.rar   Chair.rar (Size: 381.36 KB / Downloads: 99)
(This post was last modified: 03-07-2011, 10:58 PM by Skaruts.)
03-07-2011, 10:50 PM
Find


Messages In This Thread
Custom Models - by Selyp - 02-26-2011, 08:35 AM
RE: Custom Models - by Tanshaydar - 02-26-2011, 09:59 AM
RE: Custom Models - by nkmol - 02-26-2011, 11:01 AM
RE: Custom Models - by Mofo - 02-26-2011, 08:45 PM
RE: Custom Models - by Tanshaydar - 03-01-2011, 12:23 PM
RE: Custom Models - by Mofo - 03-01-2011, 02:33 PM
RE: Custom Models - by Tanshaydar - 03-01-2011, 03:28 PM
RE: Custom Models - by Skaruts - 03-07-2011, 10:50 PM



Users browsing this thread: 1 Guest(s)