forcing compile to abort on error?

Ezekel

L11: Posh Member
Dec 16, 2008
818
245
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?
 

Ezekel

L11: Posh Member
Dec 16, 2008
818
245
alt+ctrl+del, vrad/vvis - "end process"

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)
 

Psy

The Imp Queen
aa
Apr 9, 2008
1,706
1,491
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.
 

Ezekel

L11: Posh Member
Dec 16, 2008
818
245
The -leaktest flag added to VBSP will cause it to halt immediately after creating the pointfile and prevent VVIS and VRAD from running.

might seem a silly question but where do you add the flag?