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

From Team Fortress Wiki
Jump to: navigation, search
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) or if they have several different descriptions ("set_weapon_mode" is used to represent alternate versions of half a dozen different weapons).
 
 
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. Possible types are additive (flat value), percentage, additive percentage (for percentages that start from 0% instead of 100%, like chance to slow target) and inverted percentage (a positive "mult_postfiredelay" will be translated to a negative fire rate percentage)
 
* '''Class''': This is the attribute's name used by the rest of the items_game.txt document, as in when it defines each weapon's attributes.
 
 
The "Tier X" attributes are not used in-game at the moment. They might be part of a future or abandoned weapon personalization system.
 
 
----
 
 
 
{|class="wikitable grid sortable plainlinks"
 
{|class="wikitable grid sortable plainlinks"
 
|-
 
|-
Line 179: Line 165:
 
|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]
|''(Not implemented)''
+
|<nowiki>Attrib_AltFire_Disabled</nowiki>
 
|additive
 
|additive
 
|unimplemented_altfire_disabled
 
|unimplemented_altfire_disabled
Line 185: Line 171:
 
|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]
|''(Used to disable crits)''
+
|<nowiki></nowiki>
 
|
 
|
 
|mult_crit_chance
 
|mult_crit_chance
Line 191: Line 177:
 
|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]
|''(Not implemented)''
+
|<nowiki>Attrib_AltFire_Is_Vampire</nowiki>
 
|additive
 
|additive
 
|set_altfire_mode
 
|set_altfire_mode
Line 275: Line 261:
 
|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]
|''(Force-a-Nature's special reload)''
+
|<nowiki></nowiki>
 
|
 
|
 
|set_scattergun_no_reload_single
 
|set_scattergun_no_reload_single
Line 347: Line 333:
 
|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]
|''(Unused)''
+
|<nowiki></nowiki>
 
|
 
|
 
|obsolete
 
|obsolete
Line 713: Line 699:
 
|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]
|''(Type of banner buff)''
+
|<nowiki></nowiki>
 
|
 
|
 
|set_buff_type
 
|set_buff_type
Line 749: Line 735:
 
|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]
|''(Unused)''
+
|<nowiki></nowiki>
 
|
 
|
 
|set_buff_type
 
|set_buff_type
Line 857: Line 843:
 
|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]
|''(Unused)''
+
|<nowiki></nowiki>
 
|
 
|
 
|add_maxhealth_nonbuffed
 
|add_maxhealth_nonbuffed
Line 869: Line 855:
 
|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]
|''(Paint can's color)''
+
|<nowiki></nowiki>
 
|
 
|
 
|set_item_tint_rgb
 
|set_item_tint_rgb
Line 881: Line 867:
 
|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]
|''(Crit-a-cola)''
+
|<nowiki></nowiki>
 
|
 
|
 
|set_weapon_mode
 
|set_weapon_mode
Line 1,115: Line 1,101:
 
|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 n</nowiki>
+
|<nowiki>Gift from Clasko</nowiki>
 
|account_id
 
|account_id
 
|gifter_account_id
 
|gifter_account_id
Line 1,133: Line 1,119:
 
|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]
|''(Unused)''
+
|<nowiki></nowiki>
 
|
 
|
 
|set_elevated_quality
 
|set_elevated_quality

Revision as of 16:26, 13 December 2010

See Also