Difference between revisions of "List of item attributes"

From Team Fortress Wiki
Jump to: navigation, search
(created a Swedish page text of List of item attributes)
m (Undo edit by Doktorjan (Talk) (2448178) This is the English page)
Line 1: Line 1:
Följande tabell beskriver möjliga attribut för [[weapons/sv|vapen]] och [[items/sv|föremål]] som finns i filen items_game.txt. Detta är '' 'listan över artikelattribut' '' som beskrivs för användaren, så vissa attribut kommer att dupliceras om de båda kan visas som positiva eller negativa (till exempel en skadebonus / straff) eller om de har flera olika beskrivningar ("set_weapon_mode" används för att representera alternativa versioner av ett halvt dussin olika vapen).
+
The following table describes the possible attributes of [[weapons]] and [[items]] as contained in the items_game.txt file. This is the '''list of item 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).
  
Denna tabell visar:
+
This table lists:
  
* '''ID''': Intern ID referens för attributet. Används inte direkt i den här filen, men mods kan hänvisa till detta värde.
+
* '''ID''': Internal ID reference of that attribute. Not used directly in this file, but mods may refer to this value.
* '''Namn''': Internt namn på detta attribut.
+
* '''Name''': Internal name of this attribute.
* '''Beskrivning''': Texten som visas för användaren i vapens beskrivning. "''% s1 ''" "ersätts med attributets värde.
+
* '''Description''': The text that appears for the user in the weapon's description. "'''%s1'''" is replaced with the value of the attribute.
* '''Värdetyp''': Hur värdet på detta attribut formateras för visning. Möjliga typer är additiv (schablonvärde), procentsats, tillsatsprocent (för procenttal som börjar från 0% istället för 100%, som chans att bromsa målet) och inverterad procent (en positiv "mult_postfiredelay" kommer att översättas till en negativ brandkvotprocent )
+
* '''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)
* '''Klass''': Detta är attributets namn som används av resten av dokumentet items_game.txt, som när det definierar varje vapens attribut.
+
* '''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.
  
== Lista ==
+
== List ==
 
{{List of item attributes}}
 
{{List of item attributes}}
  
== Se också ==
+
== See also ==
* [[Items/sv|Föremål]]
+
* [[Items]]
  
 
[[Category:Lists|Item attributes]]
 
[[Category:Lists|Item attributes]]
 
[[Category:Items]]
 
[[Category:Items]]

Revision as of 11:23, 11 August 2019

The following table describes the possible attributes of weapons and items as contained in the items_game.txt file. This is the list of item 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. "%s1" 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.

List

See also