Difference between revisions of "04C7"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[File:04C7.jpg|thumb|250px|04C7 in action]]
+
[[File:04C7.jpg|thumb|04C7 in action]]
{{Icon|VC}}
+
{{OpCode
<hr />
+
| games      = {{Icon|VC}}
<onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode|
+
| command    = SWITCH_SECURITY_CAMERA
'''Description'''
+
| description = Switches the security camera
: Draws a green scan line overlay
+
| syntax1    = 04C7: toggle_camera_green_scanlines [''int'']
'''Syntax'''
+
| p1t        = [''int'']
: 04C7: toggle_camera_green_scanlines [''int'']
+
| p1d        = 0 = off, {{hint|1|or any value other than 0}} = on
'''Parameter'''
+
}}
: [''int'']
 
:: Switch (0 = hide, {{hint|1|or any value other than 0}} = show)
 
  
This opcode draws a green scan line overlay on the screen. The scan line will overlay almost everything on the screen but notable exceptions include the clock and texts that draw similarly to opcodes [[00BA]] or [[00BC]]. The bottom right area of the screen will display a number that increases from 0 to 63 for 64 frames and loops back to 0. The scan line will display a darker shade bar that scrolls down the screen and loops back after 62 frames. In Liberty City Stories, the scan line do not overlay the HUD as clearly, the dark green bar is thicker, and no number is displayed.
+
This opcode switches the security camera, which displays a green scan line overlay on the screen. The opcode is used for security cameras in Diaz's Mansion and El Banco Corrupto Grande. The scan line will overlay almost everything on the screen but notable exceptions include the clock and some texts like [[Text#Message|messages]] and [[Text#Big message|big messages]]. The bottom right area of the screen will display a number that increases from 0 to 63 for 64 frames and loops back to 0. The scan line will display a darker shade bar that scrolls down the screen and loops back after 62 frames. In Liberty City Stories, the scan line do not overlay the HUD as clearly, the dark green bar is thicker, and no number is displayed. The security camera is switched off when a [[00D8|mission cleanup]] is processed.
}}</onlyinclude>
 
  
 
== Keywords ==
 
== Keywords ==
toggle, draw, camera, green, scanline, scanlines
+
set, switch, toggle, draw, camera, green, scanline, scanlines, security
  
 
== See also ==
 
== See also ==
* [[0507]], white interference
+
* {{Icon|VC}} [[0507]], switches the lift camera
 
 
[[Category:OpCodes]]
 

Latest revision as of 06:28, 5 June 2016

04C7 in action

Vice City SWITCH_SECURITY_CAMERA


Description
Switches the security camera
Syntax
04C7: toggle_camera_green_scanlines [int]
Parameter
[int]
0 = off, 1 = on

This opcode switches the security camera, which displays a green scan line overlay on the screen. The opcode is used for security cameras in Diaz's Mansion and El Banco Corrupto Grande. The scan line will overlay almost everything on the screen but notable exceptions include the clock and some texts like messages and big messages. The bottom right area of the screen will display a number that increases from 0 to 63 for 64 frames and loops back to 0. The scan line will display a darker shade bar that scrolls down the screen and loops back after 62 frames. In Liberty City Stories, the scan line do not overlay the HUD as clearly, the dark green bar is thicker, and no number is displayed. The security camera is switched off when a mission cleanup is processed.

Keywords

set, switch, toggle, draw, camera, green, scanline, scanlines, security

See also

  • Vice City 0507, switches the lift camera