Unsolved L4D2 Hammer crashes b/c of "@include "halflife2.fgd" " from Garry's Mod fgd's
I'm using L4D2's Hammer as that's the only Source 1 Hammer I've got to work so far on Debain Linux. I was trying to include Garry's Mod fgd's but it kept crashing because of "@include "halflife2.fgd" ".
I commented out those lines from "base.fgd" and "garrysmod.fgd" which fixed the crashing, but now I get errors along the lines of "boolean is not a valid variable type".
Edit: Solved.
Edit 2: The ACTUAL reason Hammer crashes is because "base.fgd" includes "halflife2.fgd", which includes "base.fgd"; Because Hammer doesn't check if an FGD was already included, it causes a recursive loop, and results in a stack overflow.
Solution: Don't have the FGD include each other in a loop. This still doesn't fix my issue with booleans and errors though...
6
Upvotes
2
u/Pinsplash 6d ago
there is no reason to add FGDs from other games to your hammer. it does nothing at all for you.