Difference between revisions of "Item schema"
(The GC is Steam servers that handle items, matchmaking, etc. The item schema is just a list.) |
(Revised the 'Strange' portion, removing the mention of the 'Spirit of Giving' and adding in the word 'cosmetics'. The old sentence felt a touch out of date.) |
||
Line 3: | Line 3: | ||
The '''item schema''' is a resource in ''Team Fortress 2'' that defines all existing items and the attributes assigned to them. The item schema is accessed by the game client in various menus of the interface, including the [[Mann Co. Store]], [[Mann Co. Catalog|Catalog]] and the player's [[backpack]]. Each item in the schema is maintained as an object with varying key-value pairs denoting its name, its type and slot, [[classes]] that can equip it, and its capabilities (such as, whether it can be used with a [[Paint Can]] or [[Name Tag]]). All values are listed in detail at [[WebAPI/GetSchema]]. | The '''item schema''' is a resource in ''Team Fortress 2'' that defines all existing items and the attributes assigned to them. The item schema is accessed by the game client in various menus of the interface, including the [[Mann Co. Store]], [[Mann Co. Catalog|Catalog]] and the player's [[backpack]]. Each item in the schema is maintained as an object with varying key-value pairs denoting its name, its type and slot, [[classes]] that can equip it, and its capabilities (such as, whether it can be used with a [[Paint Can]] or [[Name Tag]]). All values are listed in detail at [[WebAPI/GetSchema]]. | ||
− | In addition to the standard item schema, the schema version pulled by the game client is known as the 'client schema'. The client schema is obtained in [[WebAPI/VDF|VDF]] format for parsing by the game engine, and includes other details not in the standard schema, such as [[equip region]]s, attached weapon sounds, and [[bodygroup]]s for each item. Both versions of the item schema include definitions of all [[List of item attributes|item attributes]], [[item sets]], [[particle effects]] and item levels and ranks for [[Strange]] weapons and | + | In addition to the standard item schema, the schema version pulled by the game client is known as the 'client schema'. The client schema is obtained in [[WebAPI/VDF|VDF]] format for parsing by the game engine, and includes other details not in the standard schema, such as [[equip region]]s, attached weapon sounds, and [[bodygroup]]s for each item. Both versions of the item schema include definitions of all [[List of item attributes|item attributes]], [[item sets]], [[particle effects]] and item levels and ranks for [[Strange]] weapons and cosmetics. |
Before the item schema was accessible via the WebAPI, it was stored locally in VDF format in each game installation as {{code|items_game.txt}} (in {{code|team fortress 2 content.gcf/tf/scripts/}}). {{code|items_game.txt}} is still kept, however, its only purpose is to enable users to override definitions from the WebAPI schema. | Before the item schema was accessible via the WebAPI, it was stored locally in VDF format in each game installation as {{code|items_game.txt}} (in {{code|team fortress 2 content.gcf/tf/scripts/}}). {{code|items_game.txt}} is still kept, however, its only purpose is to enable users to override definitions from the WebAPI schema. |
Revision as of 23:54, 28 May 2014
The item schema is a resource in Team Fortress 2 that defines all existing items and the attributes assigned to them. The item schema is accessed by the game client in various menus of the interface, including the Mann Co. Store, Catalog and the player's backpack. Each item in the schema is maintained as an object with varying key-value pairs denoting its name, its type and slot, classes that can equip it, and its capabilities (such as, whether it can be used with a Paint Can or Name Tag). All values are listed in detail at WebAPI/GetSchema.
In addition to the standard item schema, the schema version pulled by the game client is known as the 'client schema'. The client schema is obtained in VDF format for parsing by the game engine, and includes other details not in the standard schema, such as equip regions, attached weapon sounds, and bodygroups for each item. Both versions of the item schema include definitions of all item attributes, item sets, particle effects and item levels and ranks for Strange weapons and cosmetics.
Before the item schema was accessible via the WebAPI, it was stored locally in VDF format in each game installation as items_game.txt
(in team fortress 2 content.gcf/tf/scripts/
). items_game.txt
is still kept, however, its only purpose is to enable users to override definitions from the WebAPI schema.
Item schema updates
All updates to the item schemas for Team Fortress 2 and Team Fortress 2 Beta are kept in the OPTF2 Schema Tracker, a Git repository. Previous versions and changes in updates are viewable as diffs.
See also
- WebAPI
- WebAPI/GetSchema – technical description of the item schema as accessible via the Steam Web API
- Items
External links
- OPTF2 Schema Tracker for several Steam games
- Team Fortress 2 Schema
- Latest version of Team Fortress 2 Schema
- Latest version of Team Fortress 2 Client Schema
- Diffs between Team Fortress 2 versions
- Team Fortress 2 Beta Schema
- Latest version of Team Fortress 2 Beta Schema
- Latest version of Team Fortress 2 Beta Client Schema
- Diffs between Team Fortress 2 Beta versions