Error: Line 2038 is incomplete

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
IveGotPenisEnvy
Posts: 71
Joined: Tue May 24, 2011 7:36 pm

Error: Line 2038 is incomplete

Post 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.
User avatar
Eraser
Posts: 19175
Joined: Fri Dec 01, 2000 8:00 am

Re: Error: Line 2038 is incomplete

Post by Eraser »

Post the .map file. Without it we can only guess at what's wrong.
o'dium
Posts: 11712
Joined: Sun Mar 25, 2001 8:00 am

Re: Error: Line 2038 is incomplete

Post 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.
IveGotPenisEnvy
Posts: 71
Joined: Tue May 24, 2011 7:36 pm

Re: Error: Line 2038 is incomplete

Post by IveGotPenisEnvy »

It's happening with all my maps and I used Notepad++.
User avatar
Eraser
Posts: 19175
Joined: Fri Dec 01, 2000 8:00 am

Re: Error: Line 2038 is incomplete

Post by Eraser »

All your maps? And all of them report the error that line 2038 is incomplete?
IveGotPenisEnvy
Posts: 71
Joined: Tue May 24, 2011 7:36 pm

Re: Error: Line 2038 is incomplete

Post by IveGotPenisEnvy »

Yes, even with new maps I created.
User avatar
Eraser
Posts: 19175
Joined: Fri Dec 01, 2000 8:00 am

Re: Error: Line 2038 is incomplete

Post by Eraser »

Can you perhaps post the exact way you start q3map2 and it's output?
IveGotPenisEnvy
Posts: 71
Joined: Tue May 24, 2011 7:36 pm

Re: Error: Line 2038 is incomplete

Post 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?
Last edited by IveGotPenisEnvy on Thu Dec 01, 2011 3:32 pm, edited 1 time in total.
User avatar
Eraser
Posts: 19175
Joined: Fri Dec 01, 2000 8:00 am

Re: Error: Line 2038 is incomplete

Post 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.
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Error: Line 2038 is incomplete

Post 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.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
IveGotPenisEnvy
Posts: 71
Joined: Tue May 24, 2011 7:36 pm

Re: Error: Line 2038 is incomplete

Post by IveGotPenisEnvy »

Flares work in ioquake3 and look good. And I find -shade makes the shadows look slightly better.
^Ghost
Posts: 230
Joined: Tue Sep 08, 2009 3:35 am

Re: Error: Line 2038 is incomplete

Post by ^Ghost »

correct me if im wrong but isnt -shade for phong shading?
[url=https://github.com/Garux/netradiant-custom]NRC[/url]
[url=https://defrag.racing/]Defrag[/url]
[url=http://ws.q3df.org/]Q3 Map Archive[/url]
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Error: Line 2038 is incomplete

Post by obsidian »

It is. :shrug:
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
User avatar
Eraser
Posts: 19175
Joined: Fri Dec 01, 2000 8:00 am

Re: Error: Line 2038 is incomplete

Post by Eraser »

Still no compiler output...
Post Reply