Do not update sdk

Untouch

L4: Comfortable Member
Jan 25, 2010
187
48
As of 16/08/2012, today's SDK update, ammopacks crash hammer.

I don't know why, but I can confirm that is why hammer is crashing.

There might be another reason, but one reason is ammokits.


Yes, every size will crash hammer, no healthkits don't crash them.
 

fubarFX

The "raw" in "nodraw"
aa
Jun 1, 2009
1,720
1,978
if you guys can't load your maps anymore, try manually removing ammo packs from your vmf with a text editor.

***START BY BACKING UP YOUR VMF***

and remove anything that looks like this
Code:
entity
{
	"id" "22"
	"classname" "item_ammopack_medium"
	"angles" "0 0 0"
	"origin" "-64 -64 33.2562"
	editor
	{
		"color" "0 0 200"
		"visgroupshown" "1"
		"visgroupautoshown" "1"
		"logicalpos" "[0 1000]"
	}
}

note that adding ammo packs to your map will instantly crash hammer. you might want to wait before adding those back in your map.
 
Last edited:

Aki

L4: Comfortable Member
Nov 2, 2009
155
8
Use a text editor that will not harm any special whitespace characters that Hammer might be plugging around. I'd recommend Notepad++ for this sort of thing since it is a programmer's editor and built for messing with code files.

I opened my vmf with it and searched for the string "ammo" to find all my packs and delete them as mentioned above. I saved the file under a new name. Everything seems to be working now.
 

Aninimouse

L1: Registered
Aug 16, 2012
4
14
I didn't see this thread, so I'll repost here:

Before I was opening up maps and having them crash at 33%, but when I reset the Game Configurations, I was able to open maps up just fine. I'm not sure if this was actually the same problem, because I didn't know about this at the time, but I'm guessing it is.
 

Freyja

aa
Jul 31, 2009
2,994
5,813
I can confirm this works. Was crashing before, reset game configs, no crashing and can place ammopacks fine.
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
Further suggestion: don't delete them (or any problem entities, ever). Do a find-and-replace chaning "item_ammopack" with "item_tempfix" or something. Then you can easily undo it later.
 

Crash

func_nerd
aa
Mar 1, 2010
3,315
5,499
I didn't see this thread, so I'll repost here:

Before I was opening up maps and having them crash at 33%, but when I reset the Game Configurations, I was able to open maps up just fine. I'm not sure if this was actually the same problem, because I didn't know about this at the time, but I'm guessing it is.

I tried this earlier and it didn't work (wat) but it worked this time! Thanks!
 

Pocket

Half a Lambert is better than one.
aa
Nov 14, 2009
4,694
2,579
Speaking of that update, it looks like they've added the Special Delivery stuff to the FGD and fixed that typo that was causing red-text complaints in Hammer's message window. But now it's reporting a new error related to the 'base_boss' class, whatever that is. Let's hope that's a harmless one too.
 

Hell-met

L1: Registered
Oct 30, 2010
43
9
I had the same problem.

Reset game config fixed it.

I am 99% sure this was to blame, I had it installed for a long time.
 

Mr. Happy

L6: Sharp Member
Jul 16, 2008
320
158
I fixed ABS FGD so this doesn't happen anymore:

http://forums.tf2maps.net/downloads.php?do=file&id=5188

README: To install:
1. put it in steam/steamapps/<username>/sourcesdk/bin/orangebox/bin/ then load Hammer.
2. go to Tools->Options and look at the box at the top, this is where the FGD's are listed.
3. remove any FGD's you may have there (select it and click remove)
4. Click Add, and select the tf-abs_hapedit-7-16.fgd file, and click open.
5. Your box should now say:
$SteamUserDir\sourcessdk\bin\orangebox\bin\tf-abs_hapedit-7-16.fgd (it will be cutoff).
6. Rejoice!


Speaking of that update, it looks like they've added the Special Delivery stuff to the FGD and fixed that typo that was causing red-text complaints in Hammer's message window. But now it's reporting a new error related to the 'base_boss' class, whatever that is. Let's hope that's a harmless one too.

I didn't see any new SD stuff, so I left my version of the SD stuff in my fixed FGD, will look more closely later.
 

samp20

L1: Registered
Jul 4, 2012
19
11
They've updated the SD stuff and the new MVM nav entities too :D

EDIT: Although I still see an obsolete path_corner entity. Anybody know what that does?
 
Last edited:

henke37

aa
Sep 23, 2011
2,075
515
Looks like it's just used as a generic named entity that all the holograms sample their lightning from.
 

grazr

Old Man Mutant Ninja Turtle
aa
Mar 4, 2008
5,441
3,814
Yea, paths (or various other obsolete entities) are used for lighting origins on occasion. Surprised they're still using them though as originally it was because the info_lighting entity was borked, but that's been fixed now IIRC.
 

Sergis

L666: ])oo]v[
aa
Jul 22, 2009
1,874
1,257
My Hammer doesn't crash. It must know how much better I am than everyone else.

brofistcover.jpg