Problem with .bsp file

red3pit

High on melancholy
aa
Dec 3, 2016
262
309
Hello ladies and gentlemans!

I'm working on my first (except for all of test maps) KotH map. I tried to "Run Map", because I added spawn doors (not sure if this info is important). After loading the map in TF2 (yes, I saved it before this) I spawned inside spawn and... Doors weren't opening (no it's not main problem, be patient)! I also added stairs in one place, so I went there and... There were no stairs!
So I came back to Hammer, changed name of map file (idk why) and I pressed "Run Map" and...(dramatic pause) Hammer said "Could not Find Specific File" or something like that, idk how to translate it corectly from Polish. So I came to folder with all Hammer Maps and there was no .bsp file for my renamed map.
So the main problem is: I can't "Run Map", because Hammer does not create .bsp file for my map.
I'm not sure what is the reason for this, so I hope someone can help me.

Thanks in advance!
 

killohurtz

Distinction in Applied Carving
aa
Feb 22, 2014
1,016
1,277
This means the compile is failing because of some error in your map. Can you post the compile log?
 

red3pit

High on melancholy
aa
Dec 3, 2016
262
309
You mean this?

** 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_map.vmf"

Valve Software - vbsp.exe (Dec 15 2016)
4 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_map.vmf
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
**** leaked ****
Entity prop_static (-92.00 344.00 40.00) leaked!
Processing areas...done (0)
Building Faces...done (0)
Chop Details...done (0)
Find Visible Detail Sides...
Merged 14 detail faces...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
*** Error: Skybox vtf files for skybox/sky_tf2_04 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_tf2_04 to build the default cubemap!
*** Error: Skybox vtf files for skybox/sky_tf2_04 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_tf2_04 to build the default cubemap!
Finding displacement neighbors...
Finding lightmap sample positions...
Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
Overlay touching too many faces (touching 117, max 64)
Overlay overlays/stain016 at 846.0 904.0 40.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_map"

Valve Software - vvis.exe (Dec 15 2016)
4 threads
reading c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\koth_map.bsp
Error opening c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\koth_map.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" "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\koth_map"

Valve Software - vrad.exe SSE (Dec 15 2016)

Valve Radiosity Simulator
4 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_map.bsp
Error opening c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\koth_map.bsp

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

The command failed. Windows reported the error:
"Nie można odnaleźć określonego pliku."
 

red3pit

High on melancholy
aa
Dec 3, 2016
262
309
So it's all about overlay? :p
Well, it's working now! Thanks!
 

Pocket

Half a Lambert is better than one.
aa
Nov 14, 2009
4,694
2,579
If you're new to mapping, that issue with the overlays was probably because you tried to make the entire floor of your map a single brush. Am I warm?
 

red3pit

High on melancholy
aa
Dec 3, 2016
262
309
If you're new to mapping, that issue with the overlays was probably because you tried to make the entire floor of your map a single brush. Am I warm?
Nope.avi

you can use the cordon :cordonenable::cordonedit: buttons to quickly avoid leaks on unfinished maps.
As I said before, I just don't have skybox yet, so that's why it "leaks".
 

Vel0city

func_fish
aa
Dec 6, 2014
1,947
1,589
Nope.avi


As I said before, I just don't have skybox yet, so that's why it "leaks".
You must fix leaks before anything else. AFAIK VBSP checks for leaks first, and if it finds any it quits working.
 

killohurtz

Distinction in Applied Carving
aa
Feb 22, 2014
1,016
1,277
You must fix leaks before anything else. AFAIK VBSP checks for leaks first, and if it finds any it quits working.
Actually, vbsp doesn't stop after detecting a leak. That's how we get fully compiled maps with invisible water and no light bounces. You can even see in red3pit's compile log that it reports a leak and then continues until it hits the overlay error.