Mapping help

Alcolo Oasis Dec 10, 2016

  1. Alcolo Oasis

    Alcolo Oasis Global Admin Global Admin VIP User Event Winner Event Manager

    161
    592
    480
    Hello Unlozers,
    I'm working on a new version of my mg map but I need some help.
    I want to enable knife damage and have fall damage disable. On the first release of the map, I put a filter_damage_type with the following parameters :
    Name : disable_damage
    Filter mode : Allow entities that match criteria
    Damage type : CRUSH
    With this entity, I disable all the damage (guns, knife and fall. I need it for some levels like soccer, icehockey, etc). However, I'm now creating an iceskate level but I want to enable only guns and knife damage. If I kill my disable_damage entity, obviously it doesn't work (fall damage is enabled). So I created another filter_damage_type with :
    Name : disable_fall_damage
    Filter mode : Allow entities that match criteria
    Damage type : FALL
    So I tested that with killing the disable_damage (so there's only the disable_fall_damage) but it didn't work. I also tried with Disallow entities but still nothing.
    I hope you understood me and you can help me :D

    PS : To resume, I simply want 1 filter_damage_type for disable "normal" damage (gun and knife) and another one to disable fall damage.
     
    Last edited: Dec 10, 2016
  2. Striker

    Striker Guest

    0
    0
    0
    wat
     
  3. Moltard

    Moltard Admin Admin Mapper User Event Winner

    163
    341
    420
    To make no fall damage use:
    Filter_damage_type
    Name = <insert entity name here>
    FALL
    Disallow entity that match criteria

    Outputs on a trigger:
    OnStartTouch !activator SetDamageFilter <insert the name of your filter>

    It will make the player filtered against fall damage thanks to the "Disallow entity that match criteria"
    Because it make the player damagable (is that a word?) by anything but FALL damage
     
    Struppi and Radiothere like this.
  4. Radiothere

    Radiothere Sexualizer VIP User

    93
    272
    283
    @Moltard did a pretty damm good explanation to you, but if it's not enough, i would imagine that one or more of the mapper would gladly help you out with it. (not take my word on it).
     
  5. Alcolo Oasis

    Alcolo Oasis Global Admin Global Admin VIP User Event Winner Event Manager

    161
    592
    480
    Yep, it works. Thanks Moltard ^^
     
  6. zaCade

    zaCade /dev/null Technical Staff Mapper User Event Winner Discord Manager

    67
    146
    350
    There is two ways of doing it.

    Filter -> FALL
    Mode -> Allow entities that match criteria
    Result -> Everything but FALL damage will damage the player you apply it on
    Result -> Only FALL damage will damage the player you apply it on

    Filter -> FALL
    Mode -> Disallow entities that match criteria
    Result -> Only FALL damage will damage the player you apply it on
    Result -> Everything but FALL damage will damage the player you apply it on

    But its pretty much what moltard already explained, i just felt like explaining it alittle more indepth :P
     
    Last edited: Dec 11, 2016
    Radiothere and jenz like this.
  7. Alcolo Oasis

    Alcolo Oasis Global Admin Global Admin VIP User Event Winner Event Manager

    161
    592
    480
    Well, that's the contrary. Everything damage me except fall damage.
     
  8. zaCade

    zaCade /dev/null Technical Staff Mapper User Event Winner Discord Manager

    67
    146
    350
    Oh yea.. Mybad xD
    Fixed the other post, for future references :b
     
    Alcolo Oasis likes this.
-->