Hello All!
I just want to share further work I have done based on the mapping. If you don’t have the images for all DOTA2 Items and you want to be able to be updated with all items images without any code changes, below is what I recommend.
I have created a mapping between the IDs and Online URL images for those Item IDs by which you can just use them flag. You can download them all using a simple DownloadthemAll Plugin from firefox as well.
So here goes the mapping sample.
<?xml version=”1.0″ encoding=”UTF-8″ standalone=”yes”?>
<DOTA2Items xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”>
<DOTA2Item>
<Alias>Blink dagger</Alias>
<Name>item_blink</Name>
<ID>1</ID>
<OnlyName>blink</OnlyName>
<OnlineURL>http://cdn.dota2.com/apps/dota2/images/items/blink_lg.png</OnlineURL>
<LocalURL>assets/images/dota2/items/blink_lg.png</LocalURL>
</DOTA2Item>
<DOTA2Item>
<Alias>Blades of Attack</Alias>
<Name>item_blades_of_attack</Name>
<ID>2</ID>
<OnlyName>blades_of_attack</OnlyName>
<OnlineURL>http://cdn.dota2.com/apps/dota2/images/items/blades_of_attack_lg.png</OnlineURL>
<LocalURL>assets/images/dota2/items/blades_of_attack_lg.png</LocalURL>
</DOTA2Item>
</DOTA2Items>
You can download the full mapping file from HERE for your use.
Feel free for any questions you have or for any suggestions.