00C3

From GTAMods Wiki
Revision as of 12:46, 27 June 2015 by Seemann (talk | contribs) (vc+sa)
Jump to navigation Jump to search
A debug cube draw example
The blip location is marked with pink lines

GTA III Vice City San Andreas DEBUG_ON


Description

Enables the debug mode

Syntax

00C3: enter_debugmode

Parameter

[none]

This opcode enables the debug mode flag. The game constantly resets this flag to zero, so to make of use of it, the opcode 00C3 must be placed in a loop for a continuous effect. To turn off the debug mode instantly, use the opcode 00C4. The debug mode was presumably used to highlight the boundaries of zones of interest which the player must visit in missions. The top picture shows a debug cube drawn at the coordinates where the game is expecting the player to be (opcode 00F5 with the sphere flag on). The bottom picture illustrates another effect of the debug mode: highlighting the blip location.

The debug flag is still present in Vice City but seem to have no a visible effect. This opcode is a NOP in San Andreas.