TeamSpen210 / HammerAddons

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

Implement "--srctools_only", "--collapse_bases" export parameters #262

Closed TheEnderek0 closed 7 months ago

TheEnderek0 commented 7 months ago

This parameter makes the specified fgd only contain the postcompiler's comp entities, for a specific game configuration so tags are still passed as normal.

I'm not sure about this implementation, but it seems to work fine. Feel free to contact me or change this code for a better one if there's a need to do so.

TheEnderek0 commented 7 months ago

Added collapse_bases here too, makes the script collapse the bases as the name suggests lol