If you appreciate the work done within the wiki, please consider supporting The Cutting Room Floor on Patreon. Thanks for all your support!

Bugs:Portal

From The Cutting Room Floor
Jump to navigation Jump to search

This page details bugs of Portal.

Hmmm...
To do:
There's a way to fall out of the map by placing two portals on adjacent walls and shooting the corner until the view turns black.

Final Camera Destroyed Voice Line

In the game files, there are five voice lines intended for when cameras are knocked off walls. Lines 2 through 4 are played for the first three cameras destroyed, and line 5 is played for all further ones, seemingly leaving voice line number 1 unused:

Quote Caption
At the Enrichment Center we promise never to value your safety above your unique ideas and creativity. However, do not destroy vital testing apparatus.

However, it is in fact possible to hear this line in-game! The game's source code (from the 2018 Team Fortress 2 leak) indicates that this line is set up to play when all 33 cameras required for the Camera Shy achievement are destroyed, but that is not guaranteed.

See, when a camera is knocked down, the code does three things:

  • It notifies the achievement system; this increments the actual counter that appears in the achievements menu and grants the achievement if applicable.
  • It checks to make sure GLaDOS isn't already speaking, so that she doesn't interrupt or talk over herself.
  • The code increments a separate counter on the player entity that tracks how many cameras they've knocked down, and uses that to determine which line to play.

The problem is that the code checks if GLaDOS is already speaking before incrementing the second internal counter, so if at any point a camera is knocked down while she is already talking, the counter won't increment and so will be less than 33 when the final camera is destroyed, preventing the line from playing properly. Given that a number of the cameras are located near chamber entrances or otherwise in places where GLaDOS would be speaking, a player unaware of this behavior would almost certainly happen to destroy one while she is talking and not hear the line. In order to hear it, you must wait for any existing GLaDOS lines to finish (including ones from knocking down previous cameras) before knocking down another camera; you will know if it worked correctly if one of the standard "vital testing apparatus destroyed" lines plays. If this is done, when the final camera in Test Chamber 19 is knocked down, the above voice line will play.