Difference between revisions of "Loot Filtration"

From Path of Diablo Wiki
Jump to: navigation, search
(Created page with "That's $fifty three.70 more in your pocket which you'll be able to spend on something else when you use the most well-liked promo code.<br><br>Look into my webpage [http://www...")
 
(Color Codes)
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
That's $fifty three.70 more in your pocket which you'll be able to spend on something else when you use the most well-liked promo code.<br><br>Look into my webpage [http://www.bjchys.com/comment/html/index.php?page=1&id=8101 The Most Popular Hostgator 1 Cent Coupon]
+
By editing the "item filter" file located in your Path Of Diablo installation folder, you can create a set of rules which will change the way loot is displayed.
 +
 
 +
You can find loot filters made by other players and download instructions at [[List of Loot Filters]].
 +
 
 +
 
 +
== Basics ==
 +
 
 +
=== Item Codes ===
 +
 
 +
All items in the game have an id code. Below are a few examples:
 +
 
 +
{| class="wikitable"
 +
! Code
 +
! Item
 +
|-
 +
| tsc
 +
| Scroll of Town Portal
 +
|-
 +
| rvs
 +
| Rejuvenation Potion
 +
|-
 +
| pk1
 +
| Key of Terror
 +
|-
 +
| cx5
 +
| Orb of Corruption
 +
|}
 +
''See more codes at [[Loot Filtration Codes]]''
 +
 
 +
If you would like to rename "Scroll of Town Portal" to a much shorter "TP" then you would type: '''ItemDisplay[tsc]: TP'''
 +
 
 +
You can also add more text to an item. If you want to remember which boss drops which uber key then you would type: '''ItemDisplay[pk1]: Key of Terror (Countess)'''
 +
 
 +
=== Color Codes ===
 +
 
 +
You can also change the color of the item name using color codes. Below are a few example colors:
 +
 
 +
{| class="wikitable"
 +
! Code
 +
! Color
 +
|-
 +
| %GREEN%
 +
| [[File:Fontgreen.png]]
 +
|-
 +
| %DGREEN%
 +
| [[File:Fontdgreen.png]]
 +
|-
 +
| %GOLD%
 +
| [[File:Fontgold.png]]
 +
|-
 +
| %TAN%
 +
| [[File:Fonttan.png]]
 +
|}
 +
''See more codes at [[Loot Filtration Codes]]''
 +
 
 +
If you would like to change the color of the Horadric Cube to purple then you would type: '''ItemDisplay[box]: %PURPLE%Horadric Cube'''
 +
 
 +
You can also use multiple colors within a single item. For example if you want the word "Horadric" to be yellow and "Cube" to be purple you would type: '''ItemDisplay[box]: %YELLOW%Horadric %PURPLE%Cube'''
 +
 
 +
=== Value References ===
 +
 
 +
Sometimes you want to call upon a value in the game to show the player. Below are a few examples:
 +
 
 +
{| class="wikitable"
 +
! Code
 +
! Output
 +
|-
 +
| %PRICE%
 +
| Selling price of the item
 +
|-
 +
| %ILVL%
 +
| Item level
 +
|-
 +
| %SOCKETS%
 +
| Show the item's socket count
 +
|}
 +
''See more codes at [[Loot Filtration Codes]]''
 +
 
 +
If you want to show the selling price of an item using a dollar sign ($100) as a prefix you would type: '''ItemDisplay[gpm]: ($%PRICE%) Choking Gas Potion'''
 +
 
 +
The same thing can be done to show the item level {L99} as a suffix: '''ItemDisplay[cm3]: %NAME% {L%ILVL%}'''
 +
 
 +
=== Hiding Items ===
 +
 
 +
When you want to hide an item, you simply leave the space behind the colon (:) empty.
 +
 
 +
So for example if you want to hide Antidote potions (yps) you would type: '''ItemDisplay[yps]:'''
 +
 
 +
This tells the game to display Antidote potions as nothing, which hides the item.
 +
 
 +
=== Rule Priority ===
 +
 
 +
The higher the rule in your filter file, the higher priority it will have.
 +
 
 +
This means if on the first line of your item filter you choose to hide all Spears but then on Line 2 you choose to show Spears with 6 sockets then the result is no spear will ever show.
 +
 
 +
In this example, you would change their location within the file. So show 6 socket spears on Line 1 and hide all spears on Line 2. This will hide all Spears except those with 6 sockets.
 +
 
 +
=== Conditions ===
 +
 
 +
* >
 +
* <
 +
* =
 +
 
 +
Using ''Greater than >'', ''Less than <'' and ''Equal to ='' will help add conditions to rules.
 +
 
 +
You may want to hide gold stacks that are not worth your time (stacks below 1000g) by typing: '''ItemDisplay[GOLD<1000]:'''
 +
 
 +
=== Logical Operators ===
 +
 
 +
You can use logical operators whenever you want to show an item only if a certain condition is met. Below are all the options:
 +
 
 +
* AND
 +
* OR
 +
* ! (logic negation)
 +
 
 +
If you want to show all polearms (WP8) with 4 or 5 sockets then you would type: '''ItemDisplay[WP8 (SOCK>3 AND SOCK<6)]: %NAME%'''
 +
 
 +
This same rule can be written in a different way: '''ItemDisplay[WP8 !SOCK=0 !SOCK=1 !SOCK=2 !SOCK=3 !SOCK=6]: %NAME%'''
 +
 
 +
The first one says "Show me all polearms with more than 3 but less than 6 sockets" whereas the second says "Show me all polearms but not ones with 0, 1, 2, 3 or 6 sockets".
 +
 
 +
 
 +
'''It is important to keep ''AND'' & ''OR'' within their own bracket set. For example: (SOCK>3 OR SOCK=1). This is not required for logic negation ('''!''')'''
 +
 
 +
== Credits ==
 +
 
 +
QoL Features for PoD by Dav92.
 +
This tool is based on code from McGoD, underbent and Deadlock39 (did I forget anyone?)

Latest revision as of 11:02, 2 August 2020

By editing the "item filter" file located in your Path Of Diablo installation folder, you can create a set of rules which will change the way loot is displayed.

You can find loot filters made by other players and download instructions at List of Loot Filters.


Basics

Item Codes

All items in the game have an id code. Below are a few examples:

Code Item
tsc Scroll of Town Portal
rvs Rejuvenation Potion
pk1 Key of Terror
cx5 Orb of Corruption

See more codes at Loot Filtration Codes

If you would like to rename "Scroll of Town Portal" to a much shorter "TP" then you would type: ItemDisplay[tsc]: TP

You can also add more text to an item. If you want to remember which boss drops which uber key then you would type: ItemDisplay[pk1]: Key of Terror (Countess)

Color Codes

You can also change the color of the item name using color codes. Below are a few example colors:

Code Color
 %GREEN% Fontgreen.png
 %DGREEN% Fontdgreen.png
 %GOLD% Fontgold.png
 %TAN% Fonttan.png

See more codes at Loot Filtration Codes

If you would like to change the color of the Horadric Cube to purple then you would type: ItemDisplay[box]: %PURPLE%Horadric Cube

You can also use multiple colors within a single item. For example if you want the word "Horadric" to be yellow and "Cube" to be purple you would type: ItemDisplay[box]: %YELLOW%Horadric %PURPLE%Cube

Value References

Sometimes you want to call upon a value in the game to show the player. Below are a few examples:

Code Output
 %PRICE% Selling price of the item
 %ILVL% Item level
 %SOCKETS% Show the item's socket count

See more codes at Loot Filtration Codes

If you want to show the selling price of an item using a dollar sign ($100) as a prefix you would type: ItemDisplay[gpm]: ($%PRICE%) Choking Gas Potion

The same thing can be done to show the item level {L99} as a suffix: ItemDisplay[cm3]: %NAME% {L%ILVL%}

Hiding Items

When you want to hide an item, you simply leave the space behind the colon (:) empty.

So for example if you want to hide Antidote potions (yps) you would type: ItemDisplay[yps]:

This tells the game to display Antidote potions as nothing, which hides the item.

Rule Priority

The higher the rule in your filter file, the higher priority it will have.

This means if on the first line of your item filter you choose to hide all Spears but then on Line 2 you choose to show Spears with 6 sockets then the result is no spear will ever show.

In this example, you would change their location within the file. So show 6 socket spears on Line 1 and hide all spears on Line 2. This will hide all Spears except those with 6 sockets.

Conditions

  • >
  • <
  • =

Using Greater than >, Less than < and Equal to = will help add conditions to rules.

You may want to hide gold stacks that are not worth your time (stacks below 1000g) by typing: ItemDisplay[GOLD<1000]:

Logical Operators

You can use logical operators whenever you want to show an item only if a certain condition is met. Below are all the options:

  • AND
  • OR
  •  ! (logic negation)

If you want to show all polearms (WP8) with 4 or 5 sockets then you would type: ItemDisplay[WP8 (SOCK>3 AND SOCK<6)]: %NAME%

This same rule can be written in a different way: ItemDisplay[WP8 !SOCK=0 !SOCK=1 !SOCK=2 !SOCK=3 !SOCK=6]: %NAME%

The first one says "Show me all polearms with more than 3 but less than 6 sockets" whereas the second says "Show me all polearms but not ones with 0, 1, 2, 3 or 6 sockets".


It is important to keep AND & OR within their own bracket set. For example: (SOCK>3 OR SOCK=1). This is not required for logic negation (!)

Credits

QoL Features for PoD by Dav92. This tool is based on code from McGoD, underbent and Deadlock39 (did I forget anyone?)