I have no Idea what happened. I opened radiant to check my map for a zombie spawn location then I prefabed and deleted a BO1 Crane model. I got this when I tried to compile and when I tried to re-open radiant...this is very bad for my map progress if I cannot get this solved. I will have lost a lot of progress...
I went to the lines specified in the error but everything seemed normal.
I also check for this error and they both came back with nothing.
Make a backup of your map_source folder before trying to open your map again. // open your .map in notepad++ and compare your worldspawn to a working map. Its possible a kvp or a { } was removed. I think a bad skyboxmodel kvp will crash radiant when you reopen a map. // If that doesn't work Paste sections of your .map into a blank.map to narrow the problem down.
Make a backup of your map_source folder before trying to open your map again. // open your .map in notepad++ and compare your worldspawn to a working map. Its possible a kvp or a { } was removed. I think a bad skyboxmodel kvp will crash radiant when you reopen a map. // If that doesn't work Paste sections of your .map into a blank.map to narrow the problem down.
okay i will try it now thanks!
EDIT: so when I do that last step no matter what part of the .map i past into a new file it still says there is an error on a random line in the 200,000 despite me only pasting in like 5000 lines. Anything else I could try?
wait actually when I pasted the 5000 lines into a new file when I tried to compile it, it added the rest of the original file (around 370,000 lines)
In the error message it says the error is on line 271640 but you've shown us line 271460.
Can you screenshot that line?
wow haha good catch. the problem with that is I just narrowed down the error being somewhere in between line 270,000-259,988 so thats not even included. Here is the line anyways just in case:
wow haha good catch. the problem with that is I just narrowed down the error being somewhere in between line 270,000-259,988 so thats not even included. Here is the line anyways just in case:
it gives my the error still about line 271,640. I then went and removed that line from the file and it still gives me the same error. I even deleted like 10 entities before and after the error and it still gives me the error on that line. I also checked everything around that area and from what I can see it all looks normal.
edit: I also deleted the line the console gives me when I try to compile
it gives my the error still about line 271,640. I then went and removed that line from the file and it still gives me the same error. I even deleted like 10 entities before and after the error and it still gives me the error on that line. I also checked everything around that area and from what I can see it all looks normal.
edit: I also deleted the line the console gives me when I try to compile
Did you try removing the whole entity rather than just the line? And only that entity, not the others?
Your adding entities/patchcapped/curve/models into your worldspawn. I just tested and got the same error. // Open radiant, make a single caulk brush. Save it. Then add your brushes above the caulk brush in notepad. Then paste your entities/models/curve/patchcapped below the very last brush in notepad.
Only brushes above the caulk brush. All model ect below it.
Your adding entities/patchcapped/curve/models into your worldspawn. I just tested and got the same error. // Open radiant, make a single caulk brush. Save it. Then add your brushes above the caulk brush in notepad. Then paste your entities/models/curve/patchcapped below the very last brush in notepad.
Only brushes above the caulk brush. All model ect below it.
okay i will try Double Post Merge: January 15, 2016, 08:51:23 amnope still isnt working for me -_-
If you start with a single caulk brush in radiant and save it as workingbrushes.map. Then add a single brush from your broken.map to it through notepad. Save. Test in radiant. If radiant loads then press save in radiant. eventually all your brushes will be copied. //