Hammer freezes when I try to compile

Discussion in 'Mapping Questions & Discussion' started by Greaser Dan :D, Jul 29, 2009.

  1. Greaser Dan :D

    Greaser Dan :D L1: Registered

    Messages:
    40
    Positive Ratings:
    0
    I'm trying to make two large towers that connect at the top by a platform suspended between them.

    The problem is, whenever I try to compile it so I can test it, Hammer freezes.

    The only information I can give it that the each tower is about 3072 units tall, with platforms running around the outside and the inside of the tower. Maybe the sheer size of them is crashing hammer?
     
  2. DJive

    aa DJive Cake or Death?

    Messages:
    1,466
    Positive Ratings:
    736
    freezes, doubt it.

    Taking forever to compile, most likely.

    check for leaks.
     
  3. Greaser Dan :D

    Greaser Dan :D L1: Registered

    Messages:
    40
    Positive Ratings:
    0
    It's just in a large box for now, so it can't be a leak. Also, it's not like it's just taking a long time, it's just flat out freezing. When I check in Task Manager it says Hammer is not responding. I can't open the hammer window either.
     
  4. DJive

    aa DJive Cake or Death?

    Messages:
    1,466
    Positive Ratings:
    736
    Hammer will say that, someone will come along with a better answer for that, but it saying "is not responding" is ABSOLUTELY normal.

    On the compile screen are the numbers going?
    How long are you waiting?
    Do you have func_detail

    care to share the .vmf, ill look at it.
     
  5. Greaser Dan :D

    Greaser Dan :D L1: Registered

    Messages:
    40
    Positive Ratings:
    0
    Well, I minimized hammer while it was on "portal" or something, and it was working. Now I can't maximize hammer so I can't check.

    Also, it's a huge tower that players will be climbing to get to the middle point, won't having it be func_detail be a bad idea?
     
  6. DJive

    aa DJive Cake or Death?

    Messages:
    1,466
    Positive Ratings:
    736
    Hammer takes a lot of resources, playing a 3d game over it will possibility cause the editor to freeze.

    Depends your map, i cant really say without looking or seeing screenshots
     
  7. Greaser Dan :D

    Greaser Dan :D L1: Registered

    Messages:
    40
    Positive Ratings:
    0
    Okay, it finally loaded. I don't know why two simple towers in a big box would take so long.

    Anyway, here's a screenshot:

    [​IMG]
     
  8. DJive

    aa DJive Cake or Death?

    Messages:
    1,466
    Positive Ratings:
    736
    How long is "so long" though?

    With your current setup EVERYTHING but your box should be func_detail as its not blocking anything.
     
  9. Greaser Dan :D

    Greaser Dan :D L1: Registered

    Messages:
    40
    Positive Ratings:
    0
    That's just the frame. Once it's finished it's going to have walls. Much like C in gravelpit.
     
  10. Cameron:D

    Cameron:D L6: Sharp Member

    Messages:
    363
    Positive Ratings:
    146
    Yeah, hammer won't respond while it compiles. Take a look at a batch compiler as they take up less resources so you can continue to do other things while it compiles.
     
  11. Greaser Dan :D

    Greaser Dan :D L1: Registered

    Messages:
    40
    Positive Ratings:
    0
    I'll look into it, thanks.

    Anyway, my tower is coming along nicely. For a second there, I thought it was going to be too tall.

    Then I realized that the nature of the map it's going to be in requires it to be tall. :<>
     
  12. Greaser Dan :D

    Greaser Dan :D L1: Registered

    Messages:
    40
    Positive Ratings:
    0
    Double post, I know.

    Is it normal for my CPU usage to spike to 100% while compiling?
     
  13. Cameron:D

    Cameron:D L6: Sharp Member

    Messages:
    363
    Positive Ratings:
    146
    It is normal for it to stay at 100% for the duration
     
  14. Tydax

    Tydax L1: Registered

    Messages:
    21
    Positive Ratings:
    1
    Of course, it is. The compile uses all the power of your computer (especially the CPU and memory).
     
  15. Eternal

    Eternal L69: Deviant Member

    Messages:
    69
    Positive Ratings:
    10
    Yes it is normal for your CPU load to reach levels over 9000.
     
    • Thanks Thanks x 1
  16. Cameron:D

    Cameron:D L6: Sharp Member

    Messages:
    363
    Positive Ratings:
    146
    My computer is lucky to have CPU usage below 97%. It is always at 100% no matter what I do. It's become my mini heater.

    Also, if there is inaccessible parts to your tower (either above or below playable area) put it in a 3d skybox to improve compile times.
     
    Last edited: Jul 30, 2009
  17. Vigilante212

    Vigilante212 L7: Fancy Member

    Messages:
    481
    Positive Ratings:
    33
    using a batch compiler helps reduce the load.
     
  18. Greaser Dan :D

    Greaser Dan :D L1: Registered

    Messages:
    40
    Positive Ratings:
    0
    So far the entire tower is accessible. You just gave me an idea that would make the tower look much larger though, perhaps even going through a cloud line or something.

    Anyway, thanks for the help guys.
     
  19. -W3E- Im Chuck

    -W3E- Im Chuck L1: Registered

    Messages:
    17
    Positive Ratings:
    0
    my compiler is frozen aswell and will not work its been not responding for a couple hours and i have a decent size map but nothing really on it. the last line of the compiler says BasePortalVis 0.....1..etc up to 6
     
  20. Micnax

    aa Micnax I maek map

    Messages:
    2,019
    Positive Ratings:
    1,338
    Likely due to lots of angled geometry or small details that you haven't made a func_detail

    For a decently sized map (especially one in later stages) this is normal, but not usually ever taking a compile over the 1 hour mark. I'd make sure you check any complicated/detailed brushwork or brushes that aren't a key part to the map be made func_details.