1. Hey there Guest,

    The game servers have moved to semi-dedicated hardware and IPs have changed. Please see front page server widget for up-to-date game server information.

What exactly does it mean when...

Discussion in 'Mapping Questions & Discussion' started by nik, Dec 29, 2009.

  1. nik

    nik L12: Fabulous Member

    Messages:
    987
    Positive Ratings:
    283
    ...Hammer stops responding and freezes while compiling a map?

    Only on the certain map. Every time it's compiled.
     
  2. lana

    aa lana Currently On: ?????

    Messages:
    3,077
    Positive Ratings:
    1,389
    Nothing. It does it all the time. Just be patient and wait for your compile to finish.
     
  3. nik

    nik L12: Fabulous Member

    Messages:
    987
    Positive Ratings:
    283
    well it compiled in about 5 minutes the first time, then I made a few minor changes and re-compiled it, it's taking over 30 minutes now and its still frozen.
     
  4. lana

    aa lana Currently On: ?????

    Messages:
    3,077
    Positive Ratings:
    1,389
    What changes, exactly? And what part is it getting stuck on? You could have added a brush that makes the map terribly unoptimized, or reduced the lightmap scale on a face too much.
     
  5. nik

    nik L12: Fabulous Member

    Messages:
    987
    Positive Ratings:
    283
    I didn't add anything - I changed a few outputs and changed the team value on some spawnpoints (because they were wrong), and that's about it..

    It was stuck on adding detail props, but now the window is just white.
     
  6. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    I suggest you use VBCT instead of Hammer's compile button. For one thing, you can continue working in TF2 while the build goes on, and it's easier to cancel/monitor.
     
    • Thanks Thanks x 2
  7. nik

    nik L12: Fabulous Member

    Messages:
    987
    Positive Ratings:
    283
    wow, thanks SO much. I will use this from now on :)
     
  8. eerieone

    aa eerieone

    Messages:
    1,009
    Positive Ratings:
    571
    hammer uses all available ressources for the compile, vbsp-vvis-vrad run on normal priority and hence slow down the system. the hammer app itself then misses its intervals to send lifesigns to windows, hence getting the "not responding". unfortunately this way it´s hard to know if it crashed or is still working. open the taskmanager and see if vbsp-vvis-vrad is using any CPU, if not, something went wrong and the compile crashed.
    If it doesn´t crash in your case, there might be something wrong with you map, and using VBCT won´t help.
    VBCT is basically just an advanced and more relyable gui for the same processes, but runs them on a lower system priority and gives you the precious info if it´s still compiling or if crashed.

    From personal experience, sometimes hammercompile bugs out, sometimes vbct, so i tend to switch.
     
    • Thanks Thanks x 1
  9. gamemaster1996

    gamemaster1996 L13: Stunning Member

    Messages:
    1,065
    Positive Ratings:
    134
    Same on my map it compiled in 3 mins when i left a sky camera inside the map and a few walls were changed. After fixing this it takes forever to compile.


    EDIT: Also i thought you shouldn't use external things like VBCT.
     
  10. littleedge

    aa littleedge L1111: Clipping Guru

    Messages:
    983
    Positive Ratings:
    599
    Just for safety reasons, if you have stairs in your map, nik., make them func_detail, as well as any obtrusive brushwork (like a desk made out of brushes, or a tv screen, etc.) That might fix compile time, and that might help your 'Hammer looks like it is freezing' problem.

    Do as Eerie said to see if it actually froze or not. I like to Ctrl-Shift-Esc to bring up Task manager and then I set vvis to High Priority and leave my computer to eat (or just do something) and let the compiler run. If your map takes multiple hours to compile, and it's not in a finished state, go to the chat and ask about optimizing, or read the guides on here. There's also a nice guide on nodraw.net by Mangy.
     
    • Thanks Thanks x 1
    Last edited: Dec 30, 2009
  11. Psy

    aa Psy The Imp Queen

    Messages:
    1,705
    Positive Ratings:
    1,480
    VBCT is far better then the Hammer compiler because it doesn't freeze up and uses less resources. Of course, it's just a container for the same compiling processes (BSP, VIS, RAD) so the end result is the same.
     
  12. Randdalf

    aa Randdalf

    Messages:
    1,054
    Positive Ratings:
    466
    If you map is in a huge box it can add hours to your compile time, depending upon complexity.
     
  13. nik

    nik L12: Fabulous Member

    Messages:
    987
    Positive Ratings:
    283
    Thanks everyone. I'm really going to have to optimize my map now, it's kind of a big box :|