PDA

View Full Version : Severe Problem with Hammer Editor


refan3d
02-01-2010, 09:27 AM
Over the past 4 weeks i've been working on this map and have been nearing completion. Recently while trying something out with the map i put in an entity called func_water_analog. After hitting the enter key the entity disapeared, yet when scrolling through the entity names for other entitys the name for the func_water_analog show up indicating that it should be in the map somewhere.

Now the problem now is that prior do doing this ive always been able to use the run map command with no problem, but now when i try i always get hl2.exe has stopped working and the program closes. Ive tested other maps that i know to work and the map loads up just fine. So my question is, is there a way to find/select this invisible entity that doesnt show up in any of my views (this includes the grid views) and delete it.

ps. ive also tried using the find entity command and it brings up nothing.

Any help would be very appreciated

EArkham
02-01-2010, 09:36 AM
Close Hammer, make a copy of the vmf file, then open the copy in a text editor. Do a search for the func_water_analog. You should find a structure like this:


entity <--- delete from here
{
"id" "XXXX"
"classname" "func_water_analog"
"origin" "XX XX XX"
editor
{
(other stuff)
}
} <--- to here ONLY

Delete all of that, but ONLY those bits; not any other entities. Load the copy in hammer, compile, try it, see if that fixes the crash.

If it doesn't fix it, then you have the original so can go back and try something else.

Kep

refan3d
02-01-2010, 10:03 AM
That fixed the problem. Thanks for the quick reply