Coordinates |
Reference |
Ref_Coordinates.html |
Coordinates - Cordinates used in the Game, especially Object Codes
(x,y,z)
all GTA Demos, GTA Full Version
Some Coordinates are given as 14-bit-Coordinates. You can now imagine the game world made up of 16384x16384x384 small cubes, but you can just as well imagine each of the 256x256x6 big cubes made up of 64x64x64 small cubes.
Divide a 14-bit-coordinate by 64 to get the 8-bit-coordinate; the remainder tells you where in that big cube the small cube is.
Example:
(864,14114,192) CRANE: This Crane is located in
big cube (864/64,14114/64,192/64) = (13,220,3). Within this cube,
the crane is located (864-13*64,14114-220*64,192-3*64) = (32,34,0)
small cubes from the top upper left-hand corner.
For some keywords, it is unknown whether they have 8-bit or 14-bit coordinates. This is because the coordinates are always set to (0,0,0). This probably means that for these objects the location is irrelevant and can always be set to (0,0,0).
Information contributed by Michael Mendelsohn.
It is currently unclear whether 8-bit and 14-bit coordinates can be used with any object code.
MISSION.INI |
Last change: 27 Dez 1997 |
unofficial GTA Reference |