Difference between revisions of "Loot Filtration"
(→Value References) |
|||
Line 1: | Line 1: | ||
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. | 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 and instructions | + | You can find loot filters made by other players and download instructions at [[List of Loot Filters]]. |
Line 26: | Line 26: | ||
| Orb of Corruption | | Orb of Corruption | ||
|} | |} | ||
− | + | See more 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''' | If you would like to rename "Scroll of Town Portal" to a much shorter "TP" then you would type: '''ItemDisplay[tsc]: TP''' | ||
Line 52: | Line 52: | ||
| [[File:Fonttan.png]] | | [[File:Fonttan.png]] | ||
|} | |} | ||
− | + | See more 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''' | If you would like to change the color of the Horadric Cube to purple then you would type: '''ItemDisplay[box]: %PURPLE%Horadric Cube''' | ||
Line 58: | Line 58: | ||
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 | 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: | Sometimes you want to call upon a value in the game to show the player. Below are a few examples: | ||
Line 75: | Line 75: | ||
| Show the item's socket count | | Show the item's socket count | ||
|} | |} | ||
− | |||
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''' | 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%}''' | The same thing can be done to show the item level (L99) as a suffix: '''ItemDisplay[cm3]: %NAME% {L%ILVL%}''' |
Revision as of 13:53, 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 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 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 |
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%}