compiling with worldcraft
by Dr. John Nobody · in Torque Game Engine · 06/01/2003 (5:59 am) · 5 replies
hey, I'm trying to compile a map I made with worldcraft, I followed all the instructions in the help docs and I'm not sure why it wouldnt be working, heres the error I'm getting
Successfully opened map file: c:\TORQUE\EXAMPLE\FPS\DATA\INTERI~1\EVIL1\DIFFILES\CHESSB~1.MAP
Parsing mapfile...Error processing entity brushlist on or near line: c:\TORQUE\EXAMPLE\FPS\DATA\INTERI~1\EVIL1\DIFFILES\CHESSB~1.MAP: 22Error parsing map file: c:\TORQUE\EXAMPLE\FPS\DATA\INTERI~1\EVIL1\DIFFILES\CHESSB~1.MAP
Is there something wrong with my map? and if so what and how do I fix it?
Successfully opened map file: c:\TORQUE\EXAMPLE\FPS\DATA\INTERI~1\EVIL1\DIFFILES\CHESSB~1.MAP
Parsing mapfile...Error processing entity brushlist on or near line: c:\TORQUE\EXAMPLE\FPS\DATA\INTERI~1\EVIL1\DIFFILES\CHESSB~1.MAP: 22Error parsing map file: c:\TORQUE\EXAMPLE\FPS\DATA\INTERI~1\EVIL1\DIFFILES\CHESSB~1.MAP
Is there something wrong with my map? and if so what and how do I fix it?
#2
06/02/2003 (5:17 am)
It looks like there is a problem (very easy to create interiors in Worldcraft that map2dif chokes on). Have you looked at line 22 like the error suggests? The most common problems are when brushes get corrupted into rays or planes. The first step is to actually load the .map file instead of the .rmf and to see if you can see anything visibly wrong like a plane or brush shooting off to the edges of the grid. Failing that, the next step I take is to make a copy of the interior and start deleting brushes till I figure out where the problem lies. Concentrate on complex geometry where you used a lot of the carve tool (this is what usually generates bad geometry).
#3

thanks for your reply
06/03/2003 (11:43 pm)
Mathew, I'm not exactly sure what they mean by line 22, line 22 of what? I didnt see any kind of text file reporting how the export went or anything (this is my first worldcraft attempt, so I dont know too much about it). I loaded the map file and at first it said it had errors and asked me if I wanted to view them, I said ok and it showed be a blank list, then it proceded to laod the map anyway and I couldnt find anything wrong with it, it looked exactly like it should, both the geometry and textures were fine. As for how I made it, I just made a hallowed out cube and used the clipping tool to slice off everything a little bit above the floor. Here is a pic of what I'm trying to make, hopefully it will give you some insight as to what I'm doing wrong.
thanks for your reply
#4
06/04/2003 (5:08 am)
Ah...sorry to confuse you =) The .map file is actual a text file that you can open up in the text editor of your choice (Notepad or Wordpad). You can then go down to line 22 and see if there is anything that looks amuck. My guess from the error would be that you are either missing a } or have an extra one. I would recommend trying this first though...load the .map in Wordlcraft again and let it fuss about the error(s), add a block or something, and save the file back out. Hopefully, this will allow WC the chance to save a "corrected" version. Feel free to email me the .map at matt@rustycode.com if you are stuck.
#5
08/02/2003 (7:12 pm)
Goto the directory where the map gets exported to and look for .err files, those files contain feedback on any failures.
Torque Owner Dr. John Nobody