Do not update sdk

Discussion in 'Mapping Questions & Discussion' started by Untouch, Aug 16, 2012.

  1. Untouch

    Untouch L4: Comfortable Member

    Messages:
    187
    Positive Ratings:
    43
    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.
     
  2. fubarFX

    aa fubarFX The "raw" in "nodraw"

    Messages:
    1,629
    Positive Ratings:
    1,715
    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: Aug 16, 2012
  3. Boylee

    aa Boylee pew pew pew

    Messages:
    1,068
    Positive Ratings:
    631
    Figured something like this might happen. :/
     
    • Thanks Thanks x 1
  4. Aki

    Aki L4: Comfortable Member

    Messages:
    155
    Positive Ratings:
    4
    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.
     
  5. Kiddnils

    Kiddnils L3: Member

    Messages:
    140
    Positive Ratings:
    72
  6. Aninimouse

    Aninimouse L1: Registered

    Messages:
    4
    Positive Ratings:
    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.
     
    • Thanks Thanks x 13
  7. Freyja

    aa Freyja ¯\_(ツ)_/¯

    Messages:
    2,878
    Positive Ratings:
    4,955
    I can confirm this works. Was crashing before, reset game configs, no crashing and can place ammopacks fine.
     
  8. Aki

    Aki L4: Comfortable Member

    Messages:
    155
    Positive Ratings:
    4
    Ditto. Thanks Aninimouse
     
  9. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    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.
     
    • Thanks Thanks x 2
  10. Crash

    aa Crash func_nerd

    Messages:
    3,186
    Positive Ratings:
    4,899
    I tried this earlier and it didn't work (wat) but it worked this time! Thanks!
     
  11. Tarry H Sruman

    Tarry H Sruman Large Orphanage Proprietor

    Messages:
    871
    Positive Ratings:
    820
    My Hammer doesn't crash. It must know how much better I am than everyone else.
     
    • Thanks Thanks x 2
  12. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,219
    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.
     
  13. Hell-met

    Hell-met L1: Registered

    Messages:
    43
    Positive Ratings:
    8
    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.
     
  14. Mr. Happy

    Mr. Happy L6: Sharp Member

    Messages:
    320
    Positive Ratings:
    144
    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!


    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.
     
    • Thanks Thanks x 4
  15. samp20

    samp20 L1: Registered

    Messages:
    19
    Positive Ratings:
    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: Aug 17, 2012
  16. henke37

    aa henke37

    Messages:
    1,919
    Positive Ratings:
    449
    Looks like it's just used as a generic named entity that all the holograms sample their lightning from.
     
  17. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,570
    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.
     
  18. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,035
    Positive Ratings:
    3,990
  19. Sergis

    aa Sergis L666: ])oo]v[

    Messages:
    1,871
    Positive Ratings:
    1,131
    [​IMG]
     
  20. Mr. Happy

    Mr. Happy L6: Sharp Member

    Messages:
    320
    Positive Ratings:
    144
    Sometimes it's easier just to use an entity you've already got in the map.