List of item attributes: Difference between revisions
From TF2 Classified Wiki
More actions
m typo fix - id 4112 |
reformat |
||
| Line 1: | Line 1: | ||
The following tables describe 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). | The following tables describe 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). | ||
A list of conditions can be found [[List of conditions|here]]. Attributes that | A list of conditions can be found [[List of conditions|here]]. | ||
Attributes that use a condition in them must have this '''Syntax:''' {{code|preset=10|"<condition id> <duration>"}} {{code|preset=9|e.g. "5 2.0"}} | |||
__TOC__ | __TOC__ | ||
==TF2 Atributes== | ==TF2 Atributes== | ||
| Line 580: | Line 581: | ||
| 3048 || no damage falloff over distance || || additive || mod_no_dmg_falloff || | | 3048 || no damage falloff over distance || || additive || mod_no_dmg_falloff || | ||
|- | |- | ||
| 3049 || add condition on hit || || additive || add_onhit_addcond || | | 3049 || add condition on hit || || additive || add_onhit_addcond || Use [[List of Conditions]], Syntax: "<condition id> <duration>" e.g. "5 2.0" | ||
|- | |- | ||
| 3050 || minigun spindown time increased || || || mult_minigun_spindown_time || | | 3050 || minigun spindown time increased || || || mult_minigun_spindown_time || | ||
| Line 596: | Line 597: | ||
| 3056 || mark self on miss || On Miss: Mark yourself for death for %s'''1'''%s || additive || self_mark_for_death_on_miss || | | 3056 || mark self on miss || On Miss: Mark yourself for death for %s'''1'''%s || additive || self_mark_for_death_on_miss || | ||
|- | |- | ||
| 3057 || civ boost cond override || || additive || add_civ_boost_override || Syntax: "<condition id> <duration>" e.g. "5 2.0" | | 3057 || civ boost cond override || || additive || add_civ_boost_override || Use [[List of Conditions]], Syntax: "<condition id> <duration>" e.g. "5 2.0" | ||
|- | |- | ||
| 3058 || civ boost aura override || || additive || add_civ_aura_override || | | 3058 || civ boost aura override || || additive || add_civ_aura_override || | ||
| Line 602: | Line 603: | ||
| 3059 || civ boost targets enemies || || additive || add_civ_boost_enemies || | | 3059 || civ boost targets enemies || || additive || add_civ_boost_enemies || | ||
|- | |- | ||
| 3060 || add condition on swing || || additive || add_onswing_addcond || Syntax: "<condition id> <duration>" e.g. "5 2.0" | | 3060 || add condition on swing || || additive || add_onswing_addcond || Use [[List of Conditions]], Syntax: "<condition id> <duration>" e.g. "5 2.0" | ||
|- | |- | ||
| 3061 || self mark for death on swing || On Activation: Mark yourself for hyper death. Take ranged mini-crits and melee crits! || additive || add_onswing_addcond || Version of 3060 with unique link to description string for Detonator. | | 3061 || self mark for death on swing || On Activation: Mark yourself for hyper death. Take ranged mini-crits and melee crits! || additive || add_onswing_addcond || Version of 3060 with unique link to description string for Detonator. | ||
| Line 657: | Line 658: | ||
Works only for bullets. 0 is default, 1 means to use accurate hitboxes, 2 means use collision hulls, 3 is 1 but can pass through teammates, 4 is 2 but can pass through teammates. | Works only for bullets. 0 is default, 1 means to use accurate hitboxes, 2 means use collision hulls, 3 is 1 but can pass through teammates, 4 is 2 but can pass through teammates. | ||
|- | |- | ||
| 3088 || add condition on kill || || additive || add_onkill_addcond_self || Syntax: "<condition id> <duration>" e.g. "5 2.0" | | 3088 || add condition on kill || || additive || add_onkill_addcond_self || Use [[List of Conditions]], Syntax: "<condition id> <duration>" e.g. "5 2.0" | ||
|- | |- | ||
| 3089 || gain attack boost on kill || Attrib_Gain5SecondBoostOnKill || additive || add_onkill_addcond_self || Double Barrel Shotgun description version | | 3089 || gain attack boost on kill || Attrib_Gain5SecondBoostOnKill || additive || add_onkill_addcond_self || Double Barrel Shotgun description version | ||
| Line 992: | Line 993: | ||
| 3254 || heal on smack DISPLAY ONLY || Hit teammates at maximum charge to fully heal them || additive || heal_on_smack_DISPLAY_ONLY || | | 3254 || heal on smack DISPLAY ONLY || Hit teammates at maximum charge to fully heal them || additive || heal_on_smack_DISPLAY_ONLY || | ||
|- | |- | ||
| 3255 || wearable add cond on right click || || additive || add_wearable_cond_on_secondary_attack || Syntax: "<condition id> <duration> <recharge rate>" | | 3255 || wearable add cond on right click || || additive || add_wearable_cond_on_secondary_attack || Use [[List of Conditions]], Syntax: "<condition id> <duration> <recharge rate>" | ||
|- | |- | ||
| 3256 || wearable cond on effect percent || || additive || add_wearable_cond_on_effect_percent || Syntax: "<condition id> <effect percent>(0-1)" | | 3256 || wearable cond on effect percent || || additive || add_wearable_cond_on_effect_percent || Use [[List of Conditions]], Syntax: "<condition id> <effect percent>(0-1)" | ||
|- | |- | ||
| 3257 || set shield bash damage || || additive || add_set_shield_bash_damage || Add +1 to get correct value | | 3257 || set shield bash damage || || additive || add_set_shield_bash_damage || Add +1 to get correct value | ||