Difference between revisions of "Throwable weapons"

From Team Fortress Wiki
Jump to: navigation, search
m
(Entity names are likely from leaked code + not really interesting (most of them are just the name above it). +Bread Monster)
Line 13: Line 13:
  
 
=== Repel ===
 
=== Repel ===
* '''Entity Classname:''' {{code|tf_projectile_throwable_repel}}
 
 
A throwable airblast. Throwing it would cause it to apply airblast force to any enemies within range of it, pushing them away and making their view shake as well as damaging them.<ref>game\shared\tf_weapon_throwable.cpp:L524-572</ref>
 
A throwable airblast. Throwing it would cause it to apply airblast force to any enemies within range of it, pushing them away and making their view shake as well as damaging them.<ref>game\shared\tf_weapon_throwable.cpp:L524-572</ref>
  
 
=== Brick ===
 
=== Brick ===
* '''Entity Classname:''' {{code|tf_projectile_throwable_brick}}
 
 
A brick. Hitting an enemy with it would deal some damage and shake up their view.<ref>game\shared\tf_weapon_throwable.cpp:L573-609</ref>
 
A brick. Hitting an enemy with it would deal some damage and shake up their view.<ref>game\shared\tf_weapon_throwable.cpp:L573-609</ref>
 +
 +
=== Bread Monster ===
 +
A throwable [[Bread monster]]. Hitting a player with it would apply the same bread monster that the Bread monster jar weapons do, with additional bleeding particles. Upon getting hit, it would cause aim punch to the victim's screen and apply 5 seconds of bleed with 1 damage per tick.<ref>game\shared\tf\tf_weapon_throwable.cpp:L610-671</ref>
  
 
=== Target Dummy ===
 
=== Target Dummy ===
* '''Entity Classname:''' {{code|tf_projectile_target_dummy}}
 
 
A portable target dummy. Throwing this would create a standard {{code|tf_target_dummy}} entity.<ref>game\shared\tf_weapon_throwable.cpp:L790-798</ref> For the purposes of internal testing, the {{code|models/props_training/target_engineer.mdl}} and {{code|models/props_training/target_demoman.mdl}} plywood target models were used. Just as they do in training mode, the targets would break into gibs when enough damage has been done to them. It appears that they scrapped the idea before adding in the model selection for the target dummy. How this model selection would have functioned, for example if it were to make the target dummy's class change to mimic that of the thrower, is unknown.
 
A portable target dummy. Throwing this would create a standard {{code|tf_target_dummy}} entity.<ref>game\shared\tf_weapon_throwable.cpp:L790-798</ref> For the purposes of internal testing, the {{code|models/props_training/target_engineer.mdl}} and {{code|models/props_training/target_demoman.mdl}} plywood target models were used. Just as they do in training mode, the targets would break into gibs when enough damage has been done to them. It appears that they scrapped the idea before adding in the model selection for the target dummy. How this model selection would have functioned, for example if it were to make the target dummy's class change to mimic that of the thrower, is unknown.
  
 
=== Concussion Grenade ===
 
=== Concussion Grenade ===
* '''Entity Classname:''' {{code|tf_projectile_grenade_concussion}}
 
 
Return of the [[Concussion Grenade]]. It seems Valve had been playing around with trying to bring the Concussion Grenade back somehow. This version would have functioned identically to how it would have initially.<ref>game\shared\tf_weapon_throwable.cpp:L800-874</ref>
 
Return of the [[Concussion Grenade]]. It seems Valve had been playing around with trying to bring the Concussion Grenade back somehow. This version would have functioned identically to how it would have initially.<ref>game\shared\tf_weapon_throwable.cpp:L800-874</ref>
  
 
=== Teleport Grenade ===
 
=== Teleport Grenade ===
* '''Entity Classname:''' {{code|tf_projectile_grenade_teleport}}
 
 
The Teleport Grenade would teleport the user to wherever the grenade was thrown.<ref>game\shared\tf_weapon_throwable.cpp:L877-949</ref>
 
The Teleport Grenade would teleport the user to wherever the grenade was thrown.<ref>game\shared\tf_weapon_throwable.cpp:L877-949</ref>
  
 
=== Gravity Grenade ===
 
=== Gravity Grenade ===
* '''Entity Classname:''' {{code|tf_projectile_grenade_gravity}}
 
 
Also referred to in a comment as a "Chain Grenade"<ref>game\shared\tf_weapon_throwable.cpp:L108</ref>. A trap style grenade, it functioned similar to a black hole, dragging anyone within range closer to it.<ref>game\shared\tf_weapon_throwable.cpp:L951-1063</ref>
 
Also referred to in a comment as a "Chain Grenade"<ref>game\shared\tf_weapon_throwable.cpp:L108</ref>. A trap style grenade, it functioned similar to a black hole, dragging anyone within range closer to it.<ref>game\shared\tf_weapon_throwable.cpp:L951-1063</ref>
  
 
=== Throwing Knife ===
 
=== Throwing Knife ===
* '''Entity Classname:''' {{code|tf_projectile_throwing_knife}}
 
 
Throwing Knives were tested as well. They would do crits if they hit someone from behind and much like arrows and some other certain projectiles, throwing knives would stick out of the person you hit.<ref>game\shared\tf_weapon_throwable.cpp:L1065-1141</ref>
 
Throwing Knives were tested as well. They would do crits if they hit someone from behind and much like arrows and some other certain projectiles, throwing knives would stick out of the person you hit.<ref>game\shared\tf_weapon_throwable.cpp:L1065-1141</ref>
  
 
=== Smoke Grenade ===
 
=== Smoke Grenade ===
* '''Entity Classname:''' {{code|tf_projectile_grenade_smoke}}
 
 
Similar to the aforementioned Concussion Grenade, the Smoke Grenade would have been a second go at trying to bring back the Smoke Bomb from the early development days. Being within the smoke cloud would have granted the thrower the unused {{code|TF_COND_OBSCURED_SMOKE}} condition. With this condition the player has a 75% chance to avoid any damage and cause a MISS! effect to appear above their head.<ref>game\shared\tf_weapon_throwable.cpp:L1144-1232</ref>
 
Similar to the aforementioned Concussion Grenade, the Smoke Grenade would have been a second go at trying to bring back the Smoke Bomb from the early development days. Being within the smoke cloud would have granted the thrower the unused {{code|TF_COND_OBSCURED_SMOKE}} condition. With this condition the player has a 75% chance to avoid any damage and cause a MISS! effect to appear above their head.<ref>game\shared\tf_weapon_throwable.cpp:L1144-1232</ref>
  

Revision as of 21:23, 21 November 2024

This page is about the cut weapon type. For a list of weapons you can throw, see Throwable.

Throwable weapons were a new class of weapons that were being tested internally by Valve, but were either cut or abandoned for unspecified reasons.

Functionality

Throwable weapons were classed as either being "primable" or "chargeable" and this functionality was to be determined via one of two attributes; is_throwable_primable or is_throwable_chargeable.[1]

If the player is in water that is above eye level, they would not have been able to use a throwable weapon.

Varieties

Several varieties of throwable weapons have been discovered.

Repel

A throwable airblast. Throwing it would cause it to apply airblast force to any enemies within range of it, pushing them away and making their view shake as well as damaging them.[2]

Brick

A brick. Hitting an enemy with it would deal some damage and shake up their view.[3]

Bread Monster

A throwable Bread monster. Hitting a player with it would apply the same bread monster that the Bread monster jar weapons do, with additional bleeding particles. Upon getting hit, it would cause aim punch to the victim's screen and apply 5 seconds of bleed with 1 damage per tick.[4]

Target Dummy

A portable target dummy. Throwing this would create a standard tf_target_dummy entity.[5] For the purposes of internal testing, the models/props_training/target_engineer.mdl and models/props_training/target_demoman.mdl plywood target models were used. Just as they do in training mode, the targets would break into gibs when enough damage has been done to them. It appears that they scrapped the idea before adding in the model selection for the target dummy. How this model selection would have functioned, for example if it were to make the target dummy's class change to mimic that of the thrower, is unknown.

Concussion Grenade

Return of the Concussion Grenade. It seems Valve had been playing around with trying to bring the Concussion Grenade back somehow. This version would have functioned identically to how it would have initially.[6]

Teleport Grenade

The Teleport Grenade would teleport the user to wherever the grenade was thrown.[7]

Gravity Grenade

Also referred to in a comment as a "Chain Grenade"[8]. A trap style grenade, it functioned similar to a black hole, dragging anyone within range closer to it.[9]

Throwing Knife

Throwing Knives were tested as well. They would do crits if they hit someone from behind and much like arrows and some other certain projectiles, throwing knives would stick out of the person you hit.[10]

Smoke Grenade

Similar to the aforementioned Concussion Grenade, the Smoke Grenade would have been a second go at trying to bring back the Smoke Bomb from the early development days. Being within the smoke cloud would have granted the thrower the unused TF_COND_OBSCURED_SMOKE condition. With this condition the player has a 75% chance to avoid any damage and cause a MISS! effect to appear above their head.[11]

Snowball

The only evidence to the existence of the Snowball is the MODEL_SNOWBALL enum entry from the arrow_models enumerator used to store model defines for certain projectiles.[12]

References

  1. game\shared\tf_weapon_throwable.cpp:L300-314
  2. game\shared\tf_weapon_throwable.cpp:L524-572
  3. game\shared\tf_weapon_throwable.cpp:L573-609
  4. game\shared\tf\tf_weapon_throwable.cpp:L610-671
  5. game\shared\tf_weapon_throwable.cpp:L790-798
  6. game\shared\tf_weapon_throwable.cpp:L800-874
  7. game\shared\tf_weapon_throwable.cpp:L877-949
  8. game\shared\tf_weapon_throwable.cpp:L108
  9. game\shared\tf_weapon_throwable.cpp:L951-1063
  10. game\shared\tf_weapon_throwable.cpp:L1065-1141
  11. game\shared\tf_weapon_throwable.cpp:L1144-1232
  12. game\shared\tf\tf_shareddefs.h:L607