Compiling Issues

Discussion in 'Mapping Questions & Discussion' started by DrSquishy, Oct 27, 2017.

  1. DrSquishy

    DrSquishy L8: Fancy Shmancy Member

    Messages:
    562
    Positive Ratings:
    134
    I need a little help. My map isn't compiling, and when I go to the brush 788, It says that brush ID doesn't exist

    ** Executing...
    ** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vbsp.exe"
    ** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" "C:\Users\*******\Documents\Maps\cp_bunker V2\cp_bunker_V2.vmf"

    Valve Software - vbsp.exe (Oct 14 2017)
    4 threads
    materialPath: C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\materials
    Loading C:\Users\*******\Documents\Maps\cp_bunker V2\cp_bunker_V2.vmf
    Trying to create a non-quad displacement! (entity 0, brush 788)


    ** Executing...
    ** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vvis.exe"
    ** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" "C:\Users\********\Documents\Maps\cp_bunker V2\cp_bunker_V2"

    Valve Software - vvis.exe (Oct 14 2017)
    4 threads
    reading c:\users\*******\documents\maps\cp_bunker v2\cp_bunker_V2.bsp
    reading c:\users\*******\documents\maps\cp_bunker v2\cp_bunker_V2.prt
    LoadPortals: couldn't read c:\users\*******\documents\maps\cp_bunker v2\cp_bunker_V2.prt


    ** Executing...
    ** Command: Copy File
    ** Parameters: "C:\Users\********\Documents\Maps\cp_bunker V2\cp_bunker_V2.bsp" "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\maps\cp_bunker_V2.bsp"
     
  2. Vel0city

    aa Vel0city func_fish

    Messages:
    1,930
    Positive Ratings:
    1,540
    One of your displacements doesn't have 4 corners. Hide everything but displacements and go for a hunt. Or try the Hammer error checker (alt+p) and see if it points you to the culprit.
     
  3. DrSquishy

    DrSquishy L8: Fancy Shmancy Member

    Messages:
    562
    Positive Ratings:
    134
    I found a displacement face without a top, which I don't remember placing, so I deleted it, recompiled and got this error instead:

    qhull precision error: Only 4 facets remain. Can not merge another
    pair. The convexity constraints may be too strong. Reduce the
    magnitude of 'Cn' or increase the magnitude of 'An'. For example,
    try 'C-0.001' instead of 'C-0.1' or 'A-0.999' instead of 'A-0.9'.
    done (0) (402030 bytes)
    Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
    Water found with no water_lod_control entity, creating a default one.
    Compacting texture/material tables...
    Reduced 531 texinfos to 394
    Reduced 32 texdatas to 28 (798 bytes to 653)
    Writing C:\Users\markdowman\Documents\Maps\cp_bunker V2\cp_bunker_V2.bsp
    Wrote ZIP buffer, estimated size 903, actual size 689
    3 seconds elapsed
     
  4. Vel0city

    aa Vel0city func_fish

    Messages:
    1,930
    Positive Ratings:
    1,540
    This is what Freya did in another thread:

    "This issue for me was caused by two things so far: A displacement that was too big, cutting it into multiple helped,

    And also, displacements in the skybox (that had been scaled down from full size displacements) being off grid. Snapping their verticies to the grid fixed it the second time it appeared."

    Try either of those on displacements that are pretty big or skybox displacments if you have any (or just regular displacements).
     
  5. DrSquishy

    DrSquishy L8: Fancy Shmancy Member

    Messages:
    562
    Positive Ratings:
    134
    Snapped every single one of my displacements to the grid already, and my biggest(in fact all of them) are around 650 X 220 HU
     
  6. DrSquishy

    DrSquishy L8: Fancy Shmancy Member

    Messages:
    562
    Positive Ratings:
    134
    Would lots of displacements cause the issue? out of all the ones, I can only see maybe 4 or so that might cause an issue (even then they are all correctly done, and the corners are grid snapped)
     

    Attached Files: