Weird map updating vis group bug

Discussion in 'Mapping Questions & Discussion' started by WombatSauce, Mar 7, 2016.

  1. WombatSauce

    WombatSauce L3: Member

    Messages:
    115
    Positive Ratings:
    6
    Hi, for one of my maps, I'm running into problems with the vis group compiler/ the compiler over all. For one, I can't compile my map, and it says something along the lines of "missing file." Also, before, when I could compile, The auto vis group creator was broken. It would just turn brushes invisible, and be just generally stupid. What should I do?
     
  2. Vel0city

    aa Vel0city func_fish

    Messages:
    1,900
    Positive Ratings:
    1,512
    You mean "Windows can't find the file specified" at the end of the compile progress? That happens when VBSP stops compiling and doesn't produce a bsp file for VVIS and VRAD to work with. Check your compile log and see if anything bad happened within the VBSP compiling steps, such as a leak or displacements bound to entities. As for the vis groups, I have no idea.
     
  3. WombatSauce

    WombatSauce L3: Member

    Messages:
    115
    Positive Ratings:
    6
    ok. I have a feeling that the vis groups are being caused by the same probelm, and fixing one will fix both.
     
  4. WombatSauce

    WombatSauce L3: Member

    Messages:
    115
    Positive Ratings:
    6
    found that the error is simply that it can't find the file, even though its in the right place/ the one the command console looks for it in. What next?

    Also, my displacements are entities (func detail). will that screw it up?
     
  5. killohurtz

    aa killohurtz Distinction in Applied Carving

    Messages:
    1,003
    Positive Ratings:
    1,155
    It's exactly as Vel0city said. If the compiler reports that it can't find the file, that means vbsp failed (aka the process that builds your bsp). Without a bsp, the compiler can't do vis calculations or lighting afterwards.

    And yes, displacements tied to func_details are one of many things that can cause vbsp (and by extension, your whole compile) to fail. You'll need to find them all and revert them to world geometry.
     
    • Thanks Thanks x 2
  6. WombatSauce

    WombatSauce L3: Member

    Messages:
    115
    Positive Ratings:
    6
    howdo i revert them?
     
  7. Vel0city

    aa Vel0city func_fish

    Messages:
    1,900
    Positive Ratings:
    1,512
    Select your displacements, and press Ctrl+W to move them back to the world.
     
    • Thanks Thanks x 1
  8. WombatSauce

    WombatSauce L3: Member

    Messages:
    115
    Positive Ratings:
    6
    that didn't fix it. here's the compile log:


    ** 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:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\koth_season_a2.vmf"

    Valve Software - vbsp.exe (Mar 2 2016)
    8 threads
    materialPath: C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\materials
    Loading C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\koth_season_a2.vmf
    ConVarRef mat_reduceparticles doesn't point to an existing ConVar
    Error: displacement found on a(n) func_detail entity - not supported (entity 156, brush 0)


    ** 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:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\koth_season_a2"

    Valve Software - vvis.exe (Mar 2 2016)
    8 threads
    reading c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\koth_season_a2.bsp
    Error opening c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\koth_season_a2.bsp

    ** Executing...
    ** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vrad.exe"
    ** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" -noextra "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\koth_season_a2"

    Valve Software - vrad.exe SSE (Mar 2 2016)

    Valve Radiosity Simulator
    8 threads
    [Reading texlights from 'lights.rad']
    unknown light specifier type - lights

    [56 texlights parsed from 'lights.rad']

    Loading c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\koth_season_a2.bsp
    Error opening c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\koth_season_a2.bsp

    ** Executing...
    ** Command: Copy File
    ** Parameters: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\koth_season_a2.bsp" "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\maps\koth_season_a2.bsp"

    The command failed. Windows reported the error:
    "The system cannot find the file specified."
     
  9. FerJox22

    FerJox22 L1: Registered

    Messages:
    28
    Positive Ratings:
    8
  10. Vel0city

    aa Vel0city func_fish

    Messages:
    1,900
    Positive Ratings:
    1,512
    Error: displacement found on a(n) func_detail entity - not supported (entity 156, brush 0)

    It's right here. Select your displacements in the visgroup tabs and hide the rest. Then select all of your displacements and hit shift+ctrl+w (not ctrl+w, that's apparently the default. Strange, since I only have to press ctrl+w).
     
  11. WombatSauce

    WombatSauce L3: Member

    Messages:
    115
    Positive Ratings:
    6
    ok thx