R_LoadEntities: entity without a classname

Have questions about CoD/UO mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

R_LoadEntities: entity without a classname

Post by Luke » August 25th, 2005, 9:35 pm

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?

User avatar
MuRpHy*
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 2159
Joined: May 10th, 2005, 11:02 pm
Location: Tha A.T.L Baby ;)

Post by MuRpHy* » August 25th, 2005, 10:00 pm

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
Image
Image

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » August 25th, 2005, 11:13 pm

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.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » August 25th, 2005, 11:31 pm

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

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » August 26th, 2005, 12:08 am

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.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » August 26th, 2005, 12:24 am

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:

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » August 26th, 2005, 12:32 am

so, is it working now :)
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » August 26th, 2005, 1:00 am

yes thx :D

User avatar
MuRpHy*
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 2159
Joined: May 10th, 2005, 11:02 pm
Location: Tha A.T.L Baby ;)

Post by MuRpHy* » August 26th, 2005, 1:40 am

hehe glad it was solved :P
Image
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests