Mapping help

Oct 15, 2016
677
2,932
1,550
27
France
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:
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
 
@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).
 
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 by a moderator:
  • Like
Reactions: Radiothere and jenz