TeamSpen210 / HammerAddons

Useful tweaks and content for Source Engine Games
123 stars 36 forks source link

Separation of "PostCompiler" into stages. #239

Open The1stWii2 opened 12 months ago

The1stWii2 commented 12 months ago

Currently, HammerAddons performs all transformations to a map through the use of a program known as the "PostCompiler" which is run after VBSP, but before VVIS. While this is useful, this implementation does have issues, some described here:

As such, it should be considered whether the "PostCompiler" should be split across the compilation process, for example: .vmf -> [Comp Stage 1] -> VBSP -> [Comp Stage 2] -> VVIS -> [Comp Stage 3] -> VRAD -> [Comp Stage 4]

The major arguments against would be:

TeamSpen210 commented 12 months ago

I very much agree. In particular adding “stage 1” would allow replacing instance collapsing ourselves, making it possible to do a variety of advanced features. I don’t think “stage 2” would be particularly useful though.