Milkshape Export Woes
by Gibby · in Artist Corner · 04/18/2002 (2:20 pm) · 5 replies
Hmmm
Well I've used milkshape to modify the car shape in the Racing mod, export it, but when I run the game I get the following:
Fatal: (D:torque\engine\ts\tsmateriallist.cc @)
TSMaterialList::getFlags: index out of range
I seem to be doing something wrong with exporting the materials but I can't figure out what. I have the materials (.png files) in the same directory as the .dts...
Well I've used milkshape to modify the car shape in the Racing mod, export it, but when I run the game I get the following:
Fatal: (D:torque\engine\ts\tsmateriallist.cc @)
TSMaterialList::getFlags: index out of range
I seem to be doing something wrong with exporting the materials but I can't figure out what. I have the materials (.png files) in the same directory as the .dts...
#2
04/19/2002 (10:00 am)
hmm, I didn't know there were any material problems with the MS exporter. Gil, if you send me the files (ms & jpgs). I can take a quick look.
#3
[edit] Talked to Tim, looks like your opt: material may be assigned to your mesh. Check to make sure it's not...
- rjp
04/19/2002 (10:03 am)
I ran into the same problem. Remove the opt:'s from your material list and see what happens .... I was getting the same thing when the only material I had was one of the special 'opt:'s. I thought I sent a message to Tim about this.[edit] Talked to Tim, looks like your opt: material may be assigned to your mesh. Check to make sure it's not...
- rjp
#4
04/19/2002 (11:16 am)
That would be my guess... havent' tested it yet, but can you check to make sure that you haven't textured any meshes with one of the "opt:" materials? If that's what's causing it, I'll see about getting a fix in.
#5
I'll try to replicate the problem and send you the files...
04/19/2002 (5:48 pm)
Thanks for your posts... I ended up exporting them as 3DS meshes and doing it in MAX... I'll try to replicate the problem and send you the files...
Associate Ken Finney
Tubetti World
1) I had more than one material *and*
2) was running with the DEBUG build.
There is a fatal assert in the DEBUG build that doesn't like the way materials are handled for the wheels...