Difference between revisions of "Catapult"

From Team Fortress Wiki
Jump to: navigation, search
m (Auto: infoboxFilter (Review RC#2722485))
m (Code block change)
Line 15: Line 15:
 
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;
 
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;
  
{{code|// copied from portal2 code; original code came with client-predicted counterpart,<br>
+
<!--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<br>
+
// but implementing predictable triggers in tf2 wasn't trivial so this is just the
// server component. it works but causes prediction errors.}}
+
// server component. it works but causes prediction errors.<!--End-->
  
 
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.
 
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.

Revision as of 01:59, 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