Sponsored Adverts

Author Topic: ERROR: Line [n] is incomplete  (Read 2152 times)

0 Members and 1 Guest are viewing this topic.

Offline kat

  • Administrator
  • Hero Member
  • *
  • Posts: 2370
ERROR: Line [n] is incomplete
« 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]

Tags:
 

Sponsored Adverts
RSS Copyright © 2019 KatsBits™. All Rights Reserved. No part of this or associated properties shall be reproduced without prior consent. AdvertisePrivacy PolicyDMCA (about DMCA) • Copyright PolicyCopyright Contact Home Blog Support About Contact Site Search Site Map RSS feed Forum YouTube FaceBook LinkedIn Twitter Instagram IMVU