Problem with .bsp file

Discussion in 'Mapping Questions & Discussion' started by red3pit, Feb 5, 2017.

  1. red3pit

    red3pit L5: Dapper Member

    Messages:
    221
    Positive Ratings:
    220
    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!
     
  2. killohurtz

    aa killohurtz Distinction in Applied Carving

    Messages:
    998
    Positive Ratings:
    1,135
    This means the compile is failing because of some error in your map. Can you post the compile log?
     
  3. red3pit

    red3pit L5: Dapper Member

    Messages:
    221
    Positive Ratings:
    220
    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."
     
  4. Tumbolisu

    aa Tumbolisu  I ⌄ I 

    Messages:
    931
    Positive Ratings:
    894
    This breaks vbsp and therefore prevents the map from compiling.
     
    • Thanks Thanks x 1
  5. red3pit

    red3pit L5: Dapper Member

    Messages:
    221
    Positive Ratings:
    220
    So it's all about overlay? :p
    Well, it's working now! Thanks!
     
  6. Crowbar

    aa Crowbar perfektoberfest

    Messages:
    1,417
    Positive Ratings:
    1,137
  7. red3pit

    red3pit L5: Dapper Member

    Messages:
    221
    Positive Ratings:
    220
    It leaks because I don't have skybox yet.
     
    • Funny Funny x 1
  8. Crash

    aa Crash func_nerd

    Messages:
    3,064
    Positive Ratings:
    4,550
    That would do it.
     
    • Funny Funny x 1
  9. hutty

    aa hutty

    Messages:
    442
    Positive Ratings:
    344
    you can use the cordon :cordonenable::cordonedit: buttons to quickly avoid leaks on unfinished maps.
     
  10. Pocket

    aa Pocket func_croc

    Messages:
    4,479
    Positive Ratings:
    2,211
    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?
     
  11. red3pit

    red3pit L5: Dapper Member

    Messages:
    221
    Positive Ratings:
    220
    Nope.avi

    As I said before, I just don't have skybox yet, so that's why it "leaks".
     
  12. Vel0city

    aa Vel0city personal pick-pocketing parrot

    Messages:
    1,880
    Positive Ratings:
    1,487
    You must fix leaks before anything else. AFAIK VBSP checks for leaks first, and if it finds any it quits working.
     
  13. killohurtz

    aa killohurtz Distinction in Applied Carving

    Messages:
    998
    Positive Ratings:
    1,135
    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.
     
    • Agree Agree x 1