Item Filter

From Annihilus Wiki
Jump to: navigation, search

Item Filters

Annihilus provides a feature which allows players to customize what items they want to show, highlight, or hide with sets of customizable rules. Much of the rules, syntax and quirks of the system follow heavily with Path of Exile's item filtering system, as an attempt to allow players already familiar with that system to get started with this one.

Creating an Item Filter

Creating your own filter requires the use of a text editor. Windows, like most operating systems, comes with a default tool for this, though the third party tool Notepad++ is recommended for text-heavy work where the default editors might fall short.

The system is composed of sets of blocks containing a single or multiple conditions. When a block is chosen by the item filtering system, that block's alert and styling rules will be applied to that item.

Blocks are chosen from the top down. As soon as an item successfully meets a block, it will do what the block says.

An Example Filter

Hide

   ItemType "Runes"
   ItemName "Eth" "Nef" "Tir" "Eld" "El"

Show

   Sockets >= 5
   SetBorderColor 0 0 255

Show

   ItemType "Runes" "Riftstone" "Rift Particles" "Rift Energies" "Quest Items"

Show

   ItemType "High Runes"
   SetBorderColor 255 0 255
   MinimapIcon 2 255 0 255

Show

   ItemType "Runes"
   ItemName "Gul" "Ist" "Um" "Pul" "Lem"
   SetBorderColor 255 0 255
   MinimapIcon 2 255 0 255    

Show

   ImplicitTier == 1
   Rarity >= Rare
   SetBorderColor 255 0 0
   MinimapIcon 2 255 0 0

Show

   ItemType Jewels
   Rarity >= Magic

Show

   Rarity == Set
   MinimapIcon 2 0 255 0

Show

   Rarity == Unique
   MinimapIcon 2 255 200 0

Show

   Rarity >= Rare

Show

   Tier == Elite
   Rarity == Normal

Hide

   ItemType "Pelt" "Voodoo Heads" "Auric Shields" "Primal Helmets"

Show

   ImplicitTier == 1
   SetBorderColor 0 255 255

Show

   ItemName "Leg"

Hide

Installing a filter

To install a filter you have downloaded, just place it in your filter folder. To get to your filter folder, go to your annihilus folder, then to apps, then to annihilus again. Once the filter is in the filter folder, it will show up in your gameplay options in-game. Find it in the list of filters dropdown menu and select it.

Operators

Here is a list of conditional operators that are currency accepted:

Operator Meaning
> Greater than
< Less than
>= Greater than or Equal
<= Less than or Equal
== Equal to
 != Not Equal to

Opcodes

Block Opcodes
Name Description
Show Used to start a block of conditional opcodes for things you want to show.
Hide Used to start a block of conditional opcodes for things you want to hide.
Conditional Opcodes
Name Description
Stack [Operator] [Number] A condition that checks if an item is stacked, and how many are in the stack.
Rarity [Operator] [Rarity] A condition that checks the rarity of an item, including Normal, Magic, Rare, Set and Unique.
Tier [Operator] [Tier] A condition that checks the tier of the item, including Normal, Exceptional and Elite.
Sockets [Operator] [Number] A condition that checks the number of sockets of an item.
ItemLevel [Operator] [Number] A condition that checks the item level of an item.
AreaLevel [Operator] [Number] A condition that checks if the item was dropped in the specified area levels
PlayerLevel [Operator] [Number] A condition that checks if the player is at a certain level when an item drops.
Ethereal [Operator] [true/false] A condition that checks if an item is ethereal.
Identified [Operator] [true/false] A condition that checks if an item is identified.
Spectral [Operator] [true/false] A condition that checks if an item is spectral.
ImplicitTier [Operator] [Number] A condition that checks the tier of an item's implicit modifier.
ItemType [string] A condition that checks the type of the item, accepted ItemType strings are shown below.
ItemName [string] A condition that checks the name of the item.
Width [Operator] [Number] A condition that checks the inventory width of an item.
Height [Operator] [Number] A condition that checks the inventory height of an item.
HasAffix [string] A condition that checks if an item has a certain affix. Only works on identified items.
RiftstoneTier [Operator] [Number] A condition that checks the tier of a riftstone item.
Warped [Operator] [true/false] A condition that checks if an item is warped.
Style Opcodes
Name Description
SetBorderColor [r:Number] [g:Number] [b:Number] A style condition that sets the border color for a block equal to the red, green and blue color codes that you pick. The 3 numbers must each be between 0 and 255.
SetTextColor [Color] A style condition that sets the text color for a block. Accepted text colors are shown below.
SetBackgroundColor [r:Number] [g:Number] [b:Number] A style condition that sets the background color for a block equal to the red, green and blue color codes that you pick. The 3 numbers must each be between 0 and 255.
SetFont [Font] A style condition that sets the font for a block. Accepted fonts are shown below.
SetBlendMode [BlendMode] A style condition that changes the blend mode for a block. Accepted blend modes are shown below.
SetItemName [String] A style condition that changes the name an item shows up as.
Alert Opcodes
Name Description
PlayAlertSound [Number] An alert condition that changes the sound when an item drops.
MinimapIcon [size:Number] [r:Number] [g:Number] [b:Number] An alert condition that causes a block to show up on the minimap.

List of Item Types

Shields Body Armors Boots Gloves Helmets Belts Circlets
Cloaks Voodoo Heads Auric Shields Primal Helmets Pelts Orbs Hand to Hand
Amazon Javelins Amazon Spears Amazon Bows Scepters One Handed Weapons Two Handed Weapons Staves
Axes Clubs Swords Knives Polearms Hammers Spears
Maces Wands Blunt Weapons Class Specific Amazon Items Barbarian Items Necromancer Items
Paladin Items Sorceress Items Assassin Items Druid Items Bows Crossbow Javelins
Throwing Knives Throwing Axes Runes High Runes Quest Items Jewels Greater Souls
Bow Quivers Crossbow Quivers Amulets Rings Jewelry Potions Rift Energies
Rift Particles Riftstone

List of Text Colors

White Red LightGreen Blue DarkGold Grey Black
Gold Orange Yellow DarkGreen Purple Green White2
Black2 DarkWhite

List of Text Fonts

Font8 Font16 Font30 Font42 FontFormal10 FontFormal12 Font6
Font24 FontFormal11 FontExocet10 FontRidiculous FontExocet8 ReallyTheLastSucker FontInGameChat

List of Blend Modes

Alpha25 Alpha50 Alpha75 Alpha50Bright Inverted Normal Alpha25Bright Bright