Yo, a little help here?





Today we're unveiling the TF2 Contribution site. This nifty site will allow anyone who's made a custom piece of TF2 content to submit it to us, with a view to it appearing in-game. Many of you have been building fantastic TF2 work for a while now, and we wanted a way for you to get it in front of all TF2 players, and for everyone to see that you were the one that built it.



Also, we've now added an official feed for harvesting TF2 inventory data for all the folks out there building nifty web pages around items. Technical details are as follows:



<ul style="padding-bottom: 0px; margin-bottom: 0px;" >The TF2 client installation now includes tf\scripts\items\items_game.txt. This is the item dictionary most of you have been working with for a while now.

A JSON feed describing the TF2 items in an account can be reached at this URL: http://steamcommunity.com/id/<steamID or vanity URL>/tfitems?json=1


Use the definition indices for item types, attribute types, and quality levels in the JSON feed to index into the items_game.txt dictionary, and you're good to go. Note that it will respect the privacy settings on steam profiles, so it won't report the inventories of players who've marked the profile as private.
 
Back
Top