Higher quality Item images in inventory & loadouts
While going through all available hud files for TF2 trying to make my own I stumbled upon a line in the 'new item found' panel that makes item images of the items found/received/traded display in high quality. Using this line in backpackpanels, loadout and item selection screens makes high quality item images show up (has possible more uses)
Screenshots with comparison
Find 'modelpanels_kv' and then the section 'itemmodelpanel' where you add: "inventory_image_type" "1"
Files to modify if interested in high quality item images:
- resource/ui/econ/backpackpanel.res (Backpack)
- resource/ui/classloadoutpanel.res (Loadout)
- resource/ui/itemselectionpanel.res (Item selection)
- resource/ui/freezepanel_basic.res (Death Cam)
- resource/ui/ItemQuickSwitch.res (Weapon Quick Switching)
- resource/ui/hudinspectpanel.res ('inspect')
- resource/ui/spectator.res (Spectating)
- resource/ui/spectatortournament.res (Specating in Tournament)
Simplified HUD file contents to improve image quality
"Resource/UI/Econ/BackpackPanel.res" {
"backpack_panel" {
"modelpanels_kv"{
"itemmodelpanel" {
"inventory_image_type" "1" // High quality item image
}
}
}
}
*rip formatting