Item FiltersFor a long time, Path of Exile players have requested some way to filter items. We were always resistant to this because the parameters of such an item filter would have to be so complicated that we couldn't reasonably make a user interface to support them. For example, a lot of players want a way to filter out Magic and Normal items. This would be fine, but they still also want to see base item types above level 70. And currency. But not scrolls because they have enough of those. And maps. And any item with 20% quality. But any gem that has quality is good too. And any item with 6 sockets. And any item with 5 or more linked sockets. As you can see, the array of UI options that we would have to provide to allow the specific filtering requirements of every player would be completely impractical. This is why we are adding a new feature called Item Filter Scripts in the upcoming expansion. Not only do item filter scripts allow you to filter items, but they allow you to customise the display of items as well. Item Filter Script ExampleThe following is a filter script that shows all the items described above and hides everything else:
# You can add comments by putting a # at the start of the line
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. 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. The example here uses a whitelisting approach where you specify all the items that you want to see, but it is perfectly reasonable to create a filter script that simply hides the items you don't wish to see while showing the rest with an empty Show at the bottom. Item Filter Condition TypesThe following is a full list of all the conditions that you can specify to filter items. Numeric conditions allow you to use comparison operators such as less than (<) or greater than or equals (>=) to indicate that you would like to include items that would compare that way.
Modifying How Items Are ShownThe item filter system also gives you the ability to modify how items are displayed. For example, say you want to show gems that have quality with a blue border. You could do that with the BorderColor attribute as shown here:
Show Or let's say you want to show Exalts with Purple text for some reason. You could do that with the TextColor attribute as shown here:
Show You can also set the background colour:
Show The three numbers used to specify a colour are the Red, Blue and Green components of the colour where 255 is the highest value. An optional fourth parameter can be provided to specify the transparency, this also ranges from 0 to 255 where 0 is completely see-through and 255 is completely opaque. You can also have an alert sound play with PlayAlertSound. There are 9 alert sounds that can be chosen from by specifying a number. The volume of the alert sound can be adjusted with an optional second parameter, ranging from 0 to 100. The following will play alert sound 1 at 50% volume when at item with 6 linked sockets drops:
Show We've made our currency stand out more by adding a border and increasing the size of the font using SetFontSize:
Show Items can be shown based on their size by checking Width and Height. In this example, all other 1x1 items are set to appear small and transparent using SetFontSize and lowering the fourth colour value. We'll hide the rest of the items by adding a "Hide" block to the end of our file.
Show Any or all of these attributes can be added to any Show block to allow complete customisation of how items hovers are shown in the world. An example with an item filter that applies some of the colour changes described above For a great guide on how to create Item Filters, click here! |
|||||||||||||||||||||||||||||
First for Summon Chaos Golem
"Yesterday I was clever, so I wanted to change the world.
Today I am wise, so I am changing myself." -Rumi of the Vaal |
| ||||||||||||||||||||||||||||
Nice ;)
|
| ||||||||||||||||||||||||||||
Whoa! Dood! Awzum!
|
| ||||||||||||||||||||||||||||
Interesting. Will have to look more into this and also...of course...Chaos Golem, eh?
|
| ||||||||||||||||||||||||||||
You beauts!
|
| ||||||||||||||||||||||||||||
FUCK YEAH!
You expect me to act as something I'm not? I picked this name for a reason.
|
| ||||||||||||||||||||||||||||
That looks absolutely amazing.
|
| ||||||||||||||||||||||||||||
Boom! Amazing.
|
| ||||||||||||||||||||||||||||
fpa fap fap fap fap fap fpa
WERE WINNING BOYS |
|