Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

List of TF2C item attributes: Difference between revisions

From TF2 Classified Wiki
m Replaced warning with an entirely new table
TF2C Attributes: Add missing attributes
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Todo|Move legacy attributes out.}}
{{Todo|Move legacy attributes out.
IMPORTANT! There are numerous unlisted attributes that should be added to this page!}}


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).
Line 1,127: Line 1,128:
Hidden <br>
Hidden <br>
mod_rocket_gravity by default adds a upward force to the projectile, set to -100 to disable it
mod_rocket_gravity by default adds a upward force to the projectile, set to -100 to disable it
|-
| 5295 || set_reload_prefer_sequence || || additive || set_reload_prefer_sequence || Revert the reload behavior back to the animations time - 0.2 seconds
|-
| 5296 || no headshot || || additive || no_headshot ||
|-
| 5297 || set weapon range || || additive || set_weapon_range ||
|-
|-
|}
|}
</div>
</div>
==Unlisted Attributes==
The following table contains a list of every unlisted attribute class in TF2C. Custom attributes must be created to use these.
===Team Fortress 2===
<div style="max-width: 100%; overflow-x: scroll;">
{| class="wikitable sortable grid"
! class="header" style="font-size: 16px;background-color: #583a31;color: white;" | Class
! class="header" style="font-size: 16px;background-color: #583a31;color: white;" | Notes
|-
| parachute_disabled || Will prevent the user from activating their parachute.
|-
| fires_milk_bolt || for Crossbow only<br>Alt-fire attack is infused with Mad-Milk, with Attribute value as cooldown.
|-
| force_distribute_currency_on_death || for MvM bots Only<br>Forces the money dropped by the bot with this attribute to be collected and turned into Red money.
|-
| airblast_dashes || for Flamethrower only<br>Will change airblast to push yourself instead of projectiles or players.
|-
| extra_damage_on_hit_penalty || TEMPTEXT
|-
| extra_damage_on_hit || TEMPTEXT
|-
| mod_teleporter_speed_boost || Applies a 4 second speed boost to the player who was teleported.
|-
| can_breathe_under_water || Prevents to user from drowning.
|-
| cannot_swim || Decreases underwater x-y overspeed by 90% and forces you to sink.
|-
| swimming mastery || Water does not slow the player down.
|-
| scoreboard minigame || Players gain more points on kill and lose points on death<br>Adds <code>kills + captures + defenses + buildings destroyed - (3 * deaths)</code> on top of normal scoring.
|-
| wet_immunity || prevents jars, and milk-bolts from applying "wet" conditions.
|-
| ability_master_sniper || for Sniper Rifles and Bows only<br>On Sniper Rifles: Applies 0.6x/0.3x multiplier to zoom/unzoom delay, and multiplies charge rate by 1.5x/3x.<br>On Bows: Applies 0.6x/0.3x multiplier to reload time. <br>Does not stack with the Haste powerup.
|-
| last_shot_crits || Become crit-boosted when only one shot is left in your clip.
|-
| add_give_health_to_teammate_on_hit || for Melee only<br>When hitting a teammate heal them for x health, without going over, and the user will take damage the same amount that was healed.
|-
| mod_minigun_can_holster_while_spinning || for Minigun only<br>Will allow the minigun to holster even if it is still spinning.
|-
| kill_combo_fire_rate_boost || On Kill: give x% fire rate bonus, stacks up-to 3 times but killing a different class clears the combo.
|-
| mult_dispenser_rate || Multiplies the Ammo refill, Heal amount, and Metal gained per Refill.
|-
| mvm_sentry_ammo || Multiplies the maximum shells a sentry can have. <br>Only applies when upgrading, or creating.
|-
| build_small_sentries || Sentries are 20% smaller and require 25% less metal to upgrade.
|-
| mult_teleporter_recharge_rate || Multiplies the teleporter's recharge time. <br>If level 3 and attribute less than 0.25 then it will cause the pitch of recharging sound to go > 255.
|-
| disguise_as_dispenser_on_crouch || Will apply condition TF_COND_DISGUISED_AS_DISPENSER when the user is a Spy, while ducking, and on the ground.
|-
| ubercharge_transfer || TEMPTEXT
|-
| teleport_instead_of_die || x % chance to Instantly respawn if damage is lethal.<br>Note: this is checked Before ramp-up / falloff and will not entirely work.
|-
| mod_projectile_heat_seek_power || for Flares only<br>Will search if players are closer than 1024 hu and home in on them with attribute value as turning power.
|-
| mult_dmg_vs_same_class || Multiplies damage against the same class<br>Should work with Civilian as it checks if attacker's class index == victim's class index.
|-
| uber_on_damage_taken || Will apply 3 seconds of Uber if the Random float is less than the attribute value.<br>Uber condition is TF_COND_INVULNERABLE_CARD_EFFECT.
|-
| mult_dmgtaken_from_melee || Multiplies dmg taken from melee dmg by x%.
|-
| mult_crit_when_health_is_below_percent || Will tell the game that you are crit boosted if health percent is less than attribute value and not 1.0.<br>health percent meaning 0.5 is half health.
|-
| penetration_damage_penalty || On Successful bullet penetration: add a stacking damage multiplier of x% for that bullet.
|-
| firing_forward_pull || Will apply a forward push of x speed when weapon is firing.
|-
| mod_soldier_buff_range || Multiplies banner range by x%.
|-
| mult_rocketjump_deploy_time || Multiplies deploy time by x% if Rocket jumping.
|-
| aoe_heal_chance || On hit: refire time * (x/60) % chance for aoe heal for 1s (24 hp healed total).<br>Use 60 for 100% chance on 1s refire time weapon, 600 for 0.1s.
|-
| crits_on_damage || On hit: refire time * (x/60) % chance for crit boost for 3s.<br>Use 60 for 100% chance on 1s refire time weapon, 600 for 0.1s.
|-
| stun_on_damage || On hit: refire time * (x/60) % chance for stun for 3s.<br>Use 60 for 100% chance on 1s refire time weapon, 600 for 0.1s.
|-
| aoe_blast_on_damage || On hit: refire time * (x/60) % chance for 100 hu blast that stuns players for 2 seconds and applies bleed.<br>Use 60 for 100% chance on 1s refire time weapon, 600 for 0.1s.
|-
| ubercharge_ammo || Uses this much ubercharge % per shot instead of normal ammunition.<br>Also prevents switching to weapon if ubercharge % is less and attribute value.
|-
| mul_nonrocketjump_attackrate || Multiplies fire rate while not Rocket Jumping.
|-
| mult_dmg_with_reduced_health || for Melee only<br>Multiplier applied to damage proportion that is multiplied by "player maximum health" / "player current health".
|-
| mult_airblast_primary_refire_time || Multiplier of how fast primary fire specifically can be used after airblasting.<br>Primary attack delay = this * refire_time * base.
|-
| mod_flamethrower_spinup_time || Spin up time for flamethrowers in seconds, like the delay between starting to rev up a minigun and being able to fire.
|-
| mult_airblast_cone_scale || Scales the cone used to push players by this amount.
|-
| mult_sniper_charge_per_sec_with_enemy_under_crosshair || Sniper rifle charge rate when looking at the enemy. Still subject to the 200% charge rate limit.
|-
| sniper_beep_with_enemy_under_crosshair || Plays `doomsday.warhead` sound when an enemy appears under your crosshair.
|-
| lifeleech_on_damage || Returns x% of damage dealt as health to the attacker.
|-
|}
</div>
===Team Fortress 2 Classified===
<div style="max-width: 100%; overflow-x: scroll;">
{| class="wikitable sortable grid"
! class="header" style="font-size: 16px;background-color: #583a31;color: white;" | Class
! class="header" style="font-size: 16px;background-color: #583a31;color: white;" | Notes
|-
| gravity_mod_wearer || TEMPTEXT
|-
| add_civ_aura_override || TEMPTEXT
|-
| add_civ_boost_enemies || TEMPTEXT
|-
| mult_minigun_spindown_time || TEMPTEXT
|-
| mod_sticky_no_detonation || TEMPTEXT
|-
| no_melee_crit_from_tranq || TEMPTEXT
|-
| residual_heal_rate || TEMPTEXT
|-
| residual_heal_duration || TEMPTEXT
|-
| mult_proxymine_detonate_time || TEMPTEXT
|-
| mod_proxymine_no_sound || TEMPTEXT
|-
| mod_explosive_bullet_delay_time || TEMPTEXT
|-
| stickies_dont_stick || TEMPTEXT
|-
| custom_magazine_model || TEMPTEXT
|-
| mod_proxymine_crouchwalk_ignore || TEMPTEXT
|-
| mod_proxymine_crouchwalk_ignore_owner || TEMPTEXT
|-
| add_civ_boost_to_self || TEMPTEXT
|-
| mult_dmgtaken_from_fall_active || TEMPTEXT
|-
| lunchbox_force_cooldown || TEMPTEXT
|-
|}
</div>
==Legacy TF2C Attributes==
==Legacy TF2C Attributes==
The following table describes each attribute from legacy versions of TF2C. For the most part, these do not work in the current version of TF2C.
The following table describes each attribute from legacy versions of TF2C. For the most part, these do not work in the current version of TF2C.