forcing compile to abort on error?

Discussion in 'Mapping Questions & Discussion' started by Ezekel, Mar 26, 2009.

  1. Ezekel

    Ezekel L11: Posh Member

    Messages:
    818
    Positive Ratings:
    244
    i read somewhere a while back that you could do something to cause the compile process to abort if there's an error.

    occasionally that happens when i do something stupid, but usually the compile process will continue to run regardless of discovering leaks/areaportal leaks or other errors.
    which leads to a failed vvis, and a long vrad, followed by a slow tf2-load (slow, due to having hammer running at the same time with map loaded, and therefore quite memory hungry).

    so, does anyone know how/what you have to do?
     
  2. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,739
    alt+ctrl+del, vrad/vvis - "end process"
     
  3. Ezekel

    Ezekel L11: Posh Member

    Messages:
    818
    Positive Ratings:
    244
    that's what i currently do, but then it will still load up tf2 afterwards + the long shutdown time for it afterwards.
    but i believe there's a way to make hammer just abort the compile process... just am unaware of what it is/how to do it.


    also, doing this can bring about the "failed to take master pipeline" error, which means exitting all hammer/steam based programs + end process tree any that remain, restart steam, restart SDKlauncher, restart hammer, reload map
    (which can take quite a bit of time)
     
  4. Psy

    aa Psy The Imp Queen

    Messages:
    1,705
    Positive Ratings:
    1,465
    You could just untick the option to run the game after compiling and stick with the CTRL+ALT+DEL method.

    Or use a batch compiled like VBCT.
     
  5. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,767
    Positive Ratings:
    5,508
    The -leaktest flag added to VBSP will cause it to halt immediately after creating the pointfile and prevent VVIS and VRAD from running.
     
    • Thanks Thanks x 1
  6. Ezekel

    Ezekel L11: Posh Member

    Messages:
    818
    Positive Ratings:
    244
    might seem a silly question but where do you add the flag?
     
  7. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,767
    Positive Ratings:
    5,508
    Use the expert compile dialog and put it in the parameters box for the BSPEXE entry.
     
    • Thanks Thanks x 3