mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-03-27 04:49:04 +03:00
Updated Filters (markdown)
parent
f132eacee1
commit
1cbb1d8b10
12
Filters.md
12
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
|
||||
|
||||
<p align="left">
|
||||
<img src="https://lh3.googleusercontent.com/u/0/d/1dYTS4NZbpiUjn9aS2ZuNR3EWMWScqPwz=w1680-h907-iv1" width="96"/>
|
||||
<img src="https://lh3.googleusercontent.com/u/0/d/1XjE4q5unGNzsTXWK_i32dyY8G0PjTaZg=w1680-h907-iv1" width="96"/>
|
||||
<img src="https://lh3.googleusercontent.com/u/0/d/1cdPRu5Vsa2H5f9Tbusu3pJTJC6Z3qqxO=w1680-h907-iv1" width="96"/>
|
||||
<img src="https://lh3.googleusercontent.com/u/0/d/1XjE4q5unGNzsTXWK_i32dyY8G0PjTaZg=w1680-h907-iv1" width="96"/>
|
||||
<img src="https://lh3.googleusercontent.com/u/0/d/1dYTS4NZbpiUjn9aS2ZuNR3EWMWScqPwz=w1680-h907-iv1" width="96"/>
|
||||
</p>
|
||||
|
||||
**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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user