Most players know that cameras can be detached from wall if a portal was placed behind it. In Portal cameras have in the code achievement counter and dialogue counter. The last is count the 33 cameras that can be detached, it sequentially activates one of 5 dialogues depending on how many cameras you detached. It isn't random, a first detached camera will play generic_security_camera_destroyed-2.wav, second generic_security_camera_destroyed-3.wav, third generic_security_camera_destroyed4.wav, thirty third generic_security_camera_destroyed-1.wav, other generic_security_camera_destroyed-5.wav. , Thanks this counter GLaDOS can comment this events.
If launch Portal with all needed content in P2CE and detach camera - GLaDOS will not comment because of there is no the needed code. For better compatibility I suggest cvar sv_security_camera_dialogue_counter_enabled 0/1, 0 - disable, 1 - enable, 0 - default value.
The counter in original game is also have small issue, it doesn't count while GLaDOS speaking. The developers assumed that you would hear funny phrase when you'll get the achievement. Of course, because of the issue this in most cases you will not hear generic_security_camera_destroyed-5.wav, just because you don't fully listen to her before camera detach. This problem can be fixed literally in one line of code.
Which component should be improved?
Audio
Describe your suggestion
Most players know that cameras can be detached from wall if a portal was placed behind it. In
Portal
cameras have in the code achievement counter and dialogue counter. The last is count the 33 cameras that can be detached, it sequentially activates one of 5 dialogues depending on how many cameras you detached. It isn't random, a first detached camera will playgeneric_security_camera_destroyed-2.wav
, secondgeneric_security_camera_destroyed-3.wav
, thirdgeneric_security_camera_destroyed4.wav
, thirty thirdgeneric_security_camera_destroyed-1.wav
, othergeneric_security_camera_destroyed-5.wav
. , Thanks this counter GLaDOS can comment this events. If launchPortal
with all needed content in P2CE and detach camera - GLaDOS will not comment because of there is no the needed code. For better compatibility I suggest cvarsv_security_camera_dialogue_counter_enabled
0/1, 0 - disable, 1 - enable, 0 - default value. The counter in original game is also have small issue, it doesn't count while GLaDOS speaking. The developers assumed that you would hear funny phrase when you'll get the achievement. Of course, because of the issue this in most cases you will not heargeneric_security_camera_destroyed-5.wav
, just because you don't fully listen to her before camera detach. This problem can be fixed literally in one line of code.