Resupply Cabinets Kill

Ramaraunt

L1: Registered
Mar 15, 2016
8
1
I found a weird bug with my map, where the blue team resupply cabinets kill people who try to use them. Its hilarious, but annoying. I can't find why this is happening anywhere on the internet.
 

MoonFox

L10: Glamorous Member
Mar 17, 2015
739
74
all I can think of this is hilarious distrust of medicines, but maybe its a bug with the prop colliding with the player hitbox and crushing them. What does it say when they die?
 

MoonFox

L10: Glamorous Member
Mar 17, 2015
739
74
yep, the model is clipping, I would see about moving around the locker and see if that fixes it. Because its probably stuck in some geometry and or the player is getting caught in the opening animation, alternatively set the model's clipping to none, and just place a clip brush inside the locker model.
 
Mar 23, 2013
1,013
347
the player is getting caught in the opening animation

The doors have no colision, so there is no way the locker animation can crush you. It's probably what Muddy said, I bet you have two trigger at the same place for some reason and one of them is a trigger_hurt
 

Ramaraunt

L1: Registered
Mar 15, 2016
8
1
Nope, no trigger_hurt. Its really wierd.

I have a tf_player_condition set to melee_only right next to it. Maybe this has something to do with it?

Anyways I managed to fix the problem by deleting the cabinet and placing a new one with no collisions, then using a nodraw box to make fake collisions for the model.

In the console whenever I ran the map, it said something like "Fun_regenerate connected to a prop static ERROR", but when I looked at it in hammer, it was a prop_dynamic.
 
Mar 23, 2013
1,013
347
how does an error like this exist when you can't give static props a name? It is imposible to link a static prop to a func_regen.

Don't forget to func_detail the nodraw box or it might cause visibility bugs
 

MoonFox

L10: Glamorous Member
Mar 17, 2015
739
74
I said use toolsclip... its invisible and does not mess with world geometry.
 

worMatty

Repacking Evangelist
aa
Jul 22, 2014
1,257
999
Use the entity tool to find all the func_regen in your map. You may have duplicated one by accident.