Difference between revisions of "Template:List of item attributes"

From Team Fortress Wiki
Jump to: navigation, search
m (Updated item attributes)
Line 1: Line 1:
 +
The following table describes the weapon/item attributes, as contained in the items_game.txt file. This is the list of attributes as described to the user, so some attributes will be duplicated if they can both appear as positive or negative (such as a damage bonus/penalty).
 +
 +
This table lists:
 +
 +
* '''ID''': Internal ID reference of that attribute. Not used directly in this file, but mods may refer to this value.
 +
* '''Name''': Internal name of this attribute.
 +
* '''Description''': The text that appears for the user in the weapon's description. "n" is replaced with the value of the attribute.
 +
* '''Value Type''': How the value of this attribute is formatted for display.
 +
* '''Class''': The "attribute_class" value in the weapon's "attributes" list this attribute refers to.
 +
 +
----
 +
 
{|class="wikitable grid sortable plainlinks"
 
{|class="wikitable grid sortable plainlinks"
 
|-
 
|-
Line 165: Line 177:
 
|27
 
|27
 
|[[File:Pictogram neutral.png|16px]] [http://optf2.com/attrib_dump?wikitext=1&att=alt-fire+disabled alt-fire disabled]
 
|[[File:Pictogram neutral.png|16px]] [http://optf2.com/attrib_dump?wikitext=1&att=alt-fire+disabled alt-fire disabled]
|<nowiki>Attrib_AltFire_Disabled</nowiki>
+
|''(Not implemented)''
 
|additive
 
|additive
 
|unimplemented_altfire_disabled
 
|unimplemented_altfire_disabled
Line 171: Line 183:
 
|28
 
|28
 
|[[File:Pictogram minus.png|16px]] [http://optf2.com/attrib_dump?wikitext=1&att=crit+mod+disabled+hidden crit mod disabled hidden]
 
|[[File:Pictogram minus.png|16px]] [http://optf2.com/attrib_dump?wikitext=1&att=crit+mod+disabled+hidden crit mod disabled hidden]
|<nowiki></nowiki>
+
|''(Used to disable crits)''
 
|
 
|
 
|mult_crit_chance
 
|mult_crit_chance
Line 177: Line 189:
 
|29
 
|29
 
|[[File:Pictogram plus.png|16px]] [http://optf2.com/attrib_dump?wikitext=1&att=alt-fire+is+vampire alt-fire is vampire]
 
|[[File:Pictogram plus.png|16px]] [http://optf2.com/attrib_dump?wikitext=1&att=alt-fire+is+vampire alt-fire is vampire]
|<nowiki>Attrib_AltFire_Is_Vampire</nowiki>
+
|''(Not implemented)''
 
|additive
 
|additive
 
|set_altfire_mode
 
|set_altfire_mode
Line 261: Line 273:
 
|43
 
|43
 
|[[File:Pictogram neutral.png|16px]] [http://optf2.com/attrib_dump?wikitext=1&att=scattergun+no+reload+single scattergun no reload single]
 
|[[File:Pictogram neutral.png|16px]] [http://optf2.com/attrib_dump?wikitext=1&att=scattergun+no+reload+single scattergun no reload single]
|<nowiki></nowiki>
+
|''(Force-a-Nature's special reload)''
 
|
 
|
 
|set_scattergun_no_reload_single
 
|set_scattergun_no_reload_single
Line 333: Line 345:
 
|55
 
|55
 
|[[File:Pictogram neutral.png|16px]] [http://optf2.com/attrib_dump?wikitext=1&att=obsolete+ammo+penalty obsolete ammo penalty]
 
|[[File:Pictogram neutral.png|16px]] [http://optf2.com/attrib_dump?wikitext=1&att=obsolete+ammo+penalty obsolete ammo penalty]
|<nowiki></nowiki>
+
|''(Unused)''
 
|
 
|
 
|obsolete
 
|obsolete
Line 699: Line 711:
 
|116
 
|116
 
|[[File:Pictogram plus.png|16px]] [http://optf2.com/attrib_dump?wikitext=1&att=mod+soldier+buff+type mod soldier buff type]
 
|[[File:Pictogram plus.png|16px]] [http://optf2.com/attrib_dump?wikitext=1&att=mod+soldier+buff+type mod soldier buff type]
|<nowiki></nowiki>
+
|''(Type of banner buff)''
 
|
 
|
 
|set_buff_type
 
|set_buff_type
Line 735: Line 747:
 
|122
 
|122
 
|[[File:Pictogram plus.png|16px]] [http://optf2.com/attrib_dump?wikitext=1&att=mod+demo+buff+type mod demo buff type]
 
|[[File:Pictogram plus.png|16px]] [http://optf2.com/attrib_dump?wikitext=1&att=mod+demo+buff+type mod demo buff type]
|<nowiki></nowiki>
+
|''(Unused)''
 
|
 
|
 
|set_buff_type
 
|set_buff_type
Line 843: Line 855:
 
|140
 
|140
 
|[[File:Pictogram plus.png|16px]] [http://optf2.com/attrib_dump?wikitext=1&att=hidden+maxhealth+non+buffed hidden maxhealth non buffed]
 
|[[File:Pictogram plus.png|16px]] [http://optf2.com/attrib_dump?wikitext=1&att=hidden+maxhealth+non+buffed hidden maxhealth non buffed]
|<nowiki></nowiki>
+
|''(Unused)''
 
|
 
|
 
|add_maxhealth_nonbuffed
 
|add_maxhealth_nonbuffed
Line 855: Line 867:
 
|142
 
|142
 
|[[File:Pictogram neutral.png|16px]] [http://optf2.com/attrib_dump?wikitext=1&att=set+item+tint+RGB set item tint RGB]
 
|[[File:Pictogram neutral.png|16px]] [http://optf2.com/attrib_dump?wikitext=1&att=set+item+tint+RGB set item tint RGB]
|<nowiki></nowiki>
+
|''(Paint can's color)''
 
|
 
|
 
|set_item_tint_rgb
 
|set_item_tint_rgb
Line 867: Line 879:
 
|144
 
|144
 
|[[File:Pictogram neutral.png|16px]] [http://optf2.com/attrib_dump?wikitext=1&att=lunchbox+adds+minicrits lunchbox adds minicrits]
 
|[[File:Pictogram neutral.png|16px]] [http://optf2.com/attrib_dump?wikitext=1&att=lunchbox+adds+minicrits lunchbox adds minicrits]
|<nowiki></nowiki>
+
|''(Crit-a-cola)''
 
|
 
|
 
|set_weapon_mode
 
|set_weapon_mode
Line 1,101: Line 1,113:
 
|186
 
|186
 
|[[File:Pictogram plus.png|16px]] [http://optf2.com/attrib_dump?wikitext=1&att=gifter+account+id gifter account id]
 
|[[File:Pictogram plus.png|16px]] [http://optf2.com/attrib_dump?wikitext=1&att=gifter+account+id gifter account id]
|<nowiki>Gift from Clasko</nowiki>
+
|<nowiki>Gift from n</nowiki>
 
|account_id
 
|account_id
 
|gifter_account_id
 
|gifter_account_id
Line 1,119: Line 1,131:
 
|189
 
|189
 
|[[File:Pictogram plus.png|16px]] [http://optf2.com/attrib_dump?wikitext=1&att=elevate+quality elevate quality]
 
|[[File:Pictogram plus.png|16px]] [http://optf2.com/attrib_dump?wikitext=1&att=elevate+quality elevate quality]
|<nowiki></nowiki>
+
|''(Unused)''
 
|
 
|
 
|set_elevated_quality
 
|set_elevated_quality

Revision as of 13:53, 13 December 2010

The following table describes the weapon/item attributes, as contained in the items_game.txt file. This is the list of attributes as described to the user, so some attributes will be duplicated if they can both appear as positive or negative (such as a damage bonus/penalty).

This table lists:

  • ID: Internal ID reference of that attribute. Not used directly in this file, but mods may refer to this value.
  • Name: Internal name of this attribute.
  • Description: The text that appears for the user in the weapon's description. "n" is replaced with the value of the attribute.
  • Value Type: How the value of this attribute is formatted for display.
  • Class: The "attribute_class" value in the weapon's "attributes" list this attribute refers to.

See Also