Difference between revisions of "Loot Filtration"
Line 66: | Line 66: | ||
! Output | ! Output | ||
|- | |- | ||
− | | | + | | %PRICE% |
| Selling price of the item | | Selling price of the item | ||
|- | |- | ||
− | | | + | | %ILVL% |
| Item level | | Item level | ||
|- | |- | ||
− | | | + | | %SOCKETS% |
| Show the item's socket count | | Show the item's socket count | ||
|} | |} |
Revision as of 14:20, 10 January 2017
A Loot Filter is included in the QoL Feature set. By editing the "item.filter" file located in your Diablo II 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 List of Loot Filter 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% | |
%DGREEN% | |
%GOLD% | |
%TAN% |
See more codes at List of Loot Filter 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 List of Loot Filter 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%}