Page 1 of 1

R_LoadEntities: entity without a classname

Posted: August 25th, 2005, 9:35 pm
by Luke
i get this error when i try to play my map, R_LoadEntities: entity without a classname.......so i opened up radiant again, checked all the entites by pressing l, and the only one without a classname was this hurt trigger, which worked perfectly fine before, so i select it, pressed n and the values were there, i then deleted the key pair and the brush, but i still get the error...and the same entity still shows up on the list even tho i deleted it..and when i click select from the list, it points to the spot it was in, but nothing appears to be selected..i even ticked everything in filters so its not that :? any ideas?

Posted: August 25th, 2005, 10:00 pm
by MuRpHy*
check the entities of any doors, other triggers, or ladders as well. I used to get that error when it was with those :) good luck with it :P

Posted: August 25th, 2005, 11:13 pm
by Drofder2004
Ok, this is a guess...

Classnames are given to everything e.g Worldspawn, Player, Script_Object, etc, so, you have something in your map that has lost its classname. I have no idea how to find out where it is though.

Look for something that you have given a targetname, without making it a script_brushmodel or something.

Posted: August 25th, 2005, 11:31 pm
by Luke
Drofder, there is an entity there named: "(" wtf is that? i'm 99% sure that is the problem, as i've check all my other map files and that certainly isnt there....when i try to select the ( entity radiant crashes :( it has to go otherwise 2 hours of work is wasted :x

Posted: August 26th, 2005, 12:08 am
by Drofder2004
strange...

Im not sure but this may work...

Open the map in notepad, and search for (. It will take a while to find, but its worth a shot.

Posted: August 26th, 2005, 12:24 am
by Luke
Drofder owns! i opened the map up in notepad and looked at the entities, and soon found that entity 2 was the problem:

// entity 2
{
// brush 0
{
( -1028 -130 287 ) ( -1331 -130 287 ) ( -1331 -1023 287 ) austria/floors/rock@floor_granite1 0 -4 0 0.25 0.25 0 0 0 0
( -1335 -1025 288 ) ( -1335 -132 288 ) ( -1032 -132 288 ) austria/floors/rock@floor_granite1 60 192 0 0.25 0.25 0 0 0 0
( -1421 -3124 291 ) ( -1118 -3124 291 ) ( -1118 -3124 -69 ) common/caulk 0 -4 0 0.25 0.25 0 0 0 0
( -983 -1023 657 ) ( -983 -130 657 ) ( -983 -130 297 ) common/caulk 0 -4 0 0.25 0.25 0 0 0 0
( -987 254 273 ) ( -1290 254 273 ) ( -1290 254 -87 ) common/caulk 0 -4 0 0.25 0.25 0 0 0 0
( -1382 -132 293 ) ( -1382 -1025 293 ) ( -1382 -1025 -67 ) common/caulk 0 -4 0 0.25 0.25 0 0 0 0
}
}

dont know how it got there, but as u can see it has no classname, so it was just a corrupt entity i guess :roll:

Posted: August 26th, 2005, 12:32 am
by Drofder2004
so, is it working now :)

Posted: August 26th, 2005, 1:00 am
by Luke
yes thx :D

Posted: August 26th, 2005, 1:40 am
by MuRpHy*
hehe glad it was solved :P