From 1cbb1d8b1089fbbba74f96cd216d1e0a602c82f1 Mon Sep 17 00:00:00 2001 From: Blixibon Date: Fri, 23 Aug 2019 15:08:46 -0500 Subject: [PATCH] Updated Filters (markdown) --- Filters.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Filters.md b/Filters.md index fcaf1ef..835ada8 100644 --- a/Filters.md +++ b/Filters.md @@ -20,7 +20,7 @@ In Mapbase, all filters have been given the following new I/O/KV: ### New filters -Mapbase adds several new filters so mappers could test more conditions: +Mapbase adds a few new filters so mappers could test more conditions: | Name | Description | |:-------------:|:-------------| @@ -31,7 +31,7 @@ Mapbase adds several new filters so mappers could test more conditions: | filter_activator_keyfield | Filters an entity by its keyvalues, serving as an extension of logic_keyfield. | | filter_activator_relationship | Filters an entity by its relationship to a target, or vice versa. | | filter_activator_classify | Filters an entity by its `Classify()` class. (e.g. `CLASS_PLAYER_ALLY`) | -| filter_activator_criteria | Filters an entity by its response criteria normally used in the response system. | +| filter_activator_criteria | Filters an entity by response criteria normally used in the response system. | | filter_activator_involume | Filters an entity by whether it's inside of a target entity's volume. (e.g. a trigger) | | filter_activator_surfacedata | Filters an entity by its surface data. (e.g. whether it's made of wood) | @@ -45,22 +45,22 @@ Mapbase adds several new filters so mappers could test more conditions: **Redirect filters** are a new "class" of filters that take a separate entity from the activator and pass it to another filter. For example, a `trigger_once` using a `filter_redirect_weapon` gets the activator's weapon and passes it to a `filter_activator_class`, which checks if it's a `weapon_pistol`. -Here's a list of the standard redirect filters introduced in Mapbase: +Here's a list of the redirect filters introduced in Mapbase: | Name | Description | |:-------------:|:-------------| | filter_redirect_weapon | Redirects the activator's weapon. *(as a damage filter, this gets the weapon used in the damage)* | | filter_redirect_owner | Redirects the activator's owner entity. | -| filter_redirect_inflictor | As a damage filter, this redirects the inflictor of the damage, e.g. a grenade after an explosion. (filters normally use the attacker) | +| filter_redirect_inflictor | As a damage filter, this redirects the inflictor of the damage, e.g. the grenade in an explosion. (filters normally use the attacker) | --- ### Damage manipulators

- - + +

**Damage manipulators** are a family of filters designed to be used as damage filters, directly manipulating or operating with damage in some way. They don't actually filter anything themselves, but they can use a "secondary filter" to act as an actual damage filter or to control their behavior.