Difference between revisions of "0507"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
[[File:0507.jpg|thumb|250px|0507 in action]]
+
[[File:0507.jpg|thumb|0507 in action]]
{{Icon|VC}} '''SWITCH_LIFT_CAMERA'''
+
{{OpCode
<hr />
+
| games      = {{Icon|VC}}
<onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode|
+
| command    = SWITCH_LIFT_CAMERA
'''Description'''
+
| description = Switches the lift camera
: Draws a white interference overlay
+
| syntax1    = 0507: set_camera_interference [''int'']
'''Syntax'''
+
| p1t        = [''int'']
: 0507: set_camera_interference [''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 white interference overlay on the screen. Similar in effect and style to opcode [[04C7]], the interference will overlay almost everything on the screen but notable exceptions include the clock and texts that draw similarly to opcodes [[00BA]] or [[00BC]]. 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 interference opcode is unused but still works, but there is much less interference and there is no dark bar.
+
This opcode switches the lift camera, which displays a white interference overlay on the screen. The opcode is used in "G-spotlight" for the elevator camera. Similar in effect and style to opcode [[04C7]], the interference 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 scan line will display a darker shade bar that scrolls down the screen and loops back after 62 frames. In Liberty City Stories, the interference opcode is unused but still works, but there is much less interference and there is no dark bar. The lift camera is switched off when a [[00D8|mission cleanup]] is processed.
}}</onlyinclude>
 
  
 
== Keywords ==
 
== Keywords ==
toggle, draw, camera, white, scanline, scanlines, interference
+
set, switch, toggle, draw, camera, white, scanline, scanlines, interference, lift, elevator
  
 
== See also ==
 
== See also ==
* [[04C7]], green scan lines
+
* {{Icon|VC}} [[04C7]], switches the security camera
 
 
[[Category:OpCodes]]
 

Latest revision as of 06:28, 5 June 2016

0507 in action

Vice City SWITCH_LIFT_CAMERA


Description
Switches the lift camera
Syntax
0507: set_camera_interference [int]
Parameter
[int]
0 = off, 1 = on

This opcode switches the lift camera, which displays a white interference overlay on the screen. The opcode is used in "G-spotlight" for the elevator camera. Similar in effect and style to opcode 04C7, the interference will overlay almost everything on the screen but notable exceptions include the clock and some texts like messages and big messages. 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 interference opcode is unused but still works, but there is much less interference and there is no dark bar. The lift camera is switched off when a mission cleanup is processed.

Keywords

set, switch, toggle, draw, camera, white, scanline, scanlines, interference, lift, elevator

See also

  • Vice City 04C7, switches the security camera