engie crashing the map

ikem

L6: Sharp Member
Dec 8, 2008
268
34
when i load up the map and build something.. sentry, tele, dispenser and it gets destroyed (manually destroying or getting it killed) it crashes the server... anyone know a fix lol

if u need to look at the vmf i can send it to u
 

ikem

L6: Sharp Member
Dec 8, 2008
268
34
no one has anything.....
 

Icarus

aa
Sep 10, 2008
2,245
1,210
Your control points may not be set up properly.

I had this problem, too, because two of my control points had the same index

Other than that check for leaks.
 

ikem

L6: Sharp Member
Dec 8, 2008
268
34
well on the team control point ent the cap layout was "0 1"

and the idexes of the points were "3 4" so i made it that. i'll see if that works

and there are no leaks
 

ikem

L6: Sharp Member
Dec 8, 2008
268
34
didnt work...
 

GrimGriz

L10: Glamorous Member
Jan 2, 2009
774
133
I've never done a cp map, so I don't know if you can try this...but if you can, vis groups the team control point entities and recompile and run it. If you can build and destroy without it crashing the servers then, you'll at least know it's something to do with those.

Also, I'd try to sit there with the console open and have someone else destroy the thing...just to see if i could catch an error message when it crashed.
 

ikem

L6: Sharp Member
Dec 8, 2008
268
34
ok i checked the caps and they are fine i narrowed it down to displacements why would that be causing errors?
 

GrimGriz

L10: Glamorous Member
Jan 2, 2009
774
133
the only time I've had probs with displacements is when I try and make them a func_detail
 

Ezekel

L11: Posh Member
Dec 16, 2008
818
245
ikem i had the exact same problem.
i'm guessing you're problem is cos when the building dies it emits pieces of itself - which are moving collision-enabled objects.

all i can suggest is deleting the displacements in question and making them again (doesn't have to be all displacements, just the ones on the map that cause the crash to occur).

no idea why it happens. my theory is that for some reason one of the points on the displacement is getting set to an invalid value (e.g. infinity) for collision, but not for visibility.

you'd probably get the same effect if you tried to shoot over/at/above the displacement with a demoman's grenades (sticky or normal)
 

ikem

L6: Sharp Member
Dec 8, 2008
268
34
thats what i think i might have to end up doing ty
 

ikem

L6: Sharp Member
Dec 8, 2008
268
34
well i redid all the displacements in the map... and it is still broke... on the displacements and off. i made a sentry right on this ledge and blew it up and it crashed

cp_dust_town_bc90007.jpg


i will be willing to email the vmf if u think it is easy to fix...
 

Rexy

The Kwisatz Haderach
aa
Dec 22, 2008
1,798
2,533
What power are the displacements? I think (don't quote me) that the higher the power of the displacement, the more your resources are used to handle physics collision. This would explain why your game crashes when the sentry gun explodes--it can't handle it.

I would suggest a few tests:

play demoman and shoot some pipe bombs and stickies on the displacement surfaces. If the game crashes in the same way, reduce the power on your displacements. You shouldn't have to have anything above power 4, even though it does look better.

If you simply can't reduce the power, make sure there is nodraw behind the displacement and then select your displacement and check the 'no physics collision' on the face edit options on the displacements tab. This probably is not the best solution, since now the displacement is non-solid to a player, but it should work.

Otherwise, you're having a problem completely unrelated to what I think is happening in your map. Good luck!

EDIT: Can you say exactly what kind of crash you're having? What does hl2.exe tell you when it crashes, or does it at all? That might help determine the problem.
 
Last edited:

ikem

L6: Sharp Member
Dec 8, 2008
268
34
ok this is what i did...

re-did all the displacements...
added nodraws under all the displacements...
changed them to a lower power
and took out more detailed displacements...

and so far it does not crash. lol
 

Rexy

The Kwisatz Haderach
aa
Dec 22, 2008
1,798
2,533
ok this is what i did...

re-did all the displacements...
added nodraws under all the displacements...
changed them to a lower power
and took out more detailed displacements...

and so far it does not crash. lol

Good! Right?
 

ikem

L6: Sharp Member
Dec 8, 2008
268
34
yep tried on 3 different servers and computers and it is all ok