Difference between revisions of "Catapult"

From Team Fortress Wiki
Jump to: navigation, search
m (Auto: EnforceCapitalization(TF2) (Review RC#2722947))
m
Line 16: Line 16:
  
 
  <!--Begin-->// copied from portal2 code; original code came with client-predicted counterpart,
 
  <!--Begin-->// copied from portal2 code; original code came with client-predicted counterpart,
  // but implementing predictable triggers in TF2 wasn't trivial so this is just the
+
  // but implementing predictable triggers in {{botignore|tf2}} wasn't trivial so this is just the
 
  // server component. it works but causes prediction errors.<!--End-->
 
  // server component. it works but causes prediction errors.<!--End-->
  

Revision as of 02:56, 24 April 2020

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

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;

// copied from portal2 code; original code came with client-predicted counterpart,
// but implementing predictable triggers in tf2 wasn't trivial so this is just the
// server component. it works but causes prediction errors.

There are also plenty of // HACK! comments on many lines involving float mathematics, indicating that the building was scrapped most likely due to these technical reasons.

Gallery

References