|
Post by Helix on Mar 23, 2009 20:48:58 GMT
Hey there! Always wanted to disable fall damage? (Or even other kinds of damages) Then you can find out here. Just follow the steps, and fall damage (in this case) will be disabled for you!
1. Make an entity called ''filter_damage_type'' and give it name ''X'' (make up your own name)
2. Go to the properties menu of this entity by double clicking on it. Now click on ''Filter mode'' (put SmartEdit on, if it's off) and select ''Disallow entities that match criteria''. (If you want all damages to be disallowed except the one you selected, then select ''Allow entities that match criteria'').
3. Now go to ''Damage Type'' and select ''FALL'' (here, you can select any type of damage to be disabled.)
Now we need to activate this entity for the activator by standing on a trigger. So that means that a player stands on a trigger, the fall damage will be disabled for this person.
4. Create a block with the trigger texture, press ctrl+t and name it ''trigger_multiple''
5. Go to outputs, and create these settings:
My Output: OnStartTouch Targets entities named: !activator Via this input: SetDamageFilter with a parameter override of: ''X'' (The name you gave to the ''filter_damage_type'') Delay: 0.00
Keep ''Fire Once'' unchecked.
!activator and SetDamageFilter will pop up in red, but it will still work.
Now place this block on a place where you are totally sure every player will walk on, then the fall damage will be disabled for every player.
|
|
|
Post by lildragon555 on Apr 22, 2009 23:29:43 GMT
Do you know what !activator is?
|
|
|
Post by Helix on May 6, 2009 21:06:55 GMT
It stands for the activator. It is some sort of command I believe, at least it will take effect on the activator, so the player that activates a trigger
|
|
|
Post by ant600f2 on May 26, 2009 13:52:20 GMT
The difference between '!player' and '!activator' is that the first is for all players and the second only affects the player who actually triggers the, ah... Trigger.
|
|
|
Post by Eatbeavers(SWE) on Jun 21, 2009 20:43:25 GMT
why not just put like a square inch (in height that is duh) of water insteed mutch faster and everione loves water right?
|
|
|
Post by 3kliksphilip on Jun 23, 2009 7:15:26 GMT
I think Helix's way is much better.
|
|
|
Post by Eatbeavers(SWE) on Jun 23, 2009 9:10:35 GMT
why?(mine is faster and everyone will be all like ohhh it is safe to land on water )
|
|
|
Post by rokonader on Jun 23, 2009 15:01:39 GMT
Thanks helix, needed this for a special surf map thing...
|
|
Θrez
Trained Noob
Posts: 11
|
Post by Θrez on Jul 6, 2009 0:56:28 GMT
why?(mine is faster and everyone will be all like ohhh it is safe to land on water ) For one thing your way wont work in L4D, water actually works like it's supposed to For another, this is helpful for me to keep people from drowning (I hope). Edit: Okay it prevents fall damage in L4D but not drowning damage. Even when I set it to "take no damage except for POISON" AND "take no damage except for SONIC", which means logically it's just bypassing the filter altogether. ...Any ideas?
|
|