Page 1 of 1
Error: Line 2038 is incomplete
Posted: Thu Dec 01, 2011 8:14 am
by IveGotPenisEnvy
Any idea what this error is? Happens with every map I try to compile and it stops me from compiling completely. I've tried opening up the map file in Notepad and then copying the whole text there and pasting to make a new map file but it doesn't fix the problem.
Re: Error: Line 2038 is incomplete
Posted: Thu Dec 01, 2011 8:53 am
by Eraser
Post the .map file. Without it we can only guess at what's wrong.
Re: Error: Line 2038 is incomplete
Posted: Thu Dec 01, 2011 9:20 am
by o'dium
Yeah, or use a better editor than Notepad (I use Notepad++) and fine line 2038. Usually its something ultra simple, like a bad character or un closed comment.
Re: Error: Line 2038 is incomplete
Posted: Thu Dec 01, 2011 11:43 am
by IveGotPenisEnvy
It's happening with all my maps and I used Notepad++.
Re: Error: Line 2038 is incomplete
Posted: Thu Dec 01, 2011 11:50 am
by Eraser
All your maps? And all of them report the error that line 2038 is incomplete?
Re: Error: Line 2038 is incomplete
Posted: Thu Dec 01, 2011 1:43 pm
by IveGotPenisEnvy
Yes, even with new maps I created.
Re: Error: Line 2038 is incomplete
Posted: Thu Dec 01, 2011 2:45 pm
by Eraser
Can you perhaps post the exact way you start q3map2 and it's output?
Re: Error: Line 2038 is incomplete
Posted: Thu Dec 01, 2011 3:26 pm
by IveGotPenisEnvy
I use a GUI interface called Quake Toolkit (I have trouble with the usual Q3Map2), I use a lot of outputs. I use -flares, -info, -skyfix and -v for the bsp tab. With VIS tab I use -v. With the light tab I use -dark, -dirty, -filter, -patchshadows, -shade, -smooth, -v and -samples 10. And I use for the BSPC tab -bsp2aas. I've even tried simplified compiling outputs with just bsp and light tabs checked with the -meta and -v outputs checked on the bsp tab but it does the same thing. I just tried it with Q3Map2 but it done the same thing, what's odd though is that when I put it outside my Quake 3 directory and try compiling it works. It just doesn't work whilst I have it in the Quake 3 directory, is it some sort of shader problem?
Re: Error: Line 2038 is incomplete
Posted: Thu Dec 01, 2011 3:29 pm
by Eraser
The logging ouput of q3map2, we need that as well.
Also, inside the Quake Toolkit installation folder, find a file called q3map.bat, open it with notepad and copy/paste the contents in here. It's more readable than what you just posted.
Re: Error: Line 2038 is incomplete
Posted: Thu Dec 01, 2011 4:22 pm
by obsidian
Not related, but FYI:
-flares doesn't work for Q3.
You probably don't want to use -shade and -smooth unless you have a very specific reason.
-samples should be more like 3, not 10.
Don't toss in random compile switches if you don't know what they do.
Read up on them.
Hint: If you want help, and people say that you should post the map file and Q3Map2 logs, it's usually a good idea to do what they ask instead of writing more nondescript paragraphs.
Re: Error: Line 2038 is incomplete
Posted: Thu Dec 01, 2011 4:56 pm
by IveGotPenisEnvy
Flares work in ioquake3 and look good. And I find -shade makes the shadows look slightly better.
Re: Error: Line 2038 is incomplete
Posted: Sat Dec 03, 2011 6:03 pm
by ^Ghost
correct me if im wrong but isnt -shade for phong shading?
Re: Error: Line 2038 is incomplete
Posted: Sun Dec 04, 2011 1:49 am
by obsidian
It is.

Re: Error: Line 2038 is incomplete
Posted: Sun Dec 04, 2011 10:14 am
by Eraser
Still no compiler output...