Difference between revisions of "INST"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
| description = Used to place objects in the world | | description = Used to place objects in the world | ||
}} | }} | ||
− | '''INST''' is one of the [[IPL]] sections. It is used to place static and [[ | + | '''INST''' is one of the [[IPL]] sections. It is used to place static and [[object.dat|dynamic]] objects in the world. It is supported by all major pc scions of the GTA 3d series, but it's format differes between the games. |
==GTA III format== | ==GTA III format== | ||
− | '' | + | |
+ | ID, ModelName, PosX, PosY, PosZ, ScaleX, ScaleY, ScaleZ, RotX, RotY, RotZ, RotW | ||
+ | |||
+ | {|{{Prettytable}} class="collapsible" | ||
+ | !Identifier | ||
+ | !Description | ||
+ | |- | ||
+ | |<center>ID</center>||A number which is used to identify the object inside the map system. | ||
+ | |- | ||
+ | |<center>ModelName</center>||The name of the model inside an [[IMG|image]] file which is defined in the [[gta.dat]] file without extension (<code>.[[DFF|dff]]</code>) | ||
+ | |- | ||
+ | |<center>PosX, PosY, PosZ</center>||The position of the object in the world as floating point values.<br>''Note:'' the decimal seperator must be ".", not ",". | ||
+ | |- | ||
+ | |<center>ScaleX, ScaleY, ScaleZ</center>||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.<br>''Note:'' the decimal seperator must be ".", not ",". | ||
+ | |- | ||
+ | |<center>RotX, RotY, RotZ, RotW</center>||The rotation of the object as [[Wikipedia:Quarternion|quarternion]].<br>''Note:'' the decimal seperator must be ".", not ",". | ||
+ | |} | ||
==GTA VC format== | ==GTA VC format== | ||
− | + | ||
+ | ID, ModelName, Interior, PosX, PosY, PosZ, ScaleX, ScaleY, ScaleZ, RotX, RotY, RotZ, RotW | ||
+ | |||
+ | {|{{Prettytable}} class="collapsible" | ||
+ | !Identifier | ||
+ | !Description | ||
+ | |- | ||
+ | |<center>ID</center>||A number which is used to identify the object inside the map system. | ||
+ | |- | ||
+ | |<center>ModelName</center>||The name of the model inside an [[IMG|image]] file which is defined in the [[gta.dat]] file without extension (<code>.[[DFF|dff]]</code>) | ||
+ | |- | ||
+ | |<center>Interior</center>||A number defining the [[interior]] (render-level) the object is located in. | ||
+ | |- | ||
+ | |<center>PosX, PosY, PosZ</center>||The position of the object in the world as floating point values. | ||
+ | |- | ||
+ | |<center>ScaleX, ScaleY, ScaleZ</center>||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. | ||
+ | |- | ||
+ | |<center>RotX, RotY, RotZ, RotW</center>||The rotation of the object as [[Wikipedia:Quarternion|quarternion]]. | ||
+ | |} | ||
==GTA SA format== | ==GTA SA format== | ||
− | '' | + | |
+ | ID, ModelName, Interior, PosX, PosY, PosZ, RotX, RotY, RotZ, RotW, LOD | ||
+ | |||
+ | {|{{Prettytable}} class="collapsible" | ||
+ | !Identifier | ||
+ | !Description | ||
+ | |- | ||
+ | |<center>ID</center>||A number which is used to identify the object inside the map system. | ||
+ | |- | ||
+ | |<center>ModelName</center>||The name of the model inside an [[IMG|image]] file which is defined in the [[gta.dat]] file without extension (<code>.[[DFF|dff]]</code>) | ||
+ | |- | ||
+ | |<center>Interior</center>||A number defining the [[interior]] (render-level) the object is located in. | ||
+ | |- | ||
+ | |<center>PosX, PosY, PosZ</center>||The position of the object in the world as floating point values. | ||
+ | |- | ||
+ | |<center>RotX, RotY, RotZ, RotW</center>||The rotation of the object as [[Wikipedia:Quarternion|quarternion]].<br>''Note:'' the decimal seperator must be ".", not ",". | ||
+ | |- | ||
+ | |<center>LOD</center>||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.{{Ref|1}} | ||
+ | |- | ||
+ | |} | ||
==GTA IV format== | ==GTA IV format== | ||
− | + | ||
+ | {{Incomplete}} | ||
==Limitations== | ==Limitations== | ||
− | '' | + | |
+ | Each game got different limitations. The most important limit for the instance section is the so called ''map boundary'' which is an notional boundary around the map. Outside those borders no objects will be visible. If an object is intersecting the bounds it may be displayed wrong. | ||
+ | |||
+ | {|{{Prettytable}} class="collapsible" | ||
+ | ! Game | ||
+ | ! Mapping Boundary | ||
+ | |- | ||
+ | |<center>{{Icon|SA}}</center>||[[GTA SA|San Andreas]] has got a square (or cube) as the major limit. It's dimension is ''3000.0'' units away from the origin point.<br>''This limit can be increased using the [[SA Limit Adjuster]] by {{U|Sacky}}'' | ||
+ | |} | ||
+ | |||
+ | ==References== | ||
+ | * {{Note|1}} {{GTAF|post|188549|3177288|Explanation of GTA SA LOD System}} - Post by {{U|steve-m}} explaining the [[LOD]] system for IPL files in GTA SA. | ||
==Links== | ==Links== | ||
− | + | * [[IPL|Item placement file format specification]] | |
+ | * [[SA Limit Adjuster]] – by {{U|Sacky}} | ||
{{GTA4-navi|state=autocollapse}} | {{GTA4-navi|state=autocollapse}} |
Revision as of 13:17, 15 March 2009
Short description: | Used to place objects in the world | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Supported games: | GTA III GTA VC GTA SA GTA IV | |||||||||||||||||||||
IPL Sections:
|
INST is one of the IPL sections. It is used to place static and dynamic objects in the world. It is supported by all major pc scions of the GTA 3d series, but it's format differes between the games.
Contents
GTA III format
ID, ModelName, PosX, PosY, PosZ, ScaleX, ScaleY, ScaleZ, RotX, RotY, RotZ, RotW
Identifier | Description |
---|---|
A number which is used to identify the object inside the map system. | |
The name of the model inside an image file which is defined in the gta.dat file without extension (.dff )
| |
The position of the object in the world as floating point values. Note: the decimal seperator must be ".", not ",". | |
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 ",". | |
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 |
---|---|
A number which is used to identify the object inside the map system. | |
The name of the model inside an image file which is defined in the gta.dat file without extension (.dff )
| |
A number defining the interior (render-level) the object is located in. | |
The position of the object in the world as floating point values. | |
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. | |
The rotation of the object as quarternion. |
GTA SA format
ID, ModelName, Interior, PosX, PosY, PosZ, RotX, RotY, RotZ, RotW, LOD
Identifier | Description |
---|---|
A number which is used to identify the object inside the map system. | |
The name of the model inside an image file which is defined in the gta.dat file without extension (.dff )
| |
A number defining the interior (render-level) the object is located in. | |
The position of the object in the world as floating point values. | |
The rotation of the object as quarternion. Note: the decimal seperator must be ".", not ",". | |
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] |
GTA IV format
This section is incomplete. You can help by fixing and expanding it.
Limitations
Each game got different limitations. The most important limit for the instance section is the so called map boundary which is an notional boundary around the map. Outside those borders no objects will be visible. If an object is intersecting the bounds it may be displayed wrong.
Game | Mapping Boundary |
---|---|
San Andreas has got a square (or cube) as the major limit. It's dimension is 3000.0 units away from the origin point. This limit can be increased using the SA Limit Adjuster by Sacky |
References
- ^ GTAForums: Explanation of GTA SA LOD System - Post by steve-m explaining the LOD system for IPL files in GTA SA.
Links
Grand Theft Auto IV | |
---|---|
File Formats | .dat • .gxt • .ide • .img • .ipl • .nod • .sco • .rpf • .rrr • .wad • .wbd/.wbn • .wdd • .wdr • .wft • .whm • .wpl • .wtd |
Documentation | Audio • Bink Video • Cryptography • Cutscenes • GXT Text • Image listing • Keycodes • Map Listing • Native functions • Paths • Radar Blips • Radio Stations • Saves • Scenarios • VTable • Weapons |
Tools | ASI Loader • ENBSeries • G-Texture • GIMS IV • Ingame WPL Editor • IV Needle • OpenIV • SparkIV • XLiveLess • WPL Manager • X Mod Installer Alice • C++ Script Hook • .NET Script Hook • Scocl |
Tutorials | Importing Textures with OpenIV • Importing Textures with SparkIV |
Modifications | GTA Connected • Gostown IV • Four Multiplayer • IV Multiplayer • CitizenMP:IV Reloaded |
Useful links | Community portal • Discussion forums • Modding forums • Mods on GTAGarage.com |