INST: Difference between revisions

No edit summary
No edit summary
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{IplSection
{{IplSection
| game        = [[GTA III]], [[GTA VC]], [[GTA SA]], [[GTA IV]]
| game        = [[Grand Theft Auto III|GTA III]], [[Grand Theft Auto: Vice City|GTA VC]], [[Grand Theft Auto: San Andreas|GTA SA]], [[Grand Theft Auto IV|GTA IV]]
| description = Used to place objects in the world
| description = Used to place objects in the world
}}
}}
Line 82: Line 82:
! Mapping Boundary
! Mapping Boundary
|-
|-
|<center>{{Icon|SA}}</center>||[[GTA SA|San Andreas]] has a square (or cube) as the major limit. Its dimension is ''3000.0'' [[unit]]s away from the origin point.<br>''This limit can be increased using the [[SA Limit Adjuster]] by {{U|Sacky}}''
|<center>{{Icon|SA}}</center>||[[Grand Theft Auto: San Andreas|San Andreas]] has a square (or cube) as the major limit. Its dimension is ''3000.0'' [[unit]]s away from the origin point.<br>''This limit can be increased using the [[SA Limit Adjuster]] by {{U|Sacky}}''
|}
|}



Revision as of 01:29, 21 September 2010

INST (IPL section)
Supported games:GTA III, GTA VC, GTA SA, GTA IV
Short description:Used to place objects in the world
IPL Sections:
AUZO CARS CULL ENEX GRGE INST
JUMP MULT OCCL PATH PICK TCYC

INST is one of the IPL sections. It is used to place static, dynamic, time controlled and animated objects in the world. It is supported by all major PC versions of the GTA 3D series but its format differs slightly between the games.

Format

GTA III format

ID, ModelName, PosX, PosY, PosZ, ScaleX, ScaleY, ScaleZ, RotX, RotY, RotZ, RotW
Identifier Description
ID
A number which is used to identify the object as defined in the IDE file inside the map system.
ModelName
The name of the model inside an image file which is defined in the gta.dat file without extension (.dff)
PosX, PosY, PosZ
The position of the object in the world as floating point values.
Note: the decimal seperator must be ".", not ",".
ScaleX, ScaleY, ScaleZ
The scaling of the object as floating point values. By default each value is 1.0, which means the object is not scaled at all.
Note: the decimal seperator must be ".", not ",".
RotX, RotY, RotZ, RotW
The rotation of the object as quarternion.
Note: the decimal seperator must be ".", not ",".

GTA VC format

ID, ModelName, Interior, PosX, PosY, PosZ, ScaleX, ScaleY, ScaleZ, RotX, RotY, RotZ, RotW
Identifier Description
ID
A number which is used to identify the object as defined in the IDE inside the map system.
ModelName
The name of the model inside an image file which is defined in the gta.dat file without extension (.dff)
Interior
A number defining the interior (render-level) the object is located in. It is an optional parameter; by default the object's interior is 0.
PosX, PosY, PosZ
The position of the object in the world as floating point values.
ScaleX, ScaleY, ScaleZ
The scaling of the object as floating point values. By default each value is 1.0, which means the object is not scaled at all.
RotX, RotY, RotZ, RotW
The rotation of the object as quarternion.

GTA SA format

ID, ModelName, Interior, PosX, PosY, PosZ, RotX, RotY, RotZ, RotW, LOD
Identifier Description
ID
A number which is used to identify the object as defined in the IDE inside the map system.
ModelName
The name of the model inside an image file which is defined in the gta.dat file without extension (.dff). The parameter doesn't seem to function in the game. Any name used will not affect the rendering of the model.
Interior
A number defining the interior (render-level) the object is located in.
PosX, PosY, PosZ
The position of the object in the world as floating point values.
RotX, RotY, RotZ, RotW
The rotation of the object as quarternion.
Note: the decimal seperator must be ".", not ",".
LOD
The number of the LOD which is located inside the same instance block as the current model.
By default this is -1 which means no LOD is defined.[1]

Binary Format

INST is also one of the known sections which can be used in binary format inside streaming IPLs. For detailed information about the format see the format specification in the supposed article.

GTA IV format

Limitations

Each game has different limitations. The most important limit for the instance section is the so-called map boundary, which is a notional boundary around the map. Outside those borders no objects will be visible. If an object is intersecting the bounds it may be displayed incorrectly.

Game Mapping Boundary
GTA San Andreas
San Andreas has a square (or cube) as the major limit. Its dimension is 3000.0 units away from the origin point.
This limit can be increased using the SA Limit Adjuster by User:Sacky

Related tools

See also

Copyrighted

This page is licensed under the GNU Free Documentation Licence. This page has a separate license to the CC-BY-SA that applies to most of Grand Theft Wiki.

The full text of the GNU FDL v1.2 is here. Click the "History" button to see the full list of authors. See Grand Theft Wiki:Copyright for more detail on our copyright policy.

GNU Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
See Grand Theft Wiki:Copyright for more information.