map2dif error - hand made map
by Fred Harris · in Torque Game Engine · 05/02/2002 (12:19 pm) · 2 replies
Hey all.
I've made a map creator that makes corridors from a set of xyz points. There's not much documentation on the map format, but from what I did find, I managed to get it working.
Problem is, when using map2dif I get the error:
FatalISV::createBaseWinding: Bad face on brush. < 3 points. DMMNOTE: Handle better?
The map comes up fine and can be edited in both WC and Quark. Just the conversion is screwy.
Example map file is at
http://www.chem.unr.edu/~murray/4th-dimension/qmine2.map
Any help would be great.
-Me
I've made a map creator that makes corridors from a set of xyz points. There's not much documentation on the map format, but from what I did find, I managed to get it working.
Problem is, when using map2dif I get the error:
FatalISV::createBaseWinding: Bad face on brush. < 3 points. DMMNOTE: Handle better?
The map comes up fine and can be edited in both WC and Quark. Just the conversion is screwy.
Example map file is at
http://www.chem.unr.edu/~murray/4th-dimension/qmine2.map
Any help would be great.
-Me
#2
Thanks for the help. (I posted in the wrong forum, btw. Just couldn't figure out how to delete the post.)
-Me
05/03/2002 (10:04 am)
Ahh, forgot about that. Okay, I scaled it up by 100 and (int)ed it, and it seems to work now.Thanks for the help. (I posted in the wrong forum, btw. Just couldn't figure out how to delete the post.)
-Me
Torque Owner Desmond Fletcher
fletcher
This isn't a bug...looking at your map file, all the vertices are floating point. Currently, they must be integer. So I think what I said above is what's happening. Change your code to spit out the map with integers.