Break a func_breakable with a prop_physics_override?

Discussion in 'Mapping Questions & Discussion' started by Werewolf, Mar 3, 2015.

  1. Werewolf

    aa Werewolf Probably not a real Werewolf

    Messages:
    768
    Positive Ratings:
    222
    I'm trying to create a func_breakable floor that can only be broken by a prop_physics_override falling though it. Players should not be able to break it all all, either by shooting it or walking on it.

    The problem I am finding is that when I drop my prop_physics_override (A models/props_vehicles/train_engine.mdl) on it, the floor does not break. If I do manage to get it to break then I find players can break it as well, which is not what I want.

    Before anyone says, I know there is a flag on the func_breakable for "Only Break on Trigger" which I DON'T want to use, because the prop does not fall at a consistent speed. Sometime it might break before the prop is in place, other times the prop might sit on the func_breakable and break a moment later.

    I've tried using:
    • A filter__damage_type and setting it to 'Train (16)", then parenting a trigger_hurt to the train prop, setting its damage type to "Train (16)" as well.
    • A filter_activator_name, setting the 'name' as the name of the prop (prop_train)
    • A filter_activator_class, setting it to the type of entitiy the prop is (prop_physics_override)
    • Tried setting the Strength of the func_breakable to a high number so that players could break it eventually, but can't seem to find the right number to make it break by the prop first time.
    None of these have worked and I can't figure out how to to make it work.

    Anyone got any ideas?
     
  2. Muddy

    Server Staff Muddy Muddy

    Messages:
    2,387
    Positive Ratings:
    4,219
    Try using a trigger_once on the floor that detects when the prop_physics_override touches it.
     
  3. Werewolf

    aa Werewolf Probably not a real Werewolf

    Messages:
    768
    Positive Ratings:
    222
    It's OK, I fixed it. Seems I had set the trigger_hurt (that's parented to the train prop) to start disabled, so of course it would not break the func_breakable, because it wasn't on!

    But thanks for the suggestion!