Difference between revisions of "Throwable weapons"

From Team Fortress Wiki
Jump to: navigation, search
(Entity names are likely from leaked code + not really interesting (most of them are just the name above it). +Bread Monster)
(Brick)
 
(One intermediate revision by one other user not shown)
Line 16: Line 16:
  
 
=== Brick ===
 
=== 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> The damage would be between 40 and 70, depending on how long the throw was charged.<ref>game\shared\tf_weapon_throwable.h:L207-223</ref>
  
 
=== Bread Monster ===
 
=== Bread Monster ===
Line 34: Line 34:
  
 
=== Throwing Knife ===
 
=== 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 ===

Latest revision as of 22:09, 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] The damage would be between 40 and 70, depending on how long the throw was charged.[4]

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.[5]

Target Dummy

A portable target dummy. Throwing this would create a standard tf_target_dummy entity.[6] 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.[7]

Teleport Grenade

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

Gravity Grenade

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

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.[11]

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.[12]

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.[13]

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_weapon_throwable.h:L207-223
  5. game\shared\tf\tf_weapon_throwable.cpp:L610-671
  6. game\shared\tf_weapon_throwable.cpp:L790-798
  7. game\shared\tf_weapon_throwable.cpp:L800-874
  8. game\shared\tf_weapon_throwable.cpp:L877-949
  9. game\shared\tf_weapon_throwable.cpp:L108
  10. game\shared\tf_weapon_throwable.cpp:L951-1063
  11. game\shared\tf_weapon_throwable.cpp:L1065-1141
  12. game\shared\tf_weapon_throwable.cpp:L1144-1232
  13. game\shared\tf\tf_shareddefs.h:L607