any way to avoid fall damage?

Discussion in 'Mapping Questions & Discussion' started by Bonafide, Sep 27, 2008.

  1. Bonafide

    Bonafide L6: Sharp Member

    Messages:
    314
    Positive Ratings:
    25
    There is a drop and you take fall damage when you drop from it. Is there any way to avoid the fall damage without making the drop smaller? I mean its just a tiny bit too big and I need a work around. People really wouldn't notice and think "oh I should of taken fall damage there". Dont ask for me to put an obstacle to drop on to either. I was looking more for an invisible hammer way to remove the fall damage.

    Thanks
     
  2. AWESOME-O

    AWESOME-O L10: Glamorous Member

    Messages:
    782
    Positive Ratings:
    66
    create a invisible texture, with the water specs?
     
  3. Bonafide

    Bonafide L6: Sharp Member

    Messages:
    314
    Positive Ratings:
    25
    what do you mean "with the water specs" ?
     
  4. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,562
    If you let us know why you want this we can give more specific appropriate solutions/answers.

    I'd suggest perhaps a trigger_push brush pushing gently upwards to soften the fall, but, it may interfere with jumps also (appearing as low gravity) and it may not make a difference at all, if the damage is worked out mathematically by distance. etc.

    Seems rather gimmicky. I doubt you can get what you want though.
     
  5. Gadget

    aa Gadget

    Messages:
    495
    Positive Ratings:
    411
    You could use trigger_push with push direction: up, maybe combined with a trigger_multiple. Or just place some water at the bottom.
     
  6. Altaco

    Altaco L7: Fancy Member

    Messages:
    485
    Positive Ratings:
    121
    I'd say make the area look like it should have some water there, and put water there.
     
  7. Snipergen

    Snipergen L13: Stunning Member

    Messages:
    1,053
    Positive Ratings:
    150
    This would be the best way to do it.
    Faking fall damage to avoid recreating a part of your map is just poor thinking :unsure:
     
  8. Bonafide

    Bonafide L6: Sharp Member

    Messages:
    314
    Positive Ratings:
    25
    haha man it was just a general enquiry into if Valve have implemented an easy to use tool in hammer to remove fall damage similar to the way you can die from small drops. I thought they would have but obviously not.
     
  9. FaTony

    FaTony Banned

    Messages:
    902
    Positive Ratings:
    160
    Yep, valve's bad :pP

    Trigger_hurt with negative value?
     
  10. Zeewier

    Zeewier L9: Fashionable Member

    Messages:
    619
    Positive Ratings:
    130
    I think (not sure) that a dmg filter can do the trick.

    This will permanently remove the fall dmg, the enable it again add this:

    add a filter_damage_type (enablealldmg) and set type to something random (a value that doesnt exist). and Allow entities that match critira (not 100% sure, but im @ school so i cant test it) and add this

    My output named: OnEndTouch
    Targets entities named: !activator
    Via this input: SetDamageFilter
    With a parameter override of: enablealldmg

    This should work (tested it once, but only to make someone unvulnerable to all dmg types, not sure if Fall is also Fall in TF2)

    When i'm home i will add a prefab

    back to my maths now xD
     
    • Thanks Thanks x 3
    • Agree Agree x 1
  11. Zeewier

    Zeewier L9: Fashionable Member

    Messages:
    619
    Positive Ratings:
    130
    Here is the prefab ;) (map :p) And btw it works very well, except you do hear the sound of breaking bones when you hit the ground :)

    But if you can make this into an easy prefab to serve as the "no fall dmg tool"

    Edit: Added the NoFallDmgTool prefab :p
     
    • Thanks Thanks x 1
    Last edited: Sep 29, 2008
  12. FaTony

    FaTony Banned

    Messages:
    902
    Positive Ratings:
    160
    That looks interesting :)
     
  13. Big Lou

    Big Lou L3: Member

    Messages:
    120
    Positive Ratings:
    27
    I can't seem to get this to work. I basically just copied and pasted the trigger and two filters into my map, placed the trigger on the ground where I want fall damage removed, and it appears to have done nothing.

    What could I be doing wrong?
     
  14. captainAngry

    captainAngry L7: Fancy Member

    Messages:
    434
    Positive Ratings:
    247
    I have played many maps that have tried to remove fall damage and just for the record, the only time it isn't awkward is when you jump into a small puddle.
     
  15. Big Lou

    Big Lou L3: Member

    Messages:
    120
    Positive Ratings:
    27
    Well, it's for my Billiards map... I can't really use water. It wouldn't be awkward--only helpful.
     
  16. Zeewier

    Zeewier L9: Fashionable Member

    Messages:
    619
    Positive Ratings:
    130
    This should work, have you placed all correct filters? (check names and settings)

    btw nice bump that post was like my 10th post :p
     
  17. Big Lou

    Big Lou L3: Member

    Messages:
    120
    Positive Ratings:
    27
    Perhaps I missed something, or perhaps I was blind... but it seemed the NoFallTool only included 2 filters whereas FallDamagePrefab has 3. I used the prefab and it works now, thanks!