mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-03-27 04:49:04 +03:00
Updated Filters (markdown)
parent
e953a543c6
commit
f132eacee1
15
Filters.md
15
Filters.md
@ -43,7 +43,7 @@ Mapbase adds several new filters so mappers could test more conditions:
|
||||
<img src="https://lh3.googleusercontent.com/u/0/d/1CW6PNy5cD7fhYsSllqkGBsNMD-6FNO1f=w1680-h907-iv1" width="96"/>
|
||||
</p>
|
||||
|
||||
"Redirect" filters are a new type of filter that takes a separate entity from the activator and passes it to another filter. For example, `filter_redirect_weapon` gets the activator's weapon and could pass it to a different filter, which then treats the weapon as the activator.
|
||||
**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:
|
||||
|
||||
@ -61,4 +61,15 @@ Here's a list of the standard redirect filters introduced in Mapbase:
|
||||
<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"/>
|
||||
</p>
|
||||
</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.
|
||||
|
||||
4 of these entities exist in Mapbase:
|
||||
|
||||
| Name | Description |
|
||||
|:-------------:|:-------------|
|
||||
| filter_damage_transfer | Causes damage taken by entities using this filter to transfer to a different entity, or a set of entities. |
|
||||
| filter_damage_mod | Modifies damage taken by entities using this filter. |
|
||||
| filter_damage_logic | Fires outputs with damage parameters whenever an entity using this filter takes damage. |
|
||||
| filter_blood_control | Controls whether blood can be emitted when an entity using this filter takes damage. *(does not affect actual damage on its own)* |
|
Loading…
x
Reference in New Issue
Block a user