Page 1 of 1

Stalingrad error

Posted: Sun May 18, 2008 5:41 pm
by Supertrainguy
Hello, I've modified the original mohdm6 map using mohradiant, but when I compile it and try to run it in the game it gives me this error. please see screenshot.

[/img]Image[/img]

Posted: Sun May 18, 2008 7:51 pm
by Rookie One.pl
Did you remove the breakable planks in the windows on the first floor?

Posted: Sun Jun 01, 2008 12:09 am
by Supertrainguy
yes I did.

p.s. sorry for the delay.

Posted: Sun Jun 01, 2008 8:53 am
by Rookie One.pl
It seems that when you did, your Radiant removed the brushes, but not the entity. I'm afraid you'll need to do some manual editing to get this fixed.

So, open up your .map file in a text editor (notepad will do) and look for the string "func_crate". You should find something along these lines:

Code: Select all

// entity 6
{
"debristype" "0"
"health" "50"
"classname" "func_crate"
}
The curly braces ("{" and "}") enclose what is called an entity definition. Note that if the entity contained brushes as well, there would be another pair of curly braces inside and the entity definition would look like this:

Code: Select all

// entity 7
{
"health" "50"
"debristype" "0"
"classname" "func_crate"
// brush 0
{
( 54.033497 512 116.406090 ) ( -116.738617 512 158.984344 ) ( -116.738617 504 158.984344 ) normandy/wood_plank 47 0 -180.00 1.940582 -0.03125
0 0 16384 0 +surfaceparm detail
( -152.647354 504 180.304825 ) ( -152.647354 512 180.304825 ) ( 18.124720 512 137.726486 ) normandy/wood_plank 48 0 -180.00 1.940598 -0.03125
0 0 16384 0 +surfaceparm detail
( -148.776627 510 195.829529 ) ( 21.995483 510 153.251282 ) ( 20.060093 510 145.488892 ) normandy/wood_plank 42 115 76.99 0.249996 0.249996 0
 16384 0 +surfaceparm detail
( -55.628216 504 172.605011 ) ( -55.628216 512 172.605011 ) ( -57.563564 512 164.842667 ) normandy/wood_plank 0 16 -180.00 0.125000 -0.121292
 0 16384 0 +surfaceparm detail
( 21.995483 512 153.251282 ) ( -148.776627 512 195.829529 ) ( -150.712006 512 188.067154 ) normandy/wood_plank 42 115 76.99 0.249996 0.249996 0 16384 0 +surfaceparm detail
( -117.727180 512 188.088058 ) ( -117.727180 504 188.088058 ) ( -119.662514 504 180.325638 ) normandy/wood_plank 0 141 -180.00 0.125000 -0.121292 0 16384 0 +surfaceparm detail
}
}
Again, the curly braces enclose a brush definition inside an entity definition. Observing the fact that each opening brace has a matching closing one is key to not breaking your map when editing it manually.

Now, in order to get rid of the problematic entities, just select and remove their respective entity definitions.

Make a backup of your map before editing it, just in case.

Posted: Thu Jun 05, 2008 12:03 am
by Supertrainguy
I just tried that you told me and that didn't work either

Edit: I got it to working. thanks for the help.