PDA

View Full Version : Map wont load anymore in radiant


Flippy
15th June 2006, 17:08
omfg...
i hope its just some bug or anything...
but my map wont open anymore (in radiant)

it loads like it usually does after i click Open and select it, then it waits a little and gives me "unnamed.map"

I checked in the directory and the map is still there, 1.3 MB large, as it was before...

All other maps work fine...

it happened after i opened radar to see how they done something... and now i cant open it anymore :( :angry: :banghead: :bash:

Any clue as to how this could have happened / how to solve it?
appreciated VERY much, as it was the first map i was hoping to finish and it was coming allong really well...

kamikazee
15th June 2006, 18:08
GTKRadiant has a console with various text output, please scroll trough it to see if there are eny errors there.

(In case you can't find the console, please tell us which layout you are using, eg the 3 x 2D + camera layout)

Flippy
15th June 2006, 18:40
Ok i found the error, dont know how to fix it tho...

in the console it says at the end


No worldspawn in map.
Map_New


How do i re-add the worldspawn when i cant open it? :???:
Do i have to open the map with text editor and then set a "worldspawn" key to each brush which is supposed to be worldspawn? :???: thats gonna take a while lol...

Oh btw it also says:

FIXME: name == NULL || strlen(name) == 0 in QERApp_Shader_ForName

In red, about 10 times...
After that it loads the shader files
then the error No worldspawn in map. comes up

kamikazee
15th June 2006, 18:45
Make a backup of your map file, then open the original using a plaintext text editor.
Each brush is part of an entity, and the first entity should be worldspawn. Simply renaming the first entity could do the trick, but do check if it looks like it was the worldspawn entity. (It has mostly got mapmincoords and mapmaxcoords keys)

Flippy
15th June 2006, 19:15
ah i see all brushes in worldspawn are under 1 "name" (worldspawn)

*looks in text editor*

Ok it seems that i accidently changed my worldspawn to a func_door :moo:
I fixed it now and i can load it again...

could there be any problems later on though? for example one of my func_doors not working.. (i checked a few and they were still func_door (in radaint)) and the ground etc was still worldspawn...)

Anyway thnx for the help :D
my map is saved!! :clap:

onu123
15th June 2006, 19:23
yep easy way it is to open your MAP file with notepad, or anything other and change the first brush/entity to:
// entity/brush 0
{
"classname" "worldspawn"

pakalatak
15th June 2006, 20:16
this error is "classic". You should keep older version of your ".map" in order to be able to undo stupid changes or some crash (it helps a lot) :beer: