Game Development Community

Map2dif brush error

by Eckhart, Mark · in Torque Game Engine · 11/28/2007 (5:15 am) · 4 replies

We tried to import simple boxes in map2dif so we could eventually import it in Torque.
But once we hit run on map2dif it gives us an error

* re typing the error after parsing mapfile:

Error processing entity brushlist on or near line: c:\documents and settings\digypiro\desktop\tijdenlijke troep\map 2.map: 6error parsing map file: c:\documents and settings\digypiro\desktop\tijdenlijke troep\map 2.map

c:\>pause
press any key to continue


I make the .map from an simple box made with 3ds max 8, textured by an imagine of 256 x 256 after making it a map with MapExporterV1LE wich comes with Games level builder and then convert it with map2difGUI 1.0.011

Thanks in advanced,
Mark

#1
11/28/2007 (7:39 am)
Check to see if there is a worldspawn entity in the .map file. Also make sure that all of the map blocks are closed.
#2
11/29/2007 (1:01 am)
How can i set-up a world spawn entity ?
#3
11/29/2007 (7:33 am)
Check to see if there is a "classname" "worldspawn" entry in the .map file. I've seen some programs miss that, which causes problems.
#4
11/30/2007 (12:22 am)
Our exporter generates the following .map file:
// This Map file was created using Map Exporter 1.0 Limited Edition for 3ds max.
// For more information go to www.maple3d.com
{ 
"classname" "worldspawn" 
"wad" "\home\projects\v12\example\data\interiors\test\textures.wad"
{
( -91.5709 -65.9004 0 ) ( 112.26 101.149 0 ) ( -91.5709 101.149 0 ) texture 1 0 0 0 1 1
( -91.5709 -65.9004 80.4598 ) ( 112.26 101.149 80.4598 ) ( 112.26 -65.9004 80.4598 ) texture 1 0 0 0 1 1
( -91.5709 -65.9004 0 ) ( 112.26 -65.9004 80.4598 ) ( 112.26 -65.9004 0 ) texture 1 0 0 0 1 1
( 112.26 -65.9004 0 ) ( 112.26 101.149 80.4598 ) ( 112.26 101.149 0 ) texture 1 0 0 0 1 1
( 112.26 101.149 0 ) ( -91.5709 101.149 80.4598 ) ( -91.5709 101.149 0 ) texture 1 0 0 0 1 1
( -91.5709 101.149 0 ) ( -91.5709 -65.9004 80.4598 ) ( -91.5709 -65.9004 0 ) texture 1 0 0 0 1 1
}
}

I found out the problem is with the texture part. apparently the exporter doesn't export it the right way. Thanks for the advice though.
Mark