Path of Exile Wiki

Wiki поддерживается сообществом, поэтому подумайте над тем, чтобы внести свой вклад.

ПОДРОБНЕЕ

Path of Exile Wiki
Radonegsky66@legacy41979293 (обсуждение | вклад)
(Новая страница: «'''Item filters''' can be used to customize how items on the ground are displayed. ==Using an existing filter== * Download the filter you wish to use * Place th…»)
 
Radonegsky66@legacy41979293 (обсуждение | вклад)
Нет описания правки
Строка 1: Строка 1:
  +
'''Фильтра предметов''' позволяет вам настроить отображение предметов на земле по себя.
'''Item filters''' can be used to customize how items on the ground are displayed.
 
   
  +
Так например вы можете выделить выпадение [[вещи на обмен|валюты]] цветом шрифта, рамкой, или звуковым сигнал, отключить отображение магических предметов, но при этом показывать все предметы с 5-ю гнездами или имеющими качество 20% и т.д.
==Using an existing filter==
 
   
  +
==Использование чужих фильтров==
* Download the filter you wish to use
 
  +
* Place the filter in
 
  +
* Скачайте фильтр, который планируете использовать
  +
* Поместите его в
 
%USERPROFILE%/Documents/My Games/Path of Exile/
 
%USERPROFILE%/Documents/My Games/Path of Exile/
* Make sure it has the correct file extension '''.filter'''
+
* Убедитесь, что файл имеет верное расширение: '''.filter'''
  +
* В игре, вызовите меню настроек -> Интерфейс -> Фильтр предметов и выберете ваш фильтр
* In game, go to Options -> UI -> Item Filter and select the filter
 
   
  +
==Создание предметов==
==Creating a filter==
 
   
  +
Базовый синтаксис представляет собой набор блоков Show (показывать) и Hide (скрыть) с различными параметрами условий. Все, что удовлетворяет условиям блока Show будет показано, а то, что условиям блоков Hide - скрыто. Если блок имеет несколько условий, то необходимо выполнять их все, чтобы на предмет распространялось действие блока.
The basic syntax of a script is a collection of Show and Hide blocks that each specify conditions. Anything matched by a Show block will be shown and anything matched by a Hide block will be hidden. If there are multiple conditions in a block then all of them must be matched for the block to match an item.
 
   
  +
Блоки проверяются в том порядке в котором они расположены в файле. Это значит, что вы должны разместить блок "спрятать свитки мудрости" над (до) блока "показывать валюту", так как свитки удовлетворяют требованиям блока валюты.
The blocks are matched in the order they come in the file which means that you need to have the block that hides the scrolls above before the line that shows the currency because scrolls would also match the currency block.
 
   
  +
Если блок не имеет условий (пустой) - то ему удовлетворяют все предметы. Это значит, что пустой блок Hide в конце файла спрячет все, что не было специально оговорено до него.
An empty block matches all items, which means that the Hide at the end of the file effectively hides everything that wasn't specifically shown.
 
   
  +
Линии, начинающиеся с символа # считаются комментариями, и игнорируются игрой.
A line starting with # will be considered a comment and will be ignored.
 
   
===Notes===
+
===Замечания===
   
  +
Пожалуйста помните о следующем при чтении страницы:
Please consider the following when reading this wiki page:
 
  +
* Значения в скобках необходимо заменять одиночными значениями
* Replace the values in the brackets with a single value
 
  +
* Запись типа: '''x-y''' (например 0-255) указывает на диапазон значений
* x-y (i.e. 0-255) is used to show a range of valid values
 
  +
* Значения, указанные в квадратных скобках [] - опциональны; уберите []
* Values enclosed with [] are optional; remove the []
 
  +
* Значения, указанные в угольных скобках <> - обязательны ; уберите <>
* Values enclosed with <> are required; remove the <>
 
   
===Blocks===
+
===Блоки===
   
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
! Name !! class="unsortable" | Notes
+
! Наименование !! class="unsortable" | Примечание
 
|-
 
|-
  +
| Show || Если удовлетворяет '''всем''' требованиям блока, то предмет отображается, а также выполняются другие оговоренные действия
| Show || If all conditions are matched, show the item and do any actions specified
 
 
|-
 
|-
  +
| Hide || Если удовлетворяет '''всем''' требованиям блока, то предмет скрывается, а также выполняются другие оговоренные действия
| Hide || If all conditions are matched, hide the item and do any actions specified
 
 
|}
 
|}
   
===Operators===
+
===Операторы===
   
  +
Для следующих операторов требуется задание числовых значений. Обратите внимание, что для операций "равенство" не требуется оператора.
The following Operators can be used with numeric conditions. Note that for equal operations there is no operator required.
 
   
 
{|class="wikitable"
 
{|class="wikitable"
! Operator !! class="unsortable" | Notes
+
! Оператор !! class="unsortable" | Примечание
 
|-
 
|-
| < || Less than
+
| < || Менее чем
 
|-
 
|-
| <= || Less than or equal to
+
| <= || Менее чем или равно
 
|-
 
|-
| > || Greater than
+
| > || Более чем
 
|-
 
|-
| >= || Greater or equal to
+
| >= || Более чем или равно
 
|}
 
|}
   
===Conditions===
+
===Условия===
 
Notes:
 
Notes:
 
* Ranges in parentheses are plausible values, but not enforced
 
* Ranges in parentheses are plausible values, but not enforced
Строка 106: Строка 108:
 
|}
 
|}
   
===Actions===
+
===Действия===
   
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
Строка 132: Строка 134:
 
|}
 
|}
   
===Examples===
+
===Примеры===
 
<!-- Someone add some examples here. Please do not add complete filters, just examples to show people how it can be setup -->
 
<!-- Someone add some examples here. Please do not add complete filters, just examples to show people how it can be setup -->
   
====Example 1====
+
====Пример 1====
 
* Shows all items with a red, green and blue linked socket
 
* Shows all items with a red, green and blue linked socket
 
* Changes the text color to a light blue one
 
* Changes the text color to a light blue one
Строка 143: Строка 145:
 
</pre>
 
</pre>
   
====Example 2====
+
====Пример 2====
 
* Shows all items that match the following conditions
 
* Shows all items that match the following conditions
 
** Item class is either [[Ring]] or [[Amulet]]
 
** Item class is either [[Ring]] or [[Amulet]]
Строка 159: Строка 161:
 
</pre>
 
</pre>
   
  +
==Известные проблемы==
==Known issues==
 
 
<!-- Editors: Remove issues if confirmed fixed -->
 
<!-- Editors: Remove issues if confirmed fixed -->
 
Known issues with workaround. Use at your own risk.
 
Known issues with workaround. Use at your own risk.
Строка 165: Строка 167:
 
===Item filters not found===
 
===Item filters not found===
   
====Solution A====
+
====Решение A====
 
* Check that the filter has the correct ending (.filter )
 
* Check that the filter has the correct ending (.filter )
 
* Check whether the item filter is placed in the correct folder
 
* Check whether the item filter is placed in the correct folder
   
====Solution B====
+
====Решение B====
 
Currently (beta) item filters may not load for users who use a non-ASCII userpath. As a work around you can move your documents folder to a location which does not contain non-ASCII letters. To do so:
 
Currently (beta) item filters may not load for users who use a non-ASCII userpath. As a work around you can move your documents folder to a location which does not contain non-ASCII letters. To do so:
 
Go to your user folder (%USERPROFILE%) -> right click on My Documents -> properties -> path -> move... -> select a new location to move to -> apply
 
Go to your user folder (%USERPROFILE%) -> right click on My Documents -> properties -> path -> move... -> select a new location to move to -> apply
   
  +
==История изменений==
==Version history==
 
 
{{VersionHistoryTable}}
 
{{VersionHistoryTable}}
 
{{VersionHistoryRow|2.0.0}}
 
{{VersionHistoryRow|2.0.0}}
  +
* Введен в игру.
* Introduced to the game.
 
 
|}
 
|}
   

Версия от 00:00, 17 июля 2015

Фильтра предметов позволяет вам настроить отображение предметов на земле по себя.

Так например вы можете выделить выпадение валюты цветом шрифта, рамкой, или звуковым сигнал, отключить отображение магических предметов, но при этом показывать все предметы с 5-ю гнездами или имеющими качество 20% и т.д.

Использование чужих фильтров

  • Скачайте фильтр, который планируете использовать
  • Поместите его в
   %USERPROFILE%/Documents/My Games/Path of Exile/
  • Убедитесь, что файл имеет верное расширение: .filter
  • В игре, вызовите меню настроек -> Интерфейс -> Фильтр предметов и выберете ваш фильтр

Создание предметов

Базовый синтаксис представляет собой набор блоков Show (показывать) и Hide (скрыть) с различными параметрами условий. Все, что удовлетворяет условиям блока Show будет показано, а то, что условиям блоков Hide - скрыто. Если блок имеет несколько условий, то необходимо выполнять их все, чтобы на предмет распространялось действие блока.

Блоки проверяются в том порядке в котором они расположены в файле. Это значит, что вы должны разместить блок "спрятать свитки мудрости" над (до) блока "показывать валюту", так как свитки удовлетворяют требованиям блока валюты.

Если блок не имеет условий (пустой) - то ему удовлетворяют все предметы. Это значит, что пустой блок Hide в конце файла спрячет все, что не было специально оговорено до него.

Линии, начинающиеся с символа # считаются комментариями, и игнорируются игрой.

Замечания

Пожалуйста помните о следующем при чтении страницы:

  • Значения в скобках необходимо заменять одиночными значениями
  • Запись типа: x-y (например 0-255) указывает на диапазон значений
  • Значения, указанные в квадратных скобках [] - опциональны; уберите []
  • Значения, указанные в угольных скобках <> - обязательны ; уберите <>

Блоки

Наименование Примечание
Show Если удовлетворяет всем требованиям блока, то предмет отображается, а также выполняются другие оговоренные действия
Hide Если удовлетворяет всем требованиям блока, то предмет скрывается, а также выполняются другие оговоренные действия

Операторы

Для следующих операторов требуется задание числовых значений. Обратите внимание, что для операций "равенство" не требуется оператора.

Оператор Примечание
< Менее чем
<= Менее чем или равно
> Более чем
>= Более чем или равно

Условия

Notes:

  • Ranges in parentheses are plausible values, but not enforced
  • Every condition can have multiple values
  • If the value contains whitespace, it will count as two sperate values unless quoted
Name Valid Values Notes
ItemLevel [Operator] <Level> Numeric Level (0-100) The item level the item was generated at.
DropLevel [Operator] <Level> Numeric Level (0-100) The level that the item starts dropping at.
Quality [Operator] <Quality> Numeric Quality (0-20) The amount of quality on the item.
Rarity [Operator] <Rarity> Normal, Magic, Rare, Unique Rarity of the item.
Class <Class> Full or partial item class name The item class. Specifying part of a class name is allowed and will match any classes with that text in the name. So for example "One Hand" will match both "One Hand Sword" and "One Hand Axe"
BaseType <Type> Full or partial item name The base type of the item. Specifying a part of a base type name is allowed and will match any of the base types with that text in the name.
Sockets [Operator] <Sockets> Numeric Number of Sockets (0-6) Total number of sockets that the item has.
LinkedSockets [Operator] <Links> Numeric Number of Links (0, 2-6) The size of the largest group of linked sockets that the item has.
SocketGroup [Group] R, G, B, W A group of linked sockets that contains the specified combination. Each letter is short-hand for the colour (i.e. Red = R). For example, RRG will match any group that contains two red sockets linked with a green socket.
Height [Operator] <Value> Numeric number of slots (1-4) The number of slots the item takes on the Y-axis (verical axis), i.e. the height of the item. [1]
Width [Operator] <Value> Numeric number of slots (1-2) The number of slots the item takes on the X-axis (horizontal axis), i.e. the width of the item.

Действия

Name Valid Values Notes
SetBorderColor <Red> <Green> <Blue> [Alpha] 0-255 Sets the border colour of the item box in RGB values from 0-255 with optional Alpha (opacity) value of 0-255
SetTextColor <Red> <Green> <Blue> [Alpha] 0-255 Sets the text colour of the item box in RGB values from 0-255 with optional Alpha (opacity) value of 0-255
SetBackgroundColor <Red> <Green> <Blue> [Alpha] 0-255 Sets the colour of the item box in RGB values from 0-255 with optional Alpha (opacity) value of 0-255
PlayAlertSound <Id> [Volume] 1-9 [0-100] Plays the specified Alert Sound with optional volume when dropped. Only one sound can be played at a time.
SetFontSize <FontSize> 18-45 (default: 32) Sets the font-size of item text. [2]

Примеры

Пример 1

  • Shows all items with a red, green and blue linked socket
  • Changes the text color to a light blue one
Show
    SocketGroup RGB
    SetTextColor 127 127 255

Пример 2

  • Shows all items that match the following conditions
    • Item class is either Ring or Amulet
    • Item basename contains "Gold"
    • Item has the "Rare" rarity level
    • Item level is 75 or higher
  • Effectively, this means rare Gold Rings and Gold Amulets with item level 75 or higher will be shown
  • Changes the border to a yellow border
Show
    Class Ring Amulet
    BaseType Gold
    Rarity Rare
    ItemLevel >= 75
    SetBorderColor 255 255 0

Известные проблемы

Known issues with workaround. Use at your own risk.

Item filters not found

Решение A

  • Check that the filter has the correct ending (.filter )
  • Check whether the item filter is placed in the correct folder

Решение B

Currently (beta) item filters may not load for users who use a non-ASCII userpath. As a work around you can move your documents folder to a location which does not contain non-ASCII letters. To do so:

 Go to your user folder (%USERPROFILE%) -> right click on My Documents -> properties -> path -> move... -> select a new location to move to -> apply

История изменений

Версия Изменения
2.0.0
  • Введен в игру.

See also

Popular item filters

References

  1. (12 May 2015). "Item Filter Suggestions; Identified items, corrupted items, and grid sizes.". Reddit. Получено 12 May 2015.
  2. (02 May 2015). "PSA: You can change the font size in item filters.". Reddit. Получено 02 May 2015.