KatsBits Community

Game Editing => Q3Map / Q3Map2 Compile Errors => Topic started by: kat on June 25, 2015, 09:27:38 PM

Title: ERROR: Line [n] is incomplete
Post by: kat on June 25, 2015, 09:27:38 PM
In the previous case, this was fixed by easily copy the entire map in text form (open up the .map file in a text editor and copy everything), and then paste it into a new .txt file, then rename it to .map and open it. Run a brush clean up, and you should be good to go. [fjoggs]



[Addendum] The root of "Error: Line [n] is Incomplete" literally stems from an incomplete or malformed line of data in the *.map file (or *.shader). For example a brush volume may be defined in the *.map file as follows (RtCW);

Code: [Select]
// brush 0
{
( 256 192 -8 ) ( -192 192 -8 ) ( -192 -128 -8 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
( -192 -128 0 ) ( 256 -128 0 ) ( 256 -128 -8 ) common/caulk 0 -16 0 0.500000 0.500000 0 0 0
( 256 -128 0 ) ( 256 192 0 ) ( 256 192 -8 ) common/caulk 0 -16 0 0.500000 0.500000 0 0 0
( 256 192 0 ) ( -192 192 0 ) ( -192 192 -8 ) common/caulk 0 -16 0 0.500000 0.500000 0 0 0
}

When it should be defined as;

Code: [Select]
// brush 0
{
( 256 192 -8 ) ( -192 192 -8 ) ( -192 -128 -8 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
( -192 -128 0 ) ( 256 -128 0 ) ( 256 -128 -8 ) common/caulk 0 -16 0 0.500000 0.500000 0 0 0
( 256 -128 0 ) ( 256 192 0 ) ( 256 192 -8 ) common/caulk 0 -16 0 0.500000 0.500000 0 0 0
( 256 192 0 ) ( -192 192 0 ) ( -192 192 -8 ) common/caulk 0 -16 0 0.500000 0.500000 0 0 0
( -192 192 0 ) ( -192 -128 0 ) ( -192 -128 -8 ) common/caulk 0 -16 0 0.500000 0.500000 0 0 0
( -192 192 0 ) ( 256 192 0 ) ( -192 -128 0 ) assault/awall_m04 0 0 0 0.500000 0.500000 0 0 0
}

The last two lines are missing so the brush being defined has four instead of six sides, invalidating the volume and making it 'incomplete'. Although a relatively obvious example, data formatting and structure present (or not) in the *.map file that typically trigger this message, requiring the user of Brush Cleanup ("Plugins » bobToolz » Brush Cleanup") to remove "invalid/puplicate planes". [kat]