I get this error when starting Team Fortress 2 settings on Hammer Editor for Source SDK ... I can still map, and I've tested the map and it works, but it's just concerning me . Can anyone tell me what I do to fix/?
Had to fix your HTML so I could post. Please check that all open tags have been closed.
OT: Looks like line 1312 has a lonely ']' for no apparent reason. Delete that and see if the error happens again because the 1314 ent looks fine to me
I absolutely clue less about this! Can you please explain?
The .fdg is the file that contains the entity definitions for the mod you are working on. The fdg file is located in your sourcesdk directories but its location will differ depending on the particular MOD you are working on. For TF2 normally the fdg is located in:
"DISK":/"Program Files or Program Files (x86)"/Steam/Steamapps/"USERNAME"/sourcesdk/bin/orangebox/bin/tf.fdg
You can open this file in windows notepad, but its best to find another text editing software that has line-count, i used this one:
but there are many to choose from.
So, you open up the tf.fdg and then, click "Edit" and use the goto function and put in line 1312.
When I did this, what I saw was the following:
I have high-lighted line 1312 and you can see there is a parentheses (or bracket) "]" at the start of the line... looking back it doesnt seem that this bracket is closing anything off, so its probably causing the error. If you just delete this and re-save your fdg file the error should disappear.
If you want to be extra careful, backup the tf.fdg before changing it.
Hope this helps
Posted by K@rt
Anyway, this is an internal Valve issue, every time you restart the SDK cold, it'll re-download this '.fgd' file and you have to do this stuff all over again. I've found it doesn't harm hammer and its processes at all, so you can just ignore this; although if you can't get 'tf_pumpkin_bomb' in there, it may be best to save a copy of the fixed '.fgd' file, and replace it whenever this error pops up.
Yeah, didnt know that... anoying.
Do what devious suggested, repair the file and copy it to you desktop or something... then you can just copy/paste it into the orangebox/bin folder if you need to.
I've always had this error with np, but then I dont map for TF.