041D

From GTAMods Wiki
Revision as of 00:23, 27 August 2015 by Spaceeinstein (talk | contribs) (Created page with "{{Icon|t}} '''SET_NEAR_CLIP''' <hr /> '''Description''' : Sets the near clip '''Syntax''' : 041D: set_camera_near_clip [''flt''] '''Parameter''' : [''flt''] :: Near clip value...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III Vice City San Andreas SET_NEAR_CLIP


Description

Sets the near clip

Syntax

041D: set_camera_near_clip [flt]

Parameter

[flt]
Near clip value, default 0.9

This opcode sets the near clip of the camera during cutscenes. Anything closer to the camera than the specified value will be clipped by the game as seen in the image below. This opcode only affects the next or current cutscene and has no effect elsewhere. When the cutscene ends and if the next cutscene is played without setting a near clip, the next cutscene uses the default value of 0.9. Values close to 0.0 is not recommended as it will cause weird graphical glitches.

0.9 (default) 0.1 (used in cutscene)
0.9 0.1

Keywords

set, camera, near, clip