Difference between revisions of "Viewfinder"

From Team Fortress Wiki
Jump to: navigation, search
m (Gallery)
(Fixed links)
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{beta|experimental}}
 
{{beta|experimental}}
 
{{Item infobox
 
{{Item infobox
 +
| name          = Viewfinder
 
| type          = weapon
 
| type          = weapon
| name          = Viewfinder
+
| unused        = yes
 
| image          = Viewfinder RED.png
 
| image          = Viewfinder RED.png
| unused        = yes
 
 
| hide-kill-icon = yes
 
| hide-kill-icon = yes
 
| used-by        = [[Sniper]]
 
| used-by        = [[Sniper]]
 
| slot          = primary
 
| slot          = primary
 +
| contributed-by = {{Steamid|76561197993359730|svdl}}
 
| numbered      = no
 
| numbered      = no
| contributed-by = {{Steamid|76561197993359730|svdl}}
 
 
}}
 
}}
  
The '''Viewfinder''' is an experimental primary weapon for the [[Sniper]] that was being play-tested by Valve. The existence of this weapon was first discovered in the form of three VTF filename strings found in the <tt>texture_preload_list.txt</tt> file that had been added to the game as part of the {{Patch name|10|28|2015}};
+
The '''Viewfinder''' is an experimental [[Weapons#Sniper|primary weapon]] for the [[Sniper]] that was being play-tested by [[Valve]]. The existence of this weapon was first discovered in the form of VTF filename strings found in the {{code|texture_preload_list.txt}} file that had been added to the game as part of the {{Patch name|10|28|2015}};
  
<tt>models/workshop/weapons/c_models/c_sniperrifle_tv/c_sniperrifle_tv_blue</tt><br>
+
* {{code|models/workshop/weapons/c_models/c_sniperrifle_tv/c_sniperrifle_tv_blue}}
<tt>models/workshop/weapons/c_models/c_sniperrifle_tv/c_sniperrifle_tv_red</tt><br>
+
* {{code|models/workshop/weapons/c_models/c_sniperrifle_tv/c_sniperrifle_tv_red}}
<tt>models/workshop/weapons/c_models/c_sniperrifle_tv/c_sniperrifle_tv_screen</tt>
 
  
Almost two years later exactly (off by 8 days), the backpack icons, model and textures for the Viewfinder were accidentally leaked in the [[Jungle Inferno Update]]. Based on the patch diff for the update, it appears that when Valve migrated some weapons and cosmetics over to the <tt>tf\models\workshop</tt> directory from their original directories (<tt>tf\models\player\items</tt>, <tt>tf\models\weapons\c_models</tt>), they accidentally migrated some staging build (in-dev) Workshop content they were testing at the time (if not for the past two years) and pushed it in the update.
+
Nearly two years later, the backpack icons, model and textures for the Viewfinder were accidentally leaked in the [[Jungle Inferno Update]]. Based on the patch diff for the update, it appears that when Valve migrated some weapons and cosmetics over to the {{code|tf\models\workshop}} directory from their original directories ({{code|tf\models\player\items}}, {{code|tf\models\weapons\c_models}}), they accidentally migrated some staging build (in-dev) Workshop content they were testing at the time (if not for the past two years) and pushed it in the update.
 +
 
 +
According to source code<ref>game\client\tf\c_tf_player.cpp:L6415-6452</ref>, the main function of the monitor on the rifle was to highlight enemies with a {{code|tf_glow}} entity. There was an attribute planned for this function called {{code|add_sniper_glow_enemies_in_scope}}<ref>game\client\tf\c_tf_player.cpp:L6428</ref> in code. However, due to bugs involving it breaking existing {{code|tf_glow}} entities in use which caused issues with some mods and SourceTV clients<ref>game\client\tf\c_tf_player.cpp:L6417-6419</ref>, the idea was put on hold until a fix was implemented.
 +
 
 +
The Viewfinder was [https://steamcommunity.com/sharedfiles/filedetails/?id=143688595 contributed] to the Steam Workshop.
  
 
== Update history ==
 
== Update history ==
{{Update history|'''{{Patch name|10|28|2015}}'''
+
'''{{Patch name|10|28|2015}}'''
* {{Undocumented}} VTF filename strings for the Viewfinder were found listed in <tt>texture_preload_list.txt</tt>, a file that had been added in this update.
+
* {{Undocumented}} VTF filename strings for the Viewfinder were found listed in {{code|texture_preload_list.txt}}, a file that had been added in this update.
  
 
'''{{Patch name|10|20|2017}}''' ([[Jungle Inferno Update]] Patch 1)
 
'''{{Patch name|10|20|2017}}''' ([[Jungle Inferno Update]] Patch 1)
 
* {{Undocumented}} Files for the Viewfinder were added to the game.
 
* {{Undocumented}} Files for the Viewfinder were added to the game.
  
'''{{Patch name|10|23|2017}}'''
+
'''Unknown'''
* {{Undocumented}} Files for the Viewfinder were removed from the game. ''Oops.''
+
* {{Undocumented}} Files for the Viewfinder were removed from the game.
}}
 
  
 
== Gallery ==
 
== Gallery ==
Line 38: Line 40:
 
File:Viewfinder 1st person BLU.png|BLU viewmodel
 
File:Viewfinder 1st person BLU.png|BLU viewmodel
 
</gallery>
 
</gallery>
 +
 +
== References ==
 +
<references/>
  
 
{{Unused Content Nav}}
 
{{Unused Content Nav}}

Latest revision as of 13:56, 12 October 2021

The Viewfinder is an experimental primary weapon for the Sniper that was being play-tested by Valve. The existence of this weapon was first discovered in the form of VTF filename strings found in the texture_preload_list.txt file that had been added to the game as part of the October 28, 2015 Patch;

  • models/workshop/weapons/c_models/c_sniperrifle_tv/c_sniperrifle_tv_blue
  • models/workshop/weapons/c_models/c_sniperrifle_tv/c_sniperrifle_tv_red

Nearly two years later, the backpack icons, model and textures for the Viewfinder were accidentally leaked in the Jungle Inferno Update. Based on the patch diff for the update, it appears that when Valve migrated some weapons and cosmetics over to the tf\models\workshop directory from their original directories (tf\models\player\items, tf\models\weapons\c_models), they accidentally migrated some staging build (in-dev) Workshop content they were testing at the time (if not for the past two years) and pushed it in the update.

According to source code[1], the main function of the monitor on the rifle was to highlight enemies with a tf_glow entity. There was an attribute planned for this function called add_sniper_glow_enemies_in_scope[2] in code. However, due to bugs involving it breaking existing tf_glow entities in use which caused issues with some mods and SourceTV clients[3], the idea was put on hold until a fix was implemented.

The Viewfinder was contributed to the Steam Workshop.

Update history

October 28, 2015 Patch

  • [Undocumented] VTF filename strings for the Viewfinder were found listed in texture_preload_list.txt, a file that had been added in this update.

October 20, 2017 Patch (Jungle Inferno Update Patch 1)

  • [Undocumented] Files for the Viewfinder were added to the game.

Unknown

  • [Undocumented] Files for the Viewfinder were removed from the game.

Gallery

References

  1. game\client\tf\c_tf_player.cpp:L6415-6452
  2. game\client\tf\c_tf_player.cpp:L6428
  3. game\client\tf\c_tf_player.cpp:L6417-6419