Game Development Community

Problem to open ComboPack .MAP with QuARK

by Maxime Jouin · in Artist Corner · 10/13/2006 (12:21 am) · 2 replies

Hello,
I bought the ComboPack and I tried to open buildings .map files with QuARK.
But it did not success :(
I have this message : "Syntax error in map file, at line xxx woldspawn entity not found in this file"
Could you help me?

Thanks.

#1
10/13/2006 (10:33 am)
Hi,

This sounds like the Quark might need some header information in the .map file (as some quake based editors do).

If you open up the .map file with a text editor, look at the very first bracket ("{"). Immediately after the bracket, be sure the following is here:

"classname"     "worldspawn"

So a one-brush .map file should look something this for example:


{
	"classname"     "worldspawn"
	{   // 0
		( 0 0 -1095 ) ( 0 500 -1095 ) ( 500 0 -1095 ) RM7 0 0 0 0.3 0.3
		( 0 0 -1160 ) ( 500 0 -1160 ) ( 0 500 -1160 ) RM7 0 0 0 0.3 0.3
		( 904.013 0 0 ) ( 911.704407 0 499.940857 ) ( 1224.105225 384.110626 0 ) RM7 0 0 0 0.3 0.3
		( 889.512878 0 0 ) ( 1209.605103 384.110626 0 ) ( 897.204285 0 499.940857 ) RM7 0 0 0 0.3 0.3
		( -2028.581421 0 0 ) ( -2335.551758 394.676056 0 ) ( -2226.393311 0 459.206299 ) RM7 0 0 0 0.3 0.3
		( -2018.914429 0 0 ) ( -2216.726318 0 459.206299 ) ( -2325.884766 394.676117 0 ) RM7 0 0 0 0.3 0.3
	}
}

This is more than likely the culprit. Quake-based map editors (which most are) sometimes choke without the classname tag being defined, however some .map files are distributed without this tag for range of use on a variety of editors.

Tim A
GG
#2
10/16/2006 (12:08 am)
Hello Timothy,

I added "classname" "worldspawn" and it works ! :)
I just need to setup QuARK to display the map in 3D or solid view.

thanks a lot.