<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://gtamods.com/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vladik0100</id>
	<title>GTAMods Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://gtamods.com/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vladik0100"/>
	<link rel="alternate" type="text/html" href="https://gtamods.com/wiki/Special:Contributions/Vladik0100"/>
	<updated>2026-04-06T19:02:02Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>https://gtamods.com/mediawiki/index.php?title=OBJS&amp;diff=19657</id>
		<title>OBJS</title>
		<link rel="alternate" type="text/html" href="https://gtamods.com/mediawiki/index.php?title=OBJS&amp;diff=19657"/>
		<updated>2025-03-04T16:54:40Z</updated>

		<summary type="html">&lt;p&gt;Vladik0100: /* GTA III &amp;amp;ndash; Liberty City Stories */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IdeSection&lt;br /&gt;
|game        = {{Icon|t}} {{Icon|LCS}} {{Icon|4}}&lt;br /&gt;
|description = Defines simple objects&lt;br /&gt;
}}&lt;br /&gt;
'''&amp;lt;code&amp;gt;objs&amp;lt;/code&amp;gt;''' is a section in the [[item definition]] file in [[GTA III]], [[Vice City]], [[San Andreas]], [[Liberty City Stories]], and [[GTA IV]]. It is used to define simple objects. There are also sections to extend default object definitions:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[[TOBJ|tobj]]&amp;lt;/code&amp;gt; for defining an additional in-game time range the object gets rendered in.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[ANIM|anim]]&amp;lt;/code&amp;gt; which links an animation to an object.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[TANM|tanm]]&amp;lt;/code&amp;gt; which does both of the previously mentioned sections.&lt;br /&gt;
&lt;br /&gt;
== Format ==&lt;br /&gt;
=== GTA III, Vice City, San Andreas and Liberty City Stories ===&lt;br /&gt;
{{Pre|&lt;br /&gt;
objs&lt;br /&gt;
# [[#Type 1|type 1]] (III/VC/SA/LCS)&lt;br /&gt;
Id, ModelName, TxdName, MeshCount, DrawDistance, Flags&lt;br /&gt;
# [[#Type 2|type 2]] (III/VC/SA/LCS)&lt;br /&gt;
Id, ModelName, TxdName, MeshCount, DrawDistance1, DrawDistance2, Flags&lt;br /&gt;
# [[#Type 3|type 3]] (III/VC/SA/LCS)&lt;br /&gt;
Id, ModelName, TxdName, MeshCount, DrawDistance1, DrawDistance2, DrawDistance3, Flags&lt;br /&gt;
# [[#Type 4|type 4]] (SA)&lt;br /&gt;
Id, ModelName, TxdName, DrawDistance, Flags&lt;br /&gt;
end&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Type 1====&lt;br /&gt;
This is used for non-breakable objects.&lt;br /&gt;
{|class=&amp;quot;wikitable center-col-1 center-col-2&amp;quot; style=&amp;quot;width: 100%;&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 3em;&amp;quot; |{{Icon|3}} {{Icon|VC}}&amp;lt;br&amp;gt;{{Icon|SA}} {{Icon|LCS}}&lt;br /&gt;
!style=&amp;quot;width: 12em;&amp;quot; |Identifier&lt;br /&gt;
!style=&amp;quot;width: 6em;&amp;quot; |Type&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|A ||Id ||integer ||Unique object identifier.&lt;br /&gt;
|-&lt;br /&gt;
|B ||ModelName ||string ||Name of the [[model file]] without extension.&lt;br /&gt;
|-&lt;br /&gt;
|C ||TxdName ||string ||Name of the [[texture dictionary]] without extension.&lt;br /&gt;
|-&lt;br /&gt;
|D ||MeshCount ||integer ||Number of meshes. 1 for this type.&lt;br /&gt;
|-&lt;br /&gt;
|E ||DrawDistance ||float ||[[Draw distance]] in [[unit]]s.&lt;br /&gt;
|-&lt;br /&gt;
|F ||Flags ||integer ||[[Item Definition#IDE Flags|Object flags]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====Type 2====&lt;br /&gt;
This is used for breakable objects.&lt;br /&gt;
{|class=&amp;quot;wikitable center-col-1 center-col-2&amp;quot; style=&amp;quot;width: 100%;&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 3em;&amp;quot; |{{Icon|3}} {{Icon|VC}}&amp;lt;br&amp;gt;{{Icon|SA}} {{Icon|LCS}}&lt;br /&gt;
!style=&amp;quot;width: 12em;&amp;quot; |Identifier&lt;br /&gt;
!style=&amp;quot;width: 6em;&amp;quot; |Type&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|A ||Id ||integer ||Unique object identifier.&lt;br /&gt;
|-&lt;br /&gt;
|B ||ModelName ||string ||Name of the [[model file]] without extension.&lt;br /&gt;
|-&lt;br /&gt;
|C ||TxdName ||string ||Name of the [[texture dictionary]] without extension.&lt;br /&gt;
|-&lt;br /&gt;
|D ||MeshCount ||integer ||Number of meshes. 2 for this type.&lt;br /&gt;
|-&lt;br /&gt;
|E,F ||DrawDistance1, DrawDistance2 ||float[2] ||[[Draw distance]] in [[unit]]s (one for each mesh, only the first is actually used).&lt;br /&gt;
|-&lt;br /&gt;
|G ||Flags ||integer ||[[Item Definition#IDE Flags|Object flags]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====Type 3====&lt;br /&gt;
This is used for complex breakable objects.&lt;br /&gt;
{|class=&amp;quot;wikitable center-col-1 center-col-2&amp;quot; style=&amp;quot;width: 100%;&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 3em;&amp;quot; |{{Icon|3}} {{Icon|VC}}&amp;lt;br&amp;gt;{{Icon|SA}} {{Icon|LCS}}&lt;br /&gt;
!style=&amp;quot;width: 12em;&amp;quot; |Identifier&lt;br /&gt;
!style=&amp;quot;width: 6em;&amp;quot; |Type&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|A ||Id ||integer ||Unique object identifier.&lt;br /&gt;
|-&lt;br /&gt;
|B ||ModelName ||string ||Name of the [[model file]] without extension.&lt;br /&gt;
|-&lt;br /&gt;
|C ||TxdName ||string ||Name of the [[texture dictionary]] without extension.&lt;br /&gt;
|-&lt;br /&gt;
|D ||MeshCount ||integer ||Number of meshes. 3 for this type.&lt;br /&gt;
|-&lt;br /&gt;
|E,F,G ||DrawDistance1, DrawDistance2, DrawDistance3 ||float[3] ||[[Draw distance]] in [[unit]]s (one for each mesh, only the first is actually used).&lt;br /&gt;
|-&lt;br /&gt;
|H ||Flags ||integer ||[[Item Definition#IDE Flags|Object flags]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====Type 4====&lt;br /&gt;
This is used for non-breakable objects and behaves equivalently to [[#Type 1|Type 1]].&lt;br /&gt;
{|class=&amp;quot;wikitable center-col-1 center-col-2&amp;quot; style=&amp;quot;width: 100%;&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 3em;&amp;quot; |{{Icon|SA}}&lt;br /&gt;
!style=&amp;quot;width: 12em;&amp;quot; |Identifier&lt;br /&gt;
!style=&amp;quot;width: 6em;&amp;quot; |Type&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|A ||Id ||integer ||Unique object identifier.&lt;br /&gt;
|-&lt;br /&gt;
|B ||ModelName ||string ||Name of the [[model file]] without extension.&lt;br /&gt;
|-&lt;br /&gt;
|C ||TxdName ||string ||Name of the [[texture dictionary]] without extension.&lt;br /&gt;
|-&lt;br /&gt;
|D ||DrawDistance ||float ||[[Draw distance]] in [[unit]]s.&lt;br /&gt;
|-&lt;br /&gt;
|E ||Flags ||integer ||[[Item Definition#IDE Flags|Object flags]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GTA IV ===&lt;br /&gt;
{{Pre|&lt;br /&gt;
objs&lt;br /&gt;
ModelName, TxdName, DrawDistance, Flag, unknown, MinX, MinY, MinZ, MaxX, MaxY, MaxZ, SphereX, SphereY, SphereZ, Radius, LODModel&lt;br /&gt;
end&lt;br /&gt;
}}&lt;br /&gt;
==== Type 1 ====&lt;br /&gt;
{|class=&amp;quot;wikitable center-col-1 center-col-2&amp;quot; style=&amp;quot;width: 100%;&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 3em;&amp;quot; |{{Icon|4}}&lt;br /&gt;
!style=&amp;quot;width: 12em;&amp;quot; |Identifier&lt;br /&gt;
!style=&amp;quot;width: 6em;&amp;quot; |Type&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|A ||ModelName ||string ||Name of the &amp;lt;code&amp;gt;[[WDR|.wdr]]&amp;lt;/code&amp;gt; model file without extension.&lt;br /&gt;
|-&lt;br /&gt;
|B ||TxdName ||string ||Name of the &amp;lt;code&amp;gt;[[WTD|.wtd]]&amp;lt;/code&amp;gt; texture dictionary without extension.&lt;br /&gt;
|-&lt;br /&gt;
|C ||DrawDistance ||float ||Draw distance in units.&lt;br /&gt;
|-&lt;br /&gt;
|D ||Flag ||integer ||[[Item Definition#IDE Flags|Object flag]]&lt;br /&gt;
|-&lt;br /&gt;
|E ||''unknown'' ||float ||Unknown integer (usually 0 but uses other values as high as 32).&lt;br /&gt;
|-&lt;br /&gt;
|F,G,H ||MinX, MinY, MinZ ||float[3] ||Lower left corner of the bounding box for the object.&lt;br /&gt;
|-&lt;br /&gt;
|I,J,K ||MaxX, MaxY, MaxZ ||float[3] ||Upper right corner of the bounding box for the object.&lt;br /&gt;
|-&lt;br /&gt;
|L,M,N ||SphereX, SphereY, SphereZ ||float[3] ||Center of the bounding sphere for the object.&lt;br /&gt;
|-&lt;br /&gt;
|O ||Radius ||float ||Radius of the bounding sphere into all dimensions.&lt;br /&gt;
|-&lt;br /&gt;
|P ||LODModel ||string ||Name of the &amp;lt;code&amp;gt;[[WDD|.wdd]]&amp;lt;/code&amp;gt; file that contains the ''lod model'' for the defined modelname; otherwise ''null''.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[GTA IV]] stores bounding information inside the ''item definitions'' for better performance. The previous games stored bounding information inside the [[COLL|collision]] files. Also it uses the hashes of the model names as a key of an hash table instead of the ID as an index to the definition array for previous games.&lt;br /&gt;
&lt;br /&gt;
== Statistics ==&lt;br /&gt;
Total number of &amp;lt;code&amp;gt;objs&amp;lt;/code&amp;gt; entries in:&lt;br /&gt;
:GTA III: 2908 (max 5000)&lt;br /&gt;
::Type 1: 2844&lt;br /&gt;
::Type 2: 63&lt;br /&gt;
::Type 3: 1&lt;br /&gt;
&lt;br /&gt;
:Vice City: 3800 (max 3885)&lt;br /&gt;
::Type 1: 3761&lt;br /&gt;
::Type 2: 38&lt;br /&gt;
::Type 3: 1&lt;br /&gt;
&lt;br /&gt;
:San Andreas: 14052&lt;br /&gt;
::Type 1: 1&lt;br /&gt;
::Type 4: 14051&lt;br /&gt;
&lt;br /&gt;
:GTA IV: 24820&lt;br /&gt;
&lt;br /&gt;
{{N|4|LCS|SA|VC|3}}&lt;br /&gt;
[[Category:GTA LCS]]&lt;/div&gt;</summary>
		<author><name>Vladik0100</name></author>
		
	</entry>
</feed>