Resupply Cabinets Kill

Discussion in 'Mapping Questions & Discussion' started by Ramaraunt, Mar 22, 2016.

  1. Ramaraunt

    Ramaraunt L1: Registered

    Messages:
    8
    Positive Ratings:
    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.
     
  2. MoonFox

    MoonFox L10: Glamorous Member

    Messages:
    735
    Positive Ratings:
    72
    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?
     
  3. Ramaraunt

    Ramaraunt L1: Registered

    Messages:
    8
    Positive Ratings:
    1
    "fell to a clumsy, painful death"
     
  4. MoonFox

    MoonFox L10: Glamorous Member

    Messages:
    735
    Positive Ratings:
    72
    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.
     
  5. Muddy

    Server Staff Muddy Muddy

    Messages:
    2,372
    Positive Ratings:
    4,167
    Are you sure you didn't accidentally use a trigger_hurt instead of a func_regenerate?

    This is a really weird issue I have never heard of before...
     
  6. Lampenpam

    aa Lampenpam

    Messages:
    994
    Positive Ratings:
    328
    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
     
    • Agree Agree x 1
  7. Ramaraunt

    Ramaraunt L1: Registered

    Messages:
    8
    Positive Ratings:
    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.
     
  8. Lampenpam

    aa Lampenpam

    Messages:
    994
    Positive Ratings:
    328
    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
     
  9. MoonFox

    MoonFox L10: Glamorous Member

    Messages:
    735
    Positive Ratings:
    72
    I said use toolsclip... its invisible and does not mess with world geometry.
     
  10. worMatty

    aa worMatty Repacking Evangelist

    Messages:
    1,071
    Positive Ratings:
    832
    Use the entity tool to find all the func_regen in your map. You may have duplicated one by accident.