Stalingrad error

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
Supertrainguy
Private
Posts: 7
Joined: Sun May 18, 2008 5:27 pm

Stalingrad error

Post 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]
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Did you remove the breakable planks in the windows on the first floor?
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Supertrainguy
Private
Posts: 7
Joined: Sun May 18, 2008 5:27 pm

Post by Supertrainguy »

yes I did.

p.s. sorry for the delay.
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post 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.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Supertrainguy
Private
Posts: 7
Joined: Sun May 18, 2008 5:27 pm

Post 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.
Post Reply