Weird map updating vis group bug

WombatSauce

L3: Member
Dec 22, 2015
115
5
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?
 

Vel0city

func_fish
aa
Dec 6, 2014
1,947
1,589
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.
 

WombatSauce

L3: Member
Dec 22, 2015
115
5
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.

ok. I have a feeling that the vis groups are being caused by the same probelm, and fixing one will fix both.
 

WombatSauce

L3: Member
Dec 22, 2015
115
5
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.

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?
 

killohurtz

Distinction in Applied Carving
aa
Feb 22, 2014
1,016
1,277
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.
 

Vel0city

func_fish
aa
Dec 6, 2014
1,947
1,589
Select your displacements, and press Ctrl+W to move them back to the world.
 

WombatSauce

L3: Member
Dec 22, 2015
115
5
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."
 

Vel0city

func_fish
aa
Dec 6, 2014
1,947
1,589
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).