Difference between revisions of "Catapult"

From Team Fortress Wiki
Jump to: navigation, search
m (Auto: infoboxFilter (Review RC#2722485))
(It's important information. The previous version suggested "airblast" pushing mechanism (why?), while Portal 2 Aerial Faith Plate physically thrusts the player)
 
(12 intermediate revisions by 7 users not shown)
Line 11: Line 11:
 
}}
 
}}
  
The '''Catapult''' is a scrapped Engineer building seen in footage of a leaked Team Fortress 2 "staging" (indev) build alongside other features that were being worked on for the scrapped Spy vs Engineer WAR! update. It was teased in Lecture Valley<ref>http://www.teamfortress.com/lecturevalley/02.php</ref>.
+
The '''Catapult''' is a [[scrapped]] building for the [[Engineer]] seen in footage of a leaked [[Team Fortress 2]] "staging" (indev) build alongside other features that were being worked on for the scrapped Spy vs Engineer WAR! update. It was teased in Lecture Valley<ref>http://www.teamfortress.com/lecturevalley/02.php</ref>.
  
The Catapult was a modified Teleporter that worked similar to the player launchers in the [[Passtime]] gamemode, launching the user into the air with some forward momentum. The Catapult's physics-related code was ported in from Portal 2, which brought with it some client prediction issues as evidenced by some developer comments;
+
This building was intended to throw player into the air.<ref>game/shared/tf/trigger_catapult_shared.cpp</ref>. According to in-code comment, this code was copied from Portal 2 and then modified.
  
{{code|// copied from portal2 code; original code came with client-predicted counterpart,<br>
+
Building speed for this building type is increasesd 4 times (approximately 5.2 seconds) when constructed and 7 times (3 seconds) when redeployed.<ref>game/server/tf/tf_player.cpp:L7973-7976</ref>
// but implementing predictable triggers in tf2 wasn't trivial so this is just the<br>
 
// server component. it works but causes prediction errors.}}
 
 
 
There are also plenty of {{code|// HACK!}} comments on many lines involving float mathematics, indicating that the building was scrapped most likely due to these technical reasons.
 
  
 
== Gallery ==
 
== Gallery ==

Latest revision as of 15:35, 14 March 2024

The Catapult is a scrapped building for the Engineer seen in footage of a leaked Team Fortress 2 "staging" (indev) build alongside other features that were being worked on for the scrapped Spy vs Engineer WAR! update. It was teased in Lecture Valley[1].

This building was intended to throw player into the air.[2]. According to in-code comment, this code was copied from Portal 2 and then modified.

Building speed for this building type is increasesd 4 times (approximately 5.2 seconds) when constructed and 7 times (3 seconds) when redeployed.[3]

Gallery

References

  1. http://www.teamfortress.com/lecturevalley/02.php
  2. game/shared/tf/trigger_catapult_shared.cpp
  3. game/server/tf/tf_player.cpp:L7973-7976