Difference between revisions of "MODIFY CHAR MOVE STATE"

From GTAMods Wiki
Jump to navigation Jump to search
Line 1: Line 1:
'''DAT''' is the extension used for the data files of GTA 3D series games. They are commonly text files (although there are binary ones) and have different structures.
+
{{Cleanup-rewrite}}
  
== List of data files ==
+
'''Item definition''' files, known by the extension '''.ide''', are usually used to assign a model and texture file to a unique object ID, along with many parameters depending on the section. These files are in human readable text format, and allow the # character to comment lines out. IDE files can easily be opened and edited using any text-editing program like [[Wikipedia:Notepad|Notepad]].
<!--- Perhaps we should sort this alphabetically --->
 
{|{{Prettytable}} width="100%" class="sortable"
 
!width="64px"| Game
 
!width="160px"|File
 
!Description
 
!Notes
 
|-
 
|align="center"|{{Icon}}{{Ref|1}}||[[animviewer.dat]]||||
 
|-
 
|align="center"|{{Icon}}||[[carcols.dat]]||''Contains information about vehicle colors''||
 
|-
 
|align="center"|{{Icon}}||[[default.dat]]||||
 
|-
 
|align="center"|{{Icon}}||[[fonts.dat]]||''Contains information about the fonts used in the game''||''The fonts are split up into sprites. Fonts themselfes are located in the '' <code>...\models\fonts.txd</code> '' texture dictionary.''
 
|-
 
|align="center"|{{Icon}}||[[gta.dat]]||''General map listing file''||''called'' <code>gta3.dat</code> ''for [[GTA 3]] and'' <code>gta-vc.dat</code> ''for [[Vice City]]''
 
|-
 
|align="center"|{{Icon}}||[[object.dat]]||''Defines additional object information for dynamic objects''||
 
|-
 
|align="center"|{{Icon}}||[[ped.dat]]||||
 
|-
 
|align="center"|{{Icon}}||[[pedgrp.dat]]||||
 
|-
 
|align="center"|{{Icon}}||[[timecyc.dat]],<br>[[timecyc.dat|timecycp.dat]]&nbsp;(SA)||''Controls the weather and the game's appearance''||
 
|-
 
|align="center"|{{Icon}}||[[water.dat]]&nbsp;(all),<br>[[water.dat|water1.dat]]&nbsp;(SA),<br>[[waterpro.dat]]&nbsp;(GTA 3 & VC)||||
 
|-
 
|align="center"|{{Icon}}||[[weapon.dat]]||||
 
|-
 
|align="center"|{{Icon|3}} {{Icon|VC}} {{Icon|SA}}||[[pedstats.dat]]||||
 
|-
 
|align="center"|{{Icon|3}} {{Icon|VC}} {{Icon|SA}}||[[surface.dat]]||||
 
|-
 
|align="center"|{{Icon|3}} {{Icon|VC}}||[[cullzone.dat]],<br>[[cullzoneempty.dat]]&nbsp;(VC)||||''binary files''
 
|-
 
|align="center"|{{Icon|3}} {{Icon|VC}}||[[fistfite.dat]]||||
 
|-
 
|align="center"|{{Icon|3}} {{Icon|VC}}||[[flight.dat]]||||
 
|-
 
|align="center"|{{Icon|3}} {{Icon|SA}} {{Icon|4}}||[[tracks.dat|tracks*.dat]]||||''located in the'' <code>..data\paths</code> ''directory''
 
|-
 
|align="center"|{{Icon|3}}||[[chase.dat|chase*.dat]]||||''binary files located in the'' <code>..data\paths</code> ''directory''
 
|-
 
|align="center"|{{Icon|3}} ||[[train.dat]], [[train.dat|train2.dat]]||||''still present in [[Vice City]] but unused''
 
|-
 
|align="center"|{{Icon|VC}}||[[map.dat|map*.dat]]||||''located in the'' <code>..data\maps</code> ''directory''
 
|-
 
|align="center"|{{Icon|VC}}||[[Scripted Path|spath.dat]], [[Scripted Path|spath0.dat]]||||
 
|-
 
|align="center"|{{Icon|SA}}||[[Cutscene#The_DAT-File|cutscenes data]]||||
 
|-
 
|align="center"|{{Icon|SA}}||[[animgrp.dat]], [[animgrp.dat|animgrp1.dat]]||||
 
|-
 
|align="center"|{{Icon|SA}}||[[ar_stats.dat]]||||''still present in [[GTA 4]] but unused?''
 
|-
 
|align="center"|{{Icon|SA}}||[[cargrp.dat]]||||
 
|-
 
|align="center"|{{Icon|SA}}||[[clothes.dat]]||||''still present in [[GTA 4]] but unused?''
 
|-
 
|align="center"|{{Icon|SA}}||[[furnitur.dat]]||||''still present in [[GTA 4]] but unused?''
 
|-
 
|align="center"|{{Icon|SA}}||[[gridref.dat]]||||
 
|-
 
|align="center"|{{Icon|SA}}||[[gta.dat|gta_quick.dat]]||||
 
|-
 
|align="center"|{{Icon|SA}}||[[melee.dat]]||||''still present in [[GTA 4]] but unused?''
 
|-
 
|align="center"|{{Icon|SA}}||[[numplate.dat]]||||''still present in [[GTA 4]] but unused?''
 
|-
 
|align="center"|{{Icon|SA}}||[[plants.dat]]||||
 
|-
 
|align="center"|{{Icon|SA}}||[[polydensity.dat]]||||
 
|-
 
|align="center"|{{Icon|SA}}||[[popcycle.dat]]||||
 
|-
 
|align="center"|{{Icon|SA}}||[[procobj.dat]]||||
 
|-
 
|align="center"|{{Icon|SA}}||[[shopping.dat]]||||
 
|-
 
|align="center"|{{Icon|SA}}||[[statdisp.dat]]||||
 
|-
 
|align="center"|{{Icon|SA}}||[[surfaud.dat]]||||
 
|-
 
|align="center"|{{Icon|SA}}||[[surfinfo.dat]]||||
 
|-
 
|align="center"|{{Icon|SA}} {{Icon|4}}||[[carmods.dat]]||||
 
|-
 
|align="center"|{{Icon|4}}||[[ambient.dat]]||||
 
|-
 
|align="center"|{{Icon|4}}||[[bloodFx.dat]]||||
 
|-
 
|align="center"|{{Icon|4}}||[[cj_gta.dat]]||||
 
|-
 
|align="center"|{{Icon|4}}||[[credits.dat|credits*.dat]]||||
 
|-
 
|align="center"|{{Icon|4}}||[[distantlights.dat]]||||''binary file''
 
|-
 
|align="center"|{{Icon|4}}||[[entityFx.dat]]||||
 
|-
 
|align="center"|{{Icon|4}}||[[explosionFx.dat]]||||
 
|-
 
|align="center"|{{Icon|4}}||[[FemalePlayerSettings.dat]], [[MalePlayerSettings.dat]]||''Contains info necessary to render the multiplayer player''||
 
|-
 
|align="center"|{{Icon|4}}||[[frontend.dat]]||||
 
|-
 
|align="center"|{{Icon|4}}||[[hud.dat]]||''Contains inital display settings for each HUD component''||
 
|-
 
|align="center"|{{Icon|4}}||[[hudcolor.dat]]||''Contains RGB colour values that the game uses''||
 
|-
 
|align="center"|{{Icon|4}}||[[loadingscreens.dat|loadingscreens*.dat]]||''Contains the animation of static loading screen images''||
 
|-
 
|align="center"|{{Icon|4}}||[[materialFx.dat]]||||
 
|-
 
|align="center"|{{Icon|4}}||[[materials.dat]]||||
 
|-
 
|align="center"|{{Icon|4}}||[[meleeAnims.dat]]||''Specifies all anims available to the melee system''||
 
|-
 
|align="center"|{{Icon|4}}||[[moveblend.dat]]||''Contains some parameters for blended ped animation''||
 
|-
 
|align="center"|{{Icon|4}}||[[nav.dat]]||''This file is read in to initialise the "CPathServer" pathfinding class''||
 
|-
 
|align="center"|{{Icon|4}}||[[navprecalc.dat]]||||''binary file''
 
|-
 
|align="center"|{{Icon|4}}||[[networktest.dat]]||
 
|-
 
|align="center"|{{Icon|4}}||[[pedpersonality.dat]]||
 
|-
 
|align="center"|{{Icon|4}}||[[pedpopulation.dat]]||||''binary file''
 
|-
 
|align="center"|{{Icon|4}}||[[pedProps.dat]]||
 
|-
 
|align="center"|{{Icon|4}}||[[scenarios.dat]]||||
 
|}
 
{{Note|1}} The {{Icon}} icon marks the files that are present in every game of GTA 3D series (GTA 3, GTA VC, GTA SA and GTA IV).
 
{{Incomplete}}
 
  
== See also ==
+
==Structure==
* [[Data Files (San Andreas)]] &ndash; description for common data files of [[San Andreas]]
+
The .ide files are split up into many sections. How many of them you use in your file is optional, they can even be empty. Each section starts with a section identifier and ends with the keyword "end", both in a single line.
* {{Icon|SA}} [[Paths (GTA SA)|nodes*.dat]]
 
  
== External Link ==
+
Example:
* {{GTAF|380874|Documenting GTA IV Data files}}
+
objs
* {{GTAF|402942|(IV) Dat-Path-IO in GTA-IV script centre }} - by {{U|Gforce}}
+
...
{{GTA4-navi|state=autocollapse}}
+
end
{{SA-navi|state=autocollapse}}
+
 
[[Category:GTA 3]][[Category:GTA VC]]
+
===OBJS===
 +
'''Static Map Objects''', used to define standard map objects.
 +
 
 +
''GTA III, VC and SA format''
 +
ID, ModelName, TextureName, ObjectCount, DrawDist, [DrawDist2, ...], Flags
 +
;ID: unique object ID (integer)
 +
;ModelName: name of the .dff [[model file]], without extension (string)
 +
;TextureName: name of the .txd [[texture dictionary]], without extension (string)
 +
;ObjectCount: amount of sub objects, e.g. damaged parts, usually 1 (integer) - '''''optional for SA, default 1'''''
 +
;DrawDist: [[draw distance]] in [[unit]]s, one for each sub object (float)
 +
;Flags: object flags, defining special behavior, default 0 (integer)
 +
 
 +
''GTA IV format''
 +
 
 +
ModelName, TextureName, DrawDistance, Flag1, Flag2, (Bounds min)X, Y, Z, (Bounds max)X, Y, Z, (Bounds Rotation)X, Y, Z, W, WDD
 +
 
 +
Note that GTA IV does not use any unique object ID numbers
 +
 
 +
;ModelName: name of the .wdr [[model file]], without extension (string)
 +
;TextureName: name of the .wtd [[texture dictionary]], without extension (string)
 +
;DrawDistance: [[draw distance]] in [[unit]]s, one for each sub object (float)
 +
;Flag1: object flag, defining special behavior
 +
;Flag2: object flag, defining special behavior, default 0 (integer)
 +
;Bounds Min: Lower Left vertex of a model bounding box
 +
;Bounds Max: Upper Right vertex of a model bounding box
 +
;Bounds Rotation: Rotation of the bounding box in [[Wikipedia:Quarternion|Quarternion]] values
 +
;WDD: the model dictionary file that contains the LOD model for the defined Modelname
 +
 
 +
====Object Flags====
 +
Object Flags in SA are text formatted UInt32-Values (Like nearly all other Flags).
 +
To understand them better you have to calculate them to binary numbers. Then You will get the Bitsets of the Flags.
 +
1 means Enabled, 0 disabled.
 +
 
 +
List of all known flags for San Andreas:
 +
 
 +
0000000000000000000000000000001 = 1 - Wet Effect
 +
0000000000000000000000000000010 = 2 - Time Object Night Flag
 +
0000000000000000000000000000100 = 4 - ALPHA Transparency 1
 +
0000000000000000000000000001000 = 8 - ALPHA Transparency 2 *
 +
0000000000000000000000000010000 = 16 - Time Object Day Flag
 +
0000000000000000000000000100000 = 32 - Interior-Object **
 +
0000000000000000000000001000000 = 64 - Disable Shadow Mesh (?)
 +
0000000000000000000000010000000 = 128 - Disables Collision Mesh (?)
 +
0000000000000000000000100000000 = 256 - Disable Draw Distance (?)
 +
0000000000000000000001000000000 = 512 - Breakable Glass **
 +
0000000000000000000010000000000 = 1024 - Breakable Glass with crack **
 +
0000000000000000000100000000000 = 2048 - Garage door **
 +
0000000000000000001000000000000 = 4096 - 2-Clump-Object ** (Switches from Clump 2 to 1 after Collision)
 +
0000000000000000010000000000000 = 8192 - Small Vegetation. Object sways in strong wind  (?)
 +
0000000000000000100000000000000 = 16384 - Standard Vegetation **  (Palms in Hotels, etc.) (?)
 +
0000000000000001000000000000000 = 32768 - Use timecycle PoleShadow flag
 +
0000000000000010000000000000000 = 65536 - Explosive-Flag **
 +
0000000000000100000000000000000 = 131072 - UNKNOWN (Seems to be an SCM Flag) (?)
 +
0000000000001000000000000000000 = 262144 - UNKNOWN (1 Object in Jizzy`s Club) (?)
 +
0000000000010000000000000000000 = 524288 - UNKNOWN (?)
 +
0000000000100000000000000000000 = 1048576 - Graffiti Flag
 +
0000000001000000000000000000000 = 2097152 - No backface culling
 +
0000000010000000000000000000000 = 4194304 - UNKNOWN (Parts of a statue in Atrium) (?)
 +
...
 +
1000000000000000000000000000000 = 1073741824 - Unknown
 +
----------------
 +
* If there's no Interior the Texture behind the object changes to black (=> IPL | Interior-value)
 +
** Objects needs to be activated using Object.dat
 +
(?) Not 100 % known
 +
... All Flags in a special interval are unknown
 +
 
 +
To connect different flags you have to add the bit which belongs to the flag. Its the same as adding one value to another..
 +
 
 +
01 + 10 = 11
 +
1  +  2 = 3
 +
 
 +
===TOBJ===
 +
'''Timed Map Objects''', used to define map objects which are only visible during a special time of the day.
 +
 
 +
''GTA III, VC and SA format:''
 +
ID, ModelName, TextureName, ObjectCount, DrawDist, [DrawDist2, ...], Flags, TimeOn, TimeOff
 +
;ID, ModelName, TextureName, ObjectCount, DrawDist, Flags: same as for the OBJS section
 +
;TimeOn: activation time in hours (integer)
 +
;TimeOff: deactivation time in hours (integer)
 +
 
 +
''GTA IV format''
 +
 
 +
ModelName, TextureName, DrawDist, Flag1, Flag2, (Bounds min)X,Y,Z, (Bounds max)X,Y,Z, (Bounds Rotation)X,Y,Z,W, WDD, NightFlag
 +
 
 +
;ModelName, TextureName, DrawDistance, Flags, Bounds min, Bounds max, Bounds Rotation, WDD: same as for the OBJS section
 +
 
 +
;NightFlag: assumed to be hardcoded time flags
 +
 
 +
===ANIM===
 +
'''Animated Map Objects''', used to define objects whose sub objects are animated. Note: There must be animation frames for each sub object, also the collision model remains static - no solid animations.
 +
 
 +
''GTA SA only:''
 +
ID, ModelName, TextureName, AnimName, DrawDist, Flags
 +
;ID, ModelName, TextureName, DrawDist, Flags: same as for the OBJS section
 +
;AnimName: name of the [[IFP|animation archive]], without extension (string)
 +
 
 +
''GTA IV format''
 +
 
 +
ModelName, TextureName, Wad, DrawDist, Flag1, Flag2, (Bounds min)X,Y,Z, (Bounds max)X,Y,Z, (Bounds Rotation)X,Y,Z,W, WDD
 +
 
 +
;ModelName, TextureName, DrawDistance, Flags, Bounds min, Bounds max, Bounds Rotation, WDD: same as for the OBJS section
 +
 
 +
;Wad: name of the (.wad) animation archive, without extension (string)
 +
 
 +
===PEDS===
 +
''GTA III and VC format:''
 +
ID, ModelName, TextureName, Threat, Behavior, AnimationType, ?, StartAnimation?, ?, ?
 +
;Threat: running over and shooting other peds
 +
;Behavior: angry/hateful/thrilled
 +
;AnimationType: being drunk like walk
 +
 
 +
===WEAP===
 +
''GTA III and VC format:''
 +
ID, ModelName, TextureName, Animation, ?, DrawDistance, ?
 +
;Animation: From ped.ifp, animation used to wield and shoot the weapon
 +
 
 +
===CARS===
 +
''GTA III and VC format:''
 +
ID, ModelName, TextureName, Type, HandlingID, GXTEntry, PedDrivingAnimation, Class, Frequency, Level,
 +
SpecificType, WheelID, WheelSize
 +
 
 +
;HandlingID: From handling.cfg
 +
;PedDrivingAnimation: From ped.ifp, type of animation to enter, exit, drive, and drive-by from a vehicle
 +
;WheelID: not available for type "boat"
 +
;WheelSize: not available for type "boat"
 +
 
 +
''SA Format comming soon''
 +
 
 +
===HIER===
 +
 
 +
''SA Format only''
 +
 
 +
This is (e.g.) used in default.ide in the 'data\'-folder
 +
Normal structure is like this:
 +
 
 +
  ID, model, texture, null, float (normally 2000.00)
 +
 
 +
The meaning of these lines isn't known yet, but it seems to be a kind of bodyparts for the player.
 +
 
 +
===TXDP===
 +
;Texture Archive Parent
 +
''SA and GTA 4 format''
 +
TextureName, TextureParentName
 +
Both parameters are names of texture archives (<code>.txd</code>). The second archive (the "parent") virtually extends the first one. Practically, the game looks up a texture in the primary archive, and if it's not there and a parent txd has been assigned, it checks for the texture in the parent archive. This way shared archives can be created, which contain often used textures, without the need to create duplicates or split up a model just for that purpose.
 +
 
 +
===2DFX===
 +
'''Particle and Environment Effects'''
 +
 
 +
''GTA III and VC format''
 +
ID, X, Y, Z, R, G, B, U, Type, ...
 +
;ID: ID of the object it's assigned to (integer)
 +
;X, Y, Z: position of the effect, relative to the object (3 floats)
 +
;R, G, B: color of the effect, if available (3 integers, 0 - 255)
 +
;U: unknown color component, always 200 (integer)
 +
;Type: specifies the type of effect
 +
 
 +
====Effect #0: Light====
 +
Coming soon.
 +
 
 +
====Effect #1: ...====
 +
Coming soon.
 +
 
 +
Please note that the 2dfx Section is moved to the DFF Files by using R*'s custom section IDs in SA!
 +
 
 +
===PATH===
 +
'''Ped and Car Paths''', defines paths relative to the objects. Only used in ''GTA III'', quite complicated format and hardly usable without a editing program (such as [[Ked]]).
 +
 
 +
===TREE===
 +
''GTA4 only''
 +
 
 +
===TANM===
 +
''GTA4 only''
 +
 
 +
===MLO===
 +
''GTA4 only''
 +
 
 +
===AMAT===
 +
''GTA4 only''
 +
 
 +
Modelname, Flag1, Flag2
 +
 
 +
==procobj.ide==
 +
 
 +
===OBJS===
 +
 
 +
''GTA IV format''
 +
 
 +
ModelName, TextureName, DrawDistance, Flag1, Flag2, (Bounds min)X, Y, Z, (Bounds max)X, Y, Z, (Bounds Rotation)X, Y, Z, W, WDD
 +
 
 +
;ModelName: name of the .wdr [[model file]], without extension (string)
 +
;TextureName: set to 'null' by default in procobj.ide
 +
;DrawDistance: [[draw distance]] in [[unit]]s, one for each sub object (float)
 +
;Flag1: object flag, defining special behavior
 +
;Flag2: object flag, defining special behavior, default 0 (integer)
 +
;Bounds Min: Lower Left vertex of a model bounding box
 +
;Bounds Max: Upper Right vertex of a model bounding box
 +
;Bounds Rotation: Rotation of the bounding box in [[Wikipedia:Quarternion|Quarternion]] values
 +
;WDD: set to 'null' by default in procobj.ide
 +
 
 +
==Tools==
 +
* {{GTAG|4817|IDEditor}} - By {{U|Xmen}}
 +
* {{GTAF|402942|(IV) Ide-IO in GTA-IV script centre }} - by {{U|Gforce}}
 +
* [http://www.aschratt.com/fileview.php?file=1004 FlagValue Calculator] - By {{U|Aschratt}} - Calculates all Flagvalues (even those unknown)
 +
 
 +
==External Links==
 +
* {{GTAF|102833|GTAVC IDE Definitions}} - topic by {{U|ODIE}} covering specific details of IDE files in GTA VC
 +
* {{GTAF|118193|GTA3/VC Map File Documentation and Troubleshooting}} - topic by {{U|Opius}} covering general features of IDE files in GTA3 and GTA VC
 +
* {{GTAF|93990|Paths Documentation for SA, VC and GTA3}} - topic by {{U|REspawn}} detailing GTA3's paths
 +
* [http://gta-worldmods.t-n-network.de/forum/thread.php?threadid=3382 ID Flagvalue Decoding Project] - project to decode all missing flag values
 +
 
 +
{{GTA4-navi}}
 +
{{SA-navi}}
 +
 
 +
[[Category:Map Formats]][[Category:GTA 3]][[Category:GTA VC]][[Category:GTA SA]][[Category:GTA 4]]

Revision as of 17:31, 6 July 2009

40px-Ambox rewrite orange.svg.png This article may need to be rewritten.
Please help improve this article. The discussion page may contain suggestions.

Item definition files, known by the extension .ide, are usually used to assign a model and texture file to a unique object ID, along with many parameters depending on the section. These files are in human readable text format, and allow the # character to comment lines out. IDE files can easily be opened and edited using any text-editing program like Notepad.

Structure

The .ide files are split up into many sections. How many of them you use in your file is optional, they can even be empty. Each section starts with a section identifier and ends with the keyword "end", both in a single line.

Example:

objs
...
end

OBJS

Static Map Objects, used to define standard map objects.

GTA III, VC and SA format

ID, ModelName, TextureName, ObjectCount, DrawDist, [DrawDist2, ...], Flags
ID
unique object ID (integer)
ModelName
name of the .dff model file, without extension (string)
TextureName
name of the .txd texture dictionary, without extension (string)
ObjectCount
amount of sub objects, e.g. damaged parts, usually 1 (integer) - optional for SA, default 1
DrawDist
draw distance in units, one for each sub object (float)
Flags
object flags, defining special behavior, default 0 (integer)

GTA IV format

ModelName, TextureName, DrawDistance, Flag1, Flag2, (Bounds min)X, Y, Z, (Bounds max)X, Y, Z, (Bounds Rotation)X, Y, Z, W, WDD

Note that GTA IV does not use any unique object ID numbers

ModelName
name of the .wdr model file, without extension (string)
TextureName
name of the .wtd texture dictionary, without extension (string)
DrawDistance
draw distance in units, one for each sub object (float)
Flag1
object flag, defining special behavior
Flag2
object flag, defining special behavior, default 0 (integer)
Bounds Min
Lower Left vertex of a model bounding box
Bounds Max
Upper Right vertex of a model bounding box
Bounds Rotation
Rotation of the bounding box in Quarternion values
WDD
the model dictionary file that contains the LOD model for the defined Modelname

Object Flags

Object Flags in SA are text formatted UInt32-Values (Like nearly all other Flags). To understand them better you have to calculate them to binary numbers. Then You will get the Bitsets of the Flags. 1 means Enabled, 0 disabled.

List of all known flags for San Andreas:

0000000000000000000000000000001 = 1 - Wet Effect
0000000000000000000000000000010 = 2 - Time Object Night Flag
0000000000000000000000000000100 = 4 - ALPHA Transparency 1
0000000000000000000000000001000 = 8 - ALPHA Transparency 2 *
0000000000000000000000000010000 = 16 - Time Object Day Flag
0000000000000000000000000100000 = 32 - Interior-Object **
0000000000000000000000001000000 = 64 - Disable Shadow Mesh (?)
0000000000000000000000010000000 = 128 - Disables Collision Mesh (?)
0000000000000000000000100000000 = 256 - Disable Draw Distance (?)
0000000000000000000001000000000 = 512 - Breakable Glass **
0000000000000000000010000000000 = 1024 - Breakable Glass with crack **
0000000000000000000100000000000 = 2048 - Garage door ** 
0000000000000000001000000000000 = 4096 - 2-Clump-Object ** (Switches from Clump 2 to 1 after Collision)
0000000000000000010000000000000 = 8192 - Small Vegetation. Object sways in strong wind  (?)
0000000000000000100000000000000 = 16384 - Standard Vegetation **  (Palms in Hotels, etc.) (?)
0000000000000001000000000000000 = 32768 - Use timecycle PoleShadow flag
0000000000000010000000000000000 = 65536 - Explosive-Flag **
0000000000000100000000000000000 = 131072 - UNKNOWN (Seems to be an SCM Flag) (?)
0000000000001000000000000000000 = 262144 - UNKNOWN (1 Object in Jizzy`s Club) (?)
0000000000010000000000000000000 = 524288 - UNKNOWN (?)
0000000000100000000000000000000 = 1048576 - Graffiti Flag 
0000000001000000000000000000000 = 2097152 - No backface culling 
0000000010000000000000000000000 = 4194304 - UNKNOWN (Parts of a statue in Atrium) (?) 
...
1000000000000000000000000000000 = 1073741824 - Unknown

* If there's no Interior the Texture behind the object changes to black (=> IPL | Interior-value)
** Objects needs to be activated using Object.dat
(?) Not 100 % known
... All Flags in a special interval are unknown

To connect different flags you have to add the bit which belongs to the flag. Its the same as adding one value to another..

01 + 10 = 11
1  +  2 = 3

TOBJ

Timed Map Objects, used to define map objects which are only visible during a special time of the day.

GTA III, VC and SA format:

ID, ModelName, TextureName, ObjectCount, DrawDist, [DrawDist2, ...], Flags, TimeOn, TimeOff
ID, ModelName, TextureName, ObjectCount, DrawDist, Flags
same as for the OBJS section
TimeOn
activation time in hours (integer)
TimeOff
deactivation time in hours (integer)

GTA IV format

ModelName, TextureName, DrawDist, Flag1, Flag2, (Bounds min)X,Y,Z, (Bounds max)X,Y,Z, (Bounds Rotation)X,Y,Z,W, WDD, NightFlag
ModelName, TextureName, DrawDistance, Flags, Bounds min, Bounds max, Bounds Rotation, WDD
same as for the OBJS section
NightFlag
assumed to be hardcoded time flags

ANIM

Animated Map Objects, used to define objects whose sub objects are animated. Note: There must be animation frames for each sub object, also the collision model remains static - no solid animations.

GTA SA only:

ID, ModelName, TextureName, AnimName, DrawDist, Flags
ID, ModelName, TextureName, DrawDist, Flags
same as for the OBJS section
AnimName
name of the animation archive, without extension (string)

GTA IV format

ModelName, TextureName, Wad, DrawDist, Flag1, Flag2, (Bounds min)X,Y,Z, (Bounds max)X,Y,Z, (Bounds Rotation)X,Y,Z,W, WDD
ModelName, TextureName, DrawDistance, Flags, Bounds min, Bounds max, Bounds Rotation, WDD
same as for the OBJS section
Wad
name of the (.wad) animation archive, without extension (string)

PEDS

GTA III and VC format:

ID, ModelName, TextureName, Threat, Behavior, AnimationType, ?, StartAnimation?, ?, ?
Threat
running over and shooting other peds
Behavior
angry/hateful/thrilled
AnimationType
being drunk like walk

WEAP

GTA III and VC format:

ID, ModelName, TextureName, Animation, ?, DrawDistance, ?
Animation
From ped.ifp, animation used to wield and shoot the weapon

CARS

GTA III and VC format:

ID, ModelName, TextureName, Type, HandlingID, GXTEntry, PedDrivingAnimation, Class, Frequency, Level, 
SpecificType, WheelID, WheelSize
HandlingID
From handling.cfg
PedDrivingAnimation
From ped.ifp, type of animation to enter, exit, drive, and drive-by from a vehicle
WheelID
not available for type "boat"
WheelSize
not available for type "boat"

SA Format comming soon

HIER

SA Format only

This is (e.g.) used in default.ide in the 'data\'-folder Normal structure is like this:

 ID, model, texture, null, float (normally 2000.00)

The meaning of these lines isn't known yet, but it seems to be a kind of bodyparts for the player.

TXDP

Texture Archive Parent

SA and GTA 4 format

TextureName, TextureParentName

Both parameters are names of texture archives (.txd). The second archive (the "parent") virtually extends the first one. Practically, the game looks up a texture in the primary archive, and if it's not there and a parent txd has been assigned, it checks for the texture in the parent archive. This way shared archives can be created, which contain often used textures, without the need to create duplicates or split up a model just for that purpose.

2DFX

Particle and Environment Effects

GTA III and VC format

ID, X, Y, Z, R, G, B, U, Type, ...
ID
ID of the object it's assigned to (integer)
X, Y, Z
position of the effect, relative to the object (3 floats)
R, G, B
color of the effect, if available (3 integers, 0 - 255)
U
unknown color component, always 200 (integer)
Type
specifies the type of effect

Effect #0: Light

Coming soon.

Effect #1: ...

Coming soon.

Please note that the 2dfx Section is moved to the DFF Files by using R*'s custom section IDs in SA!

PATH

Ped and Car Paths, defines paths relative to the objects. Only used in GTA III, quite complicated format and hardly usable without a editing program (such as Ked).

TREE

GTA4 only

TANM

GTA4 only

MLO

GTA4 only

AMAT

GTA4 only

Modelname, Flag1, Flag2

procobj.ide

OBJS

GTA IV format

ModelName, TextureName, DrawDistance, Flag1, Flag2, (Bounds min)X, Y, Z, (Bounds max)X, Y, Z, (Bounds Rotation)X, Y, Z, W, WDD
ModelName
name of the .wdr model file, without extension (string)
TextureName
set to 'null' by default in procobj.ide
DrawDistance
draw distance in units, one for each sub object (float)
Flag1
object flag, defining special behavior
Flag2
object flag, defining special behavior, default 0 (integer)
Bounds Min
Lower Left vertex of a model bounding box
Bounds Max
Upper Right vertex of a model bounding box
Bounds Rotation
Rotation of the bounding box in Quarternion values
WDD
set to 'null' by default in procobj.ide

Tools

External Links